/external/dropbear/libtomcrypt/notes/etc/ |
D | saferp_optimizer.c | 8 b2[0] = b[8]; b2[1] = b[11]; b2[2] = b[12]; b2[3] = b[15]; \ 9 b2[4] = b[2]; b2[5] = b[1]; b2[6] = b[6]; b2[7] = b[5]; \ 10 b2[8] = b[10]; b2[9] = b[9]; b2[10] = b[14]; b2[11] = b[13]; \ 11 b2[12] = b[0]; b2[13] = b[7]; b2[14] = b[4]; b2[15] = b[3]; memcpy(b, b2, sizeof(b)); 14 #define iSHUF(b, b2) \ argument 15 b2[0] = b[12]; b2[1] = b[5]; b2[2] = b[4]; b2[3] = b[15]; \ 16 b2[4] = b[14]; b2[5] = b[7]; b2[6] = b[6]; b2[7] = b[13]; \ 17 b2[8] = b[0]; b2[9] = b[9]; b2[10] = b[8]; b2[11] = b[1]; \ 18 b2[12] = b[2]; b2[13] = b[11]; b2[14] = b[10]; b2[15] = b[3]; memcpy(b, b2, sizeof(b)); 40 int b[16], b2[16], x, y, z; in main() local
|
/external/chromium/base/ |
D | scoped_bstr_win_unittest.cc | 23 ScopedBstr b2; in DumbBstrTests() local 24 b.Swap(b2); in DumbBstrTests() 25 EXPECT_TRUE(b2 == NULL); in DumbBstrTests() 37 ScopedBstr b2; in BasicBstrTests() local 38 b1.Swap(b2); in BasicBstrTests() 39 EXPECT_TRUE(b2.Length() == test1_len); in BasicBstrTests() 41 EXPECT_TRUE(lstrcmpW(b2, kTestString1) == 0); in BasicBstrTests() 42 BSTR tmp = b2.Release(); in BasicBstrTests() 45 EXPECT_TRUE(b2 == NULL); in BasicBstrTests() 48 GiveMeABstr(b2.Receive()); in BasicBstrTests() [all …]
|
/external/dropbear/libtomcrypt/src/ciphers/safer/ |
D | saferp.c | 107 #define SHUF(b, b2) \ argument 108 b2[0] = b[8]; b2[1] = b[11]; b2[2] = b[12]; b2[3] = b[15]; \ 109 b2[4] = b[2]; b2[5] = b[1]; b2[6] = b[6]; b2[7] = b[5]; \ 110 b2[8] = b[10]; b2[9] = b[9]; b2[10] = b[14]; b2[11] = b[13]; \ 111 b2[12] = b[0]; b2[13] = b[7]; b2[14] = b[4]; b2[15] = b[3]; 114 #define iSHUF(b, b2) \ argument 115 b2[0] = b[12]; b2[1] = b[5]; b2[2] = b[4]; b2[3] = b[15]; \ 116 b2[4] = b[14]; b2[5] = b[7]; b2[6] = b[6]; b2[7] = b[13]; \ 117 b2[8] = b[0]; b2[9] = b[9]; b2[10] = b[8]; b2[11] = b[1]; \ 118 b2[12] = b[2]; b2[13] = b[11]; b2[14] = b[10]; b2[15] = b[3]; [all …]
|
/external/bouncycastle/src/main/java/org/bouncycastle/util/encoders/ |
D | Base64Encoder.java | 76 int b1, b2, b3; in encode() local 86 b2 = (d1 << 4) & 0x3f; in encode() 89 out.write(encodingTable[b2]); in encode() 98 b2 = ((d1 << 4) | (d2 >>> 4)) & 0x3f; in encode() 102 out.write(encodingTable[b2]); in encode() 130 byte b1, b2, b3, b4; in decode() 156 b2 = decodingTable[data[i++]]; in decode() 166 out.write((b1 << 2) | (b2 >> 4)); in decode() 167 out.write((b2 << 4) | (b3 >> 2)); in decode() 200 byte b1, b2, b3, b4; in decode() [all …]
|
/external/stlport/test/unit/ |
D | bitset_test.cpp | 39 bitset<13U> b2(0x1111); in bitset1() local 42 CPPUNIT_ASSERT(b2.size() == 13); in bitset1() 43 CPPUNIT_ASSERT(b2 == 0x1111); in bitset1() 46 b1 = b1 ^ (b2 << 2); in bitset1() 50 CPPUNIT_ASSERT(b2.count() == 4); in bitset1() 53 size_t __pos = b2._Find_first(); in bitset1() 55 __pos = b2._Find_next(__pos); in bitset1() 57 __pos = b2._Find_next(__pos); in bitset1() 59 __pos = b2._Find_next(__pos); in bitset1() 61 __pos = b2._Find_next(__pos); in bitset1() [all …]
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
D | ARM-E_filter_gnu.s | 46 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/sonivox/arm-wt-22k/lib_src/ |
D | ARM-E_filter_gnu.s | 46 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/libffi/testsuite/libffi.call/ |
D | cls_24byte.c | 20 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()
|
D | nested_struct.c | 30 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 …]
|
D | nested_struct1.c | 30 struct cls_struct_combined b2, in cls_struct_combined_fn() argument 35 result.d.a = b0.a + b1.dd + b2.d.a; in cls_struct_combined_fn() 36 result.d.b = b0.b + b1.ff + b2.d.b; in cls_struct_combined_fn() 37 result.d.c = b0.c + b1.ii + b2.d.c; in cls_struct_combined_fn() 38 result.e.ii = b0.c + b1.ii + b2.e.ii; in cls_struct_combined_fn() 39 result.e.dd = b0.a + b1.dd + b2.e.dd; in cls_struct_combined_fn() 40 result.e.ff = b0.b + b1.ff + b2.e.ff; in cls_struct_combined_fn() 45 b2.d.a, b2.d.b, b2.d.c, in cls_struct_combined_fn() 46 b2.e.ii, b2.e.dd, b2.e.ff, in cls_struct_combined_fn() 60 struct cls_struct_combined b2; in cls_struct_combined_gn() local [all …]
|
D | cls_16byte.c | 18 struct cls_struct_16byte b2) in cls_struct_16byte_fn() argument 22 result.a = b1.a + b2.a; in cls_struct_16byte_fn() 23 result.b = b1.b + b2.b; in cls_struct_16byte_fn() 24 result.c = b1.c + b2.c; in cls_struct_16byte_fn() 26 printf("%d %g %d %d %g %d: %d %g %d\n", b1.a, b1.b, b1.c, b2.a, b2.b, b2.c, in cls_struct_16byte_fn() 35 struct cls_struct_16byte b1, b2; in cls_struct_16byte_gn() local 38 b2 = *(struct cls_struct_16byte*)(args[1]); in cls_struct_16byte_gn() 40 *(cls_struct_16byte*)resp = cls_struct_16byte_fn(b1, b2); in cls_struct_16byte_gn()
|
D | cls_12byte.c | 17 struct cls_struct_12byte b2) in cls_struct_12byte_fn() argument 21 result.a = b1.a + b2.a; in cls_struct_12byte_fn() 22 result.b = b1.b + b2.b; in cls_struct_12byte_fn() 23 result.c = b1.c + b2.c; in cls_struct_12byte_fn() 25 printf("%d %d %d %d %d %d: %d %d %d\n", b1.a, b1.b, b1.c, b2.a, b2.b, b2.c, in cls_struct_12byte_fn() 34 struct cls_struct_12byte b1, b2; in cls_struct_12byte_gn() local 37 b2 = *(struct cls_struct_12byte*)(args[1]); in cls_struct_12byte_gn() 39 *(cls_struct_12byte*)resp = cls_struct_12byte_fn(b1, b2); in cls_struct_12byte_gn()
|
D | cls_64byte.c | 25 struct cls_struct_64byte b2, in cls_struct_64byte_fn() argument 30 result.a = b0.a + b1.a + b2.a + b3.a; in cls_struct_64byte_fn() 31 result.b = b0.b + b1.b + b2.b + b3.b; in cls_struct_64byte_fn() 32 result.c = b0.c + b1.c + b2.c + b3.c; in cls_struct_64byte_fn() 33 result.d = b0.d + b1.d + b2.d + b3.d; in cls_struct_64byte_fn() 34 result.e = b0.e + b1.e + b2.e + b3.e; in cls_struct_64byte_fn() 35 result.f = b0.f + b1.f + b2.f + b3.f; in cls_struct_64byte_fn() 36 result.g = b0.g + b1.g + b2.g + b3.g; in cls_struct_64byte_fn() 37 result.h = b0.h + b1.h + b2.h + b3.h; in cls_struct_64byte_fn() 49 struct cls_struct_64byte b0, b1, b2, b3; in cls_struct_64byte_gn() local [all …]
|
D | cls_9byte2.c | 19 struct cls_struct_9byte b2) in cls_struct_9byte_fn() argument 23 result.a = b1.a + b2.a; in cls_struct_9byte_fn() 24 result.b = b1.b + b2.b; in cls_struct_9byte_fn() 26 printf("%g %d %g %d: %g %d\n", b1.a, b1.b, b2.a, b2.b, in cls_struct_9byte_fn() 35 struct cls_struct_9byte b1, b2; in cls_struct_9byte_gn() local 38 b2 = *(struct cls_struct_9byte*)(args[1]); in cls_struct_9byte_gn() 40 *(cls_struct_9byte*)resp = cls_struct_9byte_fn(b1, b2); in cls_struct_9byte_gn()
|
D | cls_9byte1.c | 19 struct cls_struct_9byte b2) in cls_struct_9byte_fn() argument 23 result.a = b1.a + b2.a; in cls_struct_9byte_fn() 24 result.b = b1.b + b2.b; in cls_struct_9byte_fn() 26 printf("%d %g %d %g: %d %g\n", b1.a, b1.b, b2.a, b2.b, in cls_struct_9byte_fn() 35 struct cls_struct_9byte b1, b2; in cls_struct_9byte_gn() local 38 b2 = *(struct cls_struct_9byte*)(args[1]); in cls_struct_9byte_gn() 40 *(cls_struct_9byte*)resp = cls_struct_9byte_fn(b1, b2); in cls_struct_9byte_gn()
|
D | nested_struct6.c | 27 static B B_fn(struct A b2, struct B b3, struct C b4) in B_fn() argument 31 result.x.a = b2.a + b3.x.a + b4.d; in B_fn() 32 result.x.b = b2.b + b3.x.b + b3.y + b4.e; in B_fn() 33 result.y = b2.b + b3.x.b + b4.e; in B_fn() 35 printf("%d %d %d %d %d %d %d: %d %d %d\n", (int)b2.a, b2.b, in B_fn() 48 struct C b2; in B_gn() local 52 b2 = *(struct C*)(args[2]); in B_gn() 54 *(B*)resp = B_fn(b0, b1, b2); in B_gn()
|
D | nested_struct9.c | 27 static B B_fn(struct A b2, struct B b3, struct C b4) in B_fn() argument 31 result.x.a = b2.a + b3.x.a + b4.d; in B_fn() 32 result.x.b = b2.b + b3.x.b + b3.y + b4.e; in B_fn() 33 result.y = b2.b + b3.x.b + b4.e; in B_fn() 35 printf("%d %d %d %d %d %d %d: %d %d %d\n", b2.a, (int)b2.b, in B_fn() 48 struct C b2; in B_gn() local 52 b2 = *(struct C*)(args[2]); in B_gn() 54 *(B*)resp = B_fn(b0, b1, b2); in B_gn()
|
D | nested_struct8.c | 27 static B B_fn(struct A b2, struct B b3, struct C b4) in B_fn() argument 31 result.x.a = b2.a + b3.x.a + b4.d; in B_fn() 32 result.x.b = b2.b + b3.x.b + b3.y + b4.e; in B_fn() 33 result.y = b2.b + b3.x.b + b4.e; in B_fn() 35 printf("%d %d %d %d %d %d %d: %d %d %d\n", (int)b2.a, b2.b, in B_fn() 48 struct C b2; in B_gn() local 52 b2 = *(struct C*)(args[2]); in B_gn() 54 *(B*)resp = B_fn(b0, b1, b2); in B_gn()
|
D | nested_struct10.c | 28 static B B_fn(struct A b2, struct B b3, struct C b4) in B_fn() argument 32 result.x.a = b2.a + b3.x.a + b3.z + b4.d; in B_fn() 33 result.x.b = b2.b + b3.x.b + b3.y + b4.e; in B_fn() 34 result.y = b2.b + b3.x.b + b4.e; in B_fn() 36 printf("%d %d %d %d %d %d %d %d: %d %d %d\n", (int)b2.a, b2.b, in B_fn() 49 struct C b2; in B_gn() local 53 b2 = *(struct C*)(args[2]); in B_gn() 55 *(B*)resp = B_fn(b0, b1, b2); in B_gn()
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/ |
D | TwofishEngine.java | 392 int b0, b1, b2, b3; in setKey() local 396 b0 = b1 = b2 = b3 = i; in setKey() 402 gSBox[i*2+0x200] = gMDS2[(P[P_21][b2] & 0xff) ^ b2(k0)]; in setKey() 408 b2 = (P[P_24][b2] & 0xff) ^ b2(k3); in setKey() 413 b2 = (P[P_23][b2] & 0xff) ^ b2(k2); in setKey() 421 [(P[P_22][b2] & 0xff) ^ b2(k1)] & 0xff) ^ b2(k0)]; in setKey() 524 int b2 = b2(x); in F32() local 537 gMDS2[(P[P_21][b2] & 0xff) ^ b2(k0)] ^ in F32() 543 b2 = (P[P_24][b2] & 0xff) ^ b2(k3); in F32() 548 b2 = (P[P_23][b2] & 0xff) ^ b2(k2); in F32() [all …]
|
/external/apache-http/src/org/apache/commons/codec/binary/ |
D | Base64.java | 260 byte k = 0, l = 0, b1 = 0, b2 = 0, b3 = 0; in encodeBase64() 272 b2 = binaryData[dataIndex + 1]; in encodeBase64() 277 l = (byte) (b2 & 0x0f); in encodeBase64() 283 ((b2 & SIGN) == 0) ? (byte) (b2 >> 4) : (byte) ((b2) >> 4 ^ 0xf0); in encodeBase64() 335 b2 = binaryData[dataIndex + 1]; in encodeBase64() 336 l = (byte) (b2 & 0x0f); in encodeBase64() 342 ((b2 & SIGN) == 0) ? (byte) (b2 >> 4) : (byte) ((b2) >> 4 ^ 0xf0); in encodeBase64() 383 byte b1 = 0, b2 = 0, b3 = 0, b4 = 0, marker0 = 0, marker1 = 0; in decodeBase64() 407 b2 = base64Alphabet[base64Data[dataIndex + 1]]; in decodeBase64() 414 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64() [all …]
|
/external/icu4c/test/intltest/ |
D | idnaref.cpp | 136 char* b2 = b2Stack; in convertToPuny() local 161 error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny() 166 b2 = (char*) uprv_malloc( b2Len * sizeof(char)); in convertToPuny() 167 if(b2==NULL){ in convertToPuny() 174 punycode_status error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny() 182 convertASCIIToUChars(b2,dest,b2Len); in convertToPuny() 191 if(b2Stack != b2){ in convertToPuny() 192 uprv_free(b2); in convertToPuny() 209 uint32_t* b2 = b2Stack; in convertFromPuny() local 212 punycode_status error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags); in convertFromPuny() [all …]
|
/external/chromium/third_party/icu/source/test/intltest/ |
D | idnaref.cpp | 136 char* b2 = b2Stack; in convertToPuny() local 161 error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny() 166 b2 = (char*) uprv_malloc( b2Len * sizeof(char)); in convertToPuny() 167 if(b2==NULL){ in convertToPuny() 174 punycode_status error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny() 182 convertASCIIToUChars(b2,dest,b2Len); in convertToPuny() 191 if(b2Stack != b2){ in convertToPuny() 192 uprv_free(b2); in convertToPuny() 209 uint32_t* b2 = b2Stack; in convertFromPuny() local 212 punycode_status error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags); in convertFromPuny() [all …]
|
/external/chromium/third_party/icu/source/common/ |
D | uidna.cpp | 205 UChar *b1 = b1Stack, *b2 = b2Stack; in _internal_toASCII() local 336 b2Len = u_strToPunycode(b1,b1Len,b2,b2Capacity,caseFlags, status); in _internal_toASCII() 341 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in _internal_toASCII() 342 if(b2 == NULL){ in _internal_toASCII() 349 b2Len = u_strToPunycode(b1,b1Len,b2,b2Len,caseFlags, status); in _internal_toASCII() 367 uprv_memcpy(dest+ACE_PREFIX_LENGTH, b2, b2Len * U_SIZEOF_UCHAR); in _internal_toASCII() 385 if(b2 != b2Stack){ in _internal_toASCII() 386 uprv_free(b2); in _internal_toASCII() 410 UChar *b1 = b1Stack, *b2 = b2Stack, *b1Prime=NULL, *b3=b3Stack; in _internal_toUnicode() local 496 b2Len = u_strFromPunycode(b1Prime, b1PrimeLen, b2, b2Capacity, caseFlags,status); in _internal_toUnicode() [all …]
|
/external/icu4c/common/ |
D | uidna.cpp | 205 UChar *b1 = b1Stack, *b2 = b2Stack; in _internal_toASCII() local 336 b2Len = u_strToPunycode(b1,b1Len,b2,b2Capacity,caseFlags, status); in _internal_toASCII() 341 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in _internal_toASCII() 342 if(b2 == NULL){ in _internal_toASCII() 349 b2Len = u_strToPunycode(b1,b1Len,b2,b2Len,caseFlags, status); in _internal_toASCII() 367 uprv_memcpy(dest+ACE_PREFIX_LENGTH, b2, b2Len * U_SIZEOF_UCHAR); in _internal_toASCII() 385 if(b2 != b2Stack){ in _internal_toASCII() 386 uprv_free(b2); in _internal_toASCII() 410 UChar *b1 = b1Stack, *b2 = b2Stack, *b1Prime=NULL, *b3=b3Stack; in _internal_toUnicode() local 496 b2Len = u_strFromPunycode(b1Prime, b1PrimeLen, b2, b2Capacity, caseFlags,status); in _internal_toUnicode() [all …]
|