Home
last modified time | relevance | path

Searched refs:string2 (Results 1 - 25 of 33) sorted by relevance

12

/third_party/libwebsockets/lib/secure-streams/
H A Dpolicy-json.c491 goto string2; in lws_ss_policy_parser_cb()
551 goto string2; in lws_ss_policy_parser_cb()
582 goto string2; in lws_ss_policy_parser_cb()
598 goto string2; in lws_ss_policy_parser_cb()
653 goto string2; in lws_ss_policy_parser_cb()
657 goto string2; in lws_ss_policy_parser_cb()
691 goto string2; in lws_ss_policy_parser_cb()
695 goto string2; in lws_ss_policy_parser_cb()
699 goto string2; in lws_ss_policy_parser_cb()
703 goto string2; in lws_ss_policy_parser_cb()
[all...]
/third_party/alsa-lib/src/ucm/
H A 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/curl/tests/unit/
H A Dunit1610.c46 const char string2[] = "hello-you-fool"; variable
57 Curl_sha256it(output, (const unsigned char *) string2, strlen(string2));
H A Dunit1611.c42 const char string2[] = "hello-you-fool"; variable
52 Curl_md4it(output, (const unsigned char *) string2, strlen(string2));
H A Dunit1601.c44 const char string2[] = "hello-you-fool"; variable
53 Curl_md5it(output, (const unsigned char *) string2, strlen(string2));
H A Dunit1612.c46 const char string2[] = "hello-you-fool"; variable
61 (const unsigned char *) string2, strlen(string2), variable
/third_party/libcoap/include/coap3/
H A Dcoap_str.h184 * @param string2 The second string.
189 #define coap_string_equal(string1,string2) \
190 ((string1)->length == (string2)->length && ((string1)->length == 0 || \
191 ((string1)->s && (string2)->s && \
192 memcmp((string1)->s, (string2)->s, (string1)->length) == 0)))
/third_party/musl/src/string/
H A Dstrcspn.c5 size_t strcspn(const char *string1, const char *string2) in strcspn() argument
12 p = string2; in strcspn()
/third_party/musl/porting/linux/user/src/string/
H A 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/
H A 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/icu/icu4c/source/samples/legacy/
H A 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()
H A 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()
/third_party/skia/third_party/externals/icu/source/samples/legacy/
H A 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()
H A 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/
H A Dtest_pty.rs222 let string2 = "barbarbarbar\n"; in test_openpty()
225 write(pty.slave, string2.as_bytes()).unwrap(); in test_openpty()
270 let string2 = "barbarbarbar\n"; in test_openpty_with_termios()
273 write(pty.slave, string2.as_bytes()).unwrap(); in test_openpty_with_termios()
/third_party/cJSON/
H A DcJSON_Utils.c83 static int compare_strings(const unsigned char *string1, const unsigned char *string2, const cJSON_bool case_sensitive) 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()
H A DcJSON.c145 static int case_insensitive_strcmp(const unsigned char *string1, const unsigned char *string2) in case_insensitive_strcmp() argument
147 if ((string1 == NULL) || (string2 == NULL)) in case_insensitive_strcmp()
152 if (string1 == string2) in case_insensitive_strcmp()
157 for(; tolower(*string1) == tolower(*string2); (void)string1++, string2++) in case_insensitive_strcmp()
165 return tolower(*string1) - tolower(*string2); in case_insensitive_strcmp()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationKanaTest.java188 String string2 = new String(tmp2); in TestCommonCharacters()
193 result = rb.compare(string1, string2); in TestCommonCharacters()
196 key2 = rb.getCollationKey(string2); in TestCommonCharacters()
H A 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/
H A DCollationKanaTest.java191 String string2 = new String(tmp2); in TestCommonCharacters()
196 result = rb.compare(string1, string2); in TestCommonCharacters()
199 key2 = rb.getCollationKey(string2); in TestCommonCharacters()
H A DCollationThaiTest.java313 public int compare(String string1, String string2) in compare() argument
315 return collator.compare(string1, string2); in compare()
/third_party/node/deps/v8/src/objects/
H A Dintl-objects.cc967 Isolate* isolate, Handle<String> string1, Handle<String> string2, in StringLocaleCompare()
987 string2, compare_strings_options); in StringLocaleCompare()
1006 return Intl::CompareStrings(isolate, *icu_collator, string1, string2, in StringLocaleCompare()
1306 // for (int i = 0; i < string2.length; i++) {
1307 // if (!CanFastCompare(string2[i])) return {};
1313 // Char2T c2 = string2[i];
1321 // if (string1.length != string2.length) string1.length - string2.length;
1326 // Char2T c2 = string2[i];
1336 Handle<String> string2, in in TryFastCompareStrings()
966 StringLocaleCompare( Isolate* isolate, Handle<String> string1, Handle<String> string2, Handle<Object> locales, Handle<Object> options, const char* method_name) StringLocaleCompare() argument
1334 TryFastCompareStrings( Isolate* isolate, const icu::Collator& icu_collator, Handle<String> string1, Handle<String> string2, int* processed_until_out) TryFastCompareStrings() argument
1412 CompareStrings(Isolate* isolate, const icu::Collator& icu_collator, Handle<String> string1, Handle<String> string2, CompareStringsOptions compare_strings_options) CompareStrings() argument
[all...]
/third_party/backends/tools/
H A Dsane-desc.c511 string_compare (char *string1, char *string2) in string_compare() argument
518 if (!string2) in string_compare()
523 else if (!string2) in string_compare()
526 while (string1[count] && string2[count]) in string_compare()
528 if (isdigit (string1[count]) && isdigit (string2[count])) in string_compare()
529 compare = num_compare (&string1[count], &string2[count]); in string_compare()
531 compare = char_compare (string1[count], string2[count]); in string_compare()
536 return char_compare (string1[count], string2[count]); in string_compare()
/third_party/python/Modules/_sqlite/
H A Dconnection.c1783 PyObject* string2 = 0; in collation_callback() local
1795 string2 = PyUnicode_FromStringAndSize((const char*)text2_data, text2_length); in collation_callback()
1797 if (!string1 || !string2) { in collation_callback()
1803 PyObject *args[] = { NULL, string1, string2 }; // Borrowed refs. in collation_callback()
1825 Py_XDECREF(string2); in collation_callback()
/third_party/python/Lib/test/
H A Dtest_minidom.py471 string2 = str(el)
472 self.confirm(string1 == string2)
479 string2 = str(el)
480 self.confirm(string1 == string2)
488 string2 = str(el)
489 self.confirm(string1 == string2)

Completed in 33 milliseconds

12