Lines Matching refs:str_len
872 static int _php_mb_match_regex(void *opaque, const char *str, size_t str_len);
898 static int _php_mb_match_regex(void *opaque, const char *str, size_t str_len) in _php_mb_match_regex() argument
901 (const OnigUChar*)str + str_len, (const OnigUChar *)str, in _php_mb_match_regex()
902 (const OnigUChar*)str + str_len, NULL, ONIG_OPTION_NONE) >= 0; in _php_mb_match_regex()
929 static int _php_mb_match_regex(void *opaque, const char *str, size_t str_len) in _php_mb_match_regex() argument
931 return pcre_exec((pcre *)opaque, NULL, str, (int)str_len, 0, in _php_mb_match_regex()
2548 int mblen, str_len, encoding_len; in PHP_FUNCTION() local
2551 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|ls", &str, &str_len, &from, &len, &encodi… in PHP_FUNCTION()
2568 string.len = str_len; in PHP_FUNCTION()
2571 len = str_len; in PHP_FUNCTION()
2718 int str_len, trimmarker_len, encoding_len; in PHP_FUNCTION() local
2721 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sll|ss", &str, &str_len, &from, &width, &tri… in PHP_FUNCTION()
2743 string.len = str_len; in PHP_FUNCTION()
2745 if (from < 0 || from > str_len) { in PHP_FUNCTION()
2861 int str_len, new_len; in PHP_FUNCTION() local
2870 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|z", &arg_str, &str_len, &arg_new, &new_le… in PHP_FUNCTION()
2917 ret = php_mb_convert_encoding(arg_str, str_len, arg_new, _from_encodings, &size TSRMLS_CC); in PHP_FUNCTION()
2935 int str_len, from_encoding_len; in PHP_FUNCTION() local
2941 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|s!", &str, &str_len, in PHP_FUNCTION()
2945 …newstr = php_unicode_convert_case(case_mode, str, (size_t) str_len, &ret_len, from_encoding TSRMLS… in PHP_FUNCTION()
2959 int str_len, from_encoding_len; in PHP_FUNCTION() local
2963 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s!", &str, &str_len, in PHP_FUNCTION()
2967 …newstr = php_unicode_convert_case(PHP_UNICODE_CASE_UPPER, str, (size_t) str_len, &ret_len, from_en… in PHP_FUNCTION()
2982 int str_len, from_encoding_len; in PHP_FUNCTION() local
2986 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s!", &str, &str_len, in PHP_FUNCTION()
2990 …newstr = php_unicode_convert_case(PHP_UNICODE_CASE_LOWER, str, (size_t) str_len, &ret_len, from_en… in PHP_FUNCTION()
3004 int str_len; in PHP_FUNCTION() local
3013 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|zb", &str, &str_len, &encoding_list, &stri… in PHP_FUNCTION()
3061 string.len = str_len; in PHP_FUNCTION()
3529 int str_len, encoding_len; in php_mb_numericentity_exec() local
3537 …if (zend_parse_parameters(argc TSRMLS_CC, "szs", &str, &str_len, &zconvmap, &encoding, &encoding_l… in php_mb_numericentity_exec()
3545 string.len = str_len; in php_mb_numericentity_exec()
3660 static int _php_mbstr_parse_mail_headers(HashTable *ht, const char *str, size_t str_len) in _php_mbstr_parse_mail_headers() argument
3671 icnt = str_len; in _php_mbstr_parse_mail_headers()