Home
last modified time | relevance | path

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

12345678910

/PHP-8.0/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.c47 ZEND_API zend_ulong ZEND_FASTCALL zend_string_hash_func(zend_string *str) in zend_string_hash_func()
52 ZEND_API zend_ulong ZEND_FASTCALL zend_hash_func(const char *str, size_t len) in zend_hash_func()
59 zend_string *str = Z_STR_P(zv); in _str_dtor() local
64 #define _ZEND_STR_DSC(id, str) str, argument
82 zend_string *str; in zend_interned_strings_init() local
97 ZSTR_VAL(str)[0] = '\000'; in zend_interned_strings_init() local
143 static zend_always_inline zend_string *zend_interned_string_ht_lookup(zend_string *str, HashTable *… in zend_interned_string_ht_lookup()
179 ZEND_API zend_string* ZEND_FASTCALL zend_interned_string_find_permanent(zend_string *str) in zend_interned_string_find_permanent()
185 static zend_string* ZEND_FASTCALL zend_new_interned_string_permanent(zend_string *str) in zend_new_interned_string_permanent()
211 static zend_string* ZEND_FASTCALL zend_new_interned_string_request(zend_string *str) in zend_new_interned_string_request()
[all …]
H A Dzend_string.h70 #define STR_ALLOCA_ALLOC(str, _len, use_heap) ZSTR_ALLOCA_ALLOC(str, _len, use_heap) in END_EXTERN_C() argument
71 #define STR_ALLOCA_INIT(str, s, len, use_heap) ZSTR_ALLOCA_INIT(str, s, len, use_heap) in END_EXTERN_C() argument
72 #define STR_ALLOCA_FREE(str, use_heap) ZSTR_ALLOCA_FREE(str, use_heap) in END_EXTERN_C() argument
89 #define ZSTR_ALLOCA_ALLOC(str, _len, use_heap) do { \ in END_EXTERN_C() argument
97 #define ZSTR_ALLOCA_INIT(str, s, len, use_heap) do { \ argument
103 #define ZSTR_ALLOCA_FREE(str, use_heap) free_alloca(str, use_heap) argument
173 static zend_always_inline zend_string *zend_string_init_fast(const char *str, size_t len) in zend_string_init_fast()
360 #define zend_string_equals_literal_ci(str, c) \ argument
363 #define zend_string_equals_literal(str, literal) \ argument
399 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_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()
127 ZEND_API void ZEND_FASTCALL _smart_string_alloc_persistent(smart_string *str, size_t len) in _smart_string_alloc_persistent()
147 ZEND_API void ZEND_FASTCALL _smart_string_alloc(smart_string *str, size_t len) in _smart_string_alloc()
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()
292 zend_result zend_ini_prepare_string_for_scanning(char *str, int scanner_mode) in zend_ini_prepare_string_for_scanning()
307 static void zend_ini_escape_string(zval *lval, char *str, int len, char quote_type) in zend_ini_escape_string()
H A Dzend_ast.c82 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_zval_from_str(zend_string *str) { in zend_ast_create_zval_from_str()
962 static ZEND_COLD void zend_ast_export_str(smart_str *str, zend_string *s) in zend_ast_export_str()
977 static ZEND_COLD void zend_ast_export_qstr(smart_str *str, char quote, zend_string *s) in zend_ast_export_qstr()
1022 static ZEND_COLD void zend_ast_export_indent(smart_str *str, int indent) in zend_ast_export_indent()
1181 static ZEND_COLD void zend_ast_export_var_list(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_var_list()
1198 static ZEND_COLD void zend_ast_export_stmt(smart_str *str, zend_ast *ast, int indent) in zend_ast_export_stmt()
1240 static ZEND_COLD void zend_ast_export_if_stmt(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_if_stmt()
1277 static ZEND_COLD void zend_ast_export_zval(smart_str *str, zval *zv, int priority, int indent) in zend_ast_export_zval()
1396 static ZEND_COLD void zend_ast_export_visibility(smart_str *str, uint32_t flags) { in zend_ast_export_visibility()
1406 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.h81 static zend_always_inline void smart_str_free_ex(smart_str *str, zend_bool persistent) { in smart_str_free_ex()
89 static zend_always_inline void smart_str_0(smart_str *str) { in smart_str_0()
91 ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; in smart_str_0() local
95 static zend_always_inline size_t smart_str_get_len(smart_str *str) { in smart_str_get_len()
99 static zend_always_inline zend_string *smart_str_extract(smart_str *str) { in smart_str_extract()
117 static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, z… in smart_str_appendl_ex()
H A Dzend_constants.h52 #define REGISTER_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(na… argument
53 #define REGISTER_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name), si… argument
59 #define REGISTER_NS_STRING_CONSTANT(ns, name, str, flags) zend_register_string_constant(ZEND_NS_NA… argument
60 #define REGISTER_NS_STRINGL_CONSTANT(ns, name, str, len, flags) zend_register_stringl_constant(ZEN… argument
66 #define REGISTER_MAIN_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), size… argument
67 #define REGISTER_MAIN_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name… argument
H A Dzend_attributes.c85 static zend_attribute *get_attribute_str(HashTable *attributes, const char *str, size_t len, uint32… in get_attribute_str()
107 ZEND_API zend_attribute *zend_get_attribute_str(HashTable *attributes, const char *str, size_t len) in zend_get_attribute_str()
117 ZEND_API zend_attribute *zend_get_parameter_attribute_str(HashTable *attributes, const char *str, s… in zend_get_parameter_attribute_str()
151 smart_str str = { 0 }; in zend_get_attribute_target_names() local
273 zend_string *str; in zend_register_attribute_ce() local
H A Dzend_operators.c161 zend_string *str; in convert_scalar_to_number() local
458 zend_string *str = Z_STR_P(op); in convert_to_long_base() local
520 zend_string *str = Z_STR_P(op); in convert_to_double() local
651 zend_string *str; in _convert_to_string() local
688 zend_string *str; in _try_convert_to_string() local
1509 zend_string *str; in bitwise_or_function() local
1591 zend_string *str; in bitwise_and_function() local
1614 ZSTR_VAL(str)[i] = 0; in bitwise_and_function() local
1673 zend_string *str; in bitwise_xor_function() local
1696 ZSTR_VAL(str)[i] = 0; in bitwise_xor_function() local
[all …]
H A Dzend_ts_hash.h89 static zend_always_inline void *zend_ts_hash_str_find_ptr(TsHashTable *ht, const char *str, size_t … in zend_ts_hash_str_find_ptr()
97 static zend_always_inline void *zend_ts_hash_str_update_ptr(TsHashTable *ht, const char *str, size_… in zend_ts_hash_str_update_ptr()
106 static zend_always_inline void *zend_ts_hash_str_add_ptr(TsHashTable *ht, const char *str, size_t l… in zend_ts_hash_str_add_ptr()
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_hash.h215 static zend_always_inline zend_bool zend_hash_str_exists(const HashTable *ht, const char *str, size… in zend_hash_str_exists()
409 static zend_always_inline zval *zend_hash_str_find_ind(const HashTable *ht, const char *str, size_t… in zend_hash_str_find_ind()
419 static zend_always_inline bool zend_hash_str_exists_ind(const HashTable *ht, const char *str, size_… in zend_hash_str_exists_ind()
559 static zend_always_inline zend_result zend_symtable_str_del(HashTable *ht, const char *str, size_t … in zend_symtable_str_del()
571 static zend_always_inline zend_result zend_symtable_str_del_ind(HashTable *ht, const char *str, siz… in zend_symtable_str_del_ind()
583 static zend_always_inline zval *zend_symtable_str_find(HashTable *ht, const char *str, size_t len) in zend_symtable_str_find()
595 static zend_always_inline bool zend_symtable_str_exists(HashTable *ht, const char *str, size_t len) in zend_symtable_str_exists()
855 static zend_always_inline void *zend_hash_str_find_ptr(const HashTable *ht, const char *str, size_t… in zend_hash_str_find_ptr()
898 static zend_always_inline zval *zend_hash_find_deref(HashTable *ht, zend_string *str) in zend_hash_find_deref()
907 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.0/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
1139 zend_string *str; in php_implode() local
1143 zend_string *str; in php_implode() member
1455 zend_string *str; in PHP_FUNCTION() local
1566 char *str; local
2125 zend_string *str; local
2165 zend_string *str; local
2466 zend_string *str; local
2511 zend_string *str; local
2555 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, zend_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, zend_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, zend_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, zend_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, zend_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.0/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()
146 static int php_filter_parse_octal(const char *str, size_t str_len, zend_long *ret) { /* {{{ */ in php_filter_parse_octal()
169 static int php_filter_parse_hex(const char *str, size_t str_len, zend_long *ret) { /* {{{ */ in php_filter_parse_hex()
267 char *str = Z_STRVAL_P(value); in php_filter_boolean() local
337 char *str, *end; in php_filter_float() local
559 static int is_userinfo_valid(zend_string *str) in is_userinfo_valid()
713 static int _php_filter_validate_ipv4(char *str, size_t str_len, int *ip) /* {{{ */ in _php_filter_validate_ipv4()
748 static int _php_filter_validate_ipv6(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.0/ext/intl/
H A Dintl_common.h41 #define INTL_Z_STRVAL_P(str) (UChar*) Z_STRVAL_P(str) argument
42 #define INTL_Z_STRLEN_P(str) UCHARS( Z_STRLEN_P(str) ) argument
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_utils.c80 PHPDBG_API int phpdbg_is_numeric(const char *str) /* {{{ */ in phpdbg_is_numeric()
94 PHPDBG_API int phpdbg_is_empty(const char *str) /* {{{ */ in phpdbg_is_empty()
108 PHPDBG_API int phpdbg_is_addr(const char *str) /* {{{ */ in phpdbg_is_addr()
113 PHPDBG_API int phpdbg_is_class_method(const char *str, size_t len, char **class, char **method) /* … in phpdbg_is_class_method()
198 PHPDBG_API char *phpdbg_trim(const char *str, size_t len, size_t *new_len) /* {{{ */ in phpdbg_trim()
819 zend_string *str = php_addcslashes(Z_STR_P(zv), "\\\"\n\t\0", 5); in phpdbg_short_zval_print() local
822 ZSTR_VAL(str)[i] = ' '; in phpdbg_short_zval_print() local
837 zend_string *str = Z_OBJCE_P(zv)->name; in phpdbg_short_zval_print() local
H A Dphpdbg_webdata_transfer.c22 zend_string *str = zend_string_init(name, len, 0); in phpdbg_is_auto_global() local
53 zend_string *str; in phpdbg_webdata_compress() local
/PHP-8.0/ext/intl/collator/
H A Dcollator_convert.c276 zval* collator_convert_string_to_number( zval* str, zval *rv ) in collator_convert_string_to_number()
300 zval* collator_convert_string_to_double( zval* str, zval *rv ) in collator_convert_string_to_double()
321 zval* collator_convert_string_to_number_if_possible( zval* str, zval *rv ) in collator_convert_string_to_number_if_possible()
360 zval* str = NULL; in collator_make_printable_zval() local
/PHP-8.0/ext/zend_test/
H A Dtest.c103 zend_string *str, *res; in ZEND_FUNCTION() local
119 zend_string *str; in ZEND_FUNCTION() local
125 ZSTR_VAL(str)[ZSTR_LEN(str)] = '\0'; in ZEND_FUNCTION() local
162 zend_string *str; in ZEND_FUNCTION() local
180 zend_string *str; in ZEND_FUNCTION() local
200 zend_string *str; in ZEND_FUNCTION() local
218 zend_string *str; in ZEND_FUNCTION() local

Completed in 110 milliseconds

12345678910