Searched refs:s1 (Results 101 - 125 of 1628) sorted by relevance

1234567891011>>

/external/clang/test/CodeGen/
H A Dno-opt-volatile-memcpy.c27 struct s1 { struct
31 struct s1 s;
38 // CHECK: call void @llvm.memcpy.{{.*}}(i8* getelementptr inbounds (%struct.s1, %struct.s1* @s, i32 0, i32 0, i32 0, i32 0), i8* getelementptr inbounds (%struct.s1, %struct.s1* @s, i32 0, i32 0, i32 0, i32 0), i64 132, i32 4, i1 true)
39 // CHECK-NEXT: call void @llvm.memcpy.{{.*}}(i8* getelementptr inbounds (%struct.s1, %struct.s1* @s, i32 0, i32 0, i32 0, i32 0), i8* getelementptr inbounds (%struct.s, %struct.s* @gs, i32 0, i32 0, i32 0), i64 132, i32 4, i1 true)
H A Dpacked-structure.c37 struct s1 { struct
45 int s1_align_x = __alignof(((struct s1*)0)->x);
46 int s1_align_y = __alignof(((struct s1*)0)->y);
47 int s1_align = __alignof(struct s1);
52 int s1_load_x(struct s1 *a) { return a->x; }
56 int s1_load_y(struct s1 *a) { return a->y; }
59 void s1_copy(struct s1 *a, struct s1 *b) { *b = *a; }
/external/clang/test/Index/Inputs/
H A Dt1.c20 struct S1 s1; local
21 s1.x = 0;
/external/compiler-rt/test/asan/TestCases/
H A Dstrcasestr-2.c18 char s1[] = "ab"; local
21 r = strcasestr(s1, s2);
H A Dstrcspn-2.c13 char s1[] = "ab"; local
16 r = strcspn(s1, s2);
H A Dstrspn-2.c13 char s1[] = "bbc"; local
16 r = strspn(s1, s2);
H A Dstrstr-2.c14 char s1[] = "ab"; local
17 r = strstr(s1, s2);
/external/deqp/framework/delibs/decpp/
H A DdeSTLUtil.cpp49 set<int> s1; local
50 s1.insert(2);
51 s1.insert(3);
52 DE_TEST_ASSERT(contains(s1, 2));
53 DE_TEST_ASSERT(contains(s1, 3));
54 DE_TEST_ASSERT(!contains(s1, 5));
63 set<int> si = intersection(s1, s2);
68 set<int> su = set_union(s1, s2);
/external/libchrome/base/strings/
H A Dstring16.cc22 int c16memcmp(const char16* s1, const char16* s2, size_t n) { argument
25 if (*s1 != *s2) {
26 // We cannot use (*s1 - *s2) because char16 is unsigned.
27 return ((*s1 < *s2) ? -1 : 1);
29 ++s1;
53 char16* c16memmove(char16* s1, const char16* s2, size_t n) { argument
54 return static_cast<char16*>(memmove(s1, s2, n * sizeof(char16)));
57 char16* c16memcpy(char16* s1, const char16* s2, size_t n) { argument
58 return static_cast<char16*>(memcpy(s1, s2, n * sizeof(char16)));
/external/libchrome/crypto/
H A Dsecure_util.cc11 bool SecureMemEqual(const void* s1, const void* s2, size_t n) { argument
12 const unsigned char* s1_ptr = reinterpret_cast<const unsigned char*>(s1);
/external/libcxx/test/std/strings/basic.string/string.cons/
H A Dpointer_assignment.pass.cpp23 test(S s1, const typename S::value_type* s2) argument
26 s1 = s2;
27 LIBCPP_ASSERT(s1.__invariants());
28 assert(s1.size() == T::length(s2));
29 assert(T::compare(s1.data(), s2, s1.size()) == 0);
30 assert(s1.capacity() >= s1.size());
H A Dstring_view_assignment.pass.cpp22 test(S s1, SV sv) argument
25 s1 = sv;
26 LIBCPP_ASSERT(s1.__invariants());
27 assert(s1.size() == sv.size());
28 assert(T::compare(s1.data(), sv.data(), s1.size()) == 0);
29 assert(s1.capacity() >= s1.size());
/external/libcxx/test/std/strings/basic.string/string.ends_with/
H A Dends_with.ptr.pass.cpp27 S s1 { s + 4, 1 };
39 assert ( s1.ends_with(""));
40 assert ( s1.ends_with("e"));
41 assert (!s1.ends_with("de"));
42 assert (!s1.ends_with("cde"));
43 assert (!s1.ends_with("bcde"));
44 assert (!s1.ends_with("abcde"));
45 assert (!s1.ends_with("def"));
/external/libcxx/test/std/strings/basic.string/string.starts_with/
H A Dstarts_with.ptr.pass.cpp26 S s1 { s, 1 };
38 assert ( s1.starts_with(""));
39 assert ( s1.starts_with("a"));
40 assert (!s1.starts_with("ab"));
41 assert (!s1.starts_with("abc"));
42 assert (!s1.starts_with("abcd"));
43 assert (!s1.starts_with("abcde"));
44 assert (!s1.starts_with("def"));
/external/libcxx/test/std/utilities/time/time.duration/time.duration.nonmember/
H A Dop_divide_duration.pass.cpp37 std::chrono::duration<int, std::ratio<2, 3> > s1(30);
39 assert(s1 / s2 == 6);
42 std::chrono::duration<int, std::ratio<2, 3> > s1(30);
44 assert(s1 / s2 == 20./3);
58 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(30);
60 static_assert(s1 / s2 == 6, "");
63 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(30);
65 static_assert(s1 / s2 == 20./3, "");
/external/syslinux/com32/lib/
H A Dstrcasecmp.c8 int strcasecmp(const char *s1, const char *s2) argument
10 const unsigned char *c1 = (const unsigned char *)s1;
H A Dstrncasecmp.c8 int strncasecmp(const char *s1, const char *s2, size_t n) argument
10 const unsigned char *c1 = (const unsigned char *)s1;
H A Dstrncmp.c7 int strncmp(const char *s1, const char *s2, size_t n) argument
9 const unsigned char *c1 = (const unsigned char *)s1;
/external/v8/src/base/utils/
H A Drandom-number-generator.h104 uint64_t s1 = *state0; local
107 s1 ^= s1 << 23;
108 s1 ^= s1 >> 17;
109 s1 ^= s0;
110 s1 ^= s0 >> 26;
111 *state1 = s1;
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.special/
H A Dswap.pass.cpp52 std::unique_ptr<A, Deleter<A> > s1(p1, Deleter<A>(1));
55 assert(s1.get() == p1);
56 assert(*s1 == A(1));
57 assert(s1.get_deleter().state() == 1);
61 swap(s1, s2);
62 assert(s1.get() == p2);
63 assert(*s1 == A(2));
64 assert(s1.get_deleter().state() == 2);
73 std::unique_ptr<A[], Deleter<A[]> > s1(p1, Deleter<A[]>(1));
76 assert(s1
[all...]
/external/eigen/test/
H A Dproduct_symm.cpp33 Scalar s1 = internal::random<Scalar>(), local
39 VERIFY_IS_APPROX(rhs12 = (s1*m2).template selfadjointView<Lower>() * (s2*rhs1),
40 rhs13 = (s1*m1) * (s2*rhs1));
42 VERIFY_IS_APPROX(rhs12 = (s1*m2).transpose().template selfadjointView<Upper>() * (s2*rhs1),
43 rhs13 = (s1*m1.transpose()) * (s2*rhs1));
45 VERIFY_IS_APPROX(rhs12 = (s1*m2).template selfadjointView<Lower>().transpose() * (s2*rhs1),
46 rhs13 = (s1*m1.transpose()) * (s2*rhs1));
48 VERIFY_IS_APPROX(rhs12 = (s1*m2).conjugate().template selfadjointView<Lower>() * (s2*rhs1),
49 rhs13 = (s1*m1).conjugate() * (s2*rhs1));
51 VERIFY_IS_APPROX(rhs12 = (s1*m
[all...]
H A Deigen2support.cpp25 Scalar s1 = internal::random<Scalar>(), local
29 VERIFY_IS_APPROX(m1.cwise() + s1, s1 + m1.cwise());
30 VERIFY_IS_APPROX(m1.cwise() + s1, MatrixType::Constant(rows,cols,s1) + m1);
36 m3.cwise() -= s1;
37 VERIFY_IS_APPROX(m3, m1.cwise() - s1);
49 VERIFY_IS_EQUAL(ei_cos(s1), cos(s1));
50 VERIFY_IS_EQUAL(ei_real(s1), rea
[all...]
/external/libcxx/test/std/input.output/string.streams/istringstream/istringstream.assign/
H A Dmove.pass.cpp38 std::istringstream s1("Aaaaa Bbbbb Cccccccccc Dddddddddddddddddd");
40 s1 >> s;
42 std::istringstream s2 = std::move(s1);
51 s1 = std::move(s3);
52 s1 >> s;
69 std::wistringstream s1(L"Aaaaa Bbbbb Cccccccccc Dddddddddddddddddd");
71 s1 >> s;
73 std::wistringstream s2 = std::move(s1);
82 s1 = std::move(s3);
83 s1 >>
[all...]
/external/skia/tests/
H A DStrokeTest.cpp90 SkStrokeRec s1(SkStrokeRec::kFill_InitStyle);
92 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
96 REPORTER_ASSERT(reporter, !s1.hasEqualEffect(s2));
98 s1.setHairlineStyle();
99 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
102 s1.setResScale(2.1f);
104 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
105 s1.setFillStyle();
107 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
108 s1
[all...]
/external/skqp/tests/
H A DStrokeTest.cpp90 SkStrokeRec s1(SkStrokeRec::kFill_InitStyle);
92 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
96 REPORTER_ASSERT(reporter, !s1.hasEqualEffect(s2));
98 s1.setHairlineStyle();
99 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
102 s1.setResScale(2.1f);
104 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
105 s1.setFillStyle();
107 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
108 s1
[all...]

Completed in 3572 milliseconds

1234567891011>>