Home
last modified time | relevance | path

Searched refs:b0 (Results 1 – 25 of 38) 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/base/tests/net/java/com/android/internal/util/
DBitUtilsTest.java34 byte b0 = 0; in testUnsignedByteWideningConversions()
37 assertEquals(0, uint8(b0)); in testUnsignedByteWideningConversions()
60 byte b0 = 0; in testUnsignedShortComposition()
68 assertEquals(0x0000, uint16(b0, b0)); in testUnsignedShortComposition()
/frameworks/ml/nn/runtime/test/generated/models/
Dfully_connected_float_weights_as_inputs_relaxed.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_float_large_weights_as_inputs_relaxed.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_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_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_float_large_relaxed.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_float_relaxed.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_3.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()
Dfully_connected_float_4d_simple.model.cpp11 auto b0 = model->addOperand(&type2); in CreateModel() local
18 model->setOperandValue(b0, b0_init, sizeof(float) * 3); in CreateModel()
21 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_float_4d_simple_relaxed.model.cpp11 auto b0 = model->addOperand(&type2); in CreateModel() local
18 model->setOperandValue(b0, b0_init, sizeof(float) * 3); in CreateModel()
21 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act}, {op3}); in CreateModel()
Dfully_connected_float_2.model.cpp11 auto b0 = model->addOperand(&type2); in CreateModel() local
18 model->setOperandValue(b0, b0_init, sizeof(float) * 16); in CreateModel()
21 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act_relu}, {op3}); in CreateModel()
Dfully_connected_float_2_relaxed.model.cpp11 auto b0 = model->addOperand(&type2); in CreateModel() local
18 model->setOperandValue(b0, b0_init, sizeof(float) * 16); in CreateModel()
21 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act_relu}, {op3}); in CreateModel()
Dfully_connected_quant8_2.model.cpp11 auto b0 = model->addOperand(&type2); in CreateModel() local
18 model->setOperandValue(b0, b0_init, sizeof(int32_t) * 3); in CreateModel()
21 model->addOperation(ANEURALNETWORKS_FULLY_CONNECTED, {op1, op2, b0, act_relu}, {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.java720 private int unsignedBytesToInt(byte b0, byte b1) { in unsignedBytesToInt() argument
721 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)); in unsignedBytesToInt()
727 private int unsignedBytesToInt(byte b0, byte b1, byte b2, byte b3) { in unsignedBytesToInt() argument
728 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)) in unsignedBytesToInt()
735 private float bytesToFloat(byte b0, byte b1) { in bytesToFloat() argument
736 int mantissa = unsignedToSigned(unsignedByteToInt(b0) in bytesToFloat()
745 private float bytesToFloat(byte b0, byte b1, byte b2, byte b3) { in bytesToFloat() argument
746 int mantissa = unsignedToSigned(unsignedByteToInt(b0) in bytesToFloat()

12