/external/clang/test/Analysis/ |
D | pr22954.c | 18 char s1[4]; member 27 memcpy(a0.s1, input, 4); in f0() 28 clang_analyzer_eval(a0.s1[0] == 'a'); // expected-warning{{UNKNOWN}} in f0() 29 clang_analyzer_eval(a0.s1[1] == 'b'); // expected-warning{{UNKNOWN}} in f0() 30 clang_analyzer_eval(a0.s1[2] == 'c'); // expected-warning{{UNKNOWN}} in f0() 31 clang_analyzer_eval(a0.s1[3] == 'd'); // expected-warning{{UNKNOWN}} in f0() 41 memcpy(a1.s1, input, 4); in f1() 42 clang_analyzer_eval(a1.s1[0] == 'a'); // expected-warning{{UNKNOWN}} in f1() 43 clang_analyzer_eval(a1.s1[1] == 'b'); // expected-warning{{UNKNOWN}} in f1() 44 clang_analyzer_eval(a1.s1[2] == 'c'); // expected-warning{{UNKNOWN}} in f1() [all …]
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.comparisons/ |
D | op_less.pass.cpp | 40 std::chrono::seconds s1(3); in main() local 42 assert(!(s1 < s2)); in main() 43 assert(!(s1 > s2)); in main() 44 assert( (s1 <= s2)); in main() 45 assert( (s1 >= s2)); in main() 48 std::chrono::seconds s1(3); in main() local 50 assert( (s1 < s2)); in main() 51 assert(!(s1 > s2)); in main() 52 assert( (s1 <= s2)); in main() 53 assert(!(s1 >= s2)); in main() [all …]
|
D | op_equal.pass.cpp | 30 std::chrono::seconds s1(3); in main() local 32 assert(s1 == s2); in main() 33 assert(!(s1 != s2)); in main() 36 std::chrono::seconds s1(3); in main() local 38 assert(!(s1 == s2)); in main() 39 assert(s1 != s2); in main() 42 std::chrono::milliseconds s1(3); in main() local 44 assert(s1 == s2); in main() 45 assert(!(s1 != s2)); in main() 48 std::chrono::milliseconds s1(3); in main() local [all …]
|
/external/llvm/test/MC/AMDGPU/ |
D | mubuf.s | 16 buffer_load_dword v1, s[4:7], s1 19 buffer_load_dword v1, s[4:7], s1 offset:4 22 buffer_load_dword v1, s[4:7], s1 offset:4 glc 25 buffer_load_dword v1, s[4:7], s1 offset:4 slc 28 buffer_load_dword v1, s[4:7], s1 offset:4 tfe 31 buffer_load_dword v1, s[4:7], s1 tfe glc 34 buffer_load_dword v1, s[4:7], s1 offset:4 glc tfe slc 37 buffer_load_dword v1, s[4:7], s1 glc tfe slc offset:4 44 buffer_load_dword v1, v2, s[4:7], s1 offen 47 buffer_load_dword v1, v2, s[4:7], s1 offen offset:4 [all …]
|
D | sop1.s | 4 s_mov_b32 s1, s2 7 s_mov_b32 s1, 1 10 s_mov_b32 s1, 100 14 s_mov_b32 s1, 0x80000000 36 s_cmov_b32 s1, 200 39 s_cmov_b32 s1, 1.0 49 s_mov_b32 s1, s2 55 s_cmov_b32 s1, s2 61 s_not_b32 s1, s2 67 s_wqm_b32 s1, s2 [all …]
|
/external/boringssl/src/crypto/aes/asm/ |
D | aes-armv4.pl | 51 $s1="r1"; 217 ldrb $s1,[$rounds,#7] 223 orr $s1,$s1,$t1,lsl#8 225 orr $s1,$s1,$t2,lsl#16 227 orr $s1,$s1,$t3,lsl#24 242 ldr $s1,[$rounds,#4] 247 rev $s1,$s1 258 rev $s1,$s1 263 str $s1,[$rounds,#4] 272 mov $t1,$s1,lsr#24 [all …]
|
/external/bison/lib/ |
D | streq.h | 35 streq9 (const char *s1, const char *s2) in streq9() argument 37 return strcmp (s1 + 9, s2 + 9) == 0; in streq9() 41 streq8 (const char *s1, const char *s2, char s28) in streq8() argument 43 if (s1[8] == s28) in streq8() 48 return streq9 (s1, s2); in streq8() 55 streq7 (const char *s1, const char *s2, char s27, char s28) in streq7() argument 57 if (s1[7] == s27) in streq7() 62 return streq8 (s1, s2, s28); in streq7() 69 streq6 (const char *s1, const char *s2, char s26, char s27, char s28) in streq6() argument 71 if (s1[6] == s26) in streq6() [all …]
|
D | c-strcaseeq.h | 45 strcaseeq9 (const char *s1, const char *s2) in strcaseeq9() argument 47 return c_strcasecmp (s1 + 9, s2 + 9) == 0; in strcaseeq9() 51 strcaseeq8 (const char *s1, const char *s2, char s28) in strcaseeq8() argument 53 if (CASEEQ (s1[8], s28)) in strcaseeq8() 58 return strcaseeq9 (s1, s2); in strcaseeq8() 65 strcaseeq7 (const char *s1, const char *s2, char s27, char s28) in strcaseeq7() argument 67 if (CASEEQ (s1[7], s27)) in strcaseeq7() 72 return strcaseeq8 (s1, s2, s28); in strcaseeq7() 79 strcaseeq6 (const char *s1, const char *s2, char s26, char s27, char s28) in strcaseeq6() argument 81 if (CASEEQ (s1[6], s26)) in strcaseeq6() [all …]
|
/external/valgrind/VEX/test/ |
D | test-amd64-shift.h | 11 #define EXECSHIFT(size, res, s1, s2, flags) \ argument 18 : "r" (s1), "0" (res), "1" (flags)); 20 #define EXECSHIFT(size, res, s1, s2, flags) \ argument 27 : "c" (s1), "0" (res), "1" (flags)); 30 void exec_opq(int64 s2, int64 s0, int64 s1, int64 iflags) in exec_opq() argument 35 EXECSHIFT("q", res, s1, s2, flags); in exec_opq() 37 if (s1 != 1) in exec_opq() 40 stringify(OP) "q", s0, s1, res, iflags, flags & CC_MASK); in exec_opq() 43 void exec_opl(int64 s2, int64 s0, int64 s1, int64 iflags) in exec_opl() argument 48 EXECSHIFT("", res, s1, s2, flags); in exec_opl() [all …]
|
D | test-i386-shift.h | 10 #define EXECSHIFT(size, res, s1, s2, flags) \ argument 17 : "r" (s1), "0" (res), "1" (flags)); 19 #define EXECSHIFT(size, res, s1, s2, flags) \ argument 26 : "c" (s1), "0" (res), "1" (flags)); 29 void exec_opl(int s2, int s0, int s1, int iflags) in exec_opl() argument 34 EXECSHIFT("", res, s1, s2, flags); in exec_opl() 36 if (s1 != 1) in exec_opl() 39 stringify(OP) "l", s0, s1, res, iflags, flags & CC_MASK); in exec_opl() 42 void exec_opw(int s2, int s0, int s1, int iflags) in exec_opw() argument 47 EXECSHIFT("w", res, s1, s2, flags); in exec_opw() [all …]
|
D | test-amd64.h | 8 #define EXECOP2(size, res, s1, flags) \ argument 15 : "q" (s1), "0" (res), "1" (flags)); 27 inline void exec_opq(int64 s0, int64 s1, int64 iflags) in exec_opq() argument 36 inline void exec_opl(int64 s0, int64 s1, int64 iflags) in exec_opl() argument 45 inline void exec_opw(int64 s0, int64 s1, int64 iflags) in exec_opw() argument 54 inline void exec_opb(int64 s0, int64 s1, int64 iflags) in exec_opb() argument 64 inline void exec_opq(int64 s0, int64 s1, int64 iflags) in exec_opq() argument 69 EXECOP2("q", res, s1, flags); in exec_opq() 71 stringify(OP) "q", s0, s1, res, iflags, flags & CC_MASK); in exec_opq() 74 inline void exec_opl(int64 s0, int64 s1, int64 iflags) in exec_opl() argument [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/type/ |
D | test_univ.py | 247 self.s1 = univ.SequenceOf( 250 self.s2 = self.s1.clone() 252 assert self.s1.getTagSet() == tag.TagSet( 257 self.s1.setComponentByPosition(0, univ.OctetString('abc')) 258 assert self.s1[0] == str2octs('abc'), 'set by idx fails' 259 self.s1[0] = 'cba' 260 assert self.s1[0] == str2octs('cba'), 'set by idx fails' 262 self.s1.clear() 263 self.s1.setComponentByPosition(0, 'abc') 266 assert self.s1 == self.s2, '__cmp__() fails' [all …]
|
/external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/ |
D | move.pass.cpp | 21 wchar_t s1[] = {1, 2, 3}; in main() local 22 assert(std::char_traits<wchar_t>::move(s1, s1+1, 2) == s1); in main() 23 assert(s1[0] == wchar_t(2)); in main() 24 assert(s1[1] == wchar_t(3)); in main() 25 assert(s1[2] == wchar_t(3)); in main() 26 s1[2] = wchar_t(0); in main() 27 assert(std::char_traits<wchar_t>::move(s1+1, s1, 2) == s1+1); in main() 28 assert(s1[0] == wchar_t(2)); in main() 29 assert(s1[1] == wchar_t(2)); in main() 30 assert(s1[2] == wchar_t(3)); in main() [all …]
|
/external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/ |
D | move.pass.cpp | 21 char s1[] = {1, 2, 3}; in main() local 22 assert(std::char_traits<char>::move(s1, s1+1, 2) == s1); in main() 23 assert(s1[0] == char(2)); in main() 24 assert(s1[1] == char(3)); in main() 25 assert(s1[2] == char(3)); in main() 26 s1[2] = char(0); in main() 27 assert(std::char_traits<char>::move(s1+1, s1, 2) == s1+1); in main() 28 assert(s1[0] == char(2)); in main() 29 assert(s1[1] == char(2)); in main() 30 assert(s1[2] == char(3)); in main() [all …]
|
/external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/ |
D | move.pass.cpp | 22 char16_t s1[] = {1, 2, 3}; in main() local 23 assert(std::char_traits<char16_t>::move(s1, s1+1, 2) == s1); in main() 24 assert(s1[0] == char16_t(2)); in main() 25 assert(s1[1] == char16_t(3)); in main() 26 assert(s1[2] == char16_t(3)); in main() 27 s1[2] = char16_t(0); in main() 28 assert(std::char_traits<char16_t>::move(s1+1, s1, 2) == s1+1); in main() 29 assert(s1[0] == char16_t(2)); in main() 30 assert(s1[1] == char16_t(2)); in main() 31 assert(s1[2] == char16_t(3)); in main() [all …]
|
/external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/ |
D | move.pass.cpp | 22 char32_t s1[] = {1, 2, 3}; in main() local 23 assert(std::char_traits<char32_t>::move(s1, s1+1, 2) == s1); in main() 24 assert(s1[0] == char32_t(2)); in main() 25 assert(s1[1] == char32_t(3)); in main() 26 assert(s1[2] == char32_t(3)); in main() 27 s1[2] = char32_t(0); in main() 28 assert(std::char_traits<char32_t>::move(s1+1, s1, 2) == s1+1); in main() 29 assert(s1[0] == char32_t(2)); in main() 30 assert(s1[1] == char32_t(2)); in main() 31 assert(s1[2] == char32_t(3)); in main() [all …]
|
/external/v8/test/mjsunit/es6/ |
D | classes-subclass-arrays.js | 10 let s1 = new Stack(); 11 assertSame(Stack.prototype, s1.__proto__); 12 assertTrue(Array.isArray(s1)); 13 assertSame(0, s1.length); 14 s1[0] = 'xyz'; 15 assertSame(1, s1.length); 16 assertSame('xyz', s1[0]); 17 s1.push(42); 18 assertSame(2, s1.length); 19 assertSame('xyz', s1[0]); [all …]
|
/external/eigen/test/ |
D | product_syrk.cpp | 33 Scalar s1 = internal::random<Scalar>(); in syrk() local 38 VERIFY_IS_APPROX((m2.template selfadjointView<Lower>().rankUpdate(rhs2,s1)._expression()), in syrk() 39 … ((s1 * rhs2 * rhs2.adjoint()).eval().template triangularView<Lower>().toDenseMatrix())); in syrk() 41 …VERIFY_IS_APPROX(((m2.template triangularView<Lower>() += s1 * rhs2 * rhs22.adjoint()).nestedExpr… in syrk() 42 … ((s1 * rhs2 * rhs22.adjoint()).eval().template triangularView<Lower>().toDenseMatrix())); in syrk() 46 VERIFY_IS_APPROX(m2.template selfadjointView<Upper>().rankUpdate(rhs2,s1)._expression(), in syrk() 47 … (s1 * rhs2 * rhs2.adjoint()).eval().template triangularView<Upper>().toDenseMatrix()); in syrk() 49 …VERIFY_IS_APPROX((m2.template triangularView<Upper>() += s1 * rhs22 * rhs2.adjoint()).nestedExpres… in syrk() 50 … (s1 * rhs22 * rhs2.adjoint()).eval().template triangularView<Upper>().toDenseMatrix()); in syrk() 54 VERIFY_IS_APPROX(m2.template selfadjointView<Lower>().rankUpdate(rhs1.adjoint(),s1)._expression(), in syrk() [all …]
|
D | linearstructure.cpp | 30 Scalar s1 = internal::random<Scalar>(); in linearStructure() local 31 while (abs(s1)<1e-3) s1 = internal::random<Scalar>(); in linearStructure() 40 VERIFY_IS_APPROX(m1*s1, s1*m1); in linearStructure() 41 VERIFY_IS_APPROX((m1+m2)*s1, s1*m1+s1*m2); in linearStructure() 42 VERIFY_IS_APPROX((-m1+m2)*s1, -s1*m1+s1*m2); in linearStructure() 47 m3 = m2; m3 *= s1; in linearStructure() 48 VERIFY_IS_APPROX(m3, s1*m2); in linearStructure() 51 m3 = m2; m3 /= s1; in linearStructure() 52 VERIFY_IS_APPROX(m3, m2/s1); in linearStructure() 59 VERIFY_IS_APPROX((s1*m1)(r,c), s1*(m1(r,c))); in linearStructure() [all …]
|
/external/clang/test/CodeGen/ |
D | arm64-arguments.c | 11 struct s1 { char f0; }; argument 12 struct s1 f1(void) {} in f1() 198 float32x4_t f35(int i, s35_with_align s1, s35_with_align s2) { in f35() argument 206 float32x4_t v = vaddq_f32(*(float32x4_t *)&s1, in f35() 218 int32x4_t f36(int i, s36_with_align s1, s36_with_align s2) { in f36() argument 228 int32x4_t v = vaddq_s32(*(int32x4_t *)&s1, in f36() 239 int32x4_t f37(int i, s37_with_align s1, s37_with_align s2) { in f37() argument 245 int32x4_t v = vaddq_s32(*(int32x4_t *)&s1, in f37() 274 int f38(int i, s38_no_align s1, s38_no_align s2) { in f38() argument 284 return s1.i + s2.i + i + s1.s + s2.s; in f38() [all …]
|
/external/eigen/test/eigen2/ |
D | eigen2_linearstructure.cpp | 30 Scalar s1 = ei_random<Scalar>(); in linearStructure() local 31 while (ei_abs(s1)<1e-3) s1 = ei_random<Scalar>(); in linearStructure() 40 VERIFY_IS_APPROX(m1*s1, s1*m1); in linearStructure() 41 VERIFY_IS_APPROX((m1+m2)*s1, s1*m1+s1*m2); in linearStructure() 42 VERIFY_IS_APPROX((-m1+m2)*s1, -s1*m1+s1*m2); in linearStructure() 47 m3 = m2; m3 *= s1; in linearStructure() 48 VERIFY_IS_APPROX(m3, s1*m2); in linearStructure() 51 m3 = m2; m3 /= s1; in linearStructure() 52 VERIFY_IS_APPROX(m3, m2/s1); in linearStructure() 59 VERIFY_IS_APPROX((s1*m1)(r,c), s1*(m1(r,c))); in linearStructure() [all …]
|
/external/skia/tests/ |
D | StrokeTest.cpp | 90 SkStrokeRec s1(SkStrokeRec::kFill_InitStyle); in test_strokerec_equality() local 92 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2)); in test_strokerec_equality() 96 REPORTER_ASSERT(reporter, !s1.hasEqualEffect(s2)); in test_strokerec_equality() 98 s1.setHairlineStyle(); in test_strokerec_equality() 99 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2)); in test_strokerec_equality() 102 s1.setResScale(2.1f); in test_strokerec_equality() 104 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2)); in test_strokerec_equality() 105 s1.setFillStyle(); in test_strokerec_equality() 107 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2)); in test_strokerec_equality() 108 s1.setStrokeStyle(1.0f, false); in test_strokerec_equality() [all …]
|
/external/opencv3/modules/imgproc/src/opencl/ |
D | moments.cl | 36 S += (int4)(p.s0, 0, 0, 0) + (int4)(p.s1, p.s1, p.s1, p.s1) + 38 //SUM_ELEM(p.s0, 0) + SUM_ELEM(p.s1, 1) + SUM_ELEM(p.s2, 2) + SUM_ELEM(p.s3, 3); 46 …S += (int4)(p.s0, p.s0 * 4, p.s0 * 16, p.s0 * 64) + (int4)(p.s1, p.s1 * 5, p.s1 * 25, p.s1 * 125) + 48 //SUM_ELEM(p.s0, 4) + SUM_ELEM(p.s1, 5) + SUM_ELEM(p.s2, 6) + SUM_ELEM(p.s3, 7); 56 …S += (int4)(p.s0, p.s0 * 8, p.s0 * 64, p.s0 * 512) + (int4)(p.s1, p.s1 * 9, p.s1 * 81, p.s1 * 729)… 58 … //SUM_ELEM(p.s0, 8) + SUM_ELEM(p.s1, 9) + SUM_ELEM(p.s2, 10) + SUM_ELEM(p.s3, 11); 66 … (int4)(p.s0, p.s0 * 12, p.s0 * 144, p.s0 * 1728) + (int4)(p.s1, p.s1 * 13, p.s1 * 169, p.s1 * 219… 68 … //SUM_ELEM(p.s0, 12) + SUM_ELEM(p.s1, 13) + SUM_ELEM(p.s2, 14) + SUM_ELEM(p.s3, 15); 80 … (int4)(p.s0, p.s0 * 16, p.s0 * 256, p.s0 * 4096) + (int4)(p.s1, p.s1 * 17, p.s1 * 289, p.s1 * 491… 82 //SUM_ELEM(p.s0, 16) + SUM_ELEM(p.s1, 17) + SUM_ELEM(p.s2, 18) + SUM_ELEM(p.s3, 19); [all …]
|
/external/boringssl/src/crypto/aes/ |
D | aes.c | 682 uint32_t s0, s1, s2, s3, t0, t1, t2, t3; in AES_encrypt() local 693 s1 = GETU32(in + 4) ^ rk[1]; in AES_encrypt() 698 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ in AES_encrypt() 700 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ in AES_encrypt() 703 Te3[s1 & 0xff] ^ rk[6]; in AES_encrypt() 704 t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ in AES_encrypt() 709 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ in AES_encrypt() 716 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ in AES_encrypt() 718 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ in AES_encrypt() 721 Te3[s1 & 0xff] ^ rk[14]; in AES_encrypt() [all …]
|
/external/llvm/test/MC/ARM/ |
D | pr22395.s | 15 vadd.f32 s1, s2, s3 16 @ CHECK: vadd.f32 s1, s2, s3 20 vadd.f32 s1, s2, s3 21 @ CHECK: vadd.f32 s1, s2, s3 25 vadd.f32 s1, s2, s3 26 @ CHECK: vadd.f32 s1, s2, s3 30 vadd.f32 s1, s2, s3 31 @ CHECK: vadd.f32 s1, s2, s3 35 vadd.f32 s1, s2, s3 36 @ CHECK: vadd.f32 s1, s2, s3 [all …]
|