Home
last modified time | relevance | path

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

12345678910>>...12

/external/pcre/dist2/src/
Dpcre2_string_utils.c66 PRIV(strcmp)(PCRE2_SPTR str1, PCRE2_SPTR str2) in PRIV()
69 while (*str1 != '\0' || *str2 != '\0') in PRIV()
72 c2 = *str2++; in PRIV()
94 PRIV(strcmp_c8)(PCRE2_SPTR str1, const char *str2) in PRIV()
97 while (*str1 != '\0' || *str2 != '\0') in PRIV()
100 c2 = *str2++; in PRIV()
121 PRIV(strncmp)(PCRE2_SPTR str1, PCRE2_SPTR str2, size_t len) in PRIV()
127 c2 = *str2++; in PRIV()
150 PRIV(strncmp_c8)(PCRE2_SPTR str1, const char *str2, size_t len) in PRIV()
156 c2 = *str2++; in PRIV()
[all …]
/external/pdfium/core/fxcrt/
Dfx_string.h190 const CFX_ByteStringC& str2) {
191 return CFX_ByteString(str1, str2);
194 const FX_CHAR* str2) {
195 return CFX_ByteString(str1, str2);
198 const CFX_ByteStringC& str2) {
199 return CFX_ByteString(str1, str2);
204 inline CFX_ByteString operator+(FX_CHAR ch, const CFX_ByteStringC& str2) {
205 return CFX_ByteString(ch, str2);
208 const CFX_ByteString& str2) {
209 return CFX_ByteString(str1.AsStringC(), str2.AsStringC());
[all …]
/external/mesa3d/src/util/tests/hash_table/
Dcollision.c38 const char *str2 = "test2"; in main() local
53 _mesa_hash_table_insert_pre_hashed(ht, bad_hash, str2, NULL); in main()
59 entry2 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str2); in main()
60 assert(entry2->key == str2); in main()
68 entry2 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str2); in main()
69 assert(entry2->key == str2); in main()
72 _mesa_hash_table_insert_pre_hashed(ht, bad_hash, str2, NULL); in main()
73 entry2 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str2); in main()
75 assert(search_entry == entry2 || search_entry->key != str2); in main()
89 entry2 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str2); in main()
[all …]
Dreplacement.c38 char *str2 = strdup("test1"); in main() local
44 assert(str1 != str2); in main()
50 _mesa_hash_table_insert(ht, str2, str2); in main()
54 assert(entry->data == str2); in main()
63 free(str2); in main()
Ddelete_and_lookup.c48 const char *str2 = "test2"; in main() local
57 _mesa_hash_table_insert(ht, str2, NULL); in main()
59 entry = _mesa_hash_table_search(ht, str2); in main()
60 assert(strcmp(entry->key, str2) == 0); in main()
70 entry = _mesa_hash_table_search(ht, str2); in main()
71 assert(strcmp(entry->key, str2) == 0); in main()
Dinsert_and_lookup.c38 const char *str2 = "test2"; in main() local
48 _mesa_hash_table_insert(ht, str2, NULL); in main()
53 entry = _mesa_hash_table_search(ht, str2); in main()
54 assert(strcmp(entry->key, str2) == 0); in main()
/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 …]
/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.c235 uprv_stricmp(const char *str1, const char *str2) { in uprv_stricmp() argument
237 if(str2==NULL) { in uprv_stricmp()
242 } else if(str2==NULL) { in uprv_stricmp()
251 c2=(unsigned char)*str2; in uprv_stricmp()
268 ++str2; in uprv_stricmp()
274 uprv_strnicmp(const char *str1, const char *str2, uint32_t n) { in uprv_strnicmp() argument
276 if(str2==NULL) { in uprv_strnicmp()
281 } else if(str2==NULL) { in uprv_strnicmp()
290 c2=(unsigned char)*str2; in uprv_strnicmp()
307 ++str2; in uprv_strnicmp()
/external/ltp/testcases/kernel/syscalls/memmap/
Dmem03.c76 char str2[] = "my test mem"; in main() local
87 write(f2, str2, strlen(str2)); in main()
104 if (strncmp(str2, mm2, strlen(str2))) in main()
129 if (strncmp(str2, mm2, strlen(str2))) in main()
/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/swiftshader/third_party/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-64.s12 movl $.L.str2, %edi
26 .type .L.str2,@object # @.str2
27 .L.str2:
29 .size .L.str2, 7
Dbasic-elf-32.s12 movl $.L.str2, (%esp)
26 .type .L.str2,@object # @.str2
27 .L.str2:
29 .size .L.str2, 7
/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/libusb/libusb/os/
Dwindows_common.h56 #define safe_strcmp(str1, str2) strcmp(((str1==NULL)?"<NULL>":str1), ((str2==NULL)?"<NULL>":str2)) argument
57 #define safe_stricmp(str1, str2) _stricmp(((str1==NULL)?"<NULL>":str1), ((str2==NULL)?"<NULL>":str2 argument
58 #define safe_strncmp(str1, str2, count) strncmp(((str1==NULL)?"<NULL>":str1), ((str2==NULL)?"<NULL>… argument
/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/llvm/test/MC/X86/AlignedBundling/
Drodata-section.s10 movl $.str2, 8(%esp)
27 .type .str2,@object
28 .str2: label
30 .size .str2, 7

12345678910>>...12