Home
last modified time | relevance | path

Searched refs:b0 (Results 1 – 25 of 37) 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/runtime/test/generated/models/
Dfully_connected_quant8_large_weights_as_inputs.model.cpp11 auto b0 = model->addOperand(&type1); in CreateModel() local
17 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
20 {op1, op2, b0}, in CreateModel()
38 auto b0 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
44 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel_dynamic_output_shape()
47 {op1, op2, b0}, in CreateModel_dynamic_output_shape()
Dfully_connected_float_large_weights_as_inputs_relaxed.model.cpp11 auto b0 = model->addOperand(&type1); in CreateModel() local
17 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
20 {op1, op2, b0}, in CreateModel()
40 auto b0 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
46 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel_dynamic_output_shape()
49 {op1, op2, b0}, in CreateModel_dynamic_output_shape()
Dfully_connected_float_large_weights_as_inputs.model.cpp11 auto b0 = model->addOperand(&type1); in CreateModel() local
17 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
20 {op1, op2, b0}, in CreateModel()
38 auto b0 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
44 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel_dynamic_output_shape()
47 {op1, op2, b0}, in CreateModel_dynamic_output_shape()
Dfully_connected_float_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()
39 auto b0 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local
45 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel_dynamic_output_shape()
48 {op1, op2, b0}, in CreateModel_dynamic_output_shape()
Dfully_connected_float_weights_as_inputs_relaxed.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()
41 auto b0 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local
47 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel_dynamic_output_shape()
50 {op1, op2, b0}, in CreateModel_dynamic_output_shape()
Dfully_connected_float_large.model.cpp11 auto b0 = model->addOperand(&type1); in CreateModel() local
18 model->setOperandValue(b0, b0_init, sizeof(float) * 1); in CreateModel()
21 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
42 auto b0 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
49 model->setOperandValue(b0, b0_init, sizeof(float) * 1); in CreateModel_dynamic_output_shape()
52 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel_dynamic_output_shape()
Dfully_connected_float_large_relaxed.model.cpp11 auto b0 = model->addOperand(&type1); in CreateModel() local
18 model->setOperandValue(b0, b0_init, sizeof(float) * 1); in CreateModel()
21 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
44 auto b0 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
51 model->setOperandValue(b0, b0_init, sizeof(float) * 1); in CreateModel_dynamic_output_shape()
54 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel_dynamic_output_shape()
Dfully_connected_float.model.cpp11 auto b0 = model->addOperand(&type2); in CreateModel() local
18 model->setOperandValue(b0, b0_init, sizeof(float) * 1); in CreateModel()
21 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
43 auto b0 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local
50 model->setOperandValue(b0, b0_init, sizeof(float) * 1); in CreateModel_dynamic_output_shape()
53 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel_dynamic_output_shape()
Dfully_connected_quant8_weights_as_inputs.model.cpp12 auto b0 = model->addOperand(&type2); in CreateModel() local
18 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
21 {op1, op2, b0}, in CreateModel()
40 auto b0 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local
46 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel_dynamic_output_shape()
49 {op1, op2, b0}, in CreateModel_dynamic_output_shape()
Dfully_connected_float_relaxed.model.cpp11 auto b0 = model->addOperand(&type2); in CreateModel() local
18 model->setOperandValue(b0, b0_init, sizeof(float) * 1); in CreateModel()
21 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
45 auto b0 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local
52 model->setOperandValue(b0, b0_init, sizeof(float) * 1); in CreateModel_dynamic_output_shape()
55 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel_dynamic_output_shape()
Dfully_connected_quant8_large.model.cpp11 auto b0 = model->addOperand(&type1); 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()
42 auto b0 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
49 model->setOperandValue(b0, b0_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
52 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel_dynamic_output_shape()
Dfully_connected_float_4d_simple.model.cpp12 auto b0 = model->addOperand(&type2); in CreateModel() local
19 model->setOperandValue(b0, b0_init, sizeof(float) * 3); in CreateModel()
22 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
44 auto b0 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local
51 model->setOperandValue(b0, b0_init, sizeof(float) * 3); in CreateModel_dynamic_output_shape()
54 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel_dynamic_output_shape()
Dfully_connected_float_3.model.cpp12 auto b0 = model->addOperand(&type2); in CreateModel() local
19 model->setOperandValue(b0, b0_init, sizeof(float) * 1); in CreateModel()
22 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
44 auto b0 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local
51 model->setOperandValue(b0, b0_init, sizeof(float) * 1); in CreateModel_dynamic_output_shape()
54 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel_dynamic_output_shape()
Dfully_connected_quant8_2.model.cpp12 auto b0 = model->addOperand(&type2); in CreateModel() local
19 model->setOperandValue(b0, b0_init, sizeof(int32_t) * 3); in CreateModel()
22 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act_relu}, {op3}); in CreateModel()
44 auto b0 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local
51 model->setOperandValue(b0, b0_init, sizeof(int32_t) * 3); in CreateModel_dynamic_output_shape()
54 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act_relu}, {op3}); in CreateModel_dynamic_output_shape()
Dfully_connected_float_2_relaxed.model.cpp12 auto b0 = model->addOperand(&type2); in CreateModel() local
19 model->setOperandValue(b0, b0_init, sizeof(float) * 16); in CreateModel()
22 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act_relu}, {op3}); in CreateModel()
46 auto b0 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local
53 model->setOperandValue(b0, b0_init, sizeof(float) * 16); in CreateModel_dynamic_output_shape()
56 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act_relu}, {op3}); in CreateModel_dynamic_output_shape()
Dfully_connected_float_2.model.cpp12 auto b0 = model->addOperand(&type2); in CreateModel() local
19 model->setOperandValue(b0, b0_init, sizeof(float) * 16); in CreateModel()
22 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act_relu}, {op3}); in CreateModel()
44 auto b0 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local
51 model->setOperandValue(b0, b0_init, sizeof(float) * 16); in CreateModel_dynamic_output_shape()
54 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act_relu}, {op3}); in CreateModel_dynamic_output_shape()
Dfully_connected_quant8.model.cpp12 auto b0 = model->addOperand(&type2); in CreateModel() local
19 model->setOperandValue(b0, b0_init, sizeof(int32_t) * 1); in CreateModel()
22 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
44 auto b0 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local
51 model->setOperandValue(b0, b0_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
54 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel_dynamic_output_shape()
Dfully_connected_float_4d_simple_relaxed.model.cpp12 auto b0 = model->addOperand(&type2); in CreateModel() local
19 model->setOperandValue(b0, b0_init, sizeof(float) * 3); in CreateModel()
22 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
46 auto b0 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local
53 model->setOperandValue(b0, b0_init, sizeof(float) * 3); in CreateModel_dynamic_output_shape()
56 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel_dynamic_output_shape()
/frameworks/base/tests/net/java/com/android/internal/util/
DBitUtilsTest.java44 byte b0 = 0; in testUnsignedByteWideningConversions()
47 assertEquals(0, uint8(b0)); in testUnsignedByteWideningConversions()
70 byte b0 = 0; in testUnsignedShortComposition()
78 assertEquals(0x0000, uint16(b0, b0)); in testUnsignedShortComposition()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattCharacteristic.java725 private int unsignedBytesToInt(byte b0, byte b1) { in unsignedBytesToInt() argument
726 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)); in unsignedBytesToInt()
732 private int unsignedBytesToInt(byte b0, byte b1, byte b2, byte b3) { in unsignedBytesToInt() argument
733 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)) in unsignedBytesToInt()
740 private float bytesToFloat(byte b0, byte b1) { in bytesToFloat() argument
741 int mantissa = unsignedToSigned(unsignedByteToInt(b0) in bytesToFloat()
750 private float bytesToFloat(byte b0, byte b1, byte b2, byte b3) { in bytesToFloat() argument
751 int mantissa = unsignedToSigned(unsignedByteToInt(b0) in bytesToFloat()
/frameworks/base/libs/androidfw/tests/data/out_of_order_types/
Dedited_resources.arsc.txt12 000000b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
28 000001b0: 7374 0000 0202 1000 1400 0000 0100 0000 st..............
/frameworks/base/core/java/android/net/
DSntpClient.java237 byte b0 = buffer[offset]; in read32()
243 int i0 = ((b0 & 0x80) == 0x80 ? (b0 & 0x7F) + 0x80 : b0); in read32()

12