/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/ |
nullptr_asgn.pass.cpp | 34 std::unique_ptr<A[]> s2(new A[3]); 36 s2 = nullptr; 38 assert(s2.get() == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.asgn/ |
nullptr.pass.cpp | 34 std::unique_ptr<A> s2(new A); 36 s2 = nullptr; 38 assert(s2.get() == 0);
|
/bionic/libc/string/ |
strcasecmp.c | 77 strcasecmp(const char *s1, const char *s2) 81 const u_char *us2 = (const u_char *)s2; 90 strncasecmp(const char *s1, const char *s2, size_t n) 95 const u_char *us2 = (const u_char *)s2;
|
strcspn.c | 37 * Span the complement of string s2. 40 strcspn(const char *s1, const char *s2) 46 * Stop as soon as we find any character from s2. Note that there 47 * must be a NUL in s2; it suffices to stop when we find that, too. 51 spanp = s2;
|
strspn.c | 34 * Span the string s2 (skip characters that are in s2). 37 strspn(const char *s1, const char *s2) 43 * Skip any characters in s2, excluding the terminating \0. 47 for (spanp = s2; (sc = *spanp++) != 0;)
|
/external/chromium_org/crypto/ |
secure_util.h | 24 CRYPTO_EXPORT bool SecureMemEqual(const void* s1, const void* s2, size_t n);
|
secure_util.cc | 9 bool SecureMemEqual(const void* s1, const void* s2, size_t n) { 11 const unsigned char* s2_ptr = reinterpret_cast<const unsigned char*>(s2);
|
/external/valgrind/main/none/tests/s390x/ |
mul.h | 138 #define msysweep(s2) \ 140 MUL_MSY(0ul, s2); \ 141 MUL_MSY(1ul, s2); \ 142 MUL_MSY(0xfffful, s2); \ 143 MUL_MSY(0x7ffful, s2); \ 144 MUL_MSY(0x8000ul, s2); \ 145 MUL_MSY(0xfffffffful, s2); \ 146 MUL_MSY(0x80000000ul, s2); \ 147 MUL_MSY(0x7ffffffful, s2); \ 148 MUL_MSY(0xfffffffffffffffful, s2); \ [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.nonmember/ |
op_+.pass.cpp | 25 std::chrono::seconds s2(5); 26 std::chrono::seconds r = s1 + s2; 31 std::chrono::microseconds s2(5); 32 std::chrono::microseconds r = s1 + s2; 37 std::chrono::duration<int, std::ratio<3, 5> > s2(5); 38 std::chrono::duration<int, std::ratio<1, 15> > r = s1 + s2; 43 std::chrono::duration<double, std::ratio<3, 5> > s2(5); 44 std::chrono::duration<double, std::ratio<1, 15> > r = s1 + s2; 50 constexpr std::chrono::seconds s2(5); 51 constexpr std::chrono::seconds r = s1 + s2; [all...] |
op_-.pass.cpp | 26 std::chrono::seconds s2(5); 27 std::chrono::seconds r = s1 - s2; 32 std::chrono::microseconds s2(5); 33 std::chrono::microseconds r = s1 - s2; 38 std::chrono::duration<int, std::ratio<3, 5> > s2(5); 39 std::chrono::duration<int, std::ratio<1, 15> > r = s1 - s2; 44 std::chrono::duration<double, std::ratio<3, 5> > s2(5); 45 std::chrono::duration<double, std::ratio<1, 15> > r = s1 - s2; 51 constexpr std::chrono::seconds s2(5); 52 constexpr std::chrono::seconds r = s1 - s2; [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
SpannableStringTest.java | 39 UnderlineSpan s2 = new UnderlineSpan(); local 41 spanStr.setSpan(s2, 1, 10, 0); 43 assertBothSpans(s1, s2); 49 UnderlineSpan s2 = new UnderlineSpan(); local 51 spanStr.setSpan(s2, 1, 10, 0); 57 assertThat((UnderlineSpan) spans[0], sameInstance(s2)); 63 UnderlineSpan s2 = new UnderlineSpan(); local 65 spanStr.setSpan(s2, 20, 30, 0); 70 assertBothSpans(s1, s2); 80 assertThat((UnderlineSpan) spans[0], sameInstance(s2)); 96 UnderlineSpan s2 = new UnderlineSpan(); local 111 UnderlineSpan s2 = new UnderlineSpan(); local [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
nj_str.c | 64 NJ_INT16 nj_strcmp(NJ_CHAR *s1, NJ_CHAR *s2) { 66 while (*s1 == *s2) { 71 s2++; 73 return NJ_CHAR_DIFF(s1, s2); 76 NJ_INT16 nj_strncmp(NJ_CHAR *s1, NJ_CHAR *s2, NJ_UINT16 n) { 79 if (*s1 != *s2++) { 80 return NJ_CHAR_DIFF(s1, (s2 - 1)); 102 NJ_INT16 nj_charncmp(NJ_CHAR *s1, NJ_CHAR *s2, NJ_UINT16 n) { 108 if (*s1 != *s2) { 109 return NJ_CHAR_DIFF(s1, s2); [all...] |
/external/chromium_org/third_party/openssl/openssl/ssl/ |
s2_enc.c | 99 s->s2->key_material_length=num*2; 100 OPENSSL_assert(s->s2->key_material_length <= sizeof s->s2->key_material); 106 EVP_EncryptInit_ex(ws,c,NULL,&(s->s2->key_material[(client)?num:0]), 108 EVP_DecryptInit_ex(rs,c,NULL,&(s->s2->key_material[(client)?0:num]), 110 s->s2->read_key= &(s->s2->key_material[(client)?0:num]); 111 s->s2->write_key= &(s->s2->key_material[(client)?num:0]); 118 /* read/writes from s->s2->mac_data using length for encrypt and [all...] |
/external/openssl/ssl/ |
s2_enc.c | 99 s->s2->key_material_length=num*2; 100 OPENSSL_assert(s->s2->key_material_length <= sizeof s->s2->key_material); 106 EVP_EncryptInit_ex(ws,c,NULL,&(s->s2->key_material[(client)?num:0]), 108 EVP_DecryptInit_ex(rs,c,NULL,&(s->s2->key_material[(client)?0:num]), 110 s->s2->read_key= &(s->s2->key_material[(client)?0:num]); 111 s->s2->write_key= &(s->s2->key_material[(client)?num:0]); 118 /* read/writes from s->s2->mac_data using length for encrypt and [all...] |
/art/test/Statics/ |
Statics.java | 20 static final char s2 = 'a'; field in class:Statics 35 return s2;
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
wcscat.c | 40 wcscat(wchar_t * __restrict s1, const wchar_t * __restrict s2) 47 while ((*cp++ = *s2++) != L'\0')
|
wcscpy.c | 40 wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2) 45 while ((*cp++ = *s2++) != L'\0')
|
/dalvik/vm/compiler/template/armv5te-vfp/ |
fbinop.S | 3 * specifies an instruction that performs s2 = s0 op s1. 13 fsts s2,[r0]
|
/external/chromium/base/ |
string16.cc | 22 int c16memcmp(const char16* s1, const char16* s2, size_t n) { 25 if (*s1 != *s2) { 26 // We cannot use (*s1 - *s2) because char16 is unsigned. 27 return ((*s1 < *s2) ? -1 : 1); 30 ++s2; 53 char16* c16memmove(char16* s1, const char16* s2, size_t n) { 54 return reinterpret_cast<char16*>(memmove(s1, s2, n * sizeof(char16))); 57 char16* c16memcpy(char16* s1, const char16* s2, size_t n) { 58 return reinterpret_cast<char16*>(memcpy(s1, s2, n * sizeof(char16)));
|
/external/chromium/googleurl/base/ |
string16.cc | 42 int c16memcmp(const char16* s1, const char16* s2, size_t n) { 45 if (*s1 != *s2) { 46 // We cannot use (*s1 - *s2) because char16 is unsigned. 47 return ((*s1 < *s2) ? -1 : 1); 50 ++s2; 73 char16* c16memmove(char16* s1, const char16* s2, size_t n) { 74 return reinterpret_cast<char16*>(memmove(s1, s2, n * sizeof(char16))); 77 char16* c16memcpy(char16* s1, const char16* s2, size_t n) { 78 return reinterpret_cast<char16*>(memcpy(s1, s2, n * sizeof(char16)));
|
/external/chromium_org/base/strings/ |
string16.cc | 22 int c16memcmp(const char16* s1, const char16* s2, size_t n) { 25 if (*s1 != *s2) { 26 // We cannot use (*s1 - *s2) because char16 is unsigned. 27 return ((*s1 < *s2) ? -1 : 1); 30 ++s2; 53 char16* c16memmove(char16* s1, const char16* s2, size_t n) { 54 return static_cast<char16*>(memmove(s1, s2, n * sizeof(char16))); 57 char16* c16memcpy(char16* s1, const char16* s2, size_t n) { 58 return static_cast<char16*>(memcpy(s1, s2, n * sizeof(char16)));
|
/external/clang/test/CXX/dcl.decl/dcl.init/ |
p6.cpp | 24 struct s2 { struct 28 template<> const struct s0 s2<int>::foo; // okay
|
/external/clang/test/CodeGen/ |
packed-structure.c | 64 struct s2 { struct 73 int s2_align_x = __alignof(((struct s2*)0)->x); 74 int s2_align_y = __alignof(((struct s2*)0)->y); 75 int s2_align = __alignof(struct s2); 80 int s2_load_x(struct s2 *a) { return a->x; } 84 int s2_load_y(struct s2 *a) { return a->y; } 87 void s2_copy(struct s2 *a, struct s2 *b) { *b = *a; }
|
/external/clang/test/CodeGenCXX/ |
exception-spec-decay.cpp | 17 struct S2 { 29 S2 <int[10]> s2; local 30 s2.foo();
|
/external/clang/test/Sema/ |
warn-strncat-size.c | 16 char *strncat(char *restrict s1, const char *restrict s2, size_t n); 24 char s2[200]; variable 41 strncat((*s5)->f2[x], s2, sizeof(s2)); // expected-warning {{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}} 42 strncat(s1+3, s2, sizeof(s2)); // expected-warning {{size argument in 'strncat' call appears to be size of the source}} 43 strncat(s4.f1, s2, sizeof(s2)); // expected-warning {{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}}
|