Home
last modified time | relevance | path

Searched refs:str1 (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/external/stlport/test/unit/
Dcollate_facets_test.cpp22 char const str1[] = "abcdef1"; in collate_facet() local
24 const size_t size1 = sizeof(str1) / sizeof(str1[0]) - 1; in collate_facet()
27 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); in collate_facet()
28 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); in collate_facet()
31 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); in collate_facet()
32 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); in collate_facet()
42 char const str1[] = "abcdef1"; in collate_facet() local
44 const size_t size1 = sizeof(str1) / sizeof(str1[0]) - 1; in collate_facet()
47 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); in collate_facet()
48 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); in collate_facet()
[all …]
Dstring_test.cpp266 string str1(short_str1); in short_string() local
267 str1 = long_str1; in short_string()
268 CPPUNIT_ASSERT(str1 == ref_long_str1); in short_string()
272 string str1(long_str1); in short_string() local
273 str1 = short_str1; in short_string()
274 CPPUNIT_ASSERT(str1 == ref_short_str1); in short_string()
503 string str1; in insert() local
506 str1.insert(pos, nb, '1'); in insert()
508 CPPUNIT_ASSERT( str1 == "11" ); in insert()
510 str0.insert(0, str1); in insert()
[all …]
/external/elfutils/0.153/libcpu/
Di386_dis.h140 …{ .mnemonic = MNE_aaa, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1…
141 …{ .mnemonic = MNE_aad, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1…
142 …{ .mnemonic = MNE_aam, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1…
143 …{ .mnemonic = MNE_aas, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1…
144 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_…
145 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 15, .str1 = 0, .off1_…
146 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 18, .str1 = 0, .off1_…
147 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 26, .str1 = 0, .off1_…
148 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 24, .str1 = 0, .off1_…
149 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_…
[all …]
Dx86_64_dis.h141 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_…
142 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 15, .str1 = 0, .off1_…
143 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 19, .str1 = 0, .off1_…
144 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 27, .str1 = 0, .off1_…
145 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 25, .str1 = 0, .off1_…
146 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_…
147 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 15, .str1 = 0, .off1_…
148 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 19, .str1 = 0, .off1_…
149 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 27, .str1 = 0, .off1_…
150 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 25, .str1 = 0, .off1_…
[all …]
/external/compiler-rt/test/dfsan/
Dcustom.c75 char str1[] = "str1", str2[] = "str2"; in test_memcmp() local
76 dfsan_set_label(i_label, &str1[3], 1); in test_memcmp()
79 int rv = memcmp(str1, str2, sizeof(str1)); in test_memcmp()
89 char str1[] = "str1"; in test_memcpy() local
90 char str2[sizeof(str1)]; in test_memcpy()
91 dfsan_set_label(i_label, &str1[3], 1); in test_memcpy()
93 ASSERT_ZERO_LABEL(memcpy(str2, str1, sizeof(str1))); in test_memcpy()
94 assert(0 == memcmp(str2, str1, sizeof(str1))); in test_memcpy()
112 char str1[] = "str1", str2[] = "str2"; in test_strcmp() local
113 dfsan_set_label(i_label, &str1[3], 1); in test_strcmp()
[all …]
/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()
75 c1 = *str1++; 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()
94 c1 = UCHAR21INC(str1); in PRIV()
106 PRIV(strcmp_uc_c8)(const pcre_uchar *str1, const char *str2) in PRIV()
112 while (*str1 != '\0' || *ustr2 != '\0') in PRIV()
114 c1 = *str1++; in PRIV()
126 PRIV(strcmp_uc_c8_utf)(const pcre_uchar *str1, const char *str2) in PRIV()
[all …]
/external/openssl/crypto/
Do_str.c69 int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n) in OPENSSL_strncasecmp() argument
72 while (*str1 && *str2 && n) in OPENSSL_strncasecmp()
74 int res = toupper(*str1) - toupper(*str2); in OPENSSL_strncasecmp()
76 str1++; in OPENSSL_strncasecmp()
82 if (*str1) in OPENSSL_strncasecmp()
91 return strncasecmp(str1, str2, n); in OPENSSL_strncasecmp()
94 int OPENSSL_strcasecmp(const char *str1, const char *str2) in OPENSSL_strcasecmp() argument
97 return OPENSSL_strncasecmp(str1, str2, (size_t)-1); in OPENSSL_strcasecmp()
99 return strcasecmp(str1, str2); in OPENSSL_strcasecmp()
/external/chromium_org/third_party/smhasher/src/
Dpstdint.h768 char str0[256], str1[256]; in main() local
772 sprintf (str1, "%d %x\n", i8, ~0); in main()
773 if (0 != strcmp (str0, str1)) printf ("Something wrong with i8 : %s\n", str1); in main()
774 sprintf (str1, "%u %x\n", u8, ~0); in main()
775 if (0 != strcmp (str0, str1)) printf ("Something wrong with u8 : %s\n", str1); in main()
776 sprintf (str1, "%d %x\n", i16, ~0); in main()
777 if (0 != strcmp (str0, str1)) printf ("Something wrong with i16 : %s\n", str1); in main()
778 sprintf (str1, "%u %x\n", u16, ~0); in main()
779 if (0 != strcmp (str0, str1)) printf ("Something wrong with u16 : %s\n", str1); in main()
780 sprintf (str1, "%" PRINTF_INT32_MODIFIER "d %x\n", i32, ~0); in main()
[all …]
/external/llvm/test/Transforms/InstCombine/
Dstrncmp-1.ll21 %str1 = getelementptr inbounds [1 x i8]* @null, i32 0, i32 0
22 %temp1 = call i32 @strncmp(i8* %str1, i8* %str2, i32 10)
27 define i32 @test2(i8* %str1) {
29 ; CHECK: %strcmpload = load i8* %str1
34 %temp1 = call i32 @strncmp(i8* %str1, i8* %str2, i32 10)
43 %str1 = getelementptr inbounds [5 x i8]* @hell, i32 0, i32 0
45 %temp1 = call i32 @strncmp(i8* %str1, i8* %str2, i32 10)
53 %str1 = getelementptr inbounds [5 x i8]* @hell, i32 0, i32 0
55 %temp1 = call i32 @strncmp(i8* %str1, i8* %str2, i32 10)
63 %str1 = getelementptr inbounds [5 x i8]* @hell, i32 0, i32 0
[all …]
Dstrcmp-1.ll21 %str1 = getelementptr inbounds [1 x i8]* @null, i32 0, i32 0
22 %temp1 = call i32 @strcmp(i8* %str1, i8* %str2)
28 define i32 @test2(i8* %str1) {
35 %temp1 = call i32 @strcmp(i8* %str1, i8* %str2)
44 %str1 = getelementptr inbounds [5 x i8]* @hell, i32 0, i32 0
46 %temp1 = call i32 @strcmp(i8* %str1, i8* %str2)
54 %str1 = getelementptr inbounds [5 x i8]* @hell, i32 0, i32 0
56 %temp1 = call i32 @strcmp(i8* %str1, i8* %str2)
67 %str1 = getelementptr inbounds [6 x i8]* @hello, i32 0, i32 0
71 %temp3 = call i32 @strcmp(i8* %str1, i8* %str2)
/external/libxml2/
Dxmlstring.c132 xmlStrcmp(const xmlChar *str1, const xmlChar *str2) { in xmlStrcmp() argument
135 if (str1 == str2) return(0); in xmlStrcmp()
136 if (str1 == NULL) return(-1); in xmlStrcmp()
139 tmp = *str1++ - *str2; in xmlStrcmp()
157 xmlStrEqual(const xmlChar *str1, const xmlChar *str2) { in xmlStrEqual() argument
158 if (str1 == str2) return(1); in xmlStrEqual()
159 if (str1 == NULL) return(0); in xmlStrEqual()
162 if (*str1++ != *str2) return(0); in xmlStrEqual()
206 xmlStrncmp(const xmlChar *str1, const xmlChar *str2, int len) { in xmlStrncmp() argument
210 if (str1 == str2) return(0); in xmlStrncmp()
[all …]
/external/chromium_org/third_party/libxml/src/
Dxmlstring.c132 xmlStrcmp(const xmlChar *str1, const xmlChar *str2) { in xmlStrcmp() argument
135 if (str1 == str2) return(0); in xmlStrcmp()
136 if (str1 == NULL) return(-1); in xmlStrcmp()
139 tmp = *str1++ - *str2; in xmlStrcmp()
157 xmlStrEqual(const xmlChar *str1, const xmlChar *str2) { in xmlStrEqual() argument
158 if (str1 == str2) return(1); in xmlStrEqual()
159 if (str1 == NULL) return(0); in xmlStrEqual()
162 if (*str1++ != *str2) return(0); in xmlStrEqual()
206 xmlStrncmp(const xmlChar *str1, const xmlChar *str2, int len) { in xmlStrncmp() argument
210 if (str1 == str2) return(0); in xmlStrncmp()
[all …]
/external/chromium_org/v8/test/mjsunit/
Dstring-externalize.js55 var str1 = str + twoByteExternalWithOneByteData;
56 assertTrue(isOneByteString(str1));
59 var old_length = str1.length - twoByteExternalWithOneByteData.length;
61 assertEquals(String.fromCharCode(i & 0x7f), str1[i]);
63 for (var i = old_length; i < str1.length; i++) {
64 assertEquals("A", str1[i]);
68 assertTrue(isOneByteString(str1));
71 assertTrue(isOneByteString(str1.toLowerCase()));
/external/pdfium/core/include/fxcrt/
Dfx_string.h362 inline CFX_ByteString operator + (FX_BSTR str1, FX_BSTR str2)
364 return CFX_ByteString(str1, str2);
366 inline CFX_ByteString operator + (FX_BSTR str1, FX_LPCSTR str2)
368 return CFX_ByteString(str1, str2);
370 inline CFX_ByteString operator + (FX_LPCSTR str1, FX_BSTR str2)
372 return CFX_ByteString(str1, str2);
374 inline CFX_ByteString operator + (FX_BSTR str1, FX_CHAR ch)
376 return CFX_ByteString(str1, CFX_ByteStringC(ch));
382 inline CFX_ByteString operator + (const CFX_ByteString& str1, const CFX_ByteString& str2)
384 return CFX_ByteString(str1, str2);
[all …]
/external/llvm/test/CodeGen/X86/
Dswitch-crit-edge-constant.ll4 ; CHECK: {{mov.*str1}}
5 ; CHECK-NOT: {{mov.*str1}}
9 @str1 = internal constant [5 x i8] c"bonk\00" ; <[5 x i8]*> [#uses=1]
37str1, i32 0, i64 0), %entry ], [ getelementptr ([5 x i8]* @str1, i32 0, i64 0), %entry ], [ getele…
/external/valgrind/main/none/tests/s390x/
Dclst.stdout.exp2 str1 = 123
7 str1 = 234
12 str1 = equal
17 str1 =
22 str1 = long
27 str1 = lower1
Dclst.c8 const char *str1; 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/srec/seti/setiUtils/src/
Dplatform_utils.c93 int stricmp(const char *str1, const char *str2) in stricmp() argument
95 if(str1 == NULL || str2 == NULL){ in stricmp()
102 for (; *str1 != '\0' && *str2 != '\0' && tolower(*str1) == tolower(*str2); in stricmp()
103 str1++, str2++) in stricmp()
105 if (*str1 == '\0') in stricmp()
110 return tolower(*str1) < tolower(*str2)? -1 : 1; in stricmp()
/external/llvm/test/MC/ELF/
Dbasic-elf-64.s10 movl $.L.str1, %edi
20 .type .L.str1,@object # @.str1
21 .section .rodata.str1.1,"aMS",@progbits,1
22 .L.str1:
24 .size .L.str1, 6
Dbasic-elf-32.s10 movl $.L.str1, (%esp)
20 .type .L.str1,@object # @.str1
21 .section .rodata.str1.1,"aMS",@progbits,1
22 .L.str1:
24 .size .L.str1, 6
Dentsize.s6 .section .rodata.str1.1,"aMS",@progbits,1
8 .type .L.str1,@object # @.str1
9 .L.str1:
11 .size .L.str1, 6
/external/llvm/test/MC/Mips/
Delf-relsym.s51 lw $2, %got($.str1)($1)
52 addiu $2, $2, %lo($.str1)
76 .section .rodata.str1.1,"aMS",@progbits,1
81 .type $.str1,@object # @.str1
82 $.str1:
84 .size $.str1, 5
/external/chromium_org/third_party/libusb/src/libusb/os/
Dwindows_common.h48 #define safe_strcmp(str1, str2) strcmp(((str1==NULL)?"<NULL>":str1), ((str2==NULL)?"<NULL>":str2)) argument
49 #define safe_stricmp(str1, str2) _stricmp(((str1==NULL)?"<NULL>":str1), ((str2==NULL)?"<NULL>":str2… argument
50 #define safe_strncmp(str1, str2, count) strncmp(((str1==NULL)?"<NULL>":str1), ((str2==NULL)?"<NULL>… argument
/external/chromium_org/third_party/icu/source/common/
Dcstring.c233 uprv_stricmp(const char *str1, const char *str2) { in uprv_stricmp() argument
234 if(str1==NULL) { in uprv_stricmp()
248 c1=(unsigned char)*str1; in uprv_stricmp()
265 ++str1; in uprv_stricmp()
272 uprv_strnicmp(const char *str1, const char *str2, uint32_t n) { in uprv_strnicmp() argument
273 if(str1==NULL) { in uprv_strnicmp()
287 c1=(unsigned char)*str1; in uprv_strnicmp()
304 ++str1; in uprv_strnicmp()
/external/icu/icu4c/source/common/
Dcstring.c233 uprv_stricmp(const char *str1, const char *str2) { in uprv_stricmp() argument
234 if(str1==NULL) { in uprv_stricmp()
248 c1=(unsigned char)*str1; in uprv_stricmp()
265 ++str1; in uprv_stricmp()
272 uprv_strnicmp(const char *str1, const char *str2, uint32_t n) { in uprv_strnicmp() argument
273 if(str1==NULL) { in uprv_strnicmp()
287 c1=(unsigned char)*str1; in uprv_strnicmp()
304 ++str1; in uprv_strnicmp()

12345678910>>...12