Home
last modified time | relevance | path

Searched refs:string1 (Results 1 – 25 of 41) sorted by relevance

12

/third_party/libcoap/include/coap3/
Dcoap_str.h189 #define coap_string_equal(string1,string2) \ argument
190 ((string1)->length == (string2)->length && ((string1)->length == 0 || \
191 ((string1)->s && (string2)->s && \
192 … memcmp((string1)->s, (string2)->s, (string1)->length) == 0)))
/third_party/alsa-lib/src/ucm/
Ducm_cond.c43 const char *string1 = NULL, *string2 = NULL; in if_eval_string() local
48 err = get_string(eval, "Empty", &string1); in if_eval_string()
54 if (string1) { in if_eval_string()
55 err = uc_mgr_get_substituted_value(uc_mgr, &s1, string1); in if_eval_string()
64 err = get_string(eval, "String1", &string1); in if_eval_string()
76 if (string1 || string2) { in if_eval_string()
77 if (string1 == NULL) { in if_eval_string()
85 err = uc_mgr_get_substituted_value(uc_mgr, &s1, string1); in if_eval_string()
99 err = get_string(eval, "Haystack", &string1); in if_eval_string()
111 if (string1 || string2) { in if_eval_string()
[all …]
/third_party/musl/porting/linux/user/src/string/
Dstrcspn.c5 size_t strcspn(const char *string1, const char *string2) in strcspn() argument
10 for (a = string1;;) { in strcspn()
15 return (a - 1 - string1); in strcspn()
/third_party/musl/src/string/
Dstrcspn.c5 size_t strcspn(const char *string1, const char *string2) in strcspn() argument
10 for (a = string1;;) { in strcspn()
15 return (a - 1 - string1); in strcspn()
/third_party/python/Doc/includes/sqlite3/
Dcollation_reverse.py3 def collate_reverse(string1, string2): argument
4 if string1 == string2:
6 elif string1 < string2:
/third_party/curl/tests/unit/
Dunit1611.c41 const char string1[] = "1"; variable
46 Curl_md4it(output, (const unsigned char *) string1, strlen(string1));
Dunit1601.c43 const char string1[] = "1"; variable
48 Curl_md5it(output, (const unsigned char *) string1, strlen(string1));
Dunit1610.c45 const char string1[] = "1"; variable
50 Curl_sha256it(output, (const unsigned char *) string1, strlen(string1));
Dunit1612.c45 const char string1[] = "1"; variable
52 (const unsigned char *) string1, strlen(string1),
/third_party/jerryscript/tests/unit-core/
Dtest-context-data.cpp34 const char *string1 = "item1"; variable
40 *((const char **) user_data_p) = string1; in test_context_data1_new()
47 TEST_ASSERT ((*(const char **) user_data_p) == string1); in test_context_data1_free()
56 TEST_ASSERT ((*(const char **) user_data_p) == string1); in test_context_data1_finalize()
/third_party/skia/third_party/externals/icu/source/samples/legacy/
Dnewcol.cpp48 int compare_current(const void *string1, const void *string2) { in compare_current() argument
50 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_current()
Doldcol.cpp49 int compare_legacy(const void *string1, const void *string2) { in compare_legacy() argument
51 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_legacy()
/third_party/icu/icu4c/source/samples/legacy/
Dnewcol.cpp48 int compare_current(const void *string1, const void *string2) { in compare_current() argument
50 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_current()
Doldcol.cpp49 int compare_legacy(const void *string1, const void *string2) { in compare_legacy() argument
51 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_legacy()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationKanaTest.java187 String string1 = new String(tmp1); in TestCommonCharacters() local
193 result = rb.compare(string1, string2); in TestCommonCharacters()
195 key1 = rb.getCollationKey(string1); in TestCommonCharacters()
DCollationCreationMethodTest.java114 private void report(String localeName, String string1, CollationKey k1, CollationKey k2) in report() argument
119 …("With ").append(localeName).append(" collator\n and input string: ").append(string1).append('\n'); in report()
DCollationThaiTest.java310 public int compare(String string1, String string2) in compare() argument
312 return collator.compare(string1, string2); in compare()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DCollationKanaTest.java190 String string1 = new String(tmp1); in TestCommonCharacters() local
196 result = rb.compare(string1, string2); in TestCommonCharacters()
198 key1 = rb.getCollationKey(string1); in TestCommonCharacters()
DCollationCreationMethodTest.java117 private void report(String localeName, String string1, CollationKey k1, CollationKey k2) in report() argument
122 …("With ").append(localeName).append(" collator\n and input string: ").append(string1).append('\n'); in report()
DCollationThaiTest.java313 public int compare(String string1, String string2) in compare() argument
315 return collator.compare(string1, string2); in compare()
/third_party/cJSON/
DcJSON_Utils.c83 static int compare_strings(const unsigned char *string1, const unsigned char *string2, const cJSON_… in compare_strings() argument
85 if ((string1 == NULL) || (string2 == NULL)) in compare_strings()
90 if (string1 == string2) in compare_strings()
97 return strcmp((const char*)string1, (const char*)string2); in compare_strings()
100 for(; tolower(*string1) == tolower(*string2); (void)string1++, string2++) in compare_strings()
102 if (*string1 == '\0') in compare_strings()
108 return tolower(*string1) - tolower(*string2); in compare_strings()
/third_party/node/deps/v8/src/objects/
Dintl-objects.cc967 Isolate* isolate, Handle<String> string1, Handle<String> string2, in StringLocaleCompare() argument
986 return Intl::CompareStrings(isolate, *cached_icu_collator, string1, in StringLocaleCompare()
1006 return Intl::CompareStrings(isolate, *icu_collator, string1, string2, in StringLocaleCompare()
1335 Isolate* isolate, const icu::Collator& icu_collator, Handle<String> string1, in TryFastCompareStrings() argument
1341 DCHECK(string1->IsFlat()); in TryFastCompareStrings()
1352 DCHECK(!SharedStringAccessGuardIfNeeded::IsNeeded(*string1)); in TryFastCompareStrings()
1355 const int length1 = string1->length(); in TryFastCompareStrings()
1361 const String::FlatContent& flat1 = string1->GetFlatContent(no_gc); in TryFastCompareStrings()
1413 Handle<String> string1, Handle<String> string2, in CompareStrings() argument
1416 if (string1.is_identical_to(string2)) { in CompareStrings()
[all …]
/third_party/glslang/Test/
Dhlsl.string.frag1 string s = "string1";
/third_party/gn/src/gn/
Doperators_unittest.cc118 const char string1[] = "good"; in TEST() local
119 node.SetRightToListOfValue(Value(nullptr, string1)); in TEST()
124 node.SetRightToListOfValue(Value(nullptr, string1)); in TEST()
/third_party/python/Modules/_sqlite/
Dconnection.c1524 PyObject* string1 = 0; in pysqlite_collation_callback() local
1536 string1 = PyUnicode_FromStringAndSize((const char*)text1_data, text1_length); in pysqlite_collation_callback()
1539 if (!string1 || !string2) { in pysqlite_collation_callback()
1543 retval = PyObject_CallFunctionObjArgs(callback, string1, string2, NULL); in pysqlite_collation_callback()
1563 Py_XDECREF(string1); in pysqlite_collation_callback()

12