/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 …]
|
D | warn-redundant-move.cpp | 20 A test1(B b1) { in test1() argument 22 return b1; in test1() 24 return std::move(b1); in test1() 33 C test2(A a1, B b1) { in test2() argument 39 return b1; in test2() 44 return std::move(b1); in test2() 49 A test3(B& b1) { in test3() argument 50 B& b2 = b1; in test3() 51 return b1; in test3() 53 return std::move(b1); in test3() [all …]
|
/external/okhttp/okio/okio/src/test/java/okio/ |
D | TestUtil.java | 53 public static void assertEquivalent(ByteString b1, ByteString b2) { in assertEquivalent() argument 55 assertTrue(b1.equals(b2)); in assertEquivalent() 56 assertTrue(b1.equals(b1)); in assertEquivalent() 57 assertTrue(b2.equals(b1)); in assertEquivalent() 60 assertEquals(b1.hashCode(), b2.hashCode()); in assertEquivalent() 61 assertEquals(b1.hashCode(), b1.hashCode()); in assertEquivalent() 62 assertEquals(b1.toString(), b2.toString()); in assertEquivalent() 65 assertEquals(b1.size(), b2.size()); in assertEquivalent() 69 assertEquals(b, b1.getByte(i)); in assertEquivalent() 71 assertByteArraysEquals(b1.toByteArray(), b2Bytes); in assertEquivalent() [all …]
|
/external/libpcap/ |
D | gencode.c | 588 merge(b0, b1) in merge() argument 589 struct block *b0, *b1; in merge() 598 *p = b1; 643 gen_and(b0, b1) in gen_and() argument 644 struct block *b0, *b1; in gen_and() 646 backpatch(b0, b1->head); 648 b1->sense = !b1->sense; 649 merge(b1, b0); 650 b1->sense = !b1->sense; 651 b1->head = b0->head; [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/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
D | Base64Encoder.java | 84 int b1, b2, b3; in encode() local 93 b1 = (d1 >>> 2) & 0x3f; in encode() 96 out.write(encodingTable[b1]); in encode() 105 b1 = (d1 >>> 2) & 0x3f; in encode() 109 out.write(encodingTable[b1]); in encode() 138 byte b1, b2, b3, b4; in decode() 160 b1 = decodingTable[data[i++]]; in decode() 174 if ((b1 | b2 | b3 | b4) < 0) in decode() 179 out.write((b1 << 2) | (b2 >> 4)); in decode() 213 byte b1, b2, b3, b4; in decode() [all …]
|
/external/jetty/src/java/org/eclipse/jetty/util/ |
D | B64Code.java | 116 byte b0, b1, b2; in encode() 121 b1=b[bi++]; in encode() 124 c[ci++]=__rfc1421alphabet[(b0<<4)&0x3f|(b1>>>4)&0x0f]; in encode() 125 c[ci++]=__rfc1421alphabet[(b1<<2)&0x3f|(b2>>>6)&0x03]; in encode() 135 b1=b[bi++]; in encode() 137 c[ci++]=__rfc1421alphabet[(b0<<4)&0x3f|(b1>>>4)&0x0f]; in encode() 138 c[ci++]=__rfc1421alphabet[(b1<<2)&0x3f]; in encode() 180 byte b0, b1, b2; in encode() 186 b1=b[bi++]; in encode() 189 c[ci++]=__rfc1421alphabet[(b0<<4)&0x3f|(b1>>>4)&0x0f]; in encode() [all …]
|
/external/libvpx/libvpx/vp8/encoder/ |
D | dct.c | 19 int a1, b1, c1, d1; in vp8_short_fdct4x4_c() local 26 b1 = ((ip[1] + ip[2]) * 8); in vp8_short_fdct4x4_c() 30 op[0] = a1 + b1; in vp8_short_fdct4x4_c() 31 op[2] = a1 - b1; in vp8_short_fdct4x4_c() 45 b1 = ip[4] + ip[8]; in vp8_short_fdct4x4_c() 49 op[0] = ( a1 + b1 + 7)>>4; in vp8_short_fdct4x4_c() 50 op[8] = ( a1 - b1 + 7)>>4; in vp8_short_fdct4x4_c() 69 int a1, b1, c1, d1; in vp8_short_walsh4x4_c() local 80 b1 = ((ip[0] - ip[2]) * 4); in vp8_short_walsh4x4_c() 83 op[1] = b1 + c1; in vp8_short_walsh4x4_c() [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/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 …]
|
D | byte_array_test.cc | 65 ByteVector b1, b2; in ReadComparison() local 71 ReadByteArrayWithBuffer(ba1, &buffer, &b1); in ReadComparison() 73 EXPECT_GT(b1.size(), static_cast<size_t>(0)); in ReadComparison() 74 EXPECT_EQ(b1.size(), b2.size()); in ReadComparison() 75 EXPECT_TRUE(std::equal(b1.begin(), b1.end(), b2.begin())); in ReadComparison() 79 b1.clear(); in ReadComparison() 83 ReadByteArrayWithSlidingWindow(ba1, window_size, &b1); in ReadComparison() 85 EXPECT_GT(b1.size(), static_cast<size_t>(0)); in ReadComparison() 86 EXPECT_EQ(b1.size(), b2.size()); in ReadComparison() 87 EXPECT_TRUE(std::equal(b1.begin(), b1.end(), b2.begin())); in ReadComparison()
|
/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/libvpx/libvpx/vp8/common/ |
D | idctllm.c | 35 int a1, b1, c1, d1; in vp8_short_idct4x4llm_c() local 45 b1 = ip[0] - ip[8]; in vp8_short_idct4x4llm_c() 58 op[shortpitch*1] = b1 + c1; in vp8_short_idct4x4llm_c() 59 op[shortpitch*2] = b1 - c1; in vp8_short_idct4x4llm_c() 71 b1 = ip[0] - ip[2]; in vp8_short_idct4x4llm_c() 85 op[1] = (b1 + c1 + 4) >> 3; in vp8_short_idct4x4llm_c() 86 op[2] = (b1 - c1 + 4) >> 3; in vp8_short_idct4x4llm_c() 145 int a1, b1, c1, d1; in vp8_short_inv_walsh4x4_c() local 153 b1 = ip[4] + ip[8]; in vp8_short_inv_walsh4x4_c() 157 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/libvpx/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 …]
|
/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/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/libvpx/libvpx/vp8/common/arm/armv6/ |
D | iwalsh_v6.asm | 34 qadd16 r11, r4, r6 ; b1 [5+9 | 4+8] 38 qadd16 r2, r10, r11 ; a1 + b1 [1 | 0] 40 qsub16 r6, r10, r11 ; a1 - b1 [9 | 8] 44 qadd16 r11, r5, r7 ; b1 [7+11 | 6+10] 48 qadd16 r3, r10, r11 ; a1 + b1 [3 | 2] 50 qsub16 r7, r10, r11 ; a1 - b1 [11 | 10] 56 qaddsubx r11, r2, r3 ; [b1|d1] [1+2 | 0-3] 58 qaddsubx lr, r4, r5 ; [b1|d1] [5+6 | 4-7] 60 qaddsubx r2, r10, r11 ; [b2|c2] [c1+d1 | a1-b1] 61 qaddsubx r3, r11, r10 ; [a2|d2] [b1+a1 | d1-c1] [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/ |
D | test_blockdevicemapping.py | 57 def block_device_type_eq(self, b1, b2): argument 58 if isinstance(b1, BlockDeviceType) and isinstance(b2, BlockDeviceType): 59 return all([b1.connection == b2.connection, 60 b1.ephemeral_name == b2.ephemeral_name, 61 b1.no_device == b2.no_device, 62 b1.volume_id == b2.volume_id, 63 b1.snapshot_id == b2.snapshot_id, 64 b1.status == b2.status, 65 b1.attach_time == b2.attach_time, 66 b1.delete_on_termination == b2.delete_on_termination, [all …]
|
/external/ceres-solver/internal/ceres/ |
D | dense_sparse_matrix_test.cc | 100 Vector b1 = Vector::Zero(num_rows); in TEST_F() local 103 tsm->RightMultiply(a.data(), b1.data()); in TEST_F() 106 EXPECT_EQ((b1 - b2).norm(), 0); in TEST_F() 114 Vector b1 = Vector::Zero(num_cols); in TEST_F() local 117 tsm->LeftMultiply(a.data(), b1.data()); in TEST_F() 120 EXPECT_EQ((b1 - b2).norm(), 0); in TEST_F() 129 Vector b1 = Vector::Zero(num_cols); in TEST_F() local 132 tsm->LeftMultiply(a.data(), b1.data()); in TEST_F() 135 EXPECT_EQ((b1 - b2).norm(), 0); in TEST_F() 139 Vector b1 = Vector::Zero(num_cols); in TEST_F() local [all …]
|
/external/selinux/secilc/test/ |
D | in_test.cil | 26 (block b1 31 (in b1 36 (in b1 38 (allow b1.t1a self (CLASS (PERM3))) 39 (allow .b1.t1a self (CLASS (PERM4))) 42 (allow b1.t1b self (CLASS (PERM3))) 43 (allow .b1.t1b self (CLASS (PERM4))) 126 ;; b1.t1a, b1.t1b 133 ;; allow b1.t1a b1.t1a : CLASS { PERM1 PERM2 PERM3 PERM4 }; 134 ;; allow b1.t1b b1.t1b : CLASS { PERM1 PERM2 PERM3 PERM4 };
|
/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/jetty/src/java/org/eclipse/jetty/io/ |
D | ByteArrayBuffer.java | 173 byte b1 = _bytes[i]; in equals() 175 if (b1 != b2) return false; in equals() 206 byte b1 = _bytes[i]; in equalsIgnoreCase() 208 if (b1 != b2) in equalsIgnoreCase() 210 if ('a' <= b1 && b1 <= 'z') b1 = (byte) (b1 - 'a' + 'A'); in equalsIgnoreCase() 212 if (b1 != b2) return false; in equalsIgnoreCase() 220 byte b1 = _bytes[i]; in equalsIgnoreCase() 222 if (b1 != b2) in equalsIgnoreCase() 224 if ('a' <= b1 && b1 <= 'z') b1 = (byte) (b1 - 'a' + 'A'); in equalsIgnoreCase() 226 if (b1 != b2) return false; in equalsIgnoreCase()
|