Home
last modified time | relevance | path

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

12345678910

/PHP-7.4/Zend/
H A Dzend_smart_string.h30 #define smart_string_appends_ex(str, src, what) \ argument
32 #define smart_string_appends(str, src) \ argument
34 #define smart_string_append_ex(str, src, what) \ argument
37 #define smart_string_sets(str, src) \ argument
40 #define smart_string_appendc(str, c) \ argument
44 #define smart_string_appendl(str, src, len) \ argument
46 #define smart_string_append(str, src) \ argument
48 #define smart_string_append_long(str, val) \ argument
50 #define smart_string_append_unsigned(str, val) \ argument
75 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
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()
254 static zend_string* ZEND_FASTCALL zend_string_init_interned_permanent(const char *str, size_t size,… in zend_string_init_interned_permanent()
[all …]
H A Dzend_string.h62 #define STR_ALLOCA_ALLOC(str, _len, use_heap) ZSTR_ALLOCA_ALLOC(str, _len, use_heap) in END_EXTERN_C() argument
63 #define STR_ALLOCA_INIT(str, s, len, use_heap) ZSTR_ALLOCA_INIT(str, s, len, use_heap) in END_EXTERN_C() argument
64 #define STR_ALLOCA_FREE(str, use_heap) ZSTR_ALLOCA_FREE(str, use_heap) in END_EXTERN_C() argument
81 #define ZSTR_ALLOCA_ALLOC(str, _len, use_heap) do { \ in END_EXTERN_C() argument
89 #define ZSTR_ALLOCA_INIT(str, s, len, use_heap) do { \ argument
95 #define ZSTR_ALLOCA_FREE(str, use_heap) free_alloca(str, use_heap) argument
156 static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent) in zend_string_init()
328 #define zend_string_equals_literal_ci(str, c) \ argument
331 #define zend_string_equals_literal(str, literal) \ argument
367 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.c31 ZEND_API void ZEND_FASTCALL smart_str_erealloc(smart_str *str, size_t len) in smart_str_erealloc()
45 ZEND_API void ZEND_FASTCALL smart_str_realloc(smart_str *str, size_t len) in smart_str_realloc()
78 ZEND_API void ZEND_FASTCALL smart_str_append_escaped(smart_str *str, const char *s, size_t l) { in smart_str_append_escaped()
129 ZEND_API void ZEND_FASTCALL _smart_string_alloc_persistent(smart_string *str, size_t len) in _smart_string_alloc_persistent()
149 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 int 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()
298 int zend_ini_prepare_string_for_scanning(char *str, int scanner_mode) in zend_ini_prepare_string_for_scanning()
314 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()
926 static ZEND_COLD void zend_ast_export_str(smart_str *str, zend_string *s) in zend_ast_export_str()
941 static ZEND_COLD void zend_ast_export_qstr(smart_str *str, char quote, zend_string *s) in zend_ast_export_qstr()
986 static ZEND_COLD void zend_ast_export_indent(smart_str *str, int indent) in zend_ast_export_indent()
1069 static ZEND_COLD void zend_ast_export_var(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_var()
1145 static ZEND_COLD void zend_ast_export_var_list(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_var_list()
1162 static ZEND_COLD void zend_ast_export_stmt(smart_str *str, zend_ast *ast, int indent) in zend_ast_export_stmt()
1204 static ZEND_COLD void zend_ast_export_if_stmt(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_if_stmt()
1241 static ZEND_COLD void zend_ast_export_zval(smart_str *str, zval *zv, int priority, int indent) in zend_ast_export_zval()
1357 static ZEND_COLD void zend_ast_export_ex(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_ex()
[all …]
H A Dzend_smart_str.h83 static zend_always_inline void smart_str_free_ex(smart_str *str, zend_bool persistent) { in smart_str_free_ex()
91 static zend_always_inline void smart_str_0(smart_str *str) { in smart_str_0()
93 ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; in smart_str_0() local
97 static zend_always_inline size_t smart_str_get_len(smart_str *str) { in smart_str_get_len()
101 static zend_always_inline zend_string *smart_str_extract(smart_str *str) { in smart_str_extract()
119 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.h55 #define REGISTER_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(na… argument
56 #define REGISTER_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name), si… argument
62 #define REGISTER_NS_STRING_CONSTANT(ns, name, str, flags) zend_register_string_constant(ZEND_NS_NA… argument
63 #define REGISTER_NS_STRINGL_CONSTANT(ns, name, str, len, flags) zend_register_stringl_constant(ZEN… argument
69 #define REGISTER_MAIN_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), size… argument
70 #define REGISTER_MAIN_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name… argument
H A Dzend_operators.c166 zend_string *str; in _convert_scalar_to_number() local
353 zend_string *str = Z_STR_P(op); in convert_to_long_base() local
523 zend_string *str; in _convert_to_cstring() local
560 zend_string *str; in _convert_to_string() local
610 zend_string *str; in _try_convert_to_string() local
1521 zend_string *str; in bitwise_or_function() local
1599 zend_string *str; in bitwise_and_function() local
1622 ZSTR_VAL(str)[i] = 0; in bitwise_and_function() local
1677 zend_string *str; in bitwise_xor_function() local
1700 ZSTR_VAL(str)[i] = 0; in bitwise_xor_function() local
[all …]
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_execute_API.c1062 ZEND_API int zend_eval_stringl(char *str, size_t str_len, zval *retval_ptr, char *string_name) /* {… in zend_eval_stringl()
1126 ZEND_API int zend_eval_string(char *str, zval *retval_ptr, char *string_name) /* {{{ */ in zend_eval_string()
1132 ZEND_API int zend_eval_stringl_ex(char *str, size_t str_len, zval *retval_ptr, char *string_name, i… in zend_eval_stringl_ex()
1145 ZEND_API int zend_eval_string_ex(char *str, zval *retval_ptr, char *string_name, int handle_excepti… in zend_eval_string_ex()
1502 zend_string **str = ex->func->op_array.vars; in zend_rebuild_symbol_table() local
1524 zend_string **str = op_array->vars; in zend_attach_symbol_table() local
1558 zend_string **str = op_array->vars; in zend_detach_symbol_table() local
1590 zend_string **str = op_array->vars; in zend_set_local_var() local
1632 zend_string **str = op_array->vars; in zend_set_local_var_str() local
H A Dzend_hash.h217 static zend_always_inline zend_bool zend_hash_str_exists(const HashTable *ht, const char *str, size… in zend_hash_str_exists()
389 static zend_always_inline zval *zend_hash_str_find_ind(const HashTable *ht, const char *str, size_t… in zend_hash_str_find_ind()
399 static zend_always_inline int zend_hash_str_exists_ind(const HashTable *ht, const char *str, size_t… in zend_hash_str_exists_ind()
539 static zend_always_inline int zend_symtable_str_del(HashTable *ht, const char *str, size_t len) in zend_symtable_str_del()
551 static zend_always_inline int zend_symtable_str_del_ind(HashTable *ht, const char *str, size_t len) in zend_symtable_str_del_ind()
563 static zend_always_inline zval *zend_symtable_str_find(HashTable *ht, const char *str, size_t len) in zend_symtable_str_find()
575 static zend_always_inline int zend_symtable_str_exists(HashTable *ht, const char *str, size_t len) in zend_symtable_str_exists()
835 static zend_always_inline void *zend_hash_str_find_ptr(const HashTable *ht, const char *str, size_t… in zend_hash_str_find_ptr()
870 static zend_always_inline zval *zend_hash_find_deref(HashTable *ht, zend_string *str) in zend_hash_find_deref()
879 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 …]
H A Dzend_ts_hash.h94 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()
102 static zend_always_inline void *zend_ts_hash_str_update_ptr(TsHashTable *ht, const char *str, size_… in zend_ts_hash_str_update_ptr()
111 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()
/PHP-7.4/ext/standard/
H A Durl.c59 PHPAPI char *php_replace_controlchars_ex(char *str, size_t len) in php_replace_controlchars_ex()
80 PHPAPI char *php_replace_controlchars(char *str) in php_replace_controlchars()
85 PHPAPI php_url *php_url_parse(char const *str) in php_url_parse()
103 PHPAPI php_url *php_url_parse_ex(char const *str, size_t length) in php_url_parse_ex()
111 PHPAPI php_url *php_url_parse_ex2(char const *str, size_t length, zend_bool *has_port) in php_url_parse_ex2()
337 char *str; in PHP_FUNCTION() local
547 PHPAPI size_t php_url_decode(char *str, size_t len) in php_url_decode()
581 zend_string *str; local
646 PHPAPI size_t php_raw_url_decode(char *str, size_t len)
H A Dbase64.h72 static inline zend_string *php_base64_encode_str(const zend_string *str) { in php_base64_encode_str()
76 static inline zend_string *php_base64_decode(const unsigned char *str, size_t len) { in php_base64_decode()
79 static inline zend_string *php_base64_decode_str(const zend_string *str) { in php_base64_decode_str()
H A Dstring.c877 zend_string *str; in php_do_trim() local
1187 zend_string *str; in php_implode() local
1510 zend_string *str; in PHP_FUNCTION() local
1630 char *str; local
2345 zend_string *str; local
2390 zend_string *str; local
2466 zval *str; local
2736 zend_string *str; local
2782 zend_string *str; local
2828 zend_string *str; local
[all …]
H A Dbase64.c424 PHPAPI zend_string *php_base64_encode(const unsigned char *str, size_t length) { in php_base64_encode()
427 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, zend_bool strict)… in php_base64_decode_ex()
604 PHPAPI zend_string *php_base64_encode(const unsigned char *str, size_t length) in php_base64_encode()
650 zend_string *php_base64_encode_ssse3(const unsigned char *str, size_t length) in php_base64_encode_ssse3()
777 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, zend_bool strict) in php_base64_decode_ex()
798 __m256i str = _mm256_loadu_si256((__m256i *)c); in php_base64_decode_ex() local
858 zend_string *php_base64_decode_ex_ssse3(const unsigned char *str, size_t length, zend_bool strict) in php_base64_decode_ex_ssse3()
884 zend_string *php_base64_encode_default(const unsigned char *str, size_t length) in php_base64_encode_default()
905 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.c52 PHPAPI zend_string *php_quot_print_decode(const unsigned char *str, size_t length, int replace_us_b… in php_quot_print_decode()
146 PHPAPI zend_string *php_quot_print_encode(const unsigned char *str, size_t length) /* {{{ */ in php_quot_print_encode()
265 zend_string *str; in PHP_FUNCTION() local
H A Dcyr_convert.c202 static char * php_convert_cyr_string(unsigned char *str, size_t length, char from, char to) in php_convert_cyr_string()
273 zend_string *str; in PHP_FUNCTION() local
H A Dassert.c187 zend_string *str = zval_get_string(description); in PHP_FUNCTION() local
252 zend_string *str = zval_get_string(description); in PHP_FUNCTION() local
264 zend_string *str = zval_get_string(description); in PHP_FUNCTION() local
/PHP-7.4/ext/filter/
H A Dlogical_filters.c96 static int php_filter_parse_int(const char *str, size_t str_len, zend_long *ret) { /* {{{ */ in php_filter_parse_int()
148 static int php_filter_parse_octal(const char *str, size_t str_len, zend_long *ret) { /* {{{ */ in php_filter_parse_octal()
171 static int php_filter_parse_hex(const char *str, size_t str_len, zend_long *ret) { /* {{{ */ in php_filter_parse_hex()
266 char *str = Z_STRVAL_P(value); in php_filter_boolean() local
336 char *str, *end; in php_filter_float() local
558 static int is_userinfo_valid(zend_string *str) in is_userinfo_valid()
717 static int _php_filter_validate_ipv4(char *str, size_t str_len, int *ip) /* {{{ */ in _php_filter_validate_ipv4()
752 static int _php_filter_validate_ipv6(char *str, size_t str_len, int ip[8]) /* {{{ */ in _php_filter_validate_ipv6()
/PHP-7.4/ext/intl/
H A Dintl_common.h43 #define INTL_Z_STRVAL_P(str) (UChar*) Z_STRVAL_P(str) argument
44 #define INTL_Z_STRLEN_P(str) UCHARS( Z_STRLEN_P(str) ) argument
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_utils.c82 PHPDBG_API int phpdbg_is_numeric(const char *str) /* {{{ */ in phpdbg_is_numeric()
96 PHPDBG_API int phpdbg_is_empty(const char *str) /* {{{ */ in phpdbg_is_empty()
110 PHPDBG_API int phpdbg_is_addr(const char *str) /* {{{ */ in phpdbg_is_addr()
115 PHPDBG_API int phpdbg_is_class_method(const char *str, size_t len, char **class, char **method) /* … in phpdbg_is_class_method()
200 PHPDBG_API char *phpdbg_trim(const char *str, size_t len, size_t *new_len) /* {{{ */ in phpdbg_trim()
822 zend_string *str = php_addcslashes(Z_STR_P(zv), "\\\"\n\t\0", 5); in phpdbg_short_zval_print() local
825 ZSTR_VAL(str)[i] = ' '; in phpdbg_short_zval_print() local
840 zend_string *str = Z_OBJCE_P(zv)->name; in phpdbg_short_zval_print() local
/PHP-7.4/ext/intl/collator/
H A Dcollator_convert.c301 zval* collator_convert_string_to_number( zval* str, zval *rv ) in collator_convert_string_to_number()
325 zval* collator_convert_string_to_double( zval* str, zval *rv ) in collator_convert_string_to_double()
346 zval* collator_convert_string_to_number_if_possible( zval* str, zval *rv ) in collator_convert_string_to_number_if_possible()
385 zval* str = NULL; in collator_make_printable_zval() local
/PHP-7.4/ext/hash/
H A Dhash_tiger.c99 #define split_ex(str) \ argument
103 # define split(str) \ argument
117 #define tiger_compress(passes, str, state) \ argument

Completed in 104 milliseconds

12345678910