Home
last modified time | relevance | path

Searched refs:b0 (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/native/opengl/libagl/
Dmatrix.h110 static inline GLfixed mla2a( GLfixed a0, GLfixed b0, in mla2a() argument
124 : "%r"(a0), "r"(b0), in mla2a()
133 return (( int64_t(a0)*b0 + in mla2a()
139 static inline GLfixed mla3a( GLfixed a0, GLfixed b0, in mla3a() argument
155 : "%r"(a0), "r"(b0), in mla3a()
178 …: [a0] "r" (a0),[b0] "r" (b0),[a1] "r" (a1),[b1] "r" (b1),[a2] "r" (a2),[b2] "r" (b2),[c] "r" (c) in mla3a()
185 return (( int64_t(a0)*b0 + in mla3a()
222 int16_t b0 = b1b0 & 0xffff; in mla3a16()
224 accum = int64_t(a0)*int16_t(b0) >> 16; in mla3a16()
263 int16_t b0 = b1b0 & 0xffff; in mla3a16_btb()
[all …]
Ddxt.cpp101 int b0 = (x >> 24) & 0xff; in swap() local
106 return (uint32_t)((b3 << 24) | (b2 << 16) | (b1 << 8) | b0); in swap()
237 int b0 = blue(color0); in decodeDXT1() local
244 c[0] = (r0 << 11) | ((g0 >> 1) << 6) | (b0 << 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()
367 int b0 = blue(color0); in decodeDXT3() local
375 int b2 = avg23(b0, b1); in decodeDXT3()
379 int b3 = avg23(b1, b0); in decodeDXT3()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DByteStream.java134 int b0 = getUnsignedByte(); in unpackUsbShort() local
136 return (b1 << 8) | b0; in unpackUsbShort()
152 int b0 = getUnsignedByte(); in unpackUsbTriple() local
155 return (b2 << 16) | (b1 << 8) | b0; in unpackUsbTriple()
168 int b0 = getUnsignedByte(); in unpackUsbInt() local
172 return (b3 << 24) | (b2 << 16) | (b1 << 8) | b0; in unpackUsbInt()
/frameworks/ml/nn/tools/test_generator/tests/P_weird/
Dweird_add.mod.py5 b0 = Int32Scalar("b0", 0) # an int32_t scalar bias variable
10 model = model.Operation("ADD", i1, i2, b0).To(tmp)
11 model = model.Operation("ADD", tmp, i2, b0).To(tmp2)
12 model = model.Operation("ADD", tmp2, i4, b0).To(o3)
Dstdout.txt.expect8 auto b0 = model->addOperand(&type1);
15 model->setOperandValue(b0, b0_init, sizeof(int32_t) * 1);
16 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, b0}, {tmp});
17 model->addOperation(ANEURALNETWORKS_ADD, {tmp, op2, b0}, {tmp2});
18 model->addOperation(ANEURALNETWORKS_ADD, {tmp2, op4, b0}, {op3});
/frameworks/ml/nn/runtime/test/generated/models/
Dfully_connected_quant8_large_weights_as_inputs.model.cpp10 auto b0 = model->addOperand(&type1); in CreateModel() local
16 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
19 {op1, op2, b0}, in CreateModel()
Dfully_connected_float_weights_as_inputs.model.cpp10 auto b0 = model->addOperand(&type2); in CreateModel() local
16 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
19 {op1, op2, b0}, in CreateModel()
Dfully_connected_float_large_weights_as_inputs.model.cpp10 auto b0 = model->addOperand(&type1); in CreateModel() local
16 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
19 {op1, op2, b0}, in CreateModel()
Dfully_connected_quant8_weights_as_inputs.model.cpp11 auto b0 = model->addOperand(&type2); in CreateModel() local
17 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
20 {op1, op2, b0}, in CreateModel()
Dfully_connected_float.model.cpp10 auto b0 = model->addOperand(&type2); in CreateModel() local
17 model->setOperandValue(b0, b0_init, sizeof(float) * 1); in CreateModel()
20 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
Dfully_connected_float_large.model.cpp10 auto b0 = model->addOperand(&type1); in CreateModel() local
17 model->setOperandValue(b0, b0_init, sizeof(float) * 1); in CreateModel()
20 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
Dfully_connected_quant8_large.model.cpp10 auto b0 = model->addOperand(&type1); in CreateModel() local
17 model->setOperandValue(b0, b0_init, sizeof(int32_t) * 1); in CreateModel()
20 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
Dfully_connected_quant8.model.cpp11 auto b0 = model->addOperand(&type2); in CreateModel() local
18 model->setOperandValue(b0, b0_init, sizeof(int32_t) * 1); in CreateModel()
21 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattCharacteristic.java711 private int unsignedBytesToInt(byte b0, byte b1) { in unsignedBytesToInt() argument
712 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)); in unsignedBytesToInt()
718 private int unsignedBytesToInt(byte b0, byte b1, byte b2, byte b3) { in unsignedBytesToInt() argument
719 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)) in unsignedBytesToInt()
726 private float bytesToFloat(byte b0, byte b1) { in bytesToFloat() argument
727 int mantissa = unsignedToSigned(unsignedByteToInt(b0) in bytesToFloat()
736 private float bytesToFloat(byte b0, byte b1, byte b2, byte b3) { in bytesToFloat() argument
737 int mantissa = unsignedToSigned(unsignedByteToInt(b0) in bytesToFloat()
/frameworks/ml/nn/tools/test_generator/tests/P_full/
Daddfloat.mod.py5 b0 = Int32Scalar("b0", 0) # an int32_t scalar bias variable
7 model = model.Operation("ADD", i1, i2, b0).To(i3)
Dstdout.txt.expect8 auto b0 = model->addOperand(&type1);
12 model->setOperandValue(b0, b0_init, sizeof(int32_t) * 1);
13 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, b0}, {op3});
/frameworks/ml/nn/tools/test_generator/tests/P_vts_full/
Dvts_full.mod.py6 b0 = Int32Scalar("b0", 0) variable
10 model.Operation("ADD", i0, p0, b0).To(o)
/frameworks/base/core/java/android/net/
DSntpClient.java220 byte b0 = buffer[offset]; in read32()
226 int i0 = ((b0 & 0x80) == 0x80 ? (b0 & 0x7F) + 0x80 : b0); in read32()
/frameworks/av/media/libeffects/testlibs/
DAudioBiquadFilter.cpp156 const audio_coef_t b0 = mCoefs[0]; in process_normal_mono() local
164 acc = mul_coef_sample(b0, x0); in process_normal_mono()
203 const audio_coef_t b0 = mCoefs[0]; in process_normal_multi() local
217 acc = mul_coef_sample(b0, x0); in process_normal_multi()
/frameworks/base/tests/net/java/com/android/internal/util/
DBitUtilsTest.java34 byte b0 = 0; in testUnsignedByteWideningConversions()
37 assertEquals(0, uint8(b0)); in testUnsignedByteWideningConversions()
/frameworks/base/services/core/java/com/android/server/am/
DNativeCrashListener.java166 int b0, b1, b2, b3; in unpackInt() local
168 b0 = ((int) buf[offset]) & 0xFF; // mask against sign extension in unpackInt()
172 return (b0 << 24) | (b1 << 16) | (b2 << 8) | b3; in unpackInt()
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java222 int b0 = Color.blue(c0); in testSetPixelsWithNonOpaqueAlpha() local
224 int bb = computePrePostMul(a0, b0); in testSetPixelsWithNonOpaqueAlpha()
/frameworks/base/core/tests/coretests/src/android/os/
DAidlTest.java288 boolean[] b0 = new boolean[]{true}; in testArrays()
291 boolean[] br = mRemote.booleanArray(b0, b1, b2); in testArrays()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java337 DropBoxManager.Entry b0 = dropbox.getNextEntry("DropBoxTest.B", before); in testGetNextEntry() local
338 assertTrue(null == dropbox.getNextEntry("DropBoxTest.B", b0.getTimeMillis())); in testGetNextEntry()
350 assertEquals("DropBoxTest.B", b0.getTag()); in testGetNextEntry()
351 assertEquals("B0", b0.getText(80)); in testGetNextEntry()
362 b0.close(); in testGetNextEntry()
/frameworks/ml/nn/common/operations/internal/optimized/
Ddepthwiseconv_uint8.h1313 const int32x4_t b0 = vld1q_s32(bias_data);
1316 vst1q_s32(acc_buffer + 8 * i + 0, b0);
1318 vst1q_s32(acc_buffer + 8 * i + 8, b0);
1322 vst1q_s32(acc_buffer + 8 * i + 0, b0);
1326 const int32x4_t b0 = vld1q_s32(bias_data);
1331 vst1q_s32(acc_buffer + 16 * i + 0, b0);

12