Searched refs:s2 (Results 1 - 25 of 619) sorted by relevance

1234567891011>>

/external/clang/test/Misc/
H A Derror-limit.c8 struct s2{}; struct
9 struct s2{}; struct
14 // CHECK-NOT: 9:8: error: redefinition of 's2'
/external/clang/test/Parser/
H A Dstruct-recursion.c6 struct s1 { struct s2 *A; };
7 struct s2 { struct s1 *B; }; struct
11 struct s2 b;
/external/v8/test/mjsunit/regress/
H A Dregress-1919169.js30 var s2 = "s2";
33 var res = 1 + s2;
34 s2 = 2;
/external/clang/test/CodeGenCXX/
H A Dbuiltins.cpp13 template<int (*Compare)(const char *s1, const char *s2)>
14 int equal(const char *s1, const char *s2) { argument
15 return Compare(s1, s2) == 0;
/external/v8/test/mjsunit/
H A Dshifts.js37 var s2 = -1; variable
38 assertEquals(0xffffffff, (s2 >>> 0));
H A Ddebug-liveedit-diff.js33 function CheckCompareOneWay(s1, s2) {
34 var diff_array = Debug.LiveEdit.TestApi.CompareStrings(s1, s2);
40 print("s2='" + s2 + "'");
46 s2.substring(pos2, pos2 + similar_length));
54 print(s2.substring(pos2, diff_array[i + 2]));
62 assertEquals(similar_length, s2.length - pos2);
64 s2.substring(pos2, pos2 + similar_length));
71 function CheckCompareOneWayPlayWithLF(s1, s2) {
73 var s2Oneliner = s2
[all...]
/external/webkit/Source/JavaScriptCore/wtf/
H A DStringExtras.cpp34 int strcasecmp(const char* s1, const char* s2) argument
36 while (toASCIIUpper(*s1) == toASCIIUpper(*s2)) {
40 s2++;
43 return toASCIIUpper(*s1) - toASCIIUpper(*s2);
46 int strncasecmp(const char* s1, const char* s2, size_t len) argument
48 while (len > 0 && toASCIIUpper(*s1) == toASCIIUpper(*s2)) {
52 s2++;
59 return toASCIIUpper(*s1) - toASCIIUpper(*s2);
/external/clang/test/CodeGen/
H A Dmms-bitfields.c10 struct s2 { struct
13 } s2; variable in typeref:struct:s2
15 // CHECK: %struct.s2 = type { i32, [4 x i8], [4 x i64] }
H A D2002-03-11-LargeCharInString.c3 int strcmp(const char *s1, const char *s2);
H A D2002-04-09-StructRetVal.c5 short s1, s2; member in struct:S
H A Dms_struct.c11 struct s2 { struct
14 } ATTR s2; variable in typeref:struct:s2
16 // CHECK: %struct.s2 = type { i32, [4 x i8], [4 x i64] }
H A Dpacked-structure.c65 struct s2 { struct
74 int s2_align_x = __alignof(((struct s2*)0)->x);
75 int s2_align_y = __alignof(((struct s2*)0)->y);
76 int s2_align = __alignof(struct s2);
81 int s2_load_x(struct s2 *a) { return a->x; }
85 int s2_load_y(struct s2 *a) { return a->y; }
88 void s2_copy(struct s2 *a, struct s2 *b) { *b = *a; }
/external/clang/test/PCH/
H A Dchanged-files.c3 const char *s2 = m0; variable
/external/valgrind/main/memcheck/tests/
H A Dmemcmptest.c8 char *s1, *s2; variable
12 s2 = malloc(10); strcpy(s2,"fooble");
13 if (memcmp(s1, s2, 8) != 0)
/external/valgrind/main/none/tests/
H A Dfdleak_dup2.c8 int s2; local
13 s2 = DO( open("/dev/null", O_RDONLY) );
16 DO( dup2(s1, s2) ); // dup s1 as fd s2, which closes existing s2 fd
/external/openssl/ssl/
H A Ds2_lib.c316 return SSL_in_init(s) ? 0 : s->s2->ract_data_length;
321 SSL2_STATE *s2; local
323 if ((s2=OPENSSL_malloc(sizeof *s2)) == NULL) goto err;
324 memset(s2,0,sizeof *s2);
330 if ((s2->rbuf=OPENSSL_malloc(
334 if ((s2->wbuf=OPENSSL_malloc(
336 s->s2=s2;
352 SSL2_STATE *s2; local
367 SSL2_STATE *s2; local
[all...]
H A Ds2_pkt.c151 if (s->s2->ract_data_length != 0) /* read from buffer */
153 if (len > s->s2->ract_data_length)
154 n=s->s2->ract_data_length;
158 memcpy(buf,s->s2->ract_data,(unsigned int)n);
161 s->s2->ract_data_length-=n;
162 s->s2->ract_data+=n;
163 if (s->s2->ract_data_length == 0)
170 /* s->s2->ract_data_length == 0
201 /*s->s2->padding=0;*/
202 s->s2
[all...]
H A Ds2_enc.c99 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
[all...]
/external/clang/test/Sema/
H A Dwarn-strlcpycat-size.c9 char s2[200]; 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}}
24 strlcat(s2, s3, sizeof(s3)); // expected-warning {{size argument in 'strlcat' 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}}
25 strlcpy(s4.f1, 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}}
26 strlcpy((*s5)->f2[x], 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}}
27 strlcpy(s1+3, s2, sizeo
[all...]
/external/clang/test/Analysis/
H A Dstack-addr-ps.cpp12 int &s2 = s1; // expected-note {{binding reference variable 's2' here}} local
13 return s2; // expected-warning{{Address of stack memory associated with local variable 's1' returned}} expected-warning {{reference to stack memory associated with local variable 's1' returned}}
18 int &s2 = s1; // expected-note {{binding reference variable 's2' here}} local
19 int &s3 = s2; // expected-note {{binding reference variable 's3' here}}
68 S &s2 = s1; // expected-note {{binding reference variable 's2' here}} local
69 int &x = s2.x; // expected-note {{binding reference variable 'x' here}}
/external/tcpdump/
H A Dstrcasecmp.c67 strcasecmp(s1, s2)
68 const char *s1, *s2;
72 *us2 = (u_char *)s2;
81 strncasecmp(s1, s2, n)
82 const char *s1, *s2;
87 *us2 = (u_char *)s2;
/external/chromium/base/
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);
30 ++s2;
53 char16* c16memmove(char16* s1, const char16* s2, size_t n) { argument
54 return reinterpret_cast<char16*>(memmove(s1, s2, n * sizeof(char16)));
57 char16* c16memcpy(char16* s1, const char16* s2, size_t n) { argument
58 return reinterpret_cast<char16*>(memcpy(s1, s2, n * sizeof(char16)));
/external/chromium/googleurl/base/
H A Dstring16.cc42 int c16memcmp(const char16* s1, const char16* s2, size_t n) { argument
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) { argument
74 return reinterpret_cast<char16*>(memmove(s1, s2, n * sizeof(char16)));
77 char16* c16memcpy(char16* s1, const char16* s2, size_t n) { argument
78 return reinterpret_cast<char16*>(memcpy(s1, s2, n * sizeof(char16)));
/external/clang/test/CXX/dcl.decl/dcl.init/
H A Dp6.cpp24 struct s2 { struct
28 template<> const struct s0 s2<int>::foo; // okay
/external/clang/test/Index/
H A Dannotate-tokens.cpp18 void test3(S2 s2) { argument
19 s2->f();
110 // CHECK: Identifier: "s2" [18:15 - 18:17] ParmDecl=s2:18:15 (Definition)
113 // CHECK: Identifier: "s2" [19:3 - 19:5] DeclRefExpr=s2:18:15

Completed in 338 milliseconds

1234567891011>>