Searched defs:str2 (Results 1 - 3 of 3) sorted by relevance
| /PHP_TRUNK/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 ) 35 char* str2 = NULL; local 50 &object, Collator_ce_ptr, &str1, &str1_len, &str2, &str2_len ) == FAILURE ) 92 &ustr2, &ustr2_len, str2, str2_len, COLLATOR_ERROR_CODE_P( co ) );
|
| H A D | collator_sort.c | 60 zval* str2 = collator_convert_object_to_string( op2 TSRMLS_CC ); local 69 if( Z_TYPE_P(str1) == IS_STRING && Z_TYPE_P(str2) == IS_STRING && 71 str2 == ( num2 = collator_convert_string_to_number_if_possible( str2 ) ) ) ) 88 INTL_Z_STRVAL_P(str2), INTL_Z_STRLEN_P(str2) ); 93 /* num1 is set if str1 and str2 are strings. */ 103 /* num2 is not set but str2 is string => do normalization. */ 104 norm2 = collator_normalize_sort_argument( str2 ); 112 /* str2 i 185 zval* str2 = NULL; local [all...] |
| /PHP_TRUNK/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 23 milliseconds