/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_poly.h | 111 double b0,b1,b2; in db_MultiplyPoly0_2() local 113 b0=b[0];b1=b[1];b2=b[2]; in db_MultiplyPoly0_2() 117 d[2]=a0*b2; in db_MultiplyPoly0_2() 123 double b0,b1,b2; in db_MultiplyPoly1_2() local 125 b0=b[0];b1=b[1];b2=b[2]; in db_MultiplyPoly1_2() 129 d[2]=a0*b2+a1*b1; in db_MultiplyPoly1_2() 130 d[3]= a1*b2; in db_MultiplyPoly1_2() 137 double b0,b1,b2,b3; in db_MultiplyPoly1_3() local 139 b0=b[0];b1=b[1];b2=b[2];b3=b[3]; in db_MultiplyPoly1_3() 143 d[2]=a0*b2+a1*b1; in db_MultiplyPoly1_3() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapUtils.java | 531 byte b2 = input[++in]; in quotedPrintableToUtf8() 532 if (b1 == '\r' && b2 == '\n') { in quotedPrintableToUtf8() 536 && b1 <= 'f')) && ((b2 >= '0' && b2 <= '9') || (b2 >= 'A' && b2 <= 'F') || ( in quotedPrintableToUtf8() 537 b2 >= 'a' && b2 <= 'f'))) { in quotedPrintableToUtf8() 539 Log.v(TAG, "Found hex number: " + String.format("%c%c", b1, b2)); in quotedPrintableToUtf8() 549 if (b2 <= '9') { in quotedPrintableToUtf8() 550 b2 = (byte) (b2 - '0'); in quotedPrintableToUtf8() 551 } else if (b2 <= 'F') { in quotedPrintableToUtf8() 552 b2 = (byte) (b2 - 'A' + 10); in quotedPrintableToUtf8() 553 } else if (b2 <= 'f') { in quotedPrintableToUtf8() [all …]
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/ |
D | depthwise_conv2d_dilation.mod.py | 49 b2 = Parameter("op3", "TENSOR_FLOAT32", "{4}", [0,0,0,0]) variable 51 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 2, 0, layout, 2, 2).To(o2) 57 b2: ("TENSOR_INT32", 0.005, 0), 104 b2 = Parameter("op3", "TENSOR_FLOAT32", "{4}", [0,0,0,0]) variable 106 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 2, 1, 1, 2, 0, layout, 2, 2).To(o2) 112 b2: ("TENSOR_INT32", 0.005, 0), 131 b2 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable 133 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 1, 2, 2, 1, 0, layout, 3, 3).To(o2) 139 b2: ("TENSOR_INT32", 0.0625, 0),
|
D | conv2d_dilation.mod.py | 44 b2 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable 46 Model().Operation("CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 0, layout, 3, 3).To(o2) 52 b2: ("TENSOR_INT32", 0.0625, 0), 95 b2 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable 97 Model().Operation("CONV_2D", i2, f2, b2, 2, 1, 1, 0, layout, 3, 3).To(o2) 103 b2: ("TENSOR_INT32", 0.0625, 0),
|
D | grouped_conv2d.mod.py | 71 b2 = Parameter("op3", "TENSOR_FLOAT32", "{2}", [500, -1000]) # bias variable 73 Model("large").Operation("GROUPED_CONV_2D", i2, w2, b2, 1, 1, 1, 2, 0, layout).To(o2) 79 b2: ("TENSOR_INT32", 0.25, 0), 87 …b2: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5, 0.625], hide=Tru…
|
D | depthwise_conv2d_v1_2.mod.py | 61 b2 = Parameter("op3", "TENSOR_FLOAT32", "{4}", [1, 2, 3, 4]) variable 63 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 2, 1, 1, 2, 0, layout).To(o2) 69 b2: ("TENSOR_INT32", 0.25, 0), 75 …b2: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25, 0.125, 0.25, 0.…
|
D | axis_aligned_bbox_transform.mod.py | 72 b2 = Input("batchSplit", "TENSOR_INT32", "{5}") variable 75 model2 = Model().Operation("AXIS_ALIGNED_BBOX_TRANSFORM", r2, d2, b2, i2).To(o2) 100 b2: [0, 2, 5, 5, 6],
|
D | transpose_conv2d.mod.py | 71 b2 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [-1000]) # bias variable 74 Model().Operation("TRANSPOSE_CONV_2D", i2, w2, b2, s2, 1, 3, 3, 1, layout).To(o2) 80 b2: ("TENSOR_INT32", 0.5, 0), 88 b2: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5], hide=True)),
|
D | conv2d_v1_2.mod.py | 50 b2 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [-200]) variable 52 Model().Operation("CONV_2D", i2, f2, b2, 1, 1, 1, 1, layout).To(o2) 58 b2: ("TENSOR_INT32", 0.25, 0), 64 b2: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.25], hide=True)),
|
D | depthwise_conv2d_per_channel.mod.py | 37 b2 = Parameter("op3", "TENSOR_INT32", "{4}", [4, 4, 4, 4]) variable 39 Model("different").Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 2, 0).To(o2)
|
D | conv2d_per_channel.mod.py | 35 b2 = Parameter("op3", "TENSOR_INT32", "{3}", [4, 4, 4]) variable 37 Model("layouts").Operation("CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 0, layout).To(o2)
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/ |
D | depthwise_conv2d_quant8_signed.mod.py | 50 b2 = Parameter("op3", "TENSOR_FLOAT32", "{4}", [0,0,0,0]) variable 52 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 2, 0, layout, 2, 2).To(o2) 58 b2: ("TENSOR_INT32", 0.0625, 0), 107 b2 = Parameter("op3", "TENSOR_FLOAT32", "{4}", [0,0,0,0]) variable 109 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 2, 1, 1, 2, 0, layout, 2, 2).To(o2) 115 b2: ("TENSOR_INT32", 0.05, 0), 136 b2 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable 138 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 1, 2, 2, 1, 0, layout, 3, 3).To(o2) 144 b2: ("TENSOR_INT32", 0.0625, 0), 185 b2 = Parameter("op3", "TENSOR_INT32", "{4}", [4, 4, 4, 4]) variable [all …]
|
D | conv2d_quant8_signed.mod.py | 44 b2 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable 46 Model().Operation("CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 0, layout, 3, 3).To(o2) 52 b2: ("TENSOR_INT32", 0.0625, 0), 95 b2 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [0]) variable 97 Model().Operation("CONV_2D", i2, f2, b2, 2, 1, 1, 0, layout, 3, 3).To(o2) 103 b2: ("TENSOR_INT32", 0.0625, 0), 167 b2 = Parameter("op3", "TENSOR_INT32", "{3}", [4, 4, 4]) variable 169 Model("layouts").Operation("CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 0, layout).To(o2) 240 b2 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [-200]) variable 242 Model().Operation("CONV_2D", i2, f2, b2, 1, 1, 1, 1, layout).To(o2) [all …]
|
D | grouped_conv2d_quant8_signed.mod.py | 71 b2 = Parameter("op3", "TENSOR_FLOAT32", "{2}", [500, -1000]) # bias variable 73 Model("large").Operation("GROUPED_CONV_2D", i2, w2, b2, 1, 1, 1, 2, 0, layout).To(o2) 79 b2: ("TENSOR_INT32", 0.25, 0), 87 …b2: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5, 0.625], hide=Tru…
|
D | axis_aligned_bbox_transform_quant8_signed.mod.py | 73 b2 = Input("batchSplit", "TENSOR_INT32", "{5}") variable 76 model2 = Model().Operation("AXIS_ALIGNED_BBOX_TRANSFORM", r2, d2, b2, i2).To(o2) 101 b2: [0, 2, 5, 5, 6],
|
D | transpose_conv2d_quant8_signed.mod.py | 106 b2 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [-1000]) # bias variable 109 Model().Operation("TRANSPOSE_CONV_2D", i2, w2, b2, s2, 1, 3, 3, 1, layout).To(o2) 115 b2: ("TENSOR_INT32", 0.5, 0), 123 b2: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5], hide=True)),
|
D | transpose_quant8_signed.mod.py | 106 b2 = Parameter("op3", "TENSOR_FLOAT32", "{1}", [-1000]) # bias variable 109 Model().Operation("TRANSPOSE_CONV_2D", i2, w2, b2, s2, 1, 3, 3, 1, layout).To(o2) 115 b2: ("TENSOR_INT32", 0.5, 0), 123 b2: ("TENSOR_INT32", 0.0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5], hide=True)),
|
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
D | Base64.java | 75 byte b1 = 0, b2 = 0, b3 = 0, b4 = 0, marker0 = 0, marker1 = 0; in decodeBase64() 99 b2 = base64Alphabet[base64Data[dataIndex + 1]]; in decodeBase64() 106 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64() 108 (byte) (((b2 & 0xf) << 4) | ((b3 >> 2) & 0xf)); in decodeBase64() 112 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64() 117 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64() 119 (byte) (((b2 & 0xf) << 4) | ((b3 >> 2) & 0xf)); in decodeBase64()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | Base64.java | 75 byte b1 = 0, b2 = 0, b3 = 0, b4 = 0, marker0 = 0, marker1 = 0; in decodeBase64() 99 b2 = base64Alphabet[base64Data[dataIndex + 1]]; in decodeBase64() 106 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64() 108 (byte) (((b2 & 0xf) << 4) | ((b3 >> 2) & 0xf)); in decodeBase64() 112 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64() 117 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64() 119 (byte) (((b2 & 0xf) << 4) | ((b3 >> 2) & 0xf)); in decodeBase64()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | Util.java | 70 Bitmap b2 = Bitmap.createBitmap( in rotate() local 72 if (b != b2) { in rotate() 74 b = b2; in rotate() 165 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight, in transform() local 167 Canvas c = new Canvas(b2); in transform() 187 return b2; in transform() 227 Bitmap b2 = Bitmap.createBitmap( in transform() local 234 if (b2 != b1) { in transform() 240 return b2; in transform()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/ |
D | move1.dot | 41 b2 [label="{b:null|}", fillcolor=1] 44 a2 -> b2 [style=invis, dir=back] 46 b1 -> b2 [style=invis]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | LogoUtilsTest.java | 127 private void assertBitmapEquals(Bitmap b1, Bitmap b2) { in assertBitmapEquals() argument 128 assertEquals(b1.getWidth(), b2.getWidth()); in assertBitmapEquals() 129 assertEquals(b1.getHeight(), b2.getHeight()); in assertBitmapEquals() 132 assertEquals(b1.getPixel(x, y), b2.getPixel(x, y)); in assertBitmapEquals()
|
/packages/modules/Connectivity/tests/unit/java/com/android/internal/util/ |
D | BitUtilsTest.java | 82 byte b2 = 2; in testUnsignedShortComposition() 91 assertEquals(0x8002, uint16(b128, b2)); in testUnsignedShortComposition() 185 static byte[] bytes(int b1, int b2, int b3, int b4) { in bytes() argument 186 return new byte[] {b(b1), b(b2), b(b3), b(b4)}; in bytes()
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | BitmapUtility.java | 65 Bitmap b2 = Bitmap.createBitmap(b, 0, 0,b.getWidth(),b.getHeight(), mat, true); in rotatedBitmap() local 66 return b2; in rotatedBitmap()
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Geometry.h | 112 double b2 = y1 - m2 * x1; in FindTriangleCentroid() local 116 double x = (b2 - b1) / (m1 - m2); in FindTriangleCentroid()
|