Home
last modified time | relevance | path

Searched refs:b1 (Results 1 – 25 of 958) sorted by relevance

12345678910>>...39

/external/clang/test/SemaCXX/
Dwarn-memsize-comparison.cpp18 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 …]
Dwarn-redundant-move.cpp20 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/
DTestUtil.java53 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/
Dgencode.c588 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/clang/test/CodeGenCXX/
Dinline-hint.cpp46 B b1; in foo() local
48 B b2(b1); in foo()
50 b2 = b1; in foo()
52 b1.implicitFunction(1); in foo()
54 b1.explicitFunction(2); in foo()
55 b1.noHintFunction(3); in foo()
57 b1.optNoneFunction(4); in foo()
60 b1.implicitTplFunction<0>(6); in foo()
62 b1.implicitTplFunction<1>(7); in foo()
64 b1.implicitTplFunction<2>(8); in foo()
[all …]
/external/icu/icu4c/source/test/intltest/
Didnaref.cpp136 uint32_t* b1 = b1Stack; in convertToPuny() local
143 u_strToUTF32((UChar32*)b1,b1Capacity,&b1Len,src,srcLength,&status); in convertToPuny()
147 b1 = (uint32_t*) uprv_malloc(b1Len * sizeof(uint32_t)); in convertToPuny()
148 if(b1==NULL){ in convertToPuny()
155 u_strToUTF32((UChar32*)b1,b1Len,&b1Len,src,srcLength,&status); in convertToPuny()
163 error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny()
176 punycode_status error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny()
190 if(b1Stack != b1){ in convertToPuny()
191 uprv_free(b1); in convertToPuny()
205 char* b1 = b1Stack; in convertFromPuny() local
[all …]
/external/libvpx/libvpx/vp8/common/mips/dspr2/
Didctllm_dspr2.c41 int a1, b1, c1, d1; in vp8_short_idct4x4llm_dspr2() local
57 b1 = ip[0] - ip[8]; in vp8_short_idct4x4llm_dspr2()
77 op[4] = b1 + c1; in vp8_short_idct4x4llm_dspr2()
78 op[8] = b1 - c1; in vp8_short_idct4x4llm_dspr2()
81 b1 = ip[1] - ip[9]; in vp8_short_idct4x4llm_dspr2()
85 op[5] = b1 + c2; in vp8_short_idct4x4llm_dspr2()
86 op[9] = b1 - c2; in vp8_short_idct4x4llm_dspr2()
89 b1 = ip[2] - ip[10]; in vp8_short_idct4x4llm_dspr2()
109 op[6] = b1 + c1; in vp8_short_idct4x4llm_dspr2()
110 op[10] = b1 - c1; in vp8_short_idct4x4llm_dspr2()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/
DByteStringTest.cs44 ByteString b1 = ByteString.CopyFrom(1, 2, 3); in Equality()
48 EqualityTester.AssertEquality(b1, b1); in Equality()
49 EqualityTester.AssertEquality(b1, b2); in Equality()
50 EqualityTester.AssertInequality(b1, b3); in Equality()
51 EqualityTester.AssertInequality(b1, b4); in Equality()
52 EqualityTester.AssertInequality(b1, null); in Equality()
54 Assert.IsTrue(b1 == b1); in Equality()
55 Assert.IsTrue(b1 == b2); in Equality()
56 Assert.IsFalse(b1 == b3); in Equality()
57 Assert.IsFalse(b1 == b4); in Equality()
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/SystemZ/
D08-DivRemMemOp.ll11 %b1 = load i64* %b
12 %div = sdiv i64 %a, %b1
18 %b1 = load i64* %b
19 %div = udiv i64 %a, %b1
25 %b1 = load i64* %b
26 %div = srem i64 %a, %b1
32 %b1 = load i64* %b
33 %div = urem i64 %a, %b1
39 %b1 = load i32* %b
40 %div = sdiv i32 %a, %b1
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
DBase64Encoder.java84 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/libvpx/libvpx/vp8/encoder/
Ddct.c17 int a1, b1, c1, d1; in vp8_short_fdct4x4_c() local
23 b1 = ((ip[1] + ip[2]) * 8); in vp8_short_fdct4x4_c()
27 op[0] = a1 + b1; in vp8_short_fdct4x4_c()
28 op[2] = a1 - b1; in vp8_short_fdct4x4_c()
40 b1 = ip[4] + ip[8]; in vp8_short_fdct4x4_c()
44 op[0] = (a1 + b1 + 7) >> 4; in vp8_short_fdct4x4_c()
45 op[8] = (a1 - b1 + 7) >> 4; in vp8_short_fdct4x4_c()
62 int a1, b1, c1, d1; in vp8_short_walsh4x4_c() local
71 b1 = ((ip[0] - ip[2]) * 4); in vp8_short_walsh4x4_c()
74 op[1] = b1 + c1; in vp8_short_walsh4x4_c()
[all …]
/external/icu/icu4c/source/common/
Duidna.cpp207 UChar *b1 = b1Stack, *b2 = b2Stack; in _internal_toASCII() local
233 b1 = (UChar*) uprv_malloc(srcLength * U_SIZEOF_UCHAR); in _internal_toASCII()
234 if(b1==NULL){ in _internal_toASCII()
246 b1[b1Len++] = src[j]; in _internal_toASCII()
253 …b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, stat… in _internal_toASCII()
258 if(b1 != b1Stack){ in _internal_toASCII()
259 uprv_free(b1); in _internal_toASCII()
261 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in _internal_toASCII()
262 if(b1==NULL){ in _internal_toASCII()
269 … b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status); in _internal_toASCII()
[all …]
/external/sfntly/cpp/src/test/
Dfile_io_test.cc39 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 …]
Dbyte_array_test.cc65 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/swiftshader/third_party/LLVM/unittests/VMCore/
DInstructionsTest.cpp71 BranchInst* b1 = BranchInst::Create(bb0, bb1, One); in TEST() local
73 EXPECT_FALSE(b1->isUnconditional()); in TEST()
74 EXPECT_TRUE(b1->isConditional()); in TEST()
75 EXPECT_EQ(2U, b1->getNumSuccessors()); in TEST()
78 EXPECT_EQ(3U, b1->getNumOperands()); in TEST()
80 User::const_op_iterator b(b1->op_begin()); in TEST()
83 EXPECT_NE(b, b1->op_end()); in TEST()
85 EXPECT_EQ(One, b1->getOperand(0)); in TEST()
86 EXPECT_EQ(One, b1->getCondition()); in TEST()
91 EXPECT_EQ(bb1, b1->getOperand(1)); in TEST()
[all …]
/external/apache-http/src/org/apache/commons/codec/binary/
DBase64.java265 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/stressapptest/src/
Dadler32memcpy.cc78 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/libyuv/files/unit_test/
Dcolor_test.cc351 int r0, g0, b0, r1, g1, b1; in TEST_F() local
359 YUVToRGB(240, 255, 0, &r1, &g1, &b1); in TEST_F()
362 EXPECT_EQ(255, b1); in TEST_F()
370 YUVToRGB(240, 0, 0, &r1, &g1, &b1); in TEST_F()
373 EXPECT_EQ(5, b1); in TEST_F()
377 YUVToRGB(i, 128, 128, &r1, &g1, &b1); in TEST_F()
380 EXPECT_NEAR(b0, b1, ERROR_B); in TEST_F()
383 YUVToRGB(i, 0, 0, &r1, &g1, &b1); in TEST_F()
386 EXPECT_NEAR(b0, b1, ERROR_B); in TEST_F()
389 YUVToRGB(i, 0, 255, &r1, &g1, &b1); in TEST_F()
[all …]
/external/guava/guava/src/com/google/common/io/
DLittleEndianDataInputStream.java81 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/
Didctllm.c34 int a1, b1, c1, d1; in vp8_short_idct4x4llm_c() local
43 b1 = ip[0] - ip[8]; in vp8_short_idct4x4llm_c()
56 op[shortpitch * 1] = b1 + c1; in vp8_short_idct4x4llm_c()
57 op[shortpitch * 2] = b1 - c1; in vp8_short_idct4x4llm_c()
68 b1 = ip[0] - ip[2]; in vp8_short_idct4x4llm_c()
81 op[1] = (b1 + c1 + 4) >> 3; in vp8_short_idct4x4llm_c()
82 op[2] = (b1 - c1 + 4) >> 3; in vp8_short_idct4x4llm_c()
130 int a1, b1, c1, d1; in vp8_short_inv_walsh4x4_c() local
137 b1 = ip[4] + ip[8]; in vp8_short_inv_walsh4x4_c()
141 op[0] = a1 + b1; in vp8_short_inv_walsh4x4_c()
[all …]
/external/sonivox/arm-wt-22k/lib_src/
DARM-E_filter_gnu.s45 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/
Ddct_sse2.asm88 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/
DTwofishEngine.java393 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/
DDistinguishedNameParser.java316 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/sfntly/cpp/src/sfntly/data/
Dreadable_font_data.cc98 int32_t b1 = ReadUByte(index); in ReadUShort() local
99 if (b1 < 0) in ReadUShort()
104 return 0xffff & (b1 << 8 | b2); in ReadUShort()
108 int32_t b1 = ReadByte(index); in ReadShort() local
109 if (b1 == kInvalidByte) in ReadShort()
115 uint32_t result = static_cast<uint32_t>(b1) << 8 | b2; in ReadShort()
120 int32_t b1 = ReadUByte(index); in ReadUInt24() local
121 if (b1 < 0) in ReadUInt24()
129 return 0xffffff & (b1 << 16 | b2 << 8 | b3); in ReadUInt24()
133 int32_t b1 = ReadUByte(index); in ReadULong() local
[all …]

12345678910>>...39