Home
last modified time | relevance | path

Searched refs:string2 (Results 1 – 25 of 40) 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/
Dstr.h183 #define coap_string_equal(string1,string2) \ argument
184 ((string1)->length == (string2)->length && ((string1)->length == 0 || \
185 ((string1)->s && (string2)->s && \
186 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/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/flutter/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/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/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/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/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/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()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java93 ByteString string2 = ByteString.copyFrom(referenceBytes); in testCompare_equalByteStrings_compareEqual() local
98 ByteString.unsignedLexicographicalComparator().compare(string1, string2)); in testCompare_equalByteStrings_compareEqual()
/third_party/python/Doc/library/
Dlocale.rst357 .. function:: strcoll(string1, string2)
361 depending on whether *string1* collates before or after *string2* or is equal to
/third_party/python/Doc/tutorial/
Ddatastructures.rst689 >>> string1, string2, string3 = '', 'Trondheim', 'Hammer Dance'
690 >>> non_null = string1 or string2 or string3

12