Home
last modified time | relevance | path

Searched refs:str1 (Results 1 - 12 of 12) sorted by relevance

/php-7.4/ext/pcre/pcre2lib/
H A Dpcre2_string_utils.c(last modified 13/02/2019 23:05)95 str1 first string
102 PRIV(strcmp)(PCRE2_SPTR str1, PCRE2_SPTR str2) in strcmp() argument
105 while (*str1 != '\0' || *str2 != '\0') in strcmp()
107 c1 = *str1++; in strcmp()
123 str1 first string
130 PRIV(strcmp_c8)(PCRE2_SPTR str1, const char *str2) in strcmp_c8() argument
133 while (*str1 != '\0' || *str2 != '\0') in strcmp_c8()
135 c1 = *str1++; in strcmp_c8()
149 str1 first string
157 PRIV(strncmp)(PCRE2_SPTR str1, PCRE2_SPT argument
186 strncmp_c8(PCRE2_SPTR str1, const char *str2, size_t len) strncmp_c8() argument
229 strcpy_c8(PCRE2_UCHAR *str1, const char *str2) strcpy_c8() argument
[all...]
/php-7.4/ext/standard/
H A Dlevenshtein.c(last modified 13/02/2019 23:05)81 static int custom_levdist(char *str1, char *str2, char *callback_name) in custom_levdist() argument
90 /* {{{ proto int levenshtein(string str1, string str2[, int cost_ins, int cost_rep, int cost_del])
95 char *str1, *str2; in PHP_FUNCTION() local
103 if (zend_parse_parameters(2, "ss", &str1, &str1_len, &str2, &str2_len) == FAILURE) { in PHP_FUNCTION()
106 distance = reference_levdist(str1, str1_len, str2, str2_len, 1, 1, 1); in PHP_FUNCTION()
110 if (zend_parse_parameters(5, "sslll", &str1, &str1_len, &str2, &str2_len, &cost_ins, &cost_rep, &cost_del) == FAILURE) { in PHP_FUNCTION()
113 distance = reference_levdist(str1, str1_len, str2, str2_len, cost_ins, cost_rep, cost_del); in PHP_FUNCTION()
117 if (zend_parse_parameters(3, "sss", &str1, &str1_len, &str2, &str2_len, &callback_name, &callback_len) == FAILURE) { in PHP_FUNCTION()
120 distance = custom_levdist(str1, str2, callback_name); in PHP_FUNCTION()
H A Dstring.c(last modified 25/08/2020 08:00)704 /* {{{ proto int strcoll(string str1, string str2)
3647 /* {{{ proto int similar_text(string str1, string str2 [, float percent])
5676 zend_string *str1 = zval_get_tmp_string(op1, &tmp_str1); local
5679 ZVAL_LONG(result, strnatcmp_ex(ZSTR_VAL(str1), ZSTR_LEN(str1), ZSTR_VAL(str2), ZSTR_LEN(str2), case_insensitive));
H A Darray.c(last modified 06/08/2020 08:00)494 zend_string *str1 = zval_get_tmp_string(&f->val, &tmp_str1); in php_array_natural_general_compare() local
497 int result = strnatcmp_ex(ZSTR_VAL(str1), ZSTR_LEN(str1), ZSTR_VAL(str2), ZSTR_LEN(str2), fold_case); in php_array_natural_general_compare()
H A Dbasic_functions.c(last modified 25/06/2020 08:00)1556 ZEND_ARG_INFO(0, str1)
2166 ZEND_ARG_INFO(0, str1)
2327 ZEND_ARG_INFO(0, str1)
/php-7.4/ext/intl/collator/
H A Dcollator_sort.c(last modified 29/05/2019 08:00)57 zval str1, str2; in collator_regular_compare_function() local
64 ZVAL_NULL(&str1); in collator_regular_compare_function()
65 str1_p = collator_convert_object_to_string( op1, &str1 ); in collator_regular_compare_function()
95 /* num1 is set if str1 and str2 are strings. */ in collator_regular_compare_function()
100 /* str1 is string but not numeric string in collator_regular_compare_function()
110 /* str1 is numeric strings => passthru to PHP-compare. */ in collator_regular_compare_function()
121 /* num1 is not set if str1 or str2 is not a string => do normalization. */ in collator_regular_compare_function()
185 zval str1, str2; in collator_icu_compare_function() local
191 str1_p = collator_make_printable_zval( op1, &str1); in collator_icu_compare_function()
H A Dcollator_compare.c(last modified 13/02/2019 23:05)27 /* {{{ proto int Collator::compare( string $str1, string $str2 )
29 /* {{{ proto int collator_compare( Collator $coll, string $str1, string $str2 )
34 char* str1 = NULL; in PHP_FUNCTION() local
50 &object, Collator_ce_ptr, &str1, &str1_len, &str2, &str2_len ) == FAILURE ) in PHP_FUNCTION()
76 &ustr1, &ustr1_len, str1, str1_len, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION()
/php-7.4/Zend/
H A Dzend_operators.c(last modified 13/10/2020 08:00)1924 zend_string *str1 = zval_get_tmp_string(op1, &tmp_str1); in string_compare_function_ex() local
1929 ret = zend_binary_strcasecmp_l(ZSTR_VAL(str1), ZSTR_LEN(str1), ZSTR_VAL(str2), ZSTR_LEN(str1)); in string_compare_function_ex()
1931 ret = zend_binary_strcmp(ZSTR_VAL(str1), ZSTR_LEN(str1), ZSTR_VAL(str2), ZSTR_LEN(str2)); in string_compare_function_ex()
1951 zend_string *str1 = zval_get_tmp_string(op1, &tmp_str1); in string_compare_function() local
1953 int ret = zend_binary_strcmp(ZSTR_VAL(str1), ZSTR_LEN(str1), ZSTR_VAL(str2), ZSTR_LEN(str2)); in string_compare_function()
1973 zend_string *str1 in string_case_compare_function() local
1987 zend_string *str1 = zval_get_tmp_string(op1, &tmp_str1); string_locale_compare_function() local
[all...]
H A Dzend_builtin_functions.c(last modified 03/08/2020 08:00)103 ZEND_ARG_INFO(0, str1)
108 ZEND_ARG_INFO(0, str1)
597 /* {{{ proto int strcmp(string str1, string str2)
612 /* {{{ proto int strncmp(string str1, string str2, int len)
634 /* {{{ proto int strcasecmp(string str1, string str2)
649 /* {{{ proto int strncasecmp(string str1, string str2, int len)
H A Dzend_compile.c(last modified 05/11/2020 08:00)788 zend_string *zend_concat3(char *str1, size_t str1_len, char *str2, size_t str2_len, char *str3, size_t str3_len) /* {{{ */ in zend_concat3() argument
793 memcpy(ZSTR_VAL(res), str1, str1_len); in zend_concat3() local
/php-7.4/ext/intl/spoofchecker/
H A Dspoofchecker_main.c(last modified 13/02/2019 23:05)56 /* {{{ proto bool Spoofchecker::areConfusable( string str1, string str2[, int &error_code ] )
/php-7.4/ext/libxml/
H A Dlibxml.c(last modified 04/02/2020 08:00)497 error_copy.str1 = NULL; in _php_list_set_error_structure()

Completed in 154 milliseconds