Searched defs:s2 (Results 226 - 250 of 846) sorted by relevance

1234567891011>>

/external/clang/test/SemaCXX/
H A Dalignof.cpp29 // 's2.x' should depend on the alignment of both x-within-S2 and
30 // s2-within-S3 and thus require 'S3' to be complete. If we start
34 S2 s2; member in struct:S3
36 static const int test8 = __alignof__(s2.x);
37 static const int test9 = __alignof__(s2.s); // expected-error {{invalid application of 'alignof' to an incomplete type 'S1'}}
38 auto test10() -> char(&)[__alignof__(s2.x)];
39 static const int test11 = __alignof__(S3::s2.x);
40 static const int test12 = __alignof__(S3::s2.s); // expected-error {{invalid application of 'alignof' to an incomplete type 'S1'}}
41 auto test13() -> char(&)[__alignof__(s2.x)];
H A Dbuiltins.cpp12 template<int (*Compare)(const char *s1, const char *s2)>
13 int equal(const char *s1, const char *s2) { argument
14 return Compare(s1, s2) == 0;
H A Delaborated-type-specifier.cpp13 bool test_elab(S1 *s1, struct S2 *s2, struct S3 *s3) { argument
14 if (s1->x == s2) return true;
H A Dexpressions.cpp117 S<2, 7> s2; local
119 (void)s2.foo();
H A Dwarn-unused-result.cpp31 S *s2 = g2(); local
/external/clang/test/SemaTemplate/
H A Dinstantiate-using-decl.cpp70 struct s2 : s1 { struct in struct:test3::t
78 t<int>::s2 a;
79 t<int>::s2 const & b = a;
/external/compiler-rt/lib/asan/tests/
H A Dasan_mem_test.cc212 char *s2 = MallocAndMemsetString(size); local
214 Ident(memcmp(s1, s2, size));
215 Ident(memcmp(s1 + size - 1, s2 + size - 1, 1));
216 Ident(memcmp(s1 - 1, s2 - 1, 0));
218 EXPECT_DEATH(Ident(memcmp)(s1 - 1, s2, 1), LeftOOBReadMessage(1));
219 EXPECT_DEATH(Ident(memcmp)(s1, s2 - 1, 1), LeftOOBReadMessage(1));
220 EXPECT_DEATH(Ident(memcmp)(s1 + size, s2, 1), RightOOBReadMessage(0));
221 EXPECT_DEATH(Ident(memcmp)(s1, s2 + size, 1), RightOOBReadMessage(0));
223 EXPECT_DEATH(Ident(memcmp)(s1 + 1, s2 + 1, size), RightOOBReadMessage(0));
224 EXPECT_DEATH(Ident(memcmp)(s1 + size - 1, s2,
[all...]
/external/deqp/framework/delibs/decpp/
H A DdeSTLUtil.hpp56 C intersection (const C& s1, const C& s2) argument
59 std::set_intersection(s1.begin(), s1.end(), s2.begin(), s2.end(),
65 C set_union (const C& s1, const C& s2) argument
68 std::set_union(s1.begin(), s1.end(), s2.begin(), s2.end(),
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DHex.java193 public static String s2(int v) { method in class:Hex
H A DTwoColumnOutput.java56 * @param s2 {@code non-null;} second string
61 String s2, int width2) {
63 int len2 = s2.length();
71 twoOut.getRight().write(s2);
60 toString(String s1, int width1, String spacer, String s2, int width2) argument
/external/eigen/test/
H A Dadjoint.cpp18 static void run(const Vec& v1, const Vec& v2, Vec& v3, const Mat& square, Scalar s1, Scalar s2) { argument
19 VERIFY(test_isApproxWithRef((s1 * v1 + s2 * v2).dot(v3), numext::conj(s1) * v1.dot(v3) + numext::conj(s2) * v2.dot(v3), 0));
20 VERIFY(test_isApproxWithRef(v3.dot(s1 * v1 + s2 * v2), s1*v3.dot(v1)+s2*v3.dot(v2), 0));
29 static void run(const Vec& v1, const Vec& v2, Vec& v3, const Mat& square, Scalar s1, Scalar s2) { argument
33 RealScalar ref = NumTraits<Scalar>::IsInteger ? RealScalar(0) : (std::max)((s1 * v1 + s2 * v2).norm(),v3.norm());
34 VERIFY(test_isApproxWithRef((s1 * v1 + s2 * v2).dot(v3), numext::conj(s1) * v1.dot(v3) + numext::conj(s2) * v2.dot(v3), ref));
35 VERIFY(test_isApproxWithRef(v3.dot(s1 * v1 + s2 * v
81 s2 = internal::random<Scalar>(); local
[all...]
H A Dproduct_selfadjoint.cpp35 s2 = internal::random<Scalar>(), local
46 m2.template selfadjointView<Upper>().rankUpdate(-v1,s2*v2,s3);
47 VERIFY_IS_APPROX(m2, (m1 + (s3*(-v1)*(s2*v2).adjoint()+numext::conj(s3)*(s2*v2)*(-v1).adjoint())).template triangularView<Upper>().toDenseMatrix());
50 m2.template selfadjointView<Upper>().rankUpdate(-s2*r1.adjoint(),r2.adjoint()*s3,s1);
51 VERIFY_IS_APPROX(m2, (m1 + s1*(-s2*r1.adjoint())*(r2.adjoint()*s3).adjoint() + numext::conj(s1)*(r2.adjoint()*s3) * (-s2*r1.adjoint()).adjoint()).template triangularView<Upper>().toDenseMatrix());
/external/eigen/test/eigen2/
H A Deigen2_adjoint.cpp41 s2 = ei_random<Scalar>(); local
53 VERIFY(ei_isApprox((s1 * v1 + s2 * v2).eigen2_dot(v3), s1 * v1.eigen2_dot(v3) + s2 * v2.eigen2_dot(v3), largerEps));
54 VERIFY(ei_isApprox(v3.eigen2_dot(s1 * v1 + s2 * v2), ei_conj(s1)*v3.eigen2_dot(v1)+ei_conj(s2)*v3.eigen2_dot(v2), largerEps));
/external/elfutils/0.153/libcpu/
H A Dmemory-access.h87 int16_t s2; member in union:unaligned
106 return up->s2;
/external/harfbuzz_ng/test/api/
H A Dtest-ot-tag.c54 test_indic_tags (const char *s1, const char *s2, hb_script_t script) argument
59 g_test_message ("Testing script %c%c%c%c: new tag %s, old tag %s", HB_UNTAG (hb_script_to_iso15924_tag (script)), s1, s2);
61 tag2 = hb_tag_from_string (s2, -1);
/external/icu/icu4c/source/common/unicode/
H A Dnormlzr.h393 * strcmp[CodePointOrder](NFD(foldCase(s1)), NFD(foldCase(s2)))
400 * @param s2 Second source string.
408 * Set if the caller knows that both s1 and s2 fulfill the FCD conditions.
441 compare(const UnicodeString &s1, const UnicodeString &s2,
783 Normalizer::compare(const UnicodeString &s1, const UnicodeString &s2, argument
788 s2.getBuffer(), s2.length(),
/external/icu/icu4c/source/common/
H A Dustr_cnv.c130 const char *s2,
141 &s2,
142 s2+u_astrnlen(s2, n),
162 const char *s2 )
170 s2,
171 (int32_t)uprv_strlen(s2),
129 u_uastrncpy(UChar *ucs1, const char *s2, int32_t n) argument
/external/icu/icu4c/source/test/intltest/
H A Dsdtfmtts.cpp221 UnicodeString s2; local
222 s2 = pat.toPattern(s2);
223 logln("Extracted pattern is " + s2);
224 if(s2 != p1) {
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/
H A Dmove01.pass.cpp111 std::unique_ptr<A> s2 = std::move(s); local
112 assert(s2.get() == p);
120 std::unique_ptr<A, Deleter<A> > s2 = std::move(s); local
121 assert(s2.get() == p);
124 assert(s2.get_deleter().state() == 5);
132 std::unique_ptr<A, CDeleter&> s2 = std::move(s); local
133 assert(s2.get() == p);
137 assert(s2.get_deleter().state() == d.state());
H A Dmove_convert11.fail.cpp107 std::unique_ptr<A, Deleter<A> > s2 = s; local
108 assert(s2.get() == p);
112 assert(s2.get_deleter().state() == 5);
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
H A Dsample-parsing.c11 if (s1->m != s2->m) { \
18 if (memcmp(&s1->m, &s2->m, sizeof(s1->m))) { \
25 const struct perf_sample *s2, u64 type, u64 regs_user,
85 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) {
102 (!s1->user_regs.regs || !s2->user_regs.regs ||
103 memcmp(s1->user_regs.regs, s2->user_regs.regs, sz))) {
24 samples_same(const struct perf_sample *s1, const struct perf_sample *s2, u64 type, u64 regs_user, u64 read_format) argument
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_quad.c139 unsigned s2 = 4 * i + length; local
142 shuffles1[4*i + 2] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s2);
143 shuffles1[4*i + 3] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s2);
146 shuffles2[4*i + 2] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_RIGHT + s2);
147 shuffles2[4*i + 3] = lp_build_const_int32(gallivm, LP_BLD_QUAD_BOTTOM_LEFT + s2);
/external/nanopb-c/extra/
H A Dpb_syshdr.h82 static void * memcpy( void *s1, const void *s2, size_t n ) argument
85 const char * src = (const char *) s2;
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dfx_zlib_zutil.c166 const Bytef* s2,
172 if (s1[j] != s2[j]) return 2*(s1[j] > s2[j])-1;
164 zmemcmp( const Bytef* s1, const Bytef* s2, uInt len) argument
/external/qemu/
H A Dqemu-log.c123 static int cmp1(const char *s1, int n, const char *s2) argument
125 if (strlen(s2) != n) {
128 return memcmp(s1, s2, n) == 0;

Completed in 2538 milliseconds

1234567891011>>