Home
last modified time | relevance | path

Searched refs:b2 (Results 1 – 25 of 1002) sorted by relevance

12345678910>>...41

/external/sfntly/cpp/src/test/
Dfile_io_test.cc49 ByteVector b2; in TestFileInputStream() local
50 is.Read(&b2, 0, length); in TestFileInputStream()
52 EXPECT_EQ(memcmp(&(b1[0]), &(b2[0]), length), 0); in TestFileInputStream()
53 b2.clear(); in TestFileInputStream()
58 is.Read(&b2, 0, 100); in TestFileInputStream()
59 EXPECT_EQ(memcmp(&(b1[89]), &(b2[0]), 100), 0); in TestFileInputStream()
60 b2.clear(); in TestFileInputStream()
64 is.Read(&b2, 0, 100); in TestFileInputStream()
65 EXPECT_EQ(memcmp(&(b1[100]), &(b2[0]), 100), 0); in TestFileInputStream()
66 b2.clear(); in TestFileInputStream()
[all …]
/external/valgrind/none/tests/s390x/
Dopcodes.h29 #define RXY_RRRD(op1,r1,x2,b2,dl2,dh2,op2) \ argument
31 ".long 0x" #b2 #dl2 #dh2 #op2 "\n\t"
68 #define RSY_RURD(op1,r1,r3,b2,dl2,dh2,op2) \ argument
70 ".long 0x" #b2 #dl2 #dh2 #op2 "\n\t"
76 #define RSY_RRRD(op1,r1,r3,b2,dl2,dh2,op2) \ argument
78 ".long 0x" #b2 #dl2 #dh2 #op2 "\n\t"
79 #define RSY_AARD(op1,r1,r3,b2,dl2,dh2,op2) \ argument
81 ".long 0x" #b2 #dl2 #dh2 #op2 "\n\t"
84 #define RXY_FRRD(op1,r1,x2,b2,dl2,dh2,op2) \ argument
86 ".long 0x" #b2 #dl2 #dh2 #op2 "\n\t"
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
DBase64Encoder.java84 int b1, b2, b3; in encode() local
94 b2 = (d1 << 4) & 0x3f; in encode()
97 out.write(encodingTable[b2]); in encode()
106 b2 = ((d1 << 4) | (d2 >>> 4)) & 0x3f; in encode()
110 out.write(encodingTable[b2]); in encode()
138 byte b1, b2, b3, b4; in decode()
164 b2 = decodingTable[data[i++]]; in decode()
174 if ((b1 | b2 | b3 | b4) < 0) in decode()
179 out.write((b1 << 2) | (b2 >> 4)); in decode()
180 out.write((b2 << 4) | (b3 >> 2)); in decode()
[all …]
/external/icu/icu4c/source/common/
Dutf_impl.cpp247 uint8_t b2=s[--i]; in utf8_prevCharSafeBody() local
248 if(0xe0<=b2 && b2<0xf0) { in utf8_prevCharSafeBody()
249 b2&=0xf; in utf8_prevCharSafeBody()
251 if(U8_IS_VALID_LEAD3_AND_T1(b2, b1)) { in utf8_prevCharSafeBody()
253 c=(b2<<12)|((b1&0x3f)<<6)|c; in utf8_prevCharSafeBody()
264 if((b2>0 || b1>=0x20)) { in utf8_prevCharSafeBody()
266 return (b2<<12)|(b1<<6)|c; in utf8_prevCharSafeBody()
269 } else if(U8_IS_TRAIL(b2) && i>start) { in utf8_prevCharSafeBody()
273 if(U8_IS_VALID_LEAD4_AND_T1(b3, b2)) { in utf8_prevCharSafeBody()
275 c=(b3<<18)|((b2&0x3f)<<12)|((b1&0x3f)<<6)|c; in utf8_prevCharSafeBody()
[all …]
/external/clang/test/SemaCXX/
Dwarn-memsize-comparison.cpp18 char b1[80], b2[80]; in f() local
25 if (memmove(b1, b2, sizeof(b1) == 0)) {} // \ in f()
29 if (memmove(b1, b2, sizeof(b1)) == 0) {} in f()
31 if (memcpy(b1, b2, sizeof(b1) < 0)) {} // \ in f()
35 if (memcpy(b1, b2, sizeof(b1)) < 0) {} in f()
37 if (memcmp(b1, b2, sizeof(b1) <= 0)) {} // \ in f()
41 if (memcmp(b1, b2, sizeof(b1)) <= 0) {} in f()
43 if (strncmp(b1, b2, sizeof(b1) > 0)) {} // \ in f()
47 if (strncmp(b1, b2, sizeof(b1)) > 0) {} in f()
49 if (strncasecmp(b1, b2, sizeof(b1) >= 0)) {} // \ in f()
[all …]
Dwarn-redundant-move.cpp21 B b2; in test1() local
23 return b2; in test1()
25 return std::move(b2); in test1()
35 B b2; in test2() local
40 return b2; in test2()
45 return std::move(b2); in test2()
50 B& b2 = b1; in test3() local
52 return b2; in test3()
54 return std::move(b2); in test3()
59 B& b2 = b1; in test4() local
[all …]
/external/okhttp/okio/okio/src/test/java/okio/
DTestUtil.java53 public static void assertEquivalent(ByteString b1, ByteString b2) { in assertEquivalent() argument
55 assertTrue(b1.equals(b2)); in assertEquivalent()
57 assertTrue(b2.equals(b1)); in assertEquivalent()
60 assertEquals(b1.hashCode(), b2.hashCode()); in assertEquivalent()
62 assertEquals(b1.toString(), b2.toString()); in assertEquivalent()
65 assertEquals(b1.size(), b2.size()); in assertEquivalent()
66 byte[] b2Bytes = b2.toByteArray(); in assertEquivalent()
89 public static void assertEquivalent(Buffer b1, Buffer b2) { in assertEquivalent() argument
91 assertTrue(b1.equals(b2)); in assertEquivalent()
93 assertTrue(b2.equals(b1)); in assertEquivalent()
[all …]
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_subgraphs_pass_test.cc492 GraphDefBuilder b2(GraphDefBuilder::kFailImmediately, lib_def.get()); in TEST() local
493 Node* a = Input(b2.opts().WithName("A")); in TEST()
494 Node* b = Input(b2.opts().WithName("B")); in TEST()
498 Node* call = b2.opts().FinalizeBuilder(&node_builder); in TEST()
500 Binary(a, call, b2.opts().WithName("E")); in TEST()
501 TF_EXPECT_OK(b2.ToGraphDef(&graphdef_expected)); in TEST()
552 GraphDefBuilder b2(GraphDefBuilder::kFailImmediately, lib_def.get()); in TEST() local
553 Node* a = Input(b2.opts().WithName("A")); in TEST()
554 Node* b = Input(b2.opts().WithName("B")); in TEST()
555 Node* control = Input(b2.opts().WithName("Control")); in TEST()
[all …]
/external/stressapptest/src/
Dadler32memcpy.cc78 void AdlerChecksum::Set(uint64 a1, uint64 a2, uint64 b1, uint64 b2) { in Set() argument
82 b2_ = b2; in Set()
100 uint64 b2 = 0; in CalculateAdlerChecksum() local
114 b2 = b2 + a2; in CalculateAdlerChecksum()
116 b2 = b2 + a2; in CalculateAdlerChecksum()
119 checksum->Set(a1, a2, b1, b2); in CalculateAdlerChecksum()
138 uint64 b2 = 0; in AdlerMemcpyC() local
153 b2 = b2 + a2; in AdlerMemcpyC()
155 b2 = b2 + a2; in AdlerMemcpyC()
159 checksum->Set(a1, a2, b1, b2); in AdlerMemcpyC()
[all …]
/external/libffi/testsuite/libffi.call/
Dstret_large2.c36 struct_116byte b2, in cls_struct_116byte_fn() argument
41 result.a = b0.a + b1.a + b2.a + b3.a; in cls_struct_116byte_fn()
42 result.b = b0.b + b1.b + b2.b + b3.b; in cls_struct_116byte_fn()
43 result.c = b0.c + b1.c + b2.c + b3.c; in cls_struct_116byte_fn()
44 result.d = b0.d + b1.d + b2.d + b3.d; in cls_struct_116byte_fn()
45 result.e = b0.e + b1.e + b2.e + b3.e; in cls_struct_116byte_fn()
46 result.f = b0.f + b1.f + b2.f + b3.f; in cls_struct_116byte_fn()
47 result.g = b0.g + b1.g + b2.g + b3.g; in cls_struct_116byte_fn()
48 result.h = b0.h + b1.h + b2.h + b3.h; in cls_struct_116byte_fn()
49 result.i = b0.i + b1.i + b2.i + b3.i; in cls_struct_116byte_fn()
[all …]
Dstret_large.c35 struct_108byte b2, in cls_struct_108byte_fn() argument
40 result.a = b0.a + b1.a + b2.a + b3.a; in cls_struct_108byte_fn()
41 result.b = b0.b + b1.b + b2.b + b3.b; in cls_struct_108byte_fn()
42 result.c = b0.c + b1.c + b2.c + b3.c; in cls_struct_108byte_fn()
43 result.d = b0.d + b1.d + b2.d + b3.d; in cls_struct_108byte_fn()
44 result.e = b0.e + b1.e + b2.e + b3.e; in cls_struct_108byte_fn()
45 result.f = b0.f + b1.f + b2.f + b3.f; in cls_struct_108byte_fn()
46 result.g = b0.g + b1.g + b2.g + b3.g; in cls_struct_108byte_fn()
47 result.h = b0.h + b1.h + b2.h + b3.h; in cls_struct_108byte_fn()
48 result.i = b0.i + b1.i + b2.i + b3.i; in cls_struct_108byte_fn()
[all …]
Dcls_24byte.c20 struct cls_struct_24byte b2, in cls_struct_24byte_fn() argument
25 result.a = b0.a + b1.a + b2.a + b3.a; in cls_struct_24byte_fn()
26 result.b = b0.b + b1.b + b2.b + b3.b; in cls_struct_24byte_fn()
27 result.c = b0.c + b1.c + b2.c + b3.c; in cls_struct_24byte_fn()
28 result.d = b0.d + b1.d + b2.d + b3.d; in cls_struct_24byte_fn()
33 b2.a, b2.b, b2.c, b2.d, in cls_struct_24byte_fn()
34 b3.a, b3.b, b3.c, b2.d, in cls_struct_24byte_fn()
44 struct cls_struct_24byte b0, b1, b2, b3; in cls_struct_24byte_gn() local
48 b2 = *(struct cls_struct_24byte*)(args[2]); in cls_struct_24byte_gn()
51 *(cls_struct_24byte*)resp = cls_struct_24byte_fn(b0, b1, b2, b3); in cls_struct_24byte_gn()
Dnested_struct.c30 struct cls_struct_combined b2) in cls_struct_combined_fn() argument
34 result.d.a = b0.a + b1.dd + b2.d.a; in cls_struct_combined_fn()
35 result.d.b = b0.b + b1.ff + b2.d.b; in cls_struct_combined_fn()
36 result.d.c = b0.c + b1.ii + b2.d.c; in cls_struct_combined_fn()
37 result.e.ii = b0.c + b1.ii + b2.e.ii; in cls_struct_combined_fn()
38 result.e.dd = b0.a + b1.dd + b2.e.dd; in cls_struct_combined_fn()
39 result.e.ff = b0.b + b1.ff + b2.e.ff; in cls_struct_combined_fn()
44 b2.d.a, b2.d.b, b2.d.c, in cls_struct_combined_fn()
45 b2.e.ii, b2.e.dd, b2.e.ff, in cls_struct_combined_fn()
58 struct cls_struct_combined b2; in cls_struct_combined_gn() local
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/
Dstret_large2.c36 struct_116byte b2, in cls_struct_116byte_fn() argument
41 result.a = b0.a + b1.a + b2.a + b3.a; in cls_struct_116byte_fn()
42 result.b = b0.b + b1.b + b2.b + b3.b; in cls_struct_116byte_fn()
43 result.c = b0.c + b1.c + b2.c + b3.c; in cls_struct_116byte_fn()
44 result.d = b0.d + b1.d + b2.d + b3.d; in cls_struct_116byte_fn()
45 result.e = b0.e + b1.e + b2.e + b3.e; in cls_struct_116byte_fn()
46 result.f = b0.f + b1.f + b2.f + b3.f; in cls_struct_116byte_fn()
47 result.g = b0.g + b1.g + b2.g + b3.g; in cls_struct_116byte_fn()
48 result.h = b0.h + b1.h + b2.h + b3.h; in cls_struct_116byte_fn()
49 result.i = b0.i + b1.i + b2.i + b3.i; in cls_struct_116byte_fn()
[all …]
Dstret_large.c35 struct_108byte b2, in cls_struct_108byte_fn() argument
40 result.a = b0.a + b1.a + b2.a + b3.a; in cls_struct_108byte_fn()
41 result.b = b0.b + b1.b + b2.b + b3.b; in cls_struct_108byte_fn()
42 result.c = b0.c + b1.c + b2.c + b3.c; in cls_struct_108byte_fn()
43 result.d = b0.d + b1.d + b2.d + b3.d; in cls_struct_108byte_fn()
44 result.e = b0.e + b1.e + b2.e + b3.e; in cls_struct_108byte_fn()
45 result.f = b0.f + b1.f + b2.f + b3.f; in cls_struct_108byte_fn()
46 result.g = b0.g + b1.g + b2.g + b3.g; in cls_struct_108byte_fn()
47 result.h = b0.h + b1.h + b2.h + b3.h; in cls_struct_108byte_fn()
48 result.i = b0.i + b1.i + b2.i + b3.i; in cls_struct_108byte_fn()
[all …]
Dcls_24byte.c20 struct cls_struct_24byte b2, in cls_struct_24byte_fn() argument
25 result.a = b0.a + b1.a + b2.a + b3.a; in cls_struct_24byte_fn()
26 result.b = b0.b + b1.b + b2.b + b3.b; in cls_struct_24byte_fn()
27 result.c = b0.c + b1.c + b2.c + b3.c; in cls_struct_24byte_fn()
28 result.d = b0.d + b1.d + b2.d + b3.d; in cls_struct_24byte_fn()
33 b2.a, b2.b, b2.c, b2.d, in cls_struct_24byte_fn()
34 b3.a, b3.b, b3.c, b2.d, in cls_struct_24byte_fn()
44 struct cls_struct_24byte b0, b1, b2, b3; in cls_struct_24byte_gn() local
48 b2 = *(struct cls_struct_24byte*)(args[2]); in cls_struct_24byte_gn()
51 *(cls_struct_24byte*)resp = cls_struct_24byte_fn(b0, b1, b2, b3); in cls_struct_24byte_gn()
Dnested_struct.c30 struct cls_struct_combined b2) in cls_struct_combined_fn() argument
34 result.d.a = b0.a + b1.dd + b2.d.a; in cls_struct_combined_fn()
35 result.d.b = b0.b + b1.ff + b2.d.b; in cls_struct_combined_fn()
36 result.d.c = b0.c + b1.ii + b2.d.c; in cls_struct_combined_fn()
37 result.e.ii = b0.c + b1.ii + b2.e.ii; in cls_struct_combined_fn()
38 result.e.dd = b0.a + b1.dd + b2.e.dd; in cls_struct_combined_fn()
39 result.e.ff = b0.b + b1.ff + b2.e.ff; in cls_struct_combined_fn()
44 b2.d.a, b2.d.b, b2.d.c, in cls_struct_combined_fn()
45 b2.e.ii, b2.e.dd, b2.e.ff, in cls_struct_combined_fn()
58 struct cls_struct_combined b2; in cls_struct_combined_gn() local
[all …]
/external/python/cpython3/Modules/_ctypes/libffi/testsuite/libffi.call/
Dstret_large2.c36 struct_116byte b2, in cls_struct_116byte_fn() argument
41 result.a = b0.a + b1.a + b2.a + b3.a; in cls_struct_116byte_fn()
42 result.b = b0.b + b1.b + b2.b + b3.b; in cls_struct_116byte_fn()
43 result.c = b0.c + b1.c + b2.c + b3.c; in cls_struct_116byte_fn()
44 result.d = b0.d + b1.d + b2.d + b3.d; in cls_struct_116byte_fn()
45 result.e = b0.e + b1.e + b2.e + b3.e; in cls_struct_116byte_fn()
46 result.f = b0.f + b1.f + b2.f + b3.f; in cls_struct_116byte_fn()
47 result.g = b0.g + b1.g + b2.g + b3.g; in cls_struct_116byte_fn()
48 result.h = b0.h + b1.h + b2.h + b3.h; in cls_struct_116byte_fn()
49 result.i = b0.i + b1.i + b2.i + b3.i; in cls_struct_116byte_fn()
[all …]
Dstret_large.c35 struct_108byte b2, in cls_struct_108byte_fn() argument
40 result.a = b0.a + b1.a + b2.a + b3.a; in cls_struct_108byte_fn()
41 result.b = b0.b + b1.b + b2.b + b3.b; in cls_struct_108byte_fn()
42 result.c = b0.c + b1.c + b2.c + b3.c; in cls_struct_108byte_fn()
43 result.d = b0.d + b1.d + b2.d + b3.d; in cls_struct_108byte_fn()
44 result.e = b0.e + b1.e + b2.e + b3.e; in cls_struct_108byte_fn()
45 result.f = b0.f + b1.f + b2.f + b3.f; in cls_struct_108byte_fn()
46 result.g = b0.g + b1.g + b2.g + b3.g; in cls_struct_108byte_fn()
47 result.h = b0.h + b1.h + b2.h + b3.h; in cls_struct_108byte_fn()
48 result.i = b0.i + b1.i + b2.i + b3.i; in cls_struct_108byte_fn()
[all …]
Dcls_24byte.c20 struct cls_struct_24byte b2, in cls_struct_24byte_fn() argument
25 result.a = b0.a + b1.a + b2.a + b3.a; in cls_struct_24byte_fn()
26 result.b = b0.b + b1.b + b2.b + b3.b; in cls_struct_24byte_fn()
27 result.c = b0.c + b1.c + b2.c + b3.c; in cls_struct_24byte_fn()
28 result.d = b0.d + b1.d + b2.d + b3.d; in cls_struct_24byte_fn()
33 b2.a, b2.b, b2.c, b2.d, in cls_struct_24byte_fn()
34 b3.a, b3.b, b3.c, b2.d, in cls_struct_24byte_fn()
44 struct cls_struct_24byte b0, b1, b2, b3; in cls_struct_24byte_gn() local
48 b2 = *(struct cls_struct_24byte*)(args[2]); in cls_struct_24byte_gn()
51 *(cls_struct_24byte*)resp = cls_struct_24byte_fn(b0, b1, b2, b3); in cls_struct_24byte_gn()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DParcelTest.java261 Bundle b2 = parcel.readBundle(); in testReadWriteSimpleBundle() local
263 assertEquals(b1, b2); in testReadWriteSimpleBundle()
264 assertEquals("world", b2.getString("hello")); in testReadWriteSimpleBundle()
269 b2 = parcel.readBundle(null /* ClassLoader */); in testReadWriteSimpleBundle()
270 assertEquals(b1, b2); in testReadWriteSimpleBundle()
271 assertEquals("world", b2.getString("hello")); in testReadWriteSimpleBundle()
285 Bundle b2 = parcel.readBundle(); in testReadWriteNestedBundles() local
287 assertEquals(b1, b2); in testReadWriteNestedBundles()
288 assertEquals(innerBundle, b2.getBundle("bundle")); in testReadWriteNestedBundles()
289 assertEquals(23, b2.getInt("int")); in testReadWriteNestedBundles()
[all …]
/external/sonivox/arm-wt-22k/lib_src/
DARM-E_filter_gnu.s46 b2 .req r7 label
77 LDR b2, [pWTFrame, #m_b2]
80 RSB b2, b2, #0 @ b2 = -b2
81 MOV b2, b2, ASR #1 @ b2 = b2 >> 1
92 SMLABB tmp2, z2, b2, tmp2 @ tmp2 = (-b1 * z1) + (-b2 * z2)
96 SMLABB tmp0, tmp0, K, tmp2 @ tmp1 = (K * x[n]) + (-b1 * z1) + (-b2 * z2)
107 SMLABB tmp2, z2, b2, tmp2 @ tmp2 = (-b1 * z1) + (-b2 * z2)
109 SMLABB tmp1, tmp1, K, tmp2 @ tmp1 = (K * x[n]) + (-b1 * z1) + (-b2 * z2)
/external/apache-http/src/org/apache/commons/codec/binary/
DBase64.java265 byte k = 0, l = 0, b1 = 0, b2 = 0, b3 = 0; in encodeBase64()
277 b2 = binaryData[dataIndex + 1]; in encodeBase64()
282 l = (byte) (b2 & 0x0f); in encodeBase64()
288 ((b2 & SIGN) == 0) ? (byte) (b2 >> 4) : (byte) ((b2) >> 4 ^ 0xf0); in encodeBase64()
340 b2 = binaryData[dataIndex + 1]; in encodeBase64()
341 l = (byte) (b2 & 0x0f); in encodeBase64()
347 ((b2 & SIGN) == 0) ? (byte) (b2 >> 4) : (byte) ((b2) >> 4 ^ 0xf0); in encodeBase64()
388 byte b1 = 0, b2 = 0, b3 = 0, b4 = 0, marker0 = 0, marker1 = 0; in decodeBase64()
412 b2 = base64Alphabet[base64Data[dataIndex + 1]]; in decodeBase64()
419 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DTwofishEngine.java393 int b0, b1, b2, b3; in setKey() local
397 b0 = b1 = b2 = b3 = i; in setKey()
403 gSBox[i*2+0x200] = gMDS2[(P[P_21][b2] & 0xff) ^ b2(k0)]; in setKey()
409 b2 = (P[P_24][b2] & 0xff) ^ b2(k3); in setKey()
415 b2 = (P[P_23][b2] & 0xff) ^ b2(k2); in setKey()
424 [(P[P_22][b2] & 0xff) ^ b2(k1)] & 0xff) ^ b2(k0)]; in setKey()
527 int b2 = b2(x); in F32() local
540 gMDS2[(P[P_21][b2] & 0xff) ^ b2(k0)] ^ in F32()
546 b2 = (P[P_24][b2] & 0xff) ^ b2(k3); in F32()
551 b2 = (P[P_23][b2] & 0xff) ^ b2(k2); in F32()
[all …]
/external/valgrind/none/tests/amd64/
Dasorep.c11 uintptr_t b1 = (uintptr_t) buf1, b2 = (uintptr_t) buf2; in main() local
13 if (b1 > 0xffffffffULL || b2 > 0xffffffffULL) in main()
17 b2 += 0xfff00000000ULL; in main()
21 : "D" (b2), "S" (b1), "c" (0x100000004ULL) in main()
32 : "D" (b2), "c" (0x100000003ULL) in main()
42 : "S" (b2), "a" (2ULL)); in main()
51 : "D" (b2), "S" (b1), "c" (0x100000020ULL)); in main()
61 : "D" (b2), "c" (0x100000020ULL)); in main()
70 : "D" (b2), "c" (0x100000020ULL)); in main()

12345678910>>...41