/PHP-7.0/ext/standard/ |
H A D | soundex.c | 32 size_t i, _small, str_len, code, last; in PHP_FUNCTION() local 63 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &str, &str_len) == FAILURE) { in PHP_FUNCTION() 66 if (str_len == 0) { in PHP_FUNCTION() 72 for (i = 0, _small = 0; i < str_len && _small < 4; i++) { in PHP_FUNCTION()
|
H A D | base64.c | 211 size_t str_len; in PHP_FUNCTION() local 214 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &str, &str_len) == FAILURE) { in PHP_FUNCTION() 217 result = php_base64_encode((unsigned char*)str, str_len); in PHP_FUNCTION() 232 size_t str_len; in PHP_FUNCTION() local 235 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|b", &str, &str_len, &strict) == FAILURE) { in PHP_FUNCTION() 238 result = php_base64_decode_ex((unsigned char*)str, str_len, strict); in PHP_FUNCTION()
|
H A D | iptc.c | 321 size_t str_len; in PHP_FUNCTION() local 324 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &str, &str_len) != SUCCESS) { in PHP_FUNCTION() 330 while (inx < str_len) { /* find 1st tag */ in PHP_FUNCTION() 338 while (inx < str_len) { in PHP_FUNCTION() 343 if ((inx + 4) >= str_len) in PHP_FUNCTION() 350 if((inx+6) >= str_len) { in PHP_FUNCTION() 361 if ((len < 0) || (len > str_len) || (inx + len) > str_len) { in PHP_FUNCTION()
|
H A D | crypt.c | 291 size_t str_len, salt_in_len = 0; in PHP_FUNCTION() local 300 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &str, &str_len, &salt_in, &salt_in_len) == FAILU… in PHP_FUNCTION() 327 if ((result = php_crypt(str, (int)str_len, salt, (int)salt_in_len, 0)) == NULL) { in PHP_FUNCTION()
|
H A D | string.c | 1620 size_t str_len; local 2693 size_t str_len; local 3168 memcpy(e, str, str_len); 3169 e += str_len; 3251 memcpy(e, str, str_len); 3252 e += str_len; 3335 e += str_len; 4105 size_t str_len; local 4112 if (str_len == 0) { 4120 target = heb_str+str_len; [all …]
|
H A D | html.h | 60 PHPAPI unsigned int php_next_utf8_char(const unsigned char *str, size_t str_len, size_t *cursor, in…
|
H A D | info.h | 67 PHPAPI void php_info_html_esc_write(char *string, int str_len);
|
H A D | dir.c | 301 size_t str_len; in PHP_FUNCTION() local 303 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &str, &str_len) == FAILURE) { in PHP_FUNCTION() 333 size_t str_len; in PHP_FUNCTION() local 335 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &str, &str_len) == FAILURE) { in PHP_FUNCTION()
|
H A D | html.c | 72 #define CHECK_LEN(pos, chars_need) ((str_len - (pos)) >= (chars_need)) 104 size_t str_len, in get_next_char() argument 112 assert(pos <= str_len); in get_next_char() 144 size_t avail = str_len - pos; in get_next_char() 164 size_t avail = str_len - pos; in get_next_char() 326 size_t avail = str_len - pos; in get_next_char() 365 size_t str_len, in php_next_utf8_char() argument 369 return get_next_char(cs_utf_8, str, str_len, cursor, status); in php_next_utf8_char() 1499 size_t str_len; in PHP_FUNCTION() local 1503 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &str, &str_len, "e_style) == FAILURE) { in PHP_FUNCTION() [all …]
|
/PHP-7.0/ext/intl/ |
H A D | intl_convertcpp.cpp | 28 int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status) in intl_stringFromChar() argument 30 if(str_len > INT32_MAX) { in intl_stringFromChar() 37 int32_t capacity = (int32_t)str_len + 1; in intl_stringFromChar() 44 str, str_len, U_SENTINEL /* no substitution */, NULL, in intl_stringFromChar()
|
H A D | intl_convertcpp.h | 29 int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status);
|
/PHP-7.0/ext/intl/grapheme/ |
H A D | grapheme_string.c | 379 size_t str_len; in PHP_FUNCTION() local 397 if ( OUTSIDE_STRING(lstart, str_len)) { in PHP_FUNCTION() 406 length = str_len; in PHP_FUNCTION() 489 if (length >= (int32_t)str_len) { in PHP_FUNCTION() 695 U8_FWD_1(pstr, break_pos, str_len); in grapheme_extract_charcount_iter() 778 size_t str_len; in PHP_FUNCTION() local 815 if ( lstart > INT32_MAX || lstart < 0 || lstart >= str_len ) { in PHP_FUNCTION() 835 char *str_end = str + str_len; in PHP_FUNCTION() 848 str_len -= (pstr - str); in PHP_FUNCTION() 855 size_t nsize = MIN(size, str_len); in PHP_FUNCTION() [all …]
|
H A D | grapheme_util.c | 52 void grapheme_substr_ascii(char *str, size_t str_len, int32_t f, int32_t l, char **sub_str, int32_t… in grapheme_substr_ascii() argument 54 int32_t str_len2 = (int32_t)str_len; /* in order to avoid signed/unsigned problems */ in grapheme_substr_ascii() 57 if(str_len > INT32_MAX) { in grapheme_substr_ascii() 102 l = str_len - f; in grapheme_substr_ascii()
|
H A D | grapheme_util.h | 27 void grapheme_substr_ascii(char *str, size_t str_len, int32_t f, int32_t l, char **sub_str, int32_t…
|
/PHP-7.0/ext/intl/formatter/ |
H A D | formatter_parse.c | 43 size_t str_len; in PHP_FUNCTION() local 54 &object, NumberFormatter_ce_ptr, &str, &str_len, &type, &zposition ) == FAILURE ) in PHP_FUNCTION() 66 intl_convert_utf8_to_utf16(&sstr, &sstr_len, str, str_len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION() 134 size_t str_len; in PHP_FUNCTION() local 142 &object, NumberFormatter_ce_ptr, &str, &str_len, &zcurrency, &zposition ) == FAILURE ) in PHP_FUNCTION() 154 intl_convert_utf8_to_utf16(&sstr, &sstr_len, str, str_len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
|
/PHP-7.0/ext/filter/ |
H A D | logical_filters.c | 84 static int _php_filter_validate_ipv6(char *str, size_t str_len); 89 const char *end = str + str_len; in php_filter_parse_int() 140 const char *end = str + str_len; in php_filter_parse_octal() 163 const char *end = str + str_len; in php_filter_parse_hex() 634 const char *end = str + str_len; in _php_filter_validate_ipv4() 677 if (!memchr(str, ':', str_len)) { in _php_filter_validate_ipv6() 682 ipv4 = memchr(str, '.', str_len); in _php_filter_validate_ipv6() 692 str_len = ipv4 - str; /* length excluding ipv4 */ in _php_filter_validate_ipv6() 693 if (str_len < 2) { in _php_filter_validate_ipv6() 699 str_len--; in _php_filter_validate_ipv6() [all …]
|
/PHP-7.0/ext/json/ |
H A D | php_json.h | 96 PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, size_t str_len, zend_long optio… 98 static inline void php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, zen… in php_json_decode() argument 100 php_json_decode_ex(return_value, str, str_len, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0, depth); in php_json_decode()
|
H A D | json.c | 200 PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, size_t str_len, zend_long optio… in php_json_decode_ex() argument 204 php_json_parser_init(&parser, return_value, str, str_len, (int)options, (int)depth); in php_json_decode_ex() 247 size_t str_len; in PHP_FUNCTION() local 252 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|bll", &str, &str_len, &assoc, &depth, &options) == F… in PHP_FUNCTION() 258 if (!str_len) { in PHP_FUNCTION() 280 php_json_decode_ex(return_value, str, str_len, options, depth); in PHP_FUNCTION()
|
H A D | php_json_parser.h | 32 void php_json_parser_init(php_json_parser *parser, zval *return_value, char *str, size_t str_len, i…
|
H A D | php_json_scanner.h | 43 void php_json_scanner_init(php_json_scanner *scanner, char *str, size_t str_len, int options);
|
/PHP-7.0/ext/standard/tests/filters/ |
H A D | bug22538.phpt | 20 $str_len = strlen($str); 22 while (($cnt -= $str_len) > 0) { 25 $cnt = $size - ($str_len + $cnt);
|
/PHP-7.0/ext/recode/ |
H A D | recode.c | 149 size_t req_len, str_len; in PHP_FUNCTION() local 152 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &req, &req_len, &str, &str_len) == FAILURE) { in PHP_FUNCTION() 168 recode_buffer_to_buffer(request, str, str_len, &r, &r_len, &r_alen); in PHP_FUNCTION()
|
/PHP-7.0/main/ |
H A D | php_output.h | 159 #define PHPWRITE(str, str_len) php_output_write((str), (str_len)) argument 160 #define PHPWRITE_H(str, str_len) php_output_write_unbuffered((str), (str_len)) argument
|
/PHP-7.0/Zend/ |
H A D | zend.h | 268 #define ZEND_WRITE(str, str_len) zend_write((str), (str_len)) argument 269 #define ZEND_WRITE_EX(str, str_len) write_func((str), (str_len)) argument
|
/PHP-7.0/ext/intl/transliterator/ |
H A D | transliterator_methods.c | 300 size_t str_len; in PHP_FUNCTION() local 318 &arg1, &str, &str_len, &start, &limit ) == FAILURE ) in PHP_FUNCTION() 353 &str, &str_len, &start, &limit ) == FAILURE ) in PHP_FUNCTION() 380 intl_convert_utf8_to_utf16( &ustr, &ustr_len, str, str_len, in PHP_FUNCTION()
|