Searched defs:str1 (Results 1 - 3 of 3) sorted by relevance
| /PHP_5_4/ext/intl/collator/ |
| H A D | collator_compare.c | 27 /* {{{ proto int Collator::compare( string $str1, string $str2 ) 29 /* {{{ proto int collator_compare( Collator $coll, string $str1, string $str2 ) 34 char* str1 = NULL; local 50 &object, Collator_ce_ptr, &str1, &str1_len, &str2, &str2_len ) == FAILURE ) 76 &ustr1, &ustr1_len, str1, str1_len, COLLATOR_ERROR_CODE_P( co ) );
|
| H A D | collator_sort.c | 59 zval* str1 = collator_convert_object_to_string( op1 TSRMLS_CC ); local 69 if( Z_TYPE_P(str1) == IS_STRING && Z_TYPE_P(str2) == IS_STRING && 70 ( str1 == ( num1 = collator_convert_string_to_number_if_possible( str1 ) ) || 86 INTL_Z_STRVAL_P(str1), INTL_Z_STRLEN_P(str1), 92 /* num1 is set if str1 and str2 are strings. */ 95 if( num1 == str1 ) 97 /* str1 is string but not numeric string 100 norm1 = collator_convert_zstr_utf16_to_utf8( str1 ); 183 zval* str1 = NULL; local [all...] |
| /PHP_5_4/ext/standard/ |
| H A D | levenshtein.c | 81 static int custom_levdist(char *str1, char *str2, char *callback_name TSRMLS_DC) argument 90 /* {{{ proto int levenshtein(string str1, string str2[, int cost_ins, int cost_rep, int cost_del]) 95 char *str1, *str2; local 103 if (zend_parse_parameters(2 TSRMLS_CC, "ss", &str1, &str1_len, &str2, &str2_len) == FAILURE) { 106 distance = reference_levdist(str1, str1_len, str2, str2_len, 1, 1, 1); 110 if (zend_parse_parameters(5 TSRMLS_CC, "sslll", &str1, &str1_len, &str2, &str2_len, &cost_ins, &cost_rep, &cost_del) == FAILURE) { 113 distance = reference_levdist(str1, str1_len, str2, str2_len, cost_ins, cost_rep, cost_del); 117 if (zend_parse_parameters(3 TSRMLS_CC, "sss", &str1, &str1_len, &str2, &str2_len, &callback_name, &callback_len) == FAILURE) { 120 distance = custom_levdist(str1, str2, callback_name TSRMLS_CC);
|
Completed in 3 milliseconds