Searched refs:s1 (Results 126 - 150 of 1365) sorted by relevance

1234567891011>>

/external/guava/guava-tests/test/com/google/common/base/
H A DObjectsTest.java37 String s1 = "foobar";
38 String s2 = new String(s1);
39 assertTrue(Objects.equal(s1, s2));
41 assertFalse(Objects.equal(s1, null));
42 assertFalse(Objects.equal(null, s1));
63 String s1 = "foo";
64 String s2 = Objects.firstNonNull(s1, "bar");
65 assertSame(s1, s2);
/external/icu/icu4c/source/common/
H A Dunormcmp.cpp49 * strcmp[CodePointOrder](NFD(foldCase(s1)), NFD(foldCase(s2)))
63 * get one code unit c1 from s1 (-1 if end of source)
143 unorm_cmpEquivFold(const UChar *s1, int32_t length1, argument
150 /* current-level start/limit - s1/s2 as current */
196 start1=s1;
200 limit1=s1+length1;
223 if(s1==limit1 || ((c1=*s1)==0 && (limit1==NULL || (options&_STRNCMP_STYLE)))) {
229 ++s1;
238 s1
567 unorm_compare(const UChar *s1, int32_t length1, const UChar *s2, int32_t length2, uint32_t options, UErrorCode *pErrorCode) argument
[all...]
H A Dustr_cnv.c114 static int32_t u_astrnlen(const char *s1, int32_t n) argument
118 if (s1)
120 while (n-- && *(s1++))
201 u_austrncpy(char *s1, argument
205 char *target = s1;
212 s1+n,
221 *s1 = 0; /* failure */
223 if(target < (s1+n)) { /* U_BUFFER_OVERFLOW_ERROR isn't an err, just means no termination will happen. */
227 *s1 = 0;
229 return s1;
233 u_austrcpy(char *s1, const UChar *ucs2 ) argument
[all...]
/external/llvm/test/MC/AArch64/
H A Dneon-crypto.s22 sha1h s0, s1
26 // CHECK: sha1h s0, s1 // encoding: [0x20,0x08,0x28,0x5e]
30 sha1c q0, s1, v2.4s
31 sha1p q0, s1, v2.4s
32 sha1m q0, s1, v2.4s
38 // CHECK: sha1c q0, s1, v2.4s // encoding: [0x20,0x00,0x02,0x5e]
39 // CHECK: sha1p q0, s1, v2.4s // encoding: [0x20,0x10,0x02,0x5e]
40 // CHECK: sha1m q0, s1, v2.4s // encoding: [0x20,0x20,0x02,0x5e]
H A Darm64-fp-encoding.s8 fabs s1, s2
11 ; CHECK: fabs s1, s2 ; encoding: [0x41,0xc0,0x20,0x1e]
14 fadd s1, s2, s3
17 ; CHECK: fadd s1, s2, s3 ; encoding: [0x41,0x28,0x23,0x1e]
20 fdiv s1, s2, s3
23 ; CHECK: fdiv s1, s2, s3 ; encoding: [0x41,0x18,0x23,0x1e]
26 fmadd s1, s2, s3, s4
29 ; CHECK: fmadd s1, s2, s3, s4 ; encoding: [0x41,0x10,0x03,0x1f]
32 fmax s1, s2, s3
34 fmaxnm s1, s
[all...]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dstatesort.h54 StateId s1 = siter.Value(), s2; local
55 if (done[s1])
57 Weight final1 = fst->Final(s1), final2 = Weight::Zero();
59 for (ArcIterator< MutableFst<Arc> > aiter(*fst, s1);
63 for (; !done[s1]; s1 = s2, final1 = final2, swap(arcs1, arcs2)) {
64 s2 = order[s1];
80 done[s1] = true;
/external/chromium_org/base/strings/
H A Dstring_util_win.h23 inline int strcasecmp(const char* s1, const char* s2) { argument
24 return _stricmp(s1, s2);
27 inline int strncasecmp(const char* s1, const char* s2, size_t count) { argument
28 return _strnicmp(s1, s2, count);
31 inline int strncmp16(const char16* s1, const char16* s2, size_t count) { argument
32 return ::wcsncmp(s1, s2, count);
/external/clang/test/Analysis/
H A Dstack-addr-ps.cpp11 int s1; local
12 int &s2 = s1; // expected-note {{binding reference variable 's2' here}}
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}}
17 int s1; local
18 int &s2 = s1; // expected-note {{binding reference variable 's2' here}}
20 return s3; // expected-warning{{Address of stack memory associated with local variable 's1' returned}} expected-warning {{reference to stack memory associated with local variable 's1' returned}}
71 S s1; local
72 S &s2 = s1; // expecte
[all...]
/external/clang/test/Sema/
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/libcxx/test/strings/basic.string/string.cons/
H A Dcopy_assignment.pass.cpp22 test(S s1, const S& s2) argument
24 s1 = s2;
25 assert(s1.__invariants());
26 assert(s1 == s2);
27 assert(s1.capacity() >= s1.size());
H A Dmove_assignment.pass.cpp25 test(S s1, S s2) argument
28 s1 = std::move(s2);
29 assert(s1.__invariants());
31 assert(s1 == s0);
32 assert(s1.capacity() >= s1.size());
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.modifiers/
H A Dswap.pass.cpp41 std::unique_ptr<A[], Deleter<A[]> > s1(p1, Deleter<A[]>(1));
44 assert(s1.get() == p1);
45 assert(s1.get_deleter().state() == 1);
48 s1.swap(s2);
49 assert(s1.get() == p2);
50 assert(s1.get_deleter().state() == 2);
/external/valgrind/main/VEX/test/
H A Dtest-i386.h9 #define EXECOP2(size, res, s1, flags) \
16 : "q" (s1), "0" (res), "1" (flags));
28 inline void exec_opl(int s0, int s1, int iflags) argument
42 inline void exec_opw(int s0, int s1, int iflags) argument
56 inline void exec_opb(int s0, int s1, int iflags) argument
71 inline void exec_opl(int s0, int s1, int iflags) argument
76 EXECOP2("", res, s1, flags);
79 stringify(OP) "l", s0, s1, res, iflags, flags & CC_MASK);
85 inline void exec_opw(int s0, int s1, int iflags) argument
90 EXECOP2("w", res, s1, flag
99 exec_opb(int s0, int s1, int iflags) argument
114 exec_op(int s0, int s1) argument
[all...]
H A Dtest-amd64.h8 #define EXECOP2(size, res, s1, flags) \
15 : "q" (s1), "0" (res), "1" (flags));
27 inline void exec_opq(int64 s0, int64 s1, int64 iflags) argument
36 inline void exec_opl(int64 s0, int64 s1, int64 iflags) argument
45 inline void exec_opw(int64 s0, int64 s1, int64 iflags) argument
54 inline void exec_opb(int64 s0, int64 s1, int64 iflags) argument
64 inline void exec_opq(int64 s0, int64 s1, int64 iflags) argument
69 EXECOP2("q", res, s1, flags);
71 stringify(OP) "q", s0, s1, res, iflags, flags & CC_MASK);
74 inline void exec_opl(int64 s0, int64 s1, int6 argument
84 exec_opw(int64 s0, int64 s1, int64 iflags) argument
94 exec_opb(int64 s0, int64 s1, int64 iflags) argument
105 exec_op(int64 s0, int64 s1) argument
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dstringutils.h78 inline int strcmp(const wchar_t* s1, const wchar_t* s2) { argument
79 return wcscmp(s1, s2);
81 inline int stricmp(const wchar_t* s1, const wchar_t* s2) { argument
82 return _wcsicmp(s1, s2);
84 inline int strncmp(const wchar_t* s1, const wchar_t* s2, size_t n) { argument
85 return wcsncmp(s1, s2, n);
87 inline int strnicmp(const wchar_t* s1, const wchar_t* s2, size_t n) { argument
88 return _wcsnicmp(s1, s2, n);
112 inline int _stricmp(const char* s1, const char* s2) { argument
113 return strcasecmp(s1, s
115 _strnicmp(const char* s1, const char* s2, size_t n) argument
235 asccmp(const char* s1, const char* s2) argument
238 ascicmp(const char* s1, const char* s2) argument
241 ascncmp(const char* s1, const char* s2, size_t n) argument
244 ascnicmp(const char* s1, const char* s2, size_t n) argument
259 asccmp(const wchar_t* s1, const char* s2) argument
262 ascicmp(const wchar_t* s1, const char* s2) argument
265 ascncmp(const wchar_t* s1, const char* s2, size_t n) argument
268 ascnicmp(const wchar_t* s1, const char* s2, size_t n) argument
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Dustr_cnv.c114 static int32_t u_astrnlen(const char *s1, int32_t n) argument
118 if (s1)
120 while (n-- && *(s1++))
201 u_austrncpy(char *s1, argument
205 char *target = s1;
212 s1+n,
221 *s1 = 0; /* failure */
223 if(target < (s1+n)) { /* U_BUFFER_OVERFLOW_ERROR isn't an err, just means no termination will happen. */
227 *s1 = 0;
229 return s1;
233 u_austrcpy(char *s1, const UChar *ucs2 ) argument
[all...]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dstringutil.h113 string StrCat(const StringHolder& s1, const StringHolder& s2);
115 string StrCat(const StringHolder& s1, const StringHolder& s2,
118 string StrCat(const StringHolder& s1, const StringHolder& s2,
121 string StrCat(const StringHolder& s1, const StringHolder& s2,
125 string StrCat(const StringHolder& s1, const StringHolder& s2,
129 string StrCat(const StringHolder& s1, const StringHolder& s2,
134 string StrCat(const StringHolder& s1, const StringHolder& s2,
139 string StrCat(const StringHolder& s1, const StringHolder& s2,
145 string StrCat(const StringHolder& s1, const StringHolder& s2,
152 string StrCat(const StringHolder& s1, cons
[all...]
/external/qemu/android/base/
H A DString_unittest.cpp52 String s1("Hello World!");
53 String s2(s1);
54 EXPECT_EQ(s1.size(), s2.size());
55 EXPECT_STREQ(s1.c_str(), s2.c_str());
77 String s1("");
78 EXPECT_TRUE(s1.empty());
203 const char* s1; member in struct:android::base::__anon29043
225 String s(comp.s1);
227 << "Comparing '" << comp.s1 << "' with '"
235 String s(comp.s1);
[all...]
/external/libutf/
H A Dutf.h123 // s2 as a UTF substring of s1, or 0 if there is none. If s2 is the
124 // null string, utfutf returns s1. (cf. strstr)
126 const char* utfutf(const char* s1, const char* s2);
131 // s1 is terminated by a null sequence, and a pointer to that sequence
132 // is returned. Otherwise, the original s1 is returned. (cf. strecpy)
134 char* utfecpy(char *s1, char *es1, const char *s2);
149 Rune* runestrcat(Rune* s1, const Rune* s2);
150 Rune* runestrncat(Rune* s1, const Rune* s2, long n);
154 int runestrcmp(const Rune* s1, const Rune* s2);
155 int runestrncmp(const Rune* s1, cons
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/lhash/
H A Dlhash_test.c127 char *s, *s1, *s2; local
138 s1 = (char *)lh_retrieve(lh, s);
140 if (s1 != NULL && (s2 == NULL || strcmp(s1, s2) != 0)) {
149 lh_insert(lh, (void **)&s1, s);
152 if (s1 != NULL && (s2 == NULL || strcmp(s1, s2) != 0)) {
157 if (s1) {
158 free(s1);
167 s1
[all...]
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dos_none.c147 int os_memcmp(const void *s1, const void *s2, size_t n) argument
165 int os_strcasecmp(const char *s1, const char *s2) argument
171 return os_strcmp(s1, s2);
175 int os_strncasecmp(const char *s1, const char *s2, size_t n) argument
181 return os_strncmp(s1, s2, n);
197 int os_strcmp(const char *s1, const char *s2) argument
203 int os_strncmp(const char *s1, const char *s2, size_t n) argument
/external/wpa_supplicant_8/src/utils/
H A Dos_none.c147 int os_memcmp(const void *s1, const void *s2, size_t n) argument
165 int os_strcasecmp(const char *s1, const char *s2) argument
171 return os_strcmp(s1, s2);
175 int os_strncasecmp(const char *s1, const char *s2, size_t n) argument
181 return os_strncmp(s1, s2, n);
197 int os_strcmp(const char *s1, const char *s2) argument
203 int os_strncmp(const char *s1, const char *s2, size_t n) argument
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dos_none.c147 int os_memcmp(const void *s1, const void *s2, size_t n) argument
165 int os_strcasecmp(const char *s1, const char *s2) argument
171 return os_strcmp(s1, s2);
175 int os_strncasecmp(const char *s1, const char *s2, size_t n) argument
181 return os_strncmp(s1, s2, n);
197 int os_strcmp(const char *s1, const char *s2) argument
203 int os_strncmp(const char *s1, const char *s2, size_t n) argument
/external/tremolo/Tremolo/
H A Dmdct.c107 REG_TYPE s1 = x[0] - x[1]; local
116 x[1] = s7 - s1;
118 x[3] = s7 + s1;
129 REG_TYPE s0, s1, s2, s3; local
132 s1 = x[10] - x[11]; x[10] += x[11];
135 x[ 0] = MULT31((s0 - s1) , cPI2_8);
137 x[ 2] = MULT31((s0 + s1) , cPI2_8);
144 s1 = x[ 7] - x[ 6]; x[15] = x[ 7] + x[ 6];
145 x[ 4] = s2; x[ 5] = s1;
156 REG_TYPE s0, s1, s local
201 REG_TYPE s0, s1, s2, s3; local
279 REG_TYPE s0, s1, s2, s3; local
331 REG_TYPE s1 = -x[1]; local
341 REG_TYPE t0,t1,v0,v1,s0,s1; local
367 REG_TYPE t0,t1,v0,v1,q0,q1,s0,s1; local
[all...]
/external/libcxx/test/re/re.regex/re.regex.construct/
H A Diter_iter_flg.pass.cpp35 std::string s1("\\(a\\)");
40 test(F(s1.begin()), F(s1.end()), std::regex_constants::basic, 1);
45 test(F(s1.begin()), F(s1.end()), std::regex_constants::extended, 0);
50 test(F(s1.begin()), F(s1.end()), std::regex_constants::ECMAScript, 0);
55 test(F(s1.begin()), F(s1.end()), std::regex_constants::awk, 0);
60 test(F(s1
[all...]

Completed in 505 milliseconds

1234567891011>>