Home
last modified time | relevance | path

Searched defs:str (Results 1 – 25 of 238) sorted by relevance

12345678910

/PHP-8.1/Zend/
H A Dzend_smart_string.h28 #define smart_string_appends_ex(str, src, what) \ argument
30 #define smart_string_appends(str, src) \ argument
32 #define smart_string_append_ex(str, src, what) \ argument
35 #define smart_string_sets(str, src) \ argument
38 #define smart_string_appendc(str, c) \ argument
42 #define smart_string_appendl(str, src, len) \ argument
44 #define smart_string_append(str, src) \ argument
46 #define smart_string_append_long(str, val) \ argument
48 #define smart_string_append_unsigned(str, val) \ argument
73 static zend_always_inline void smart_string_0(smart_string *str) { in smart_string_0()
[all …]
H A Dzend_string.c51 ZEND_API zend_ulong ZEND_FASTCALL zend_string_hash_func(zend_string *str) in zend_string_hash_func()
56 ZEND_API zend_ulong ZEND_FASTCALL zend_hash_func(const char *str, size_t len) in zend_hash_func()
63 zend_string *str = Z_STR_P(zv); in _str_dtor() local
68 #define _ZEND_STR_DSC(id, str) str, argument
86 zend_string *str; in zend_interned_strings_init() local
103 ZSTR_VAL(str)[0] = '\000'; in zend_interned_strings_init() local
149 static zend_always_inline zend_string *zend_interned_string_ht_lookup(zend_string *str, HashTable *… in zend_interned_string_ht_lookup()
185 ZEND_API zend_string* ZEND_FASTCALL zend_interned_string_find_permanent(zend_string *str) in zend_interned_string_find_permanent()
191 static zend_string* ZEND_FASTCALL zend_new_interned_string_permanent(zend_string *str) in zend_new_interned_string_permanent()
217 static zend_string* ZEND_FASTCALL zend_new_interned_string_request(zend_string *str) in zend_new_interned_string_request()
[all …]
H A Dzend_smart_str.c29 ZEND_API void ZEND_FASTCALL smart_str_erealloc(smart_str *str, size_t len) in smart_str_erealloc()
43 ZEND_API void ZEND_FASTCALL smart_str_realloc(smart_str *str, size_t len) in smart_str_realloc()
76 ZEND_API void ZEND_FASTCALL smart_str_append_escaped(smart_str *str, const char *s, size_t l) { in smart_str_append_escaped()
116 smart_str *str, double num, int precision, bool zero_fraction) { in smart_str_append_double()
138 ZEND_API void ZEND_FASTCALL _smart_string_alloc_persistent(smart_string *str, size_t len) in _smart_string_alloc_persistent()
158 ZEND_API void ZEND_FASTCALL _smart_string_alloc(smart_string *str, size_t len) in _smart_string_alloc()
184 ZEND_API void ZEND_FASTCALL smart_str_append_escaped_truncated(smart_str *str, zend_string *value, … in smart_str_append_escaped_truncated()
H A Dzend_string.h76 #define STR_ALLOCA_ALLOC(str, _len, use_heap) ZSTR_ALLOCA_ALLOC(str, _len, use_heap) in END_EXTERN_C() argument
77 #define STR_ALLOCA_INIT(str, s, len, use_heap) ZSTR_ALLOCA_INIT(str, s, len, use_heap) in END_EXTERN_C() argument
78 #define STR_ALLOCA_FREE(str, use_heap) ZSTR_ALLOCA_FREE(str, use_heap) in END_EXTERN_C() argument
95 #define ZSTR_ALLOCA_ALLOC(str, _len, use_heap) do { \ in END_EXTERN_C() argument
103 #define ZSTR_ALLOCA_INIT(str, s, len, use_heap) do { \ argument
109 #define ZSTR_ALLOCA_FREE(str, use_heap) free_alloca(str, use_heap) argument
181 static zend_always_inline zend_string *zend_string_init_fast(const char *str, size_t len) in zend_string_init_fast()
368 #define zend_string_equals_literal_ci(str, c) \ argument
371 #define zend_string_equals_literal(str, literal) \ argument
407 static zend_always_inline zend_ulong zend_inline_hash_func(const char *str, size_t len) in zend_inline_hash_func()
[all …]
H A Dzend_ini_scanner.l140 #define zend_ini_copy_value(retval, str, len) \ argument
144 #define RETURN_TOKEN(type, str, len) { \ argument
154 static inline zend_result convert_to_number(zval *retval, const char *str, const int str_len) in convert_to_number()
174 static void zend_ini_copy_typed_value(zval *retval, const int type, const char *str, int len) in zend_ini_copy_typed_value()
211 static void yy_scan_buffer(char *str, unsigned int len) in yy_scan_buffer()
291 zend_result zend_ini_prepare_string_for_scanning(char *str, int scanner_mode) in zend_ini_prepare_string_for_scanning()
306 static void zend_ini_escape_string(zval *lval, char *str, int len, char quote_type) in zend_ini_escape_string()
H A Dzend_ast.c79 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_zval_from_str(zend_string *str) { in zend_ast_create_zval_from_str()
1073 static ZEND_COLD void zend_ast_export_str(smart_str *str, zend_string *s) in zend_ast_export_str()
1088 static ZEND_COLD void zend_ast_export_qstr(smart_str *str, char quote, zend_string *s) in zend_ast_export_qstr()
1133 static ZEND_COLD void zend_ast_export_indent(smart_str *str, int indent) in zend_ast_export_indent()
1292 static ZEND_COLD void zend_ast_export_var_list(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_var_list()
1309 static ZEND_COLD void zend_ast_export_stmt(smart_str *str, zend_ast *ast, int indent) in zend_ast_export_stmt()
1351 static ZEND_COLD void zend_ast_export_if_stmt(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_if_stmt()
1388 static ZEND_COLD void zend_ast_export_zval(smart_str *str, zval *zv, int priority, int indent) in zend_ast_export_zval()
1496 static ZEND_COLD void zend_ast_export_visibility(smart_str *str, uint32_t flags) { in zend_ast_export_visibility()
1506 static ZEND_COLD void zend_ast_export_type(smart_str *str, zend_ast *ast, int indent) { in zend_ast_export_type()
[all …]
H A Dzend_smart_str.h86 static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { in smart_str_free_ex()
94 static zend_always_inline void smart_str_0(smart_str *str) { in smart_str_0()
96 ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; in smart_str_0() local
100 static zend_always_inline size_t smart_str_get_len(smart_str *str) { in smart_str_get_len()
104 static zend_always_inline zend_string *smart_str_extract(smart_str *str) { in smart_str_extract()
122 static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, b… in smart_str_appendl_ex()
H A Dzend_constants.h53 #define REGISTER_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(na… argument
54 #define REGISTER_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name), si… argument
60 #define REGISTER_NS_STRING_CONSTANT(ns, name, str, flags) zend_register_string_constant(ZEND_NS_NA… argument
61 #define REGISTER_NS_STRINGL_CONSTANT(ns, name, str, len, flags) zend_register_stringl_constant(ZEN… argument
67 #define REGISTER_MAIN_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), size… argument
68 #define REGISTER_MAIN_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name… argument
H A Dzend_variables.c61 static void ZEND_FASTCALL zend_string_destroy(zend_string *str) in zend_string_destroy()
95 zend_string *str = (zend_string*)ref; in zval_internal_ptr_dtor() local
H A Dzend_operators.c151 zend_string *str; in convert_scalar_to_number() local
456 zend_string *str = Z_STR_P(op); in convert_to_long() local
514 zend_string *str = Z_STR_P(op); in convert_to_double() local
581 zend_string *str = Z_STR_P(op); in convert_to_boolean() local
675 zend_string *str; in _try_convert_to_string() local
1535 zend_string *str; in bitwise_or_function() local
1617 zend_string *str; in bitwise_and_function() local
1640 ZSTR_VAL(str)[i] = 0; in bitwise_and_function() local
1699 zend_string *str; in bitwise_xor_function() local
1722 ZSTR_VAL(str)[i] = 0; in bitwise_xor_function() local
[all …]
H A Dzend_attributes.c91 static zend_attribute *get_attribute_str(HashTable *attributes, const char *str, size_t len, uint32… in get_attribute_str()
113 ZEND_API zend_attribute *zend_get_attribute_str(HashTable *attributes, const char *str, size_t len) in zend_get_attribute_str()
123 ZEND_API zend_attribute *zend_get_parameter_attribute_str(HashTable *attributes, const char *str, s… in zend_get_parameter_attribute_str()
157 smart_str str = { 0 }; in zend_get_attribute_target_names() local
H A Dzend_hash.h233 static zend_always_inline bool zend_hash_str_exists(const HashTable *ht, const char *str, size_t le… in zend_hash_str_exists()
427 static zend_always_inline zval *zend_hash_str_find_ind(const HashTable *ht, const char *str, size_t… in zend_hash_str_find_ind()
437 static zend_always_inline bool zend_hash_str_exists_ind(const HashTable *ht, const char *str, size_… in zend_hash_str_exists_ind()
577 static zend_always_inline zend_result zend_symtable_str_del(HashTable *ht, const char *str, size_t … in zend_symtable_str_del()
589 static zend_always_inline zend_result zend_symtable_str_del_ind(HashTable *ht, const char *str, siz… in zend_symtable_str_del_ind()
601 static zend_always_inline zval *zend_symtable_str_find(HashTable *ht, const char *str, size_t len) in zend_symtable_str_find()
613 static zend_always_inline bool zend_symtable_str_exists(HashTable *ht, const char *str, size_t len) in zend_symtable_str_exists()
873 static zend_always_inline void *zend_hash_str_find_ptr(const HashTable *ht, const char *str, size_t… in zend_hash_str_find_ptr()
916 static zend_always_inline zval *zend_hash_find_deref(HashTable *ht, zend_string *str) in zend_hash_find_deref()
925 static zend_always_inline zval *zend_hash_str_find_deref(HashTable *ht, const char *str, size_t len) in zend_hash_str_find_deref()
[all …]
/PHP-8.1/ext/standard/
H A Dbase64.h67 static inline zend_string *php_base64_encode_str(const zend_string *str) { in php_base64_encode_str()
71 static inline zend_string *php_base64_decode(const unsigned char *str, size_t len) { in php_base64_decode()
74 static inline zend_string *php_base64_decode_str(const zend_string *str) { in php_base64_decode_str()
H A Dstring.c846 zend_string *str; in php_do_trim() local
1144 zend_string *str; in php_implode() local
1148 zend_string *str; in php_implode() member
1460 zend_string *str; in PHP_FUNCTION() local
1632 char *str; local
2191 zend_string *str; local
2231 zend_string *str; local
2532 zend_string *str; local
2577 zend_string *str; local
2621 zend_string *str; local
[all …]
H A Durl.c53 PHPAPI char *php_replace_controlchars_ex(char *str, size_t len) in php_replace_controlchars_ex()
74 PHPAPI char *php_replace_controlchars(char *str) in php_replace_controlchars()
79 PHPAPI php_url *php_url_parse(char const *str) in php_url_parse()
96 PHPAPI php_url *php_url_parse_ex(char const *str, size_t length) in php_url_parse_ex()
104 PHPAPI php_url *php_url_parse_ex2(char const *str, size_t length, bool *has_port) in php_url_parse_ex2()
333 char *str; in PHP_FUNCTION() local
595 PHPAPI size_t php_url_decode(char *str, size_t len) in php_url_decode()
657 PHPAPI size_t php_raw_url_decode(char *str, size_t len) in php_raw_url_decode()
H A Dbase64.c425 PHPAPI zend_string *php_base64_encode(const unsigned char *str, size_t length) { in php_base64_encode()
428 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, bool strict) { in php_base64_decode_ex()
605 PHPAPI zend_string *php_base64_encode(const unsigned char *str, size_t length) in php_base64_encode()
651 zend_string *php_base64_encode_ssse3(const unsigned char *str, size_t length) in php_base64_encode_ssse3()
778 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex()
799 __m256i str = _mm256_loadu_si256((__m256i *)c); in php_base64_decode_ex() local
859 zend_string *php_base64_decode_ex_ssse3(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex_ssse3()
885 zend_string *php_base64_encode_default(const unsigned char *str, size_t length) in php_base64_encode_default()
906 zend_string *php_base64_decode_ex_default(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex_default()
931 char *str; in PHP_FUNCTION() local
[all …]
H A Dquot_print.c50 PHPAPI zend_string *php_quot_print_decode(const unsigned char *str, size_t length, int replace_us_b… in php_quot_print_decode()
144 PHPAPI zend_string *php_quot_print_encode(const unsigned char *str, size_t length) /* {{{ */ in php_quot_print_encode()
262 zend_string *str; in PHP_FUNCTION() local
/PHP-8.1/sapi/phpdbg/
H A Dphpdbg_utils.c79 PHPDBG_API int phpdbg_is_numeric(const char *str) /* {{{ */ in phpdbg_is_numeric()
93 PHPDBG_API int phpdbg_is_empty(const char *str) /* {{{ */ in phpdbg_is_empty()
107 PHPDBG_API int phpdbg_is_addr(const char *str) /* {{{ */ in phpdbg_is_addr()
112 PHPDBG_API int phpdbg_is_class_method(const char *str, size_t len, char **class, char **method) /* … in phpdbg_is_class_method()
197 PHPDBG_API char *phpdbg_trim(const char *str, size_t len, size_t *new_len) /* {{{ */ in phpdbg_trim()
696 zend_string *str = php_addcslashes(Z_STR_P(zv), "\\\"\n\t\0", 5); in phpdbg_short_zval_print() local
699 ZSTR_VAL(str)[i] = ' '; in phpdbg_short_zval_print() local
714 zend_string *str = Z_OBJCE_P(zv)->name; in phpdbg_short_zval_print() local
/PHP-8.1/ext/filter/
H A Dlogical_filters.c94 static int php_filter_parse_int(const char *str, size_t str_len, zend_long *ret) { /* {{{ */ in php_filter_parse_int()
147 static int php_filter_parse_octal(const char *str, size_t str_len, zend_long *ret) { /* {{{ */ in php_filter_parse_octal()
170 static int php_filter_parse_hex(const char *str, size_t str_len, zend_long *ret) { /* {{{ */ in php_filter_parse_hex()
275 char *str = Z_STRVAL_P(value); in php_filter_boolean() local
345 char *str, *end; in php_filter_float() local
567 static int is_userinfo_valid(zend_string *str) in is_userinfo_valid()
726 static int _php_filter_validate_ipv4(char *str, size_t str_len, int *ip) /* {{{ */ in _php_filter_validate_ipv4()
761 static int _php_filter_validate_ipv6(const char *str, size_t str_len, int ip[8]) /* {{{ */ in _php_filter_validate_ipv6()
H A Dsanitizing_filters.c28 smart_str str = {0}; in php_filter_encode_html() local
68 zend_string *str; in php_filter_encode_url() local
99 unsigned char *str; in php_filter_strip() local
147 unsigned char *str; in filter_map_apply() local
/PHP-8.1/ext/intl/
H A Dintl_common.h41 #define INTL_ZSTR_VAL(str) (UChar*) ZSTR_VAL(str) argument
42 #define INTL_ZSTR_LEN(str) UCHARS(ZSTR_LEN(str)) argument
/PHP-8.1/ext/soap/
H A Dphp_encoding.c233 void whiteSpace_replace(xmlChar* str) in whiteSpace_replace()
243 void whiteSpace_collapse(xmlChar* str) in whiteSpace_collapse()
752 zend_string *str; in to_zval_base64() local
781 zend_string *str; in to_zval_hexbin() local
808 ZSTR_VAL(str)[i] |= c - '0'; in to_zval_hexbin() local
810 ZSTR_VAL(str)[i] |= c - 'a' + 10; in to_zval_hexbin() local
828 char *str; in to_xml_string() local
913 zend_string *str; in to_xml_base64() local
941 unsigned char *str; in to_xml_hexbin() local
1073 char *str; in to_xml_double() local
[all …]
/PHP-8.1/ext/hash/
H A Dhash_tiger.c97 #define split_ex(str) \ argument
101 # define split(str) \ argument
115 #define tiger_compress(passes, str, state) \ argument
/PHP-8.1/scripts/dev/
H A Dcheck_parameters.php52 function error($str, $level = 0)
155 function get_params($vars, $str)
/PHP-8.1/ext/intl/formatter/
H A Dformatter_parse.c36 char* str = NULL; in PHP_FUNCTION() local
130 char *str; in PHP_FUNCTION() local

Completed in 142 milliseconds

12345678910