Searched defs:s1 (Results 176 - 200 of 859) sorted by relevance

1234567891011>>

/external/clang/test/CodeGenCXX/
H A Dglobal-array-destruction.cpp15 S s1; variable
/external/clang/test/OpenMP/
H A Dtask_messages.cpp34 S1 s1; local
38 ++s1;
/external/clang/test/Sema/
H A Dattr-unused.c26 struct Test0_unused s1; // expected-warning {{'Test0_unused' was marked unused but was used}} local
H A Dpragma-align-mac68k.c14 struct s1 { struct
18 extern int a1_0[offsetof(struct s1, f0) == 0 ? 1 : -1];
19 extern int a1_1[offsetof(struct s1, f1) == 2 ? 1 : -1];
20 extern int a1_2[sizeof(struct s1) == 6 ? 1 : -1];
21 extern int a1_3[__alignof(struct s1) == 2 ? 1 : -1];
H A Dwarn-strlcpycat-size.c8 char s1[100]; variable
21 strlcpy(s1, s2, sizeof(s1)); // no warning
22 strlcpy(s1, s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}}
23 strlcpy(s1, s3, strlen(s3)+1); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}}
27 strlcpy(s1+3, s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}}
/external/clang/test/SemaCXX/
H A Dbuiltin-assume-aligned-tmpl.cpp68 struct s1 { struct
83 atest5<s1>();
H A Dbuiltin-assume-aligned.cpp44 constexpr void *s1 = __builtin_assume_aligned(x, 32); variable
H A Dstatic-assert.cpp28 S<char> s1; // expected-note {{in instantiation of template class 'S<char>' requested here}} variable
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_bitvector_test.cc116 set<uptr> s, s1, t_s; local
130 s1.insert(bits[bv.size() / 2 + i]);
132 CheckBV(bv1, s1);
135 set_intersection(s.begin(), s.end(), s1.begin(), s1.end(),
142 t_s.insert(s1.begin(), s1.end());
154 set_difference(s.begin(), s.end(), s1.begin(), s1.end(),
/external/dng_sdk/source/
H A Ddng_spline.h34 real64 s1)
44 ((y1 * (2.0 - B + C) - (s1 * A * C)) * (B * B));
28 EvaluateSplineSegment(real64 x, real64 x0, real64 y0, real64 s0, real64 x1, real64 y1, real64 s1) argument
/external/eigen/test/eigen2/
H A Deigen2_array.cpp30 Scalar s1 = ei_random<Scalar>(), local
34 VERIFY_IS_APPROX(m1.cwise() + s1, s1 + m1.cwise());
35 VERIFY_IS_APPROX(m1.cwise() + s1, MatrixType::Constant(rows,cols,s1) + m1);
41 m3.cwise() -= s1;
42 VERIFY_IS_APPROX(m3, m1.cwise() - s1);
H A Deigen2_parametrizedline.cpp37 Scalar s1 = ei_abs(ei_random<Scalar>()); local
43 VERIFY_IS_APPROX( Scalar(l0.distance((p0+s0*d0) + d0.unitOrthogonal() * s1)), s1 ); local
H A Deigen2_sparse_vector.cpp36 Scalar s1 = ei_random<Scalar>(); local
63 VERIFY_IS_APPROX(v1*s1-v2, refV1*s1-refV2);
65 VERIFY_IS_APPROX(v1*=s1, refV1*=s1);
66 VERIFY_IS_APPROX(v1/=s1, refV1/=s1);
/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));
45 VERIFY_IS_APPROX(rhs12 += (s1*m2).template selfadjointView<Upper>() * (s2*rhs1),
46 rhs13 += (s1*m1) * (s2*rhs1));
49 VERIFY_IS_APPROX(rhs12 = (s1*m2).template selfadjointView<Lower>() * (s2*rhs2.adjoint()),
50 rhs13 = (s1*m1) * (s2*rhs2.adjoint()));
53 VERIFY_IS_APPROX(rhs12 = (s1*m2).template selfadjointView<Upper>() * (s2*rhs2.adjoint()),
54 rhs13 = (s1*m1) * (s2*rhs2.adjoint()));
57 VERIFY_IS_APPROX(rhs12 = (s1*m
[all...]
H A Dproduct_trmm.cpp31 Scalar s1 = internal::random<Scalar>(), local
46 VERIFY_IS_APPROX( ge_xs.noalias() = (s1*mat.adjoint()).template triangularView<Mode>() * (s2*ge_left.transpose()), s1*triTr.conjugate() * (s2*ge_left.transpose()));
49 VERIFY_IS_APPROX( ge_xs.noalias() = (s1*mat.adjoint()).template triangularView<Mode>() * (s2*ge_left.adjoint()), s1*triTr.conjugate() * (s2*ge_left.adjoint()));
53 VERIFY_IS_APPROX( (ge_xs_save + s1*triTr.conjugate() * (s2*ge_left.adjoint())).eval(), ge_xs.noalias() += (s1*mat.adjoint()).template triangularView<Mode>() * (s2*ge_left.adjoint()) );
56 VERIFY_IS_APPROX( ge_sx_save - (ge_right.adjoint() * (-s1 * triTr).conjugate()).eval(), ge_sx.noalias() -= (ge_right.adjoint() * (-s1 * mat).adjoint().template triangularView<Mode>()).eval());
58 VERIFY_IS_APPROX( ge_xs = (s1*ma
[all...]
/external/eigen/unsupported/Eigen/src/MoreVectorization/
H A DMathFunctions.h58 Packet4f s1=pmadd(p4f_asin1, z1, p4f_asin2); local
59 Packet4f s2=pmadd(s1, z1, p4f_asin3);
72 Packet4f s1=pmadd(p4f_asin1, z2, p4f_asin2); local
73 Packet4f s2=pmadd(s1, z2, p4f_asin3);
/external/fdlibm/
H A De_sqrt.c100 unsigned r,t1,s1,ix1,q1; local
140 q = q1 = s0 = s1 = 0; /* [q,q1] = ieee_sqrt(x) */
157 t1 = s1+r;
160 s1 = t1+r;
161 if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1;
/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/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DSpannableStringTest.java38 URLSpan s1 = new URLSpan("http://www.foobar.com");
40 spanStr.setSpan(s1, 12, 33, 0);
43 assertBothSpans(s1, s2);
48 URLSpan s1 = new URLSpan("http://www.foobar.com");
50 spanStr.setSpan(s1, 12, 33, 0);
52 spanStr.removeSpan(s1);
62 URLSpan s1 = new URLSpan("http://www.foobar.com");
64 spanStr.setSpan(s1, 1, 10, 0);
70 assertBothSpans(s1, s2);
75 assertThat((URLSpan) spans[0], sameInstance(s1));
123 assertBothSpans(URLSpan s1, UnderlineSpan s2) argument
[all...]
/external/v8/test/mjsunit/
H A Dstring-slices.js41 var s1 = s.substring(1); variable
42 assertEquals(s1, s.substr(1));
43 assertEquals(s1, s.substr('1'));
44 assertEquals(s1, s.substr(true));
45 assertEquals(s1, s.substr(1.1));
46 assertEquals(s1, s.substr({ valueOf: function() { return 1; } }));
47 assertEquals(s1, s.substr({ toString: function() { return '1'; } }));
58 assertEquals(s1, s.substr(-s.length + 1));
143 function f(s1, s2, s3, i) {
144 assertEquals(String.fromCharCode(97+i%11), s1
228 var s1 = "12345678901234567890"; variable
[all...]
/external/valgrind/helgrind/tests/
H A Dtc20_verifywrap.c55 sem_t s1; local
248 r= sem_init(&s1, 0, ~0); assert(r);
251 r= sem_init(&s1, 0, 0);
261 memset(&s1, 0x55, sizeof(s1));
262 r= sem_wait(&s1); /* assert(r != 0); */
265 r= sem_post(&s1);
269 sem_destroy(&s1);
/external/valgrind/memcheck/tests/
H A Dvarinforestrict.c37 cpy (char * restrict s1, const char * restrict s2, size_t n) argument
39 char *t1 = s1;
43 return s1;
/external/zopfli/src/zopfli/
H A Dzlib_container.c32 unsigned s1 = 1; local
39 s1 += (*data++);
40 s2 += s1;
43 s1 %= 65521;
47 return (s2 << 16) | s1;
/external/apache-http/src/org/apache/commons/codec/language/
H A DSoundex.java72 * @param s1
85 public int difference(String s1, String s2) throws EncoderException { argument
86 return SoundexUtils.difference(this, s1, s2);
/external/bison/lib/
H A Dc-strcaseeq.h45 strcaseeq9 (const char *s1, const char *s2) argument
47 return c_strcasecmp (s1 + 9, s2 + 9) == 0;
51 strcaseeq8 (const char *s1, const char *s2, char s28) argument
53 if (CASEEQ (s1[8], s28))
58 return strcaseeq9 (s1, s2);
65 strcaseeq7 (const char *s1, const char *s2, char s27, char s28) argument
67 if (CASEEQ (s1[7], s27))
72 return strcaseeq8 (s1, s2, s28);
79 strcaseeq6 (const char *s1, const char *s2, char s26, char s27, char s28) argument
81 if (CASEEQ (s1[
93 strcaseeq5(const char *s1, const char *s2, char s25, char s26, char s27, char s28) argument
107 strcaseeq4(const char *s1, const char *s2, char s24, char s25, char s26, char s27, char s28) argument
121 strcaseeq3(const char *s1, const char *s2, char s23, char s24, char s25, char s26, char s27, char s28) argument
135 strcaseeq2(const char *s1, const char *s2, char s22, char s23, char s24, char s25, char s26, char s27, char s28) argument
149 strcaseeq1(const char *s1, const char *s2, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) argument
163 strcaseeq0(const char *s1, const char *s2, char s20, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) argument
[all...]

Completed in 683 milliseconds

1234567891011>>