/external/clang/test/SemaCXX/ |
H A D | alignof.cpp | 29 // '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 D | builtins.cpp | 12 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 D | elaborated-type-specifier.cpp | 13 bool test_elab(S1 *s1, struct S2 *s2, struct S3 *s3) { argument 14 if (s1->x == s2) return true;
|
H A D | expressions.cpp | 117 S<2, 7> s2; local 119 (void)s2.foo();
|
H A D | warn-unused-result.cpp | 31 S *s2 = g2(); local
|
/external/clang/test/SemaTemplate/ |
H A D | instantiate-using-decl.cpp | 70 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 D | asan_mem_test.cc | 212 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 D | deSTLUtil.hpp | 56 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 D | Hex.java | 193 public static String s2(int v) { method in class:Hex
|
H A D | TwoColumnOutput.java | 56 * @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 D | adjoint.cpp | 18 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 D | product_selfadjoint.cpp | 35 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 D | eigen2_adjoint.cpp | 41 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 D | memory-access.h | 87 int16_t s2; member in union:unaligned 106 return up->s2;
|
/external/harfbuzz_ng/test/api/ |
H A D | test-ot-tag.c | 54 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 D | normlzr.h | 393 * 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 D | ustr_cnv.c | 130 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 D | sdtfmtts.cpp | 221 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 D | move01.pass.cpp | 111 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 D | move_convert11.fail.cpp | 107 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 D | sample-parsing.c | 11 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 D | lp_bld_quad.c | 139 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 D | pb_syshdr.h | 82 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 D | fx_zlib_zutil.c | 166 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 D | qemu-log.c | 123 static int cmp1(const char *s1, int n, const char *s2) argument 125 if (strlen(s2) != n) { 128 return memcmp(s1, s2, n) == 0;
|