Home
last modified time | relevance | path

Searched refs:string2 (Results 1 – 25 of 42) sorted by relevance

12

/third_party/libwebsockets/lib/secure-streams/
Dpolicy-json.c489 goto string2; in lws_ss_policy_parser_cb()
549 goto string2; in lws_ss_policy_parser_cb()
580 goto string2; in lws_ss_policy_parser_cb()
596 goto string2; in lws_ss_policy_parser_cb()
651 goto string2; in lws_ss_policy_parser_cb()
655 goto string2; in lws_ss_policy_parser_cb()
689 goto string2; in lws_ss_policy_parser_cb()
693 goto string2; in lws_ss_policy_parser_cb()
697 goto string2; in lws_ss_policy_parser_cb()
701 goto string2; in lws_ss_policy_parser_cb()
[all …]
/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
70 err = get_string(eval, "String2", &string2); in if_eval_string()
76 if (string1 || string2) { in if_eval_string()
81 if (string2 == NULL) { in if_eval_string()
88 err = uc_mgr_get_substituted_value(uc_mgr, &s2, string2); in if_eval_string()
105 err = get_string(eval, "Needle", &string2); in if_eval_string()
111 if (string1 || string2) { in if_eval_string()
116 if (string2 == NULL) { in if_eval_string()
123 err = uc_mgr_get_substituted_value(uc_mgr, &s2, string2); in if_eval_string()
/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.c42 const char string2[] = "hello-you-fool"; variable
52 Curl_md4it(output, (const unsigned char *) string2, strlen(string2));
Dunit1601.c44 const char string2[] = "hello-you-fool"; variable
53 Curl_md5it(output, (const unsigned char *) string2, strlen(string2));
Dunit1610.c46 const char string2[] = "hello-you-fool"; variable
57 Curl_sha256it(output, (const unsigned char *) string2, strlen(string2));
Dunit1612.c46 const char string2[] = "hello-you-fool"; variable
61 (const unsigned char *) string2, strlen(string2),
/third_party/musl/porting/linux/user/src/string/
Dstrcspn.c5 size_t strcspn(const char *string1, const char *string2) in strcspn() argument
12 p = string2; in strcspn()
/third_party/jerryscript/tests/unit-core/
Dtest-context-data.cpp69 const char *string2 = "item2"; variable
75 *((const char **) user_data_p) = string2; in test_context_data2_new()
82 TEST_ASSERT ((*(const char **) user_data_p) == string2); in test_context_data2_free()
/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/rust/crates/nix/test/
Dtest_pty.rs222 let string2 = "barbarbarbar\n"; in test_openpty() localVariable
225 write(pty.slave, string2.as_bytes()).unwrap(); in test_openpty()
270 let string2 = "barbarbarbar\n"; in test_openpty_with_termios() localVariable
273 write(pty.slave, string2.as_bytes()).unwrap(); in test_openpty_with_termios()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationKanaTest.java188 String string2 = new String(tmp2); in TestCommonCharacters() local
193 result = rb.compare(string1, string2); in TestCommonCharacters()
196 key2 = rb.getCollationKey(string2); in TestCommonCharacters()
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.java191 String string2 = new String(tmp2); in TestCommonCharacters() local
196 result = rb.compare(string1, string2); in TestCommonCharacters()
199 key2 = rb.getCollationKey(string2); in TestCommonCharacters()
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()
108 return tolower(*string1) - tolower(*string2); in compare_strings()
DcJSON.c133 static int case_insensitive_strcmp(const unsigned char *string1, const unsigned char *string2) in case_insensitive_strcmp() argument
135 if ((string1 == NULL) || (string2 == NULL)) in case_insensitive_strcmp()
140 if (string1 == string2) in case_insensitive_strcmp()
145 for(; tolower(*string1) == tolower(*string2); (void)string1++, string2++) in case_insensitive_strcmp()
153 return tolower(*string1) - tolower(*string2); in case_insensitive_strcmp()
/third_party/node/deps/v8/src/objects/
Dintl-objects.cc967 Isolate* isolate, Handle<String> string1, Handle<String> string2, in StringLocaleCompare() argument
987 string2, compare_strings_options); in StringLocaleCompare()
1006 return Intl::CompareStrings(isolate, *icu_collator, string1, string2, in StringLocaleCompare()
1336 Handle<String> string2, int* processed_until_out) { in TryFastCompareStrings() argument
1342 DCHECK(string2->IsFlat()); in TryFastCompareStrings()
1353 DCHECK(!SharedStringAccessGuardIfNeeded::IsNeeded(*string2)); in TryFastCompareStrings()
1356 const int length2 = string2->length(); in TryFastCompareStrings()
1362 const String::FlatContent& flat2 = string2->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/python/Modules/_sqlite/
Dconnection.c1525 PyObject* string2 = 0; in pysqlite_collation_callback() local
1537 string2 = PyUnicode_FromStringAndSize((const char*)text2_data, text2_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()
1564 Py_XDECREF(string2); in pysqlite_collation_callback()
/third_party/python/Lib/test/
Dtest_minidom.py455 string2 = str(el)
456 self.confirm(string1 == string2)
463 string2 = str(el)
464 self.confirm(string1 == string2)
472 string2 = str(el)
473 self.confirm(string1 == string2)
/third_party/protobuf/src/google/protobuf/
Dgenerated_message_reflection.cc457 InlinedStringField* string2 = in SwapField() local
459 string1->Swap(string2); in SwapField()
465 ArenaStringPtr* string2 = in SwapField() local
470 string1->Swap(string2, default_ptr, arena1); in SwapField()
473 string1->Set(default_ptr, string2->Get(), arena1); in SwapField()
474 string2->Set(default_ptr, temp, arena2); in SwapField()

12