Home
last modified time | relevance | path

Searched refs:b1 (Results 1 – 25 of 111) sorted by relevance

12345

/frameworks/native/libs/ui/tests/
DBufferHubBuffer_test.cpp95 std::unique_ptr<BufferHubBuffer> b1; member in android::__anon098392b00111::BufferHubBufferStateTransitionTest
106 b1 = BufferHubBuffer::create(kWidth, kHeight, kLayerCount, kFormat, kUsage, kUserMetadataSize); in CreateTwoClientsOfABuffer()
107 ASSERT_THAT(b1, NotNull()); in CreateTwoClientsOfABuffer()
108 b1ClientMask = b1->clientStateMask(); in CreateTwoClientsOfABuffer()
111 sp<NativeHandle> token = b1->duplicate(); in CreateTwoClientsOfABuffer()
124 auto b1 = BufferHubBuffer::create(kWidth, /*height=*/2, kLayerCount, in TEST_F() local
127 EXPECT_THAT(b1, IsNull()); in TEST_F()
144 auto b1 = BufferHubBuffer::create(kWidth, kHeight, kLayerCount, kFormat, kUsage, in TEST_F() local
146 ASSERT_THAT(b1, NotNull()); in TEST_F()
147 EXPECT_TRUE(b1->isConnected()); in TEST_F()
[all …]
DGraphicBuffer_test.cpp55 std::unique_ptr<BufferHubBuffer> b1 = in TEST_F() local
58 ASSERT_NE(b1, nullptr); in TEST_F()
59 EXPECT_TRUE(b1->isValid()); in TEST_F()
61 sp<GraphicBuffer> gb(new GraphicBuffer(std::move(b1))); in TEST_F()
79 std::unique_ptr<BufferHubBuffer> b1 = in TEST_F() local
82 EXPECT_NE(b1, nullptr); in TEST_F()
83 EXPECT_TRUE(b1->isValid()); in TEST_F()
85 int b1_id = b1->id(); in TEST_F()
88 sp<GraphicBuffer> gb(new GraphicBuffer(std::move(b1))); in TEST_F()
94 std::unique_ptr<BufferHubBuffer> b1 = in TEST_F() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncManagerTest.java36 Bundle b1 = new Bundle(); in testSyncExtrasEquals_WithNull() local
39 b1.putString(KEY_1, null); in testSyncExtrasEquals_WithNull()
43 SyncManager.syncExtrasEquals(b1, b2, false /* don't care about system extras */)); in testSyncExtrasEquals_WithNull()
47 Bundle b1 = new Bundle(); in testSyncExtrasEqualsBigger_WithNull() local
50 b1.putString(KEY_1, null); in testSyncExtrasEqualsBigger_WithNull()
53 b1.putString(KEY_2, "bla"); in testSyncExtrasEqualsBigger_WithNull()
57 SyncManager.syncExtrasEquals(b1, b2, false /* don't care about system extras */)); in testSyncExtrasEqualsBigger_WithNull()
61 Bundle b1 = new Bundle(); in testSyncExtrasEqualsFails_differentValues() local
64 b1.putString(KEY_1, null); in testSyncExtrasEqualsFails_differentValues()
67 b1.putString(KEY_2, "bla"); in testSyncExtrasEqualsFails_differentValues()
[all …]
DSyncOperationTest.java54 Bundle b1 = new Bundle(); in testToKey() local
62 b1, in testToKey()
71 b1, in testToKey()
80 b1, in testToKey()
89 b1, in testToKey()
111 Bundle b1 = new Bundle(); in testConversionToExtras() local
112 b1.putParcelable("acc", account1); in testConversionToExtras()
113 b1.putString("str", "String"); in testConversionToExtras()
119 b1, in testConversionToExtras()
/frameworks/ml/nn/runtime/test/specs/V1_3/
Ddepthwise_conv2d_quant8_signed.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{4}", [1, 2, 3, 4]) variable
24 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 2, 0, layout, 1, 1).To(o1)
30 b1: ("TENSOR_INT32", 0.005, 0),
79 b1 = Parameter("op3", "TENSOR_FLOAT32", "{4}", [1, 2, 3, 4]) variable
81 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 2, 1, 1, 2, 0, layout, 1, 1).To(o1)
87 b1: ("TENSOR_INT32", 0.005, 0),
168 b1 = Parameter("op3", "TENSOR_INT32", "{2}", [0, 0]) variable
170 Model("same").Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 1, 0).To(o1)
221 b1 = Parameter("op3", "TENSOR_INT32", "{4}, 0.25f, 0", [4, 8, 12, 16]) variable
229 i1, f1, b1,
[all …]
Dconv2d_quant8_signed.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable
24 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0, layout, 1, 1).To(o1)
30 b1: ("TENSOR_INT32", 0.0625, 0),
73 b1 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable
75 Model().Operation("CONV_2D", i1, f1, b1, 2, 1, 1, 0, layout, 1, 1).To(o1)
81 b1: ("TENSOR_INT32", 0.0625, 0),
152 b1 = Parameter("op3", "TENSOR_INT32", "{3}", [4, 4, 4]) variable
154 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0).To(o1)
212 b1 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable
214 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0, layout).To(o1)
[all …]
Dgrouped_conv2d_quant8_signed.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{2}", [10, -33.5]) # bias variable
25 Model().Operation("GROUPED_CONV_2D", i1, w1, b1, 0, 0, 0, 0, 1, 1, 2, act, layout).To(o1)
31 b1: ("TENSOR_INT32", 0.0625, 0),
38 b1: ("TENSOR_INT32", 0.0625, 0),
46b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
53b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
Dtranspose_conv2d_quant8_signed.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{16}", [0] * 16) # bias variable
26 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 1, 32, 32, act, layout).To(o1)
32 b1: ("TENSOR_INT32", 0.25, 0),
40b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.125] * 16, hide=Tru…
56 b1 = Parameter("op3", "TENSOR_FLOAT32", "{2}", [-1.5, -2]) # bias variable
60 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 2, 2, 2, act, layout).To(o1)
66 b1: ("TENSOR_INT32", 0.25, 0),
73 b1: ("TENSOR_INT32", 0.25, 0),
81b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
88b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
Dtranspose_quant8_signed.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{16}", [0] * 16) # bias variable
26 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 1, 32, 32, act, layout).To(o1)
32 b1: ("TENSOR_INT32", 0.25, 0),
40b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.125] * 16, hide=Tru…
56 b1 = Parameter("op3", "TENSOR_FLOAT32", "{2}", [-1.5, -2]) # bias variable
60 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 2, 2, 2, act, layout).To(o1)
66 b1: ("TENSOR_INT32", 0.25, 0),
73 b1: ("TENSOR_INT32", 0.25, 0),
81b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
88b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
/frameworks/native/opengl/libagl/
Dmatrix.h87 GLfixed a1, GLfixed b1, in mla2a() argument
101 "%r"(a1), "r"(b1), in mla2a()
110 int64_t(a1)*b1)>>16) + c; in mla2a()
116 GLfixed a1, GLfixed b1, in mla3a() argument
132 "%r"(a1), "r"(b1), in mla3a()
142 int64_t(a1)*b1 + in mla3a()
179 int16_t b1 = (b1b0 >> 16) & 0xffff; in mla3a16()
181 accum += int64_t(a1)*int16_t(b1) >> 16; in mla3a16()
220 int16_t b1 = (b1b0 >> 16) & 0xffff; in mla3a16_btb()
223 accum += int64_t(a1)*int16_t(b1) >> 16; in mla3a16_btb()
[all …]
Ddxt.cpp102 int b1 = (x >> 16) & 0xff; in swap() local
106 return (uint32_t)((b3 << 24) | (b2 << 16) | (b1 << 8) | b0); in swap()
241 int b1 = blue(color1); in decodeDXT1() local
245 c[1] = (r1 << 11) | ((g1 >> 1) << 6) | (b1 << 1) | 0x1; in decodeDXT1()
261 b2 = avg23(b0, b1); in decodeDXT1()
265 b3 = avg23(b1, b0); in decodeDXT1()
270 b2 = (b0 + b1) >> 1; in decodeDXT1()
371 int b1 = blue(color1); in decodeDXT3() local
375 int b2 = avg23(b0, b1); in decodeDXT3()
379 int b3 = avg23(b1, b0); in decodeDXT3()
[all …]
/frameworks/base/tools/aapt2/util/
DBigBuffer_test.cpp35 char* b1 = buffer.NextBlock<char>(8); in TEST() local
36 EXPECT_THAT(b1, NotNull()); in TEST()
41 EXPECT_EQ(b1 + 8, b2); in TEST()
54 uint32_t* b1 = buffer.NextBlock<uint32_t>(); in TEST() local
55 ASSERT_THAT(b1, NotNull()); in TEST()
56 *b1 = 33; in TEST()
60 b1 = buffer2.NextBlock<uint32_t>(); in TEST()
61 ASSERT_THAT(b1, NotNull()); in TEST()
62 *b1 = 44; in TEST()
/frameworks/base/core/java/org/apache/http/conn/ssl/
DAndroidDistinguishedNameParser.java322 int b1, b2; in getByte() local
324 b1 = chars[position]; in getByte()
325 if (b1 >= '0' && b1 <= '9') { in getByte()
326 b1 = b1 - '0'; in getByte()
327 } else if (b1 >= 'a' && b1 <= 'f') { in getByte()
328 b1 = b1 - 87; // 87 = 'a' - 10 in getByte()
329 } else if (b1 >= 'A' && b1 <= 'F') { in getByte()
330 b1 = b1 - 55; // 55 = 'A' - 10 in getByte()
346 return (b1 << 4) + b2; in getByte()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DByteStream.java135 int b1 = getUnsignedByte(); in unpackUsbShort() local
136 return (b1 << 8) | b0; in unpackUsbShort()
153 int b1 = getUnsignedByte(); in unpackUsbTriple() local
155 return (b2 << 16) | (b1 << 8) | b0; in unpackUsbTriple()
169 int b1 = getUnsignedByte(); in unpackUsbInt() local
172 return (b3 << 24) | (b2 << 16) | (b1 << 8) | b0; in unpackUsbInt()
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dconv2d_dilation.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable
24 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0, layout, 1, 1).To(o1)
30 b1: ("TENSOR_INT32", 0.0625, 0),
73 b1 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable
75 Model().Operation("CONV_2D", i1, f1, b1, 2, 1, 1, 0, layout, 1, 1).To(o1)
81 b1: ("TENSOR_INT32", 0.0625, 0),
Dgrouped_conv2d.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{2}", [10, -33.5]) # bias variable
25 Model().Operation("GROUPED_CONV_2D", i1, w1, b1, 0, 0, 0, 0, 1, 1, 2, act, layout).To(o1)
31 b1: ("TENSOR_INT32", 0.0625, 0),
38 b1: ("TENSOR_INT32", 0.0625, 0),
46b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
53b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.0625, 0.125], hide=…
Ddepthwise_conv2d_dilation.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{4}", [1, 2, 3, 4]) variable
24 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 2, 0, layout, 1, 1).To(o1)
30 b1: ("TENSOR_INT32", 0.005, 0),
77 b1 = Parameter("op3", "TENSOR_FLOAT32", "{4}", [1, 2, 3, 4]) variable
79 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 2, 1, 1, 2, 0, layout, 1, 1).To(o1)
85 b1: ("TENSOR_INT32", 0.005, 0),
Ddepthwise_conv2d_invalid_filter_dims.mod.py24 b1 = Parameter("op3", "TENSOR_FLOAT32", "{4}", [0.] * 4) variable
26 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 2, 0, layout).To(o1)
32 b1: ("TENSOR_INT32", 0.005, 0),
39 b1: ("TENSOR_INT32", 0.0, 0,
Dtranspose_conv2d_large.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{16}", [0] * 16) # bias variable
26 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 1, 32, 32, act, layout).To(o1)
32 b1: ("TENSOR_INT32", 0.25, 0),
40b1: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.125] * 16, hide=Tru…
/frameworks/ml/nn/runtime/test/specs/V1_3_cts_only/
Dconv2d_v1_3_invalid_rank.mod.py22 b1 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable
24 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0, layout).To(o1)
30 b1: ("TENSOR_INT32", 0.0625, 0),
37 b1: ("TENSOR_INT32", 0.0, 0,
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DBase64.java78 byte b1 = 0, b2 = 0, b3 = 0, b4 = 0, marker0 = 0, marker1 = 0; in decodeBase64()
101 b1 = base64Alphabet[base64Data[dataIndex]]; in decodeBase64()
109 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
115 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
120 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
/frameworks/base/core/java/android/content/
DPeriodicSync.java138 public static boolean syncExtrasEquals(Bundle b1, Bundle b2) { in syncExtrasEquals() argument
139 if (b1.size() != b2.size()) { in syncExtrasEquals()
142 if (b1.isEmpty()) { in syncExtrasEquals()
145 for (String key : b1.keySet()) { in syncExtrasEquals()
151 if (!Objects.equals(b1.get(key), b2.get(key))) { in syncExtrasEquals()
/frameworks/ml/nn/runtime/test/specs/V1_0/
Dconv_quant8_overflow_weights_as_inputs.mod.py20 b1 = Input("op3", "TENSOR_INT32", "{3}, 0.25, 0") variable
26 model = model.Operation("CONV_2D", i1, f1, b1, pad0, pad0, pad0, pad0, stride, stride, act).To(outp…
36 b1:
Dconv_quant8_channels_weights_as_inputs.mod.py20 b1 = Input("op3", "TENSOR_INT32", "{3}, 0.25, 0") variable
26 model = model.Operation("CONV_2D", i1, f1, b1, pad0, pad0, pad0, pad0, stride, stride, act).To(outp…
35 b1:
Dconv_quant8_weights_as_inputs.mod.py20 b1 = Input("op3", "TENSOR_INT32", "{1}, 0.25f, 0") variable
28 model = model.Operation("CONV_2D", i1, f1, b1, pad0, pad0, pad0, pad0, stride, stride, act).To(outp…
35 b1:

12345