/external/pdfium/testing/tools/ |
text_diff.py | 19 str2 = f2.readlines(); 21 str1, str2, fromfile=filename1, tofile=filename2)
|
/external/tcpdump/ |
print-beep.c | 42 l_strnstart(const char *tstr1, u_int tl1, const char *str2, u_int l2) 48 return (strncmp(tstr1, str2, tl1) == 0 ? 1 : 0);
|
/external/clang/test/Sema/ |
string-plus-char.c | 11 char *str2 = str + 'c'; // expected-warning {{adding 'char' to a string pointer does not append to the string}} expected-note {{use array indexing to silence this warning}} local
|
/external/icu/icu4c/source/samples/translit/answers/ |
main_4.cpp | 38 UnicodeString str, str2; local 101 str2 = str; 107 unaccent->transliterate(str2); 109 uprintf(escape(str2));
|
main_3.cpp | 37 UnicodeString str, str2; local 97 str2 = str;
|
/external/icu/icu4c/source/samples/translit/ |
main.cpp | 39 UnicodeString str, str2; local 103 str2 = str; 109 unaccent->transliterate(str2); 111 uprintf(escape(str2));
|
/external/libxml2/ |
xmlstring.c | 124 * @str2: the second xmlChar * 132 xmlStrcmp(const xmlChar *str1, const xmlChar *str2) { 135 if (str1 == str2) return(0); 137 if (str2 == NULL) return(1); 139 tmp = *str1++ - *str2; 141 } while (*str2++ != 0); 148 * @str2: the second xmlChar * 157 xmlStrEqual(const xmlChar *str1, const xmlChar *str2) { 158 if (str1 == str2) return(1); 160 if (str2 == NULL) return(0) [all...] |
/external/pdfium/core/include/fxcrt/ |
fx_string.h | 419 inline CFX_ByteString operator + (FX_BSTR str1, FX_BSTR str2) 421 return CFX_ByteString(str1, str2); 423 inline CFX_ByteString operator + (FX_BSTR str1, FX_LPCSTR str2) 425 return CFX_ByteString(str1, str2); 427 inline CFX_ByteString operator + (FX_LPCSTR str1, FX_BSTR str2) 429 return CFX_ByteString(str1, str2); 435 inline CFX_ByteString operator + (FX_CHAR ch, FX_BSTR str2) 437 return CFX_ByteString(ch, str2); 439 inline CFX_ByteString operator + (const CFX_ByteString& str1, const CFX_ByteString& str2) 441 return CFX_ByteString(str1, str2); [all...] |
/external/icu/icu4c/source/common/ |
cstring.c | 233 uprv_stricmp(const char *str1, const char *str2) { 235 if(str2==NULL) { 240 } else if(str2==NULL) { 249 c2=(unsigned char)*str2; 266 ++str2; 272 uprv_strnicmp(const char *str1, const char *str2, uint32_t n) { 274 if(str2==NULL) { 279 } else if(str2==NULL) { 288 c2=(unsigned char)*str2; 305 ++str2; [all...] |
unistr_case.cpp | 172 const UnicodeString *str2 = (const UnicodeString*) key2.pointer; local 173 if (str1 == str2) { 176 if (str1 == NULL || str2 == NULL) { 179 return str1->caseCompare(*str2, U_FOLD_CASE_DEFAULT) == 0;
|
/external/ltrace/sysdeps/linux-gnu/ |
hooks.c | 38 append(const char *str1, const char *str2) 40 char *ret = malloc(strlen(str1) + strlen(str2) + 2); 43 strcpy(stpcpy(ret, str1), str2); 48 add_dir(struct vect *dirs, const char *str1, const char *str2) 50 char *dir = append(str1, str2); 55 str1, str2, strerror(errno));
|
/external/skia/gm/ |
morphology.cpp | 36 const char* str2 = "XYZ"; local 40 canvas.drawText(str2, strlen(str2), 10, 110, paint);
|
/external/valgrind/memcheck/tests/ |
leak_cpp_interior.cpp | 90 std::string str2; variable 104 str2 = str; 121 str2 += " rocks (str2)\n"; // interior ptr.
|
/ndk/tests/device/test-gnustl-full/unit/ |
string_test.cpp | 256 string const ref_short_str1("str1"), ref_short_str2("str2"); 513 string str2("2345"); 514 str0.insert(str0.size(), str2, 1, 2); 867 static string str2; local 872 str2 = "1234567890123456789012345678901234567890"; 875 CPPUNIT_ASSERT(str2[29] == '0'); 907 string str2; local 909 str2 = "abcdef"; 910 CPPUNIT_ASSERT( str1.compare(str2) == 0 ); 911 str2 = "abcde" [all...] |
/ndk/tests/device/test-stlport/unit/ |
string_test.cpp | 256 string const ref_short_str1("str1"), ref_short_str2("str2"); 513 string str2("2345"); 514 str0.insert(str0.size(), str2, 1, 2); 867 static string str2; local 872 str2 = "1234567890123456789012345678901234567890"; 875 CPPUNIT_ASSERT(str2[29] == '0'); 907 string str2; local 909 str2 = "abcdef"; 910 CPPUNIT_ASSERT( str1.compare(str2) == 0 ); 911 str2 = "abcde" [all...] |
/external/clang/test/FixIt/ |
typo.cpp | 26 tring str2; // expected-error{{unknown type name 'tring'; did you mean 'string'?}} variable 91 nonstd::wide_string<char> str2; // expected-error{{no template named 'wide_string' in namespace 'nonstd'; did you mean 'another::wide_string'?}} local
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
OldAttributesNameTest.java | 55 String str2 = "Attr2"; local 60 assertTrue(attr2.toString().equals(str2));
|
/bionic/libc/arch-mips/string/ |
mips_strlen.c | 138 char str2[] = "DHRYSTONE PROGRAM, 2'ST STRING"; variable 187 P (str2, 0); 188 P (str2, 1); 189 P (str2, 2); 190 P (str2, 3);
|
/external/zopfli/src/zopfli/ |
zopfli_bin.c | 115 static char* AddStrings(const char* str1, const char* str2) { 116 size_t len = strlen(str1) + strlen(str2); 120 strcat(result, str2); 124 static char StringsEqual(const char* str1, const char* str2) { 125 return strcmp(str1, str2) == 0;
|
/external/compiler-rt/test/dfsan/ |
custom.cc | 75 char str1[] = "str1", str2[] = "str2"; local 77 dfsan_set_label(j_label, &str2[3], 1); 79 int rv = memcmp(str1, str2, sizeof(str1)); 90 char str2[sizeof(str1)]; 93 ASSERT_ZERO_LABEL(memcpy(str2, str1, sizeof(str1))); 94 assert(0 == memcmp(str2, str1, sizeof(str1))); 95 ASSERT_ZERO_LABEL(str2[0]); 96 ASSERT_LABEL(str2[3], i_label); 112 char str1[] = "str1", str2[] = "str2" [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldPushbackInputStreamTest.java | 203 String str2 = "0123456789"; local 204 byte[] buf2 = str2.getBytes(); 217 assertEquals("Incorrect bytes read", str2, new String(readBuf)); 243 String str2 = "0123456789"; local 244 byte[] buf2 = (str2 + str2 + str2).getBytes();
|
OldPushbackReaderTest.java | 247 String str2 = "0123456789"; local 248 char[] buf2 = str2.toCharArray(); 260 assertEquals("Incorrect bytes read", str2, new String(readBuf)); 307 String str2 = "0123456789"; local 308 char[] buf2 = (str2 + str2 + str2).toCharArray();
|
/external/v8/test/mjsunit/ |
string-externalize.js | 76 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/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_libc_test.cc | 77 const char *str2 = "zxcv"; local 78 uptr len2 = internal_strlen(str2); 85 EXPECT_EQ(len2, internal_write(fd, str2, len2)); 116 EXPECT_EQ(0, internal_memcmp(buf, str2, len2));
|
/cts/suite/audio_quality/test/ |
StringUtilTest.cpp | 65 android::String8 str2("::::"); 66 std::vector<android::String8>* tokens2 = StringUtil::split(str2, ':');
|