Home
last modified time | relevance | path

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

12345678910>>...26

/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 …]
/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.c556 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/icu/icu4c/source/test/intltest/
Didnaref.cpp134 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/
Didctllm_dspr2.c47 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/
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/jetty/src/java/org/eclipse/jetty/util/
DB64Code.java116 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/
Ddct.c19 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/
Duidna.cpp205 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/
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/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/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.c35 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-hybrid-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/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/libvpx/libvpx/vp8/common/arm/armv6/
Diwalsh_v6.asm34 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/ceres-solver/internal/ceres/
Ddense_sparse_matrix_test.cc100 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/clang/test/CodeGen/
Dppc64-inline-asm.c3 _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/selinux/secilc/test/
Din_test.cil26 (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/v8/test/cctest/compiler/
Dtest-instruction.cc134 BasicBlock* b1 = R.schedule.NewBasicBlock(); in TEST() local
138 R.schedule.AddGoto(b0, b1); in TEST()
139 R.schedule.AddGoto(b1, b2); in TEST()
148 R.code->StartBlock(b1); in TEST()
149 int i2 = R.NewInstr(b1); in TEST()
150 int i3 = R.NewInstr(b1); in TEST()
151 int i4 = R.NewInstr(b1); in TEST()
152 int i5 = R.NewInstr(b1); in TEST()
153 R.code->EndBlock(b1); in TEST()
165 CHECK_EQ(b1, R.code->GetBasicBlock(i2)); in TEST()
[all …]
/external/jetty/src/java/org/eclipse/jetty/io/
DByteArrayBuffer.java173 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()

12345678910>>...26