| /PHP_TRUNK/ext/intl/collator/ |
| H A D | collator_convert.c | 194 int str_len = 0; local 198 intl_convert_utf16_to_utf8( &str, &str_len, 204 ZVAL_STRINGL( utf8_zval, str, str_len, FALSE );
|
| /PHP_TRUNK/ext/intl/formatter/ |
| H A D | formatter_parse.c | 43 int str_len; local 54 &object, NumberFormatter_ce_ptr, &str, &str_len, &type, &zposition ) == FAILURE ) 66 intl_convert_utf8_to_utf16(&sstr, &sstr_len, str, str_len, &INTL_DATA_ERROR_CODE(nfo)); 131 int str_len; local 139 &object, NumberFormatter_ce_ptr, &str, &str_len, &zcurrency, &zposition ) == FAILURE ) 151 intl_convert_utf8_to_utf16(&sstr, &sstr_len, str, str_len, &INTL_DATA_ERROR_CODE(nfo));
|
| /PHP_TRUNK/ext/intl/grapheme/ |
| H A D | grapheme_string.c | 403 int str_len, sub_str_len, ustr_len; local 413 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|l", (char **)&str, &str_len, &lstart, &length) == FAILURE) { 421 if ( OUTSIDE_STRING(lstart, str_len) ) { 433 if ( grapheme_ascii_check(str, str_len) >= 0 ) { 434 grapheme_substr_ascii((char *)str, str_len, start, length, ZEND_NUM_ARGS(), (char **) &sub_str, &sub_str_len); 446 intl_convert_utf8_to_utf16(&ustr, &ustr_len, (char *)str, str_len, &status); 685 grapheme_extract_charcount_iter(UBreakIterator *bi, int32_t csize, unsigned char *pstr, int32_t str_len) argument 706 U8_FWD_N(pstr, ret_pos, str_len, pos - prev_pos); 722 grapheme_extract_bytecount_iter(UBreakIterator *bi, int32_t bsize, unsigned char *pstr, int32_t str_len) argument 735 U8_FWD_N(pstr, ret_pos, str_len, po 756 grapheme_extract_count_iter(UBreakIterator *bi, int32_t size, unsigned char *pstr, int32_t str_len) argument 797 int str_len, ustr_len; local [all...] |
| H A D | grapheme_util.c | 52 grapheme_intl_case_fold(UChar** ptr_to_free, UChar **str, int32_t *str_len, UErrorCode *pstatus ) argument 58 dest_len = (*str_len) + ( *str_len / 10 ); 62 size_required = u_strFoldCase(dest, dest_len, *str, *str_len, U_FOLD_CASE_DEFAULT, pstatus); 71 size_required = u_strFoldCase(dest, dest_len, *str, *str_len, U_FOLD_CASE_DEFAULT, pstatus); 84 *str_len = dest_len; 92 grapheme_substr_ascii(char *str, int str_len, int f, int l, int argc, char **sub_str, int *sub_str_len) argument 97 if ((l < 0 && -l > str_len)) { 99 } else if (l > str_len) { 100 l = str_len; [all...] |
| H A D | grapheme_util.h | 27 grapheme_substr_ascii(char *str, int32_t str_len, int32_t f, int32_t l, int argc, char **sub_str, int *sub_str_len);
|
| /PHP_TRUNK/ext/intl/ |
| H A D | intl_convertcpp.cpp | 28 int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status) argument 32 int32_t capacity = str_len + 1; 39 str, str_len, U_SENTINEL /* no substitution */, NULL,
|
| H A D | intl_convertcpp.h | 28 int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status);
|
| /PHP_TRUNK/ext/json/ |
| H A D | json.c | 664 PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, int str_len, int options, long depth TSRMLS_DC) /* {{{ */ argument 671 utf16 = (unsigned short *) safe_emalloc((str_len+1), sizeof(unsigned short), 1); 673 utf16_len = json_utf8_to_utf16(utf16, str, str_len); 700 if (str_len == 4) { 708 } else if (str_len == 5 && !strcasecmp(str, "false")) { 712 if ((type = is_numeric_string_ex(str, str_len, &p, &d, 0, &overflow_info)) != 0) { 725 for (i = (str[0] == '-' ? 1 : 0); i < str_len; i++) { 737 RETVAL_STRINGL(str, str_len, 1); 793 int str_len; local 798 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|bll", &str, &str_len, [all...] |
| H A D | php_json.h | 53 PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, int str_len, int options, long depth TSRMLS_DC); 77 static inline void php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, long depth TSRMLS_DC) argument 79 php_json_decode_ex(return_value, str, str_len, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0, depth TSRMLS_CC);
|
| /PHP_TRUNK/ext/recode/ |
| H A D | recode.c | 149 int req_len, str_len; local 152 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &req, &req_len, &str, &str_len) == FAILURE) { 168 recode_buffer_to_buffer(request, str, str_len, &r, &r_len, &r_alen);
|
| /PHP_TRUNK/ext/standard/ |
| H A D | base64.c | 224 int str_len, ret_length; local 226 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) == FAILURE) { 229 result = php_base64_encode((unsigned char*)str, str_len, &ret_length); 245 int str_len, ret_length; local 247 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &str, &str_len, &strict) == FAILURE) { 250 result = php_base64_decode_ex((unsigned char*)str, str_len, &ret_length, strict);
|
| H A D | crypt.c | 262 int str_len, salt_in_len = 0; local 269 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &str, &str_len, &salt_in, &salt_in_len) == FAILURE) { 294 if (php_crypt(str, str_len, salt, salt_in_len, &result) == FAILURE) {
|
| H A D | html.h | 60 PHPAPI unsigned int php_next_utf8_char(const unsigned char *str, size_t str_len, size_t *cursor, int *status);
|
| H A D | info.h | 66 PHPAPI void php_info_html_esc_write(char *string, int str_len TSRMLS_DC);
|
| H A D | iptc.c | 303 int str_len; local 306 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) != SUCCESS) { 312 while (inx < str_len) { /* find 1st tag */ 320 while (inx < str_len) { 325 if ((inx + 4) >= str_len) 340 if ((len < 0) || (len > str_len) || (inx + len) > str_len) {
|
| H A D | metaphone.c | 36 int str_len; local 39 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &str, &str_len, 44 if (metaphone((unsigned char *)str, str_len, phones, &result, 1) == 0) {
|
| H A D | password.c | 82 static zend_bool php_password_salt_to64(const char *str, const size_t str_len, const size_t out_len, char *ret) /* {{{ */ argument 87 if ((int) str_len < 0) { 90 buffer = php_base64_encode((unsigned char*) str, (int) str_len, (int*) &ret_len);
|
| H A D | quot_print.c | 266 int str_len; local 269 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) != SUCCESS) { 273 if (!str_len) { 277 new_str = (char *)php_quot_print_encode((unsigned char *)str, (size_t)str_len, &new_str_len);
|
| H A D | soundex.c | 32 int i, _small, str_len, code, last; local 63 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) == FAILURE) { 66 if (str_len == 0) { 72 for (i = 0, _small = 0; i < str_len && _small < 4; i++) {
|
| H A D | mail.c | 83 int j, str_len; local 85 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) == FAILURE) { 89 for (j = 0; j < str_len; j++) {
|
| H A D | string.c | 840 int str_len, what_len = 0; local 842 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &str, &str_len, &what, &what_len) == FAILURE) { 846 php_trim(str, str_len, what, what_len, return_value, mode TSRMLS_CC); 1089 int str_len = 0, delim_len = 0; local 1093 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|l", &delim, &delim_len, &str, &str_len, &limit) == FAILURE) { 1104 if (str_len == 0) { 1111 ZVAL_STRINGL(&zstr, str, str_len, 0); 1118 add_index_stringl(return_value, 0, str, str_len, 1); 1136 int str_len; local 1154 str_len 1265 int str_len, tok_len = 0; local 1516 int str_len; local 2184 int str_len; local 2225 int str_len; local 2636 int str_len; local 2683 int str_len; local 2713 int str_len; local 2734 int str_len; local 3117 int str_len, to_len = 0; local 3157 int str_len; local 3308 int str_len, what_len; local 3332 int str_len; local 3354 int str_len; local 3370 int str_len; local 3653 php_str_to_str_ex(char *haystack, int length, char *needle, int needle_len, char *str, int str_len, int *_new_length, int case_sensitivity, int *replace_count) argument 3825 php_str_to_str(char *haystack, int length, char *needle, int needle_len, char *str, int str_len, int *_new_length) argument 4040 int str_len; local 4226 int str_len; local 4306 int str_len; local 4841 int str_len = 0, delim_len = 0, enc_len = 0, esc_len = 0; local 5291 int str_len, format_len, result, num_args = 0; local 5388 int str_len, char_list_len = 0, word_count = 0; local 5466 int format_len = 0, str_len; local 5507 int str_len; local [all...] |
| /PHP_TRUNK/main/ |
| H A D | php_output.h | 163 #define PHPWRITE(str, str_len) php_output_write((str), (str_len) TSRMLS_CC) 164 #define PHPWRITE_H(str, str_len) php_output_write_unbuffered((str), (str_len) TSRMLS_CC)
|
| /PHP_TRUNK/sapi/apache2filter/ |
| H A D | apache_config.c | 127 uint str_len; local 135 zend_hash_get_current_key_ex(&d->config, &str, &str_len, 140 if (zend_hash_find(&n->config, str, str_len, (void **) &pe) == SUCCESS) { 143 zend_hash_update(&n->config, str, str_len, data, sizeof(*data), NULL); 166 uint str_len; local 170 zend_hash_get_current_key_ex(&d->config, &str, &str_len, NULL, 0, 175 if (zend_alter_ini_entry(str, str_len, data->value, data->value_len, data->status, data->htaccess?PHP_INI_STAGE_HTACCESS:PHP_INI_STAGE_ACTIVATE) == FAILURE) {
|
| /PHP_TRUNK/sapi/apache2handler/ |
| H A D | apache_config.c | 145 uint str_len; local 157 zend_hash_get_current_key_ex(&d->config, &str, &str_len, 162 if (zend_hash_find(&n->config, str, str_len, (void **) &pe) == SUCCESS) { 166 zend_hash_update(&n->config, str, str_len, data, sizeof(*data), NULL); 188 uint str_len; local 192 zend_hash_get_current_key_ex(&d->config, &str, &str_len, NULL, 0, 197 if (zend_alter_ini_entry(str, str_len, data->value, data->value_len, data->status, data->htaccess?PHP_INI_STAGE_HTACCESS:PHP_INI_STAGE_ACTIVATE) == FAILURE) {
|
| /PHP_TRUNK/ext/filter/ |
| H A D | logical_filters.c | 69 static int php_filter_parse_int(const char *str, unsigned int str_len, long *ret TSRMLS_DC) { /* {{{ */ argument 72 const char *end = str + str_len; 121 static int php_filter_parse_octal(const char *str, unsigned int str_len, long *ret TSRMLS_DC) { /* {{{ */ argument 123 const char *end = str + str_len; 144 static int php_filter_parse_hex(const char *str, unsigned int str_len, long *ret TSRMLS_DC) { /* {{{ */ argument 146 const char *end = str + str_len; 561 static int _php_filter_validate_ipv4(char *str, int str_len, int *ip) /* {{{ */ argument 563 const char *end = str + str_len; 596 static int _php_filter_validate_ipv6(char *str, int str_len TSRMLS_DC) /* {{{ */ 606 if (!memchr(str, ':', str_len)) { [all...] |