/external/clang/test/SemaCXX/ |
D | warn-memsize-comparison.cpp | 18 char b1[80], b2[80]; in f() local 19 if (memset(b1, 0, sizeof(b1) != 0)) {} // \ in f() 23 if (memset(b1, 0, sizeof(b1)) != 0) {} in f() 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() [all …]
|
/external/libpcap/ |
D | gencode.c | 556 merge(b0, b1) in merge() argument 557 struct block *b0, *b1; in merge() 566 *p = b1; 611 gen_and(b0, b1) in gen_and() argument 612 struct block *b0, *b1; in gen_and() 614 backpatch(b0, b1->head); 616 b1->sense = !b1->sense; 617 merge(b1, b0); 618 b1->sense = !b1->sense; 619 b1->head = b0->head; [all …]
|
/external/stlport/test/unit/ |
D | bitset_test.cpp | 38 bitset<13U> b1(0xFFFF); in bitset1() local 40 CPPUNIT_ASSERT(b1.size() == 13); in bitset1() 41 CPPUNIT_ASSERT(b1 == 0x1FFF); in bitset1() 46 b1 = b1 ^ (b2 << 2); in bitset1() 47 CPPUNIT_ASSERT(b1 == 0x1BBB); in bitset1() 49 CPPUNIT_ASSERT(b1.count() == 10); in bitset1() 87 bitset<13U> b1; in iostream() local 88 sstr >> b1; in iostream() 89 CPPUNIT_ASSERT( b1.test(0) ); in iostream() 90 CPPUNIT_ASSERT( b1.test(4) ); in iostream() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | idnaref.cpp | 134 uint32_t* b1 = b1Stack; in convertToPuny() local 141 u_strToUTF32((UChar32*)b1,b1Capacity,&b1Len,src,srcLength,&status); in convertToPuny() 145 b1 = (uint32_t*) uprv_malloc(b1Len * sizeof(uint32_t)); in convertToPuny() 146 if(b1==NULL){ in convertToPuny() 153 u_strToUTF32((UChar32*)b1,b1Len,&b1Len,src,srcLength,&status); in convertToPuny() 161 error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny() 174 punycode_status error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny() 188 if(b1Stack != b1){ in convertToPuny() 189 uprv_free(b1); in convertToPuny() 203 char* b1 = b1Stack; in convertFromPuny() local [all …]
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | idnaref.cpp | 134 uint32_t* b1 = b1Stack; in convertToPuny() local 141 u_strToUTF32((UChar32*)b1,b1Capacity,&b1Len,src,srcLength,&status); in convertToPuny() 145 b1 = (uint32_t*) uprv_malloc(b1Len * sizeof(uint32_t)); in convertToPuny() 146 if(b1==NULL){ in convertToPuny() 153 u_strToUTF32((UChar32*)b1,b1Len,&b1Len,src,srcLength,&status); in convertToPuny() 161 error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny() 174 punycode_status error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny() 188 if(b1Stack != b1){ in convertToPuny() 189 uprv_free(b1); in convertToPuny() 203 char* b1 = b1Stack; in convertFromPuny() local [all …]
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/mips/dspr2/ |
D | idctllm_dspr2.c | 47 int a1, b1, c1, d1; in vp8_short_idct4x4llm_dspr2() local 63 b1 = ip[0] - ip[8]; in vp8_short_idct4x4llm_dspr2() 83 op[4] = b1 + c1; in vp8_short_idct4x4llm_dspr2() 84 op[8] = b1 - c1; in vp8_short_idct4x4llm_dspr2() 87 b1 = ip[1] - ip[9]; in vp8_short_idct4x4llm_dspr2() 91 op[5] = b1 + c2; in vp8_short_idct4x4llm_dspr2() 92 op[9] = b1 - c2; in vp8_short_idct4x4llm_dspr2() 95 b1 = ip[2] - ip[10]; in vp8_short_idct4x4llm_dspr2() 115 op[6] = b1 + c1; in vp8_short_idct4x4llm_dspr2() 116 op[10] = b1 - c1; in vp8_short_idct4x4llm_dspr2() [all …]
|
/external/libvpx/libvpx/vp8/common/mips/dspr2/ |
D | idctllm_dspr2.c | 47 int a1, b1, c1, d1; in vp8_short_idct4x4llm_dspr2() local 63 b1 = ip[0] - ip[8]; in vp8_short_idct4x4llm_dspr2() 83 op[4] = b1 + c1; in vp8_short_idct4x4llm_dspr2() 84 op[8] = b1 - c1; in vp8_short_idct4x4llm_dspr2() 87 b1 = ip[1] - ip[9]; in vp8_short_idct4x4llm_dspr2() 91 op[5] = b1 + c2; in vp8_short_idct4x4llm_dspr2() 92 op[9] = b1 - c2; in vp8_short_idct4x4llm_dspr2() 95 b1 = ip[2] - ip[10]; in vp8_short_idct4x4llm_dspr2() 115 op[6] = b1 + c1; in vp8_short_idct4x4llm_dspr2() 116 op[10] = b1 - c1; in vp8_short_idct4x4llm_dspr2() [all …]
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
D | dct.c | 17 int a1, b1, c1, d1; in vp8_short_fdct4x4_c() local 24 b1 = ((ip[1] + ip[2]) * 8); in vp8_short_fdct4x4_c() 28 op[0] = a1 + b1; in vp8_short_fdct4x4_c() 29 op[2] = a1 - b1; in vp8_short_fdct4x4_c() 43 b1 = ip[4] + ip[8]; in vp8_short_fdct4x4_c() 47 op[0] = ( a1 + b1 + 7)>>4; in vp8_short_fdct4x4_c() 48 op[8] = ( a1 - b1 + 7)>>4; in vp8_short_fdct4x4_c() 67 int a1, b1, c1, d1; in vp8_short_walsh4x4_c() local 78 b1 = ((ip[0] - ip[2]) * 4); in vp8_short_walsh4x4_c() 81 op[1] = b1 + c1; in vp8_short_walsh4x4_c() [all …]
|
/external/libvpx/libvpx/vp8/encoder/ |
D | dct.c | 17 int a1, b1, c1, d1; in vp8_short_fdct4x4_c() local 24 b1 = ((ip[1] + ip[2]) * 8); in vp8_short_fdct4x4_c() 28 op[0] = a1 + b1; in vp8_short_fdct4x4_c() 29 op[2] = a1 - b1; in vp8_short_fdct4x4_c() 43 b1 = ip[4] + ip[8]; in vp8_short_fdct4x4_c() 47 op[0] = ( a1 + b1 + 7)>>4; in vp8_short_fdct4x4_c() 48 op[8] = ( a1 - b1 + 7)>>4; in vp8_short_fdct4x4_c() 67 int a1, b1, c1, d1; in vp8_short_walsh4x4_c() local 78 b1 = ((ip[0] - ip[2]) * 4); in vp8_short_walsh4x4_c() 81 op[1] = b1 + c1; in vp8_short_walsh4x4_c() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
D | Base64Encoder.java | 81 int b1, b2, b3; in encode() local 90 b1 = (d1 >>> 2) & 0x3f; in encode() 93 out.write(encodingTable[b1]); in encode() 102 b1 = (d1 >>> 2) & 0x3f; in encode() 106 out.write(encodingTable[b1]); in encode() 135 byte b1, b2, b3, b4; in decode() 157 b1 = decodingTable[data[i++]]; in decode() 171 if ((b1 | b2 | b3 | b4) < 0) in decode() 176 out.write((b1 << 2) | (b2 >> 4)); in decode() 210 byte b1, b2, b3, b4; in decode() [all …]
|
/external/stressapptest/src/ |
D | adler32memcpy.cc | 78 void AdlerChecksum::Set(uint64 a1, uint64 a2, uint64 b1, uint64 b2) { in Set() argument 81 b1_ = b1; in Set() 99 uint64 b1 = 0; in CalculateAdlerChecksum() local 107 b1 = b1 + a1; in CalculateAdlerChecksum() 109 b1 = b1 + a1; in CalculateAdlerChecksum() 119 checksum->Set(a1, a2, b1, b2); in CalculateAdlerChecksum() 137 uint64 b1 = 0; in AdlerMemcpyC() local 145 b1 = b1 + a1; in AdlerMemcpyC() 147 b1 = b1 + a1; in AdlerMemcpyC() 159 checksum->Set(a1, a2, b1, b2); in AdlerMemcpyC() [all …]
|
/external/chromium_org/third_party/icu/source/common/ |
D | uidna.cpp | 205 UChar *b1 = b1Stack, *b2 = b2Stack; in _internal_toASCII() local 231 b1 = (UChar*) uprv_malloc(srcLength * U_SIZEOF_UCHAR); in _internal_toASCII() 232 if(b1==NULL){ in _internal_toASCII() 244 b1[b1Len++] = src[j]; in _internal_toASCII() 251 …b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, stat… in _internal_toASCII() 256 if(b1 != b1Stack){ in _internal_toASCII() 257 uprv_free(b1); in _internal_toASCII() 259 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in _internal_toASCII() 260 if(b1==NULL){ in _internal_toASCII() 267 … b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status); in _internal_toASCII() [all …]
|
/external/icu/icu4c/source/common/ |
D | uidna.cpp | 205 UChar *b1 = b1Stack, *b2 = b2Stack; in _internal_toASCII() local 231 b1 = (UChar*) uprv_malloc(srcLength * U_SIZEOF_UCHAR); in _internal_toASCII() 232 if(b1==NULL){ in _internal_toASCII() 244 b1[b1Len++] = src[j]; in _internal_toASCII() 251 …b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, stat… in _internal_toASCII() 256 if(b1 != b1Stack){ in _internal_toASCII() 257 uprv_free(b1); in _internal_toASCII() 259 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in _internal_toASCII() 260 if(b1==NULL){ in _internal_toASCII() 267 … b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status); in _internal_toASCII() [all …]
|
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
D | file_io_test.cc | 39 ByteVector b1; in TestFileInputStream() local 40 b1.resize(length); in TestFileInputStream() 41 size_t bytes_read = fread(&(b1[0]), 1, length, file_handle); in TestFileInputStream() 52 EXPECT_EQ(memcmp(&(b1[0]), &(b2[0]), length), 0); in TestFileInputStream() 59 EXPECT_EQ(memcmp(&(b1[89]), &(b2[0]), 100), 0); in TestFileInputStream() 65 EXPECT_EQ(memcmp(&(b1[100]), &(b2[0]), 100), 0); in TestFileInputStream() 69 EXPECT_EQ(memcmp(&(b1[300]), &(b2[0]), 100), 0); in TestFileInputStream() 76 EXPECT_EQ(memcmp(&(b1[0]), &(b2[0]), 200), 0); in TestFileInputStream() 100 ByteVector b1; in TestFontInputStreamBasic() local 101 b1.resize(length); in TestFontInputStreamBasic() [all …]
|
/external/sfntly/cpp/src/test/ |
D | file_io_test.cc | 39 ByteVector b1; in TestFileInputStream() local 40 b1.resize(length); in TestFileInputStream() 41 size_t bytes_read = fread(&(b1[0]), 1, length, file_handle); in TestFileInputStream() 52 EXPECT_EQ(memcmp(&(b1[0]), &(b2[0]), length), 0); in TestFileInputStream() 59 EXPECT_EQ(memcmp(&(b1[89]), &(b2[0]), 100), 0); in TestFileInputStream() 65 EXPECT_EQ(memcmp(&(b1[100]), &(b2[0]), 100), 0); in TestFileInputStream() 69 EXPECT_EQ(memcmp(&(b1[300]), &(b2[0]), 100), 0); in TestFileInputStream() 76 EXPECT_EQ(memcmp(&(b1[0]), &(b2[0]), 200), 0); in TestFileInputStream() 100 ByteVector b1; in TestFontInputStreamBasic() local 101 b1.resize(length); in TestFontInputStreamBasic() [all …]
|
/external/apache-http/src/org/apache/commons/codec/binary/ |
D | Base64.java | 265 byte k = 0, l = 0, b1 = 0, b2 = 0, b3 = 0; in encodeBase64() 276 b1 = binaryData[dataIndex]; in encodeBase64() 283 k = (byte) (b1 & 0x03); in encodeBase64() 286 ((b1 & SIGN) == 0) ? (byte) (b1 >> 2) : (byte) ((b1) >> 2 ^ 0xc0); in encodeBase64() 327 b1 = binaryData[dataIndex]; in encodeBase64() 328 k = (byte) (b1 & 0x03); in encodeBase64() 332 ((b1 & SIGN) == 0) ? (byte) (b1 >> 2) : (byte) ((b1) >> 2 ^ 0xc0); in encodeBase64() 339 b1 = binaryData[dataIndex]; in encodeBase64() 342 k = (byte) (b1 & 0x03); in encodeBase64() 345 ((b1 & SIGN) == 0) ? (byte) (b1 >> 2) : (byte) ((b1) >> 2 ^ 0xc0); in encodeBase64() [all …]
|
/external/guava/guava/src/com/google/common/io/ |
D | LittleEndianDataInputStream.java | 81 int b1 = in.read(); in readUnsignedByte() local 82 if (0 > b1) { in readUnsignedByte() 86 return b1; in readUnsignedByte() 100 byte b1 = readAndCheckByte(); in readUnsignedShort() 103 return Ints.fromBytes((byte) 0, (byte) 0, b2, b1); in readUnsignedShort() 116 byte b1 = readAndCheckByte(); in readInt() 121 return Ints.fromBytes( b4, b3, b2, b1); in readInt() 134 byte b1 = readAndCheckByte(); in readLong() 143 return Longs.fromBytes(b8, b7, b6, b5, b4, b3, b2, b1); in readLong() 223 int b1 = in.read(); in readAndCheckByte() local [all …]
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/ |
D | idctllm.c | 34 int a1, b1, c1, d1; in vp8_short_idct4x4llm_c() local 44 b1 = ip[0] - ip[8]; in vp8_short_idct4x4llm_c() 57 op[shortpitch*1] = b1 + c1; in vp8_short_idct4x4llm_c() 58 op[shortpitch*2] = b1 - c1; in vp8_short_idct4x4llm_c() 70 b1 = ip[0] - ip[2]; in vp8_short_idct4x4llm_c() 84 op[1] = (b1 + c1 + 4) >> 3; in vp8_short_idct4x4llm_c() 85 op[2] = (b1 - c1 + 4) >> 3; in vp8_short_idct4x4llm_c() 144 int a1, b1, c1, d1; in vp8_short_inv_walsh4x4_c() local 152 b1 = ip[4] + ip[8]; in vp8_short_inv_walsh4x4_c() 156 op[0] = a1 + b1; in vp8_short_inv_walsh4x4_c() [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | idctllm.c | 34 int a1, b1, c1, d1; in vp8_short_idct4x4llm_c() local 44 b1 = ip[0] - ip[8]; in vp8_short_idct4x4llm_c() 57 op[shortpitch*1] = b1 + c1; in vp8_short_idct4x4llm_c() 58 op[shortpitch*2] = b1 - c1; in vp8_short_idct4x4llm_c() 70 b1 = ip[0] - ip[2]; in vp8_short_idct4x4llm_c() 84 op[1] = (b1 + c1 + 4) >> 3; in vp8_short_idct4x4llm_c() 85 op[2] = (b1 - c1 + 4) >> 3; in vp8_short_idct4x4llm_c() 144 int a1, b1, c1, d1; in vp8_short_inv_walsh4x4_c() local 152 b1 = ip[4] + ip[8]; in vp8_short_inv_walsh4x4_c() 156 op[0] = a1 + b1; in vp8_short_inv_walsh4x4_c() [all …]
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | ARM-E_filter_gnu.s | 45 b1 .req r6 label 76 LDR b1, [pWTFrame, #m_b1] 79 RSB b1, b1, #0 @ b1 = -b1 91 SMULBB tmp2, z1, b1 @ tmp2 = z1 * -b1 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) 103 SMULBB tmp2, z1, b1 @ tmp2 = z1 * -b1 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-hybrid-22k/lib_src/ |
D | ARM-E_filter_gnu.s | 45 b1 .req r6 label 76 LDR b1, [pWTFrame, #m_b1] 79 RSB b1, b1, #0 @ b1 = -b1 91 SMULBB tmp2, z1, b1 @ tmp2 = z1 * -b1 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) 103 SMULBB tmp2, z1, b1 @ tmp2 = z1 * -b1 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/clang/test/CodeGen/ |
D | ppc64-inline-asm.c | 3 _Bool test_wc_i1(_Bool b1, _Bool b2) { in test_wc_i1() argument 5 asm("crand %0, %1, %2" : "=wc"(o) : "wc"(b1), "wc"(b2) : ); in test_wc_i1() 11 int test_wc_i32(int b1, int b2) { in test_wc_i32() argument 13 asm("crand %0, %1, %2" : "=wc"(o) : "wc"(b1), "wc"(b2) : ); in test_wc_i32() 19 unsigned char test_wc_i8(unsigned char b1, unsigned char b2) { in test_wc_i8() argument 21 asm("crand %0, %1, %2" : "=wc"(o) : "wc"(b1), "wc"(b2) : ); in test_wc_i8()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/ |
D | DistinguishedNameParser.java | 316 int b1, b2; in getByte() local 318 b1 = chars[position]; in getByte() 319 if (b1 >= '0' && b1 <= '9') { in getByte() 320 b1 = b1 - '0'; in getByte() 321 } else if (b1 >= 'a' && b1 <= 'f') { in getByte() 322 b1 = b1 - 87; // 87 = 'a' - 10 in getByte() 323 } else if (b1 >= 'A' && b1 <= 'F') { in getByte() 324 b1 = b1 - 55; // 55 = 'A' - 10 in getByte() 340 return (b1 << 4) + b2; in getByte()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
D | TwofishEngine.java | 393 int b0, b1, b2, b3; in setKey() local 397 b0 = b1 = b2 = b3 = i; in setKey() 402 gSBox[i*2+1] = gMDS1[(P[P_11][b1] & 0xff) ^ b1(k0)]; in setKey() 408 b1 = (P[P_14][b1] & 0xff) ^ b1(k3); in setKey() 414 b1 = (P[P_13][b1] & 0xff) ^ b1(k2); in setKey() 422 [(P[P_12][b1] & 0xff) ^ b1(k1)] & 0xff) ^ b1(k0)]; in setKey() 526 int b1 = b1(x); in F32() local 539 gMDS1[(P[P_11][b1] & 0xff) ^ b1(k0)] ^ in F32() 545 b1 = (P[P_14][b1] & 0xff) ^ b1(k3); in F32() 550 b1 = (P[P_13][b1] & 0xff) ^ b1(k2); in F32() [all …]
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/x86/ |
D | dct_sse2.asm | 88 paddw xmm0, xmm1 ;b1 a1 b1 a1 b1 a1 b1 a1 90 psllw xmm0, 3 ;b1 <<= 3 a1 <<= 3 94 pmaddwd xmm0, XMMWORD PTR[GLOBAL(_mult_add)] ;a1 + b1 95 pmaddwd xmm1, XMMWORD PTR[GLOBAL(_mult_sub)] ;a1 - b1 125 paddw xmm0, xmm2 ;b1 b1 b1 b1 a1 a1 a1 a1 128 pshufd xmm0, xmm0, 0d8h ;b1 b1 a1 a1 b1 b1 a1 a1 131 pshuflw xmm0, xmm0, 0d8h ;b1 b1 a1 a1 b1 a1 b1 a1 133 pshufhw xmm0, xmm0, 0d8h ;b1 a1 b1 a1 b1 a1 b1 a1 136 pmaddwd xmm0, XMMWORD PTR[GLOBAL(_mult_add)] ;a1 + b1 137 pmaddwd xmm1, XMMWORD PTR[GLOBAL(_mult_sub)] ;a1 - b1 [all …]
|