/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
D | StringOperators.h | 32 StringAppend(StringType1 string1, StringType2 string2); 52 StringAppend<StringType1, StringType2>::StringAppend(StringType1 string1, StringType2 string2) in StringAppend() argument 53 : m_string1(string1) in StringAppend() 124 inline StringAppend<const char*, String> operator+(const char* string1, const String& string2) 126 return StringAppend<const char*, String>(string1, string2); 129 inline StringAppend<const char*, AtomicString> operator+(const char* string1, const AtomicString& s… 131 return StringAppend<const char*, AtomicString>(string1, string2); 135 inline StringAppend<const char*, StringAppend<U, V> > operator+(const char* string1, const StringAp… 137 return StringAppend<const char*, StringAppend<U, V> >(string1, string2); 140 inline StringAppend<const UChar*, String> operator+(const UChar* string1, const String& string2) [all …]
|
D | StringImpl.h | 685 static inline int codePointCompare8(const StringImpl* string1, const StringImpl* string2) in codePointCompare8() argument 687 …return codePointCompare(string1->length(), string2->length(), string1->characters8(), string2->cha… in codePointCompare8() 690 static inline int codePointCompare16(const StringImpl* string1, const StringImpl* string2) in codePointCompare16() argument 692 …return codePointCompare(string1->length(), string2->length(), string1->characters16(), string2->ch… in codePointCompare16() 695 static inline int codePointCompare8To16(const StringImpl* string1, const StringImpl* string2) in codePointCompare8To16() argument 697 …return codePointCompare(string1->length(), string2->length(), string1->characters8(), string2->cha… in codePointCompare8To16() 700 static inline int codePointCompare(const StringImpl* string1, const StringImpl* string2) in codePointCompare() argument 702 if (!string1) in codePointCompare() 706 return string1->length() ? 1 : 0; in codePointCompare() 708 bool string1Is8Bit = string1->is8Bit(); in codePointCompare() [all …]
|
D | StringBuilderTest.cpp | 135 String string1 = builder.toString(); in TEST() local 136 ASSERT_EQ(String("0123456789abcdefghijklmnopqrstuvwxyzABC"), string1); in TEST() 137 string1.append("DEF"); in TEST() 139 ASSERT_EQ(String("0123456789abcdefghijklmnopqrstuvwxyzABCDEF"), string1); in TEST() 142 string1 = builder.toString(); in TEST() 145 ASSERT_EQ(String("0123456789abcdefghijklmnopqrstuvwxyzABC"), string1); in TEST()
|
/external/chromium_org/ipc/ |
D | ipc_sync_message_unittest.cc | 181 std::string string1; in TEST() local 190 Send(new Msg_C_0_3(&bool1, &int1, &string1)); in TEST() 193 DCHECK_EQ("0_3", string1); in TEST() 205 Send(new Msg_C_1_3(3, &string1, &int1, &bool1)); in TEST() 206 DCHECK_EQ("1_3", string1); in TEST() 220 Send(new Msg_C_2_3(3, true, &string1, &int1, &bool1)); in TEST() 221 DCHECK_EQ("2_3", string1); in TEST() 235 Send(new Msg_C_3_3(3, "3_3", true, &string1, &int1, &bool1)); in TEST() 236 DCHECK_EQ("3_3", string1); in TEST() 242 Send(new Msg_C_3_4(true, 3, "3_4", &int1, &bool1, &string1, &bool2)); in TEST() [all …]
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
D | levenshtein.c | 41 int levenshtein(const char *string1, const char *string2, in levenshtein() argument 44 int len1 = strlen(string1), len2 = strlen(string2); in levenshtein() 58 row2[j + 1] = row1[j] + s * (string1[i] != string2[j]); in levenshtein() 60 if (i > 0 && j > 0 && string1[i - 1] == string2[j] && in levenshtein() 61 string1[i] == string2[j - 1] && in levenshtein()
|
D | levenshtein.h | 4 int levenshtein(const char *string1, const char *string2,
|
/external/chromium_org/base/strings/ |
D | string_util_posix.h | 23 inline int strcasecmp(const char* string1, const char* string2) { in strcasecmp() argument 24 return ::strcasecmp(string1, string2); in strcasecmp() 27 inline int strncasecmp(const char* string1, const char* string2, size_t count) { in strncasecmp() argument 28 return ::strncasecmp(string1, string2, count); in strncasecmp()
|
/external/valgrind/main/none/tests/darwin/ |
D | access_extended.c | 21 char* string1 = (char*)&entries[3]; in main() local 22 char* string2 = string1 + strlen(name1) + 1; in main() 26 entries[0].ad_name_offset = string1 - (char*)entries; in main() 32 strcpy(string1, name1); in main()
|
/external/chromium_org/base/files/ |
D | file_path.h | 389 static int CompareIgnoreCase(const StringType& string1, 391 static bool CompareEqualIgnoreCase(const StringType& string1, in CompareEqualIgnoreCase() argument 393 return CompareIgnoreCase(string1, string2) == 0; in CompareEqualIgnoreCase() 395 static bool CompareLessIgnoreCase(const StringType& string1, in CompareLessIgnoreCase() argument 397 return CompareIgnoreCase(string1, string2) < 0; in CompareLessIgnoreCase() 412 static int HFSFastUnicodeCompare(const StringType& string1,
|
D | file_path.cc | 685 int FilePath::CompareIgnoreCase(const StringType& string1, in CompareIgnoreCase() argument 690 StringType::const_iterator i1 = string1.begin(); in CompareIgnoreCase() 692 StringType::const_iterator string1end = string1.end(); in CompareIgnoreCase() 1161 int FilePath::HFSFastUnicodeCompare(const StringType& string1, in HFSFastUnicodeCompare() argument 1163 int length1 = string1.length(); in HFSFastUnicodeCompare() 1169 int codepoint1 = HFSReadNextNonIgnorableCodepoint(string1.c_str(), in HFSFastUnicodeCompare() 1218 int FilePath::CompareIgnoreCase(const StringType& string1, in CompareIgnoreCase() argument 1222 if (string1.empty()) in CompareIgnoreCase() 1227 StringType hfs1 = GetHFSDecomposedForm(string1); in CompareIgnoreCase() 1236 reinterpret_cast<const UInt8*>(string1.c_str()), in CompareIgnoreCase() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
D | XSLTUnicodeSort.cpp | 158 Vector<UChar> string1; in xsltUnicodeSortFunction() local 160 … String::fromUTF8(reinterpret_cast<const char*>(results[j]->stringval)).appendTo(string1); in xsltUnicodeSortFunction() 162 … tst = collator.collate(string1.data(), string1.size(), string2.data(), string2.size()); in xsltUnicodeSortFunction() 208 Vector<UChar> string1; in xsltUnicodeSortFunction() local 210 … String::fromUTF8(reinterpret_cast<const char*>(res[j]->stringval)).appendTo(string1); in xsltUnicodeSortFunction() 212 … tst = collator.collate(string1.data(), string1.size(), string2.data(), string2.size()); in xsltUnicodeSortFunction()
|
/external/valgrind/main/none/tests/s390x/ |
D | clst.c | 17 register const char *string1 asm ("2") = __string1; in do_clst() 22 :"+d" (string1), "+d" (string2) :"d" (end): "cc"); in do_clst() 24 return (clst_t) { .str1 = string1, .str2 = string2, .cc = get_cc() }; in do_clst()
|
/external/clang/test/Analysis/ |
D | analyzeOneFunction.m | 41 …NSString *string1 = [[NSString alloc] initWithFormat:@"test %f", 0.0]; // No warning: this functio… 42 cell.text = string1; 50 …NSString *string1 = [[NSString alloc] initWithFormat:@"test %f %d", 0.0, X+Y]; // expected-warning… 51 cell.text = string1;
|
D | objc-subscript.m | 31 NSObject *string1 = [[NSObject alloc] init]; // expected-warning {{Potential leak}} 32 cell[0] = string1; 33 cell[self] = string1; 34 cell[string1] = self;
|
/external/chromium_org/base/ios/ |
D | device_util_unittest.mm | 102 std::string string1("The quick brown fox jumps over the lazy dog"); 106 EXPECT_EQ(ios::device_util::GetSaltedString(string1, salt), 111 std::string string1("The quick brown fox jumps over the lazy dog"); 115 EXPECT_NE(ios::device_util::GetSaltedString(string1, salt), 120 std::string string1("The quick brown fox jumps over the lazy dog"); 124 EXPECT_NE(ios::device_util::GetSaltedString(string1, salt1), 125 ios::device_util::GetSaltedString(string1, salt2));
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/rdf/tests/ |
D | testlib.asm | 9 push dword string1 17 string1: db 'abc',0 ; try changing these strings and see define
|
/external/srec/portable/src/ |
D | LCHAR.c | 237 ESR_ReturnCode lstrcasecmp(const LCHAR *string1, const LCHAR *string2, int *result) in lstrcasecmp() argument 240 if (!string1 || !string2) in lstrcasecmp() 243 while (LTOUPPER(*string1) == LTOUPPER(*string2++)) in lstrcasecmp() 245 if (!*string1++) in lstrcasecmp() 252 *result = LTOUPPER(*string1) - LTOUPPER(*--string2); in lstrcasecmp()
|
/external/chromium_org/third_party/icu/source/samples/legacy/ |
D | newcol.cpp | 42 int compare_current(const void *string1, const void *string2) { in compare_current() argument 44 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_current()
|
D | oldcol.cpp | 43 int compare_legacy(const void *string1, const void *string2) { in compare_legacy() argument 45 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_legacy()
|
/external/icu/icu4c/source/samples/legacy/ |
D | newcol.cpp | 42 int compare_current(const void *string1, const void *string2) { in compare_current() argument 44 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_current()
|
D | oldcol.cpp | 43 int compare_legacy(const void *string1, const void *string2) { in compare_legacy() argument 45 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_legacy()
|
/external/llvm/test/MC/Mips/ |
D | sym-offset.ll | 7 @string1 = internal global [11 x i8] c"aaaaaaaaaa\00", align 1 20 …%call = tail call i32 @memcmp(i8* getelementptr inbounds ([11 x i8]* @string1, i32 0, i32 0), i8* …
|
/external/chromium_org/v8/src/ |
D | ast-value-factory.cc | 120 AstRawString* string1 = reinterpret_cast<AstRawString*>(a); in Compare() local 122 if (string1->is_one_byte_ != string2->is_one_byte_) return false; in Compare() 123 if (string1->hash_ != string2->hash_) return false; in Compare() 124 int length = string1->literal_bytes_.length(); in Compare() 126 return memcmp(string1->literal_bytes_.start(), in Compare()
|
/external/chromium_org/chrome/browser/ui/cocoa/infobars/ |
D | translate_message_infobar_controller.mm | 41 NSString* string1 = base::SysUTF16ToNSString(messageText); 42 [label1_ setStringValue:string1];
|
/external/chromium_org/content/browser/battery_status/ |
D | battery_status_manager_mac.cc | 51 bool CFStringsAreEqual(CFStringRef string1, CFStringRef string2) { in CFStringsAreEqual() argument 52 if (!string1 || !string2) in CFStringsAreEqual() 54 return CFStringCompare(string1, string2, 0) == kCFCompareEqualTo; in CFStringsAreEqual()
|