Home
last modified time | relevance | path

Searched refs:str2 (Results 1 – 25 of 221) sorted by relevance

123456789

/external/pcre/dist/
Dpcre_string_utils.c68 PRIV(strcmp_uc_uc)(const pcre_uchar *str1, const pcre_uchar *str2) in PRIV()
73 while (*str1 != '\0' || *str2 != '\0') in PRIV()
76 c2 = *str2++; in PRIV()
87 PRIV(strcmp_uc_uc_utf)(const pcre_uchar *str1, const pcre_uchar *str2) in PRIV()
92 while (*str1 != '\0' || *str2 != '\0') in PRIV()
95 c2 = UCHAR21INC(str2); in PRIV()
106 PRIV(strcmp_uc_c8)(const pcre_uchar *str1, const char *str2) in PRIV()
108 const pcre_uint8 *ustr2 = (pcre_uint8 *)str2; in PRIV()
126 PRIV(strcmp_uc_c8_utf)(const pcre_uchar *str1, const char *str2) in PRIV()
128 const pcre_uint8 *ustr2 = (pcre_uint8 *)str2; in PRIV()
[all …]
/external/libxml2/
Dxmlstring.c132 xmlStrcmp(const xmlChar *str1, const xmlChar *str2) { in xmlStrcmp() argument
135 if (str1 == str2) return(0); in xmlStrcmp()
137 if (str2 == NULL) return(1); in xmlStrcmp()
139 tmp = *str1++ - *str2; in xmlStrcmp()
141 } while (*str2++ != 0); in xmlStrcmp()
157 xmlStrEqual(const xmlChar *str1, const xmlChar *str2) { in xmlStrEqual() argument
158 if (str1 == str2) return(1); in xmlStrEqual()
160 if (str2 == NULL) return(0); in xmlStrEqual()
162 if (*str1++ != *str2) return(0); in xmlStrEqual()
163 } while (*str2++); in xmlStrEqual()
[all …]
/external/llvm/test/Transforms/InstCombine/
Dstrncmp-1.ll14 define i32 @test1(i8* %str2) {
22 %temp1 = call i32 @strncmp(i8* %str1, i8* %str2, i32 10)
33 %str2 = getelementptr inbounds [1 x i8], [1 x i8]* @null, i32 0, i32 0
34 %temp1 = call i32 @strncmp(i8* %str1, i8* %str2, i32 10)
44 %str2 = getelementptr inbounds [6 x i8], [6 x i8]* @hello, i32 0, i32 0
45 %temp1 = call i32 @strncmp(i8* %str1, i8* %str2, i32 10)
54 %str2 = getelementptr inbounds [1 x i8], [1 x i8]* @null, i32 0, i32 0
55 %temp1 = call i32 @strncmp(i8* %str1, i8* %str2, i32 10)
64 %str2 = getelementptr inbounds [6 x i8], [6 x i8]* @hello, i32 0, i32 0
65 %temp1 = call i32 @strncmp(i8* %str1, i8* %str2, i32 4)
[all …]
Dstrcmp-1.ll14 define i32 @test1(i8* %str2) {
22 %temp1 = call i32 @strcmp(i8* %str1, i8* %str2)
34 %str2 = getelementptr inbounds [1 x i8], [1 x i8]* @null, i32 0, i32 0
35 %temp1 = call i32 @strcmp(i8* %str1, i8* %str2)
45 %str2 = getelementptr inbounds [6 x i8], [6 x i8]* @hello, i32 0, i32 0
46 %temp1 = call i32 @strcmp(i8* %str1, i8* %str2)
55 %str2 = getelementptr inbounds [1 x i8], [1 x i8]* @null, i32 0, i32 0
56 %temp1 = call i32 @strcmp(i8* %str1, i8* %str2)
64 …32 @memcmp(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @hello, i32 0, i32 0), i8* %str2, i32 5)
70 %str2 = select i1 %b, i8* %temp1, i8* %temp2
[all …]
Dweak-symbols.ll17 %str2 = getelementptr inbounds [2 x i8], [2 x i8]* @.str, i64 0, i64 0
18 %temp1 = call i32 @strcmp(i8* %str1, i8* %str2) nounwind readonly
28 %str2 = getelementptr inbounds [2 x i8], [2 x i8]* @.str, i64 0, i64 0
29 %temp1 = call i32 @strcmp(i8* %str1, i8* %str2) nounwind readonly
/external/pdfium/core/include/fxcrt/
Dfx_string.h374 const CFX_ByteStringC& str2) {
375 return CFX_ByteString(str1, str2);
378 const FX_CHAR* str2) {
379 return CFX_ByteString(str1, str2);
382 const CFX_ByteStringC& str2) {
383 return CFX_ByteString(str1, str2);
388 inline CFX_ByteString operator+(FX_CHAR ch, const CFX_ByteStringC& str2) {
389 return CFX_ByteString(ch, str2);
392 const CFX_ByteString& str2) {
393 return CFX_ByteString(str1, str2);
[all …]
/external/valgrind/none/tests/s390x/
Dclst.stdout.exp3 str2 = abc
8 str2 = 123
13 str2 = equal
18 str2 = long
23 str2 =
28 str2 = lower2
Dclst.c9 const char *str2; member
24 return (clst_t) { .str1 = string1, .str2 = string2, .cc = get_cc() }; in do_clst()
28 clst(const char *str1, const char *str2, int sentinel) in clst() argument
32 printf("comparing: %s with %s sentinel = %d", str1, str2, sentinel); in clst()
36 res = do_clst(str1, str2, sentinel); in clst()
37 printf("str1 = %s\nstr2 = %s\ncc = %d\n", res.str1, res.str2, res.cc); in clst()
/external/icu/icu4c/source/common/
Dcstring.c233 uprv_stricmp(const char *str1, const char *str2) { in uprv_stricmp() argument
235 if(str2==NULL) { in uprv_stricmp()
240 } else if(str2==NULL) { in uprv_stricmp()
249 c2=(unsigned char)*str2; in uprv_stricmp()
266 ++str2; in uprv_stricmp()
272 uprv_strnicmp(const char *str1, const char *str2, uint32_t n) { in uprv_strnicmp() argument
274 if(str2==NULL) { in uprv_strnicmp()
279 } else if(str2==NULL) { in uprv_strnicmp()
288 c2=(unsigned char)*str2; in uprv_strnicmp()
305 ++str2; in uprv_strnicmp()
/external/clang/test/Sema/
Doverloaded-func-transparent-union.c8 char *str2; member
15 __attribute__((overloadable)) void Class_Init(Instance this, char *str, void *str2) { in Class_Init() argument
17 this.object->str2 = str2; in Class_Init()
22 this.object->str2 = str; in Class_Init()
/external/v8/test/mjsunit/
Dstring-externalize.js76 var str2 = str + realTwoByteExternalString;
77 assertFalse(isOneByteString(str2));
80 old_length = str2.length - realTwoByteExternalString.length;
82 assertEquals(String.fromCharCode(i & 0x7f), str2[i]);
85 assertEquals("\u1234", str2[i]);
89 assertFalse(isOneByteString(str2));
/external/llvm/test/MC/ELF/
Dentsize.s13 .type .L.str2,@object # @.str2
14 .L.str2:
16 .size .L.str2, 7
19 .section .rodata.str2.1,"aMS",@progbits,2
Dbasic-elf-32.s12 movl $.L.str2, (%esp)
26 .type .L.str2,@object # @.str2
27 .L.str2:
29 .size .L.str2, 7
Dbasic-elf-64.s12 movl $.L.str2, %edi
26 .type .L.str2,@object # @.str2
27 .L.str2:
29 .size .L.str2, 7
/external/compiler-rt/test/dfsan/
Dcustom.cc75 char str1[] = "str1", str2[] = "str2"; in test_memcmp() local
77 dfsan_set_label(j_label, &str2[3], 1); in test_memcmp()
79 int rv = memcmp(str1, str2, sizeof(str1)); in test_memcmp()
90 char str2[sizeof(str1)]; in test_memcpy() local
93 ASSERT_ZERO_LABEL(memcpy(str2, str1, sizeof(str1))); in test_memcpy()
94 assert(0 == memcmp(str2, str1, sizeof(str1))); in test_memcpy()
95 ASSERT_ZERO_LABEL(str2[0]); in test_memcpy()
96 ASSERT_LABEL(str2[3], i_label); in test_memcpy()
112 char str1[] = "str1", str2[] = "str2"; in test_strcmp() local
114 dfsan_set_label(j_label, &str2[3], 1); in test_strcmp()
[all …]
/external/libcxx/test/std/experimental/string.view/string.view.ops/
Dto_string.pass.cpp34 auto str2 = sv1.to_string(min_allocator<CharT>()); in test() local
35 assert ( sv1.size() == str2.size ()); in test()
36 assert ( std::char_traits<CharT>::compare ( sv1.data(), str2.data(), sv1.size()) == 0 ); in test()
48 auto str2 = sv1.to_string(min_allocator<CharT>()); in test() local
49 assert ( sv1.size() == str2.size ()); in test()
/external/libxml2/include/libxml/
Dxmlstring.h65 const xmlChar *str2);
68 const xmlChar *str2,
72 const xmlChar *str2);
75 const xmlChar *str2,
79 const xmlChar *str2);
95 const xmlChar *str2,
/external/ltrace/sysdeps/linux-gnu/
Dhooks.c38 append(const char *str1, const char *str2) in append() argument
40 char *ret = malloc(strlen(str1) + strlen(str2) + 2); in append()
43 strcpy(stpcpy(ret, str1), str2); in append()
48 add_dir(struct vect *dirs, const char *str1, const char *str2) in add_dir() argument
50 char *dir = append(str1, str2); in add_dir()
55 str1, str2, strerror(errno)); in add_dir()
/external/llvm/test/MC/X86/AlignedBundling/
Drodata-section.s10 movl $.str2, 8(%esp)
27 .type .str2,@object
28 .str2: label
30 .size .str2, 7
/external/icu/icu4c/source/samples/translit/answers/
Dmain_4.cpp38 UnicodeString str, str2; in main() local
101 str2 = str; in main()
107 unaccent->transliterate(str2); in main()
109 uprintf(escape(str2)); in main()
/external/zopfli/src/zopfli/
Dzopfli_bin.c115 static char* AddStrings(const char* str1, const char* str2) { in AddStrings() argument
116 size_t len = strlen(str1) + strlen(str2); in AddStrings()
120 strcat(result, str2); in AddStrings()
124 static char StringsEqual(const char* str1, const char* str2) { in StringsEqual() argument
125 return strcmp(str1, str2) == 0; in StringsEqual()
/external/icu/icu4c/source/samples/translit/
Dmain.cpp39 UnicodeString str, str2; in main() local
103 str2 = str; in main()
109 unaccent->transliterate(str2); in main()
111 uprintf(escape(str2)); in main()
/external/llvm/test/MC/COFF/
Dsymbol-fragment-offset-64.s20 movl $.L_.str2, (%esp)
33 .align 16 # @.str2
34 .L_.str2:
Dsymbol-fragment-offset.s20 movl $L_.str2, (%esp)
33 .align 16 # @.str2
34 L_.str2:
/external/skia/tests/
DParsePathTest.cpp12 SkString str, str2; in test_to_from() local
19 SkParsePath::ToSVGString(path2, &str2); in test_to_from()
20 REPORTER_ASSERT(reporter, str == str2); in test_to_from()
25 SkDebugf("str1=%s\nstr2=%s\n", str.c_str(), str2.c_str()); in test_to_from()

123456789