Home
last modified time | relevance | path

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

12345678910>>...12

/PHP-8.4/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.c55 ZEND_API zend_ulong ZEND_FASTCALL zend_string_hash_func(zend_string *str) in zend_string_hash_func()
60 ZEND_API zend_ulong ZEND_FASTCALL zend_hash_func(const char *str, size_t len) in zend_hash_func()
67 zend_string *str = Z_STR_P(zv); in _str_dtor() local
72 #define _ZEND_STR_DSC(id, str) str, argument
90 zend_string *str; in zend_interned_strings_init() local
107 ZSTR_VAL(str)[0] = '\000'; in zend_interned_strings_init() local
192 ZEND_API zend_string* ZEND_FASTCALL zend_interned_string_find_permanent(zend_string *str) in zend_interned_string_find_permanent()
198 static zend_string* ZEND_FASTCALL zend_init_string_for_interning(zend_string *str, bool persistent) in zend_init_string_for_interning()
209 static zend_string* ZEND_FASTCALL zend_new_interned_string_permanent(zend_string *str) in zend_new_interned_string_permanent()
232 static zend_string* ZEND_FASTCALL zend_new_interned_string_request(zend_string *str) in zend_new_interned_string_request()
[all …]
H A Dzend_string.h78 #define STR_ALLOCA_ALLOC(str, _len, use_heap) ZSTR_ALLOCA_ALLOC(str, _len, use_heap) in END_EXTERN_C() argument
79 #define STR_ALLOCA_INIT(str, s, len, use_heap) ZSTR_ALLOCA_INIT(str, s, len, use_heap) in END_EXTERN_C() argument
80 #define STR_ALLOCA_FREE(str, use_heap) ZSTR_ALLOCA_FREE(str, use_heap) in END_EXTERN_C() argument
119 #define ZSTR_ALLOCA_ALLOC(str, _len, use_heap) do { \ argument
127 #define ZSTR_ALLOCA_INIT(str, s, len, use_heap) do { \ argument
133 #define ZSTR_ALLOCA_FREE(str, use_heap) free_alloca(str, use_heap) argument
397 #define zend_string_equals_literal_ci(str, c) \ argument
400 #define zend_string_equals_literal(str, literal) \ argument
413 #define zend_string_starts_with_literal(str, prefix) \ argument
426 #define zend_string_starts_with_literal_ci(str, prefix) \ argument
[all …]
H A Dzend_smart_str.c30 ZEND_API void ZEND_FASTCALL smart_str_erealloc(smart_str *str, size_t len) in smart_str_erealloc()
44 ZEND_API void ZEND_FASTCALL smart_str_realloc(smart_str *str, size_t len) in smart_str_realloc()
77 ZEND_API void ZEND_FASTCALL smart_str_append_escaped(smart_str *str, const char *s, size_t l) { in smart_str_append_escaped()
117 smart_str *str, double num, int precision, bool zero_fraction) { in smart_str_append_double()
139 ZEND_API void ZEND_FASTCALL _smart_string_alloc_persistent(smart_string *str, size_t len) in _smart_string_alloc_persistent()
159 ZEND_API void ZEND_FASTCALL _smart_string_alloc(smart_string *str, size_t len) in _smart_string_alloc()
185 ZEND_API void ZEND_FASTCALL smart_str_append_escaped_truncated(smart_str *str, const zend_string *v… in smart_str_append_escaped_truncated()
H A Dzend_smart_str.h69 static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { in smart_str_free_ex()
77 static zend_always_inline void smart_str_free(smart_str *str) in smart_str_free()
82 static zend_always_inline void smart_str_0(smart_str *str) { in smart_str_0()
84 ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; in smart_str_0() local
88 static zend_always_inline size_t smart_str_get_len(smart_str *str) { in smart_str_get_len()
92 static zend_always_inline void smart_str_trim_to_size_ex(smart_str *str, bool persistent) in smart_str_trim_to_size_ex()
105 static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { in smart_str_extract_ex()
129 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_ini_scanner.l140 #define zend_ini_copy_value(retval, str, len) \ argument
144 #define RETURN_TOKEN(type, str, len) { \ argument
155 static void zend_ini_copy_typed_value(zval *retval, const int type, const char *str, int len) in zend_ini_copy_typed_value()
187 static void yy_scan_buffer(const char *str, unsigned int len) in yy_scan_buffer()
267 zend_result zend_ini_prepare_string_for_scanning(const char *str, int scanner_mode) in zend_ini_prepare_string_for_scanning()
282 static void zend_ini_escape_string(zval *lval, const 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()
1269 static ZEND_COLD void zend_ast_export_str(smart_str *str, zend_string *s) in zend_ast_export_str()
1284 static ZEND_COLD void zend_ast_export_qstr(smart_str *str, char quote, zend_string *s) in zend_ast_export_qstr()
1329 static ZEND_COLD void zend_ast_export_indent(smart_str *str, int indent) in zend_ast_export_indent()
1488 static ZEND_COLD void zend_ast_export_var_list(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_var_list()
1505 static ZEND_COLD void zend_ast_export_stmt(smart_str *str, zend_ast *ast, int indent) in zend_ast_export_stmt()
1555 static ZEND_COLD void zend_ast_export_if_stmt(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_if_stmt()
1592 static ZEND_COLD void zend_ast_export_zval(smart_str *str, zval *zv, int priority, int indent) in zend_ast_export_zval()
1720 static ZEND_COLD void zend_ast_export_type(smart_str *str, zend_ast *ast, int indent) { in zend_ast_export_type()
1827 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_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_operators.c251 zend_string *str; in convert_scalar_to_number() local
565 zend_string *str = Z_STR_P(op); in convert_to_long() local
623 zend_string *str = Z_STR_P(op); in convert_to_double() local
690 zend_string *str = Z_STR_P(op); in convert_to_boolean() local
784 zend_string *str; in _try_convert_to_string() local
1656 zend_string *str; in bitwise_or_function() local
1738 zend_string *str; in bitwise_and_function() local
1761 ZSTR_VAL(str)[i] = 0; in bitwise_and_function() local
1820 zend_string *str; in bitwise_xor_function() local
1843 ZSTR_VAL(str)[i] = 0; in bitwise_xor_function() local
[all …]
/PHP-8.4/ext/dom/lexbor/lexbor/core/
H A Dstr.h19 #define lexbor_str_get(str, attr) str->attr argument
20 #define lexbor_str_set(str, attr) lexbor_str_get(str, attr) argument
21 #define lexbor_str_len(str) lexbor_str_get(str, length) argument
25 #define lexbor_str_check_size_arg_m(str, size, mraw, plus_len, return_fail) \ argument
187 lexbor_str_data(lexbor_str_t *str) in lexbor_str_data()
193 lexbor_str_length(lexbor_str_t *str) in lexbor_str_length()
199 lexbor_str_size(lexbor_str_t *str) in lexbor_str_size()
205 lexbor_str_data_set(lexbor_str_t *str, lxb_char_t *data) in lexbor_str_data_set()
211 lexbor_str_length_set(lexbor_str_t *str, lexbor_mraw_t *mraw, size_t length) in lexbor_str_length_set()
H A Dstr.c22 lexbor_str_init(lexbor_str_t *str, lexbor_mraw_t *mraw, size_t size) in lexbor_str_init()
39 lexbor_str_init_append(lexbor_str_t *str, lexbor_mraw_t *mraw, in lexbor_str_init_append()
64 lexbor_str_clean(lexbor_str_t *str) in lexbor_str_clean()
70 lexbor_str_clean_all(lexbor_str_t *str) in lexbor_str_clean_all()
131 lexbor_str_append(lexbor_str_t *str, lexbor_mraw_t *mraw, in lexbor_str_append()
149 lexbor_str_append_before(lexbor_str_t *str, lexbor_mraw_t *mraw, in lexbor_str_append_before()
169 lexbor_str_append_one(lexbor_str_t *str, lexbor_mraw_t *mraw, in lexbor_str_append_one()
615 lexbor_str_data_noi(lexbor_str_t *str) in lexbor_str_data_noi()
621 lexbor_str_length_noi(lexbor_str_t *str) in lexbor_str_length_noi()
627 lexbor_str_size_noi(lexbor_str_t *str) in lexbor_str_size_noi()
[all …]
/PHP-8.4/ext/standard/
H A Dbase64.h70 static inline zend_string *php_base64_encode(const unsigned char *str, size_t len) { in php_base64_encode()
73 static inline zend_string *php_base64_encode_str(const zend_string *str) { in php_base64_encode_str()
77 static inline zend_string *php_base64_decode(const unsigned char *str, size_t len) { in php_base64_decode()
80 static inline zend_string *php_base64_decode_str(const zend_string *str) { in php_base64_decode_str()
H A Dstring.c639 zend_string *str; in php_do_trim() local
662 zend_string *str; variable
962 zend_string *str; in php_implode() local
1109 zend_string *str; variable
1230 zend_string *str; in PHP_FUNCTION() local
1242 zend_string *str; in PHP_FUNCTION() local
1298 zend_string *str; in PHP_FUNCTION() local
1546 zend_string *str; local
1562 zend_string *str; variable
1575 zend_string *str; variable
[all …]
H A Dbase64.c534 __m512i str = _mm512_loadu_si512((const __m512i *)c); in php_base64_encode_avx512_vbmi() local
591 __m512i str = _mm512_permutex2var_epi8(lookup_0, input, lookup_1); in php_base64_decode_ex_avx512_vbmi() local
625 zend_string *php_base64_encode_avx512(const unsigned char *str, size_t length, zend_long flags) in php_base64_encode_avx512()
637 __m512i str = _mm512_loadu_si512((const __m512i *)c); in php_base64_encode_avx512() local
687 zend_string *php_base64_decode_ex_avx512(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex_avx512()
699 __m512i str = _mm512_loadu_si512((__m512i *)c); in php_base64_decode_ex_avx512() local
953 zend_string *php_base64_encode_ssse3(const unsigned char *str, size_t length, zend_long flags) in php_base64_encode_ssse3()
1101 __m256i str = _mm256_loadu_si256((__m256i *)c); in php_base64_decode_ex() local
1161 zend_string *php_base64_decode_ex_ssse3(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex_ssse3()
1233 char *str; in PHP_FUNCTION() local
[all …]
H A Durl.c52 static void php_replace_controlchars(char *str, size_t len) in php_replace_controlchars()
67 PHPAPI php_url *php_url_parse(char const *str) in php_url_parse()
84 PHPAPI php_url *php_url_parse_ex(char const *str, size_t length) in php_url_parse_ex()
92 PHPAPI php_url *php_url_parse_ex2(char const *str, size_t length, bool *has_port) in php_url_parse_ex2()
321 char *str; in PHP_FUNCTION() local
582 PHPAPI size_t php_url_decode(char *str, size_t len) in php_url_decode()
644 PHPAPI size_t php_raw_url_decode(char *str, size_t len) in php_raw_url_decode()
H A Dquot_print.c46 PHPAPI zend_string *php_quot_print_decode(const unsigned char *str, size_t length, int replace_us_b… in php_quot_print_decode()
140 PHPAPI zend_string *php_quot_print_encode(const unsigned char *str, size_t length) /* {{{ */ in php_quot_print_encode()
258 zend_string *str; in PHP_FUNCTION() local
/PHP-8.4/ext/odbc/
H A Dodbc_utils.c30 zend_string *str; in PHP_FUNCTION() local
43 zend_string *str; in PHP_FUNCTION() local
56 zend_string *str; in PHP_FUNCTION() local
/PHP-8.4/ext/dl_test/
H A Ddl_test.stub.php10 function dl_test_test2(string $str = ""): string {}
13 public function test(string $str = ""): string {}
/PHP-8.4/ext/dom/lexbor/lexbor/html/tree/insertion_mode/
H A Dinitial.c293 lxb_html_tree_insertion_mode_initial_str_t *str; in lxb_html_tree_insertion_mode_initial_doctype_ckeck_public() local
333 lxb_html_tree_insertion_mode_initial_str_t *str; in lxb_html_tree_insertion_mode_initial_doctype_ckeck_system() local
358 lxb_html_tree_insertion_mode_initial_str_t *str; in lxb_html_tree_insertion_mode_initial_doctype_ckeck_pubsys() local
384 lxb_html_tree_insertion_mode_initial_str_t *str; in lxb_html_tree_insertion_mode_initial_doctype_check_limq() local
/PHP-8.4/ext/dom/lexbor/lexbor/css/
H A Dcss.c11 lexbor_str_t *str; member
157 lxb_css_make_data(lxb_css_parser_t *parser, lexbor_str_t *str, in lxb_css_make_data()
212 lexbor_str_t str; in lxb_css_serialize_char_handler() local
251 lxb_css_serialize_str_handler(const void *style, lexbor_str_t *str, in lxb_css_serialize_str_handler()
/PHP-8.4/main/
H A Dphp_odbc_utils.c39 PHPAPI bool php_odbc_connstr_is_quoted(const char *str) in php_odbc_connstr_is_quoted()
70 PHPAPI bool php_odbc_connstr_should_quote(const char *str) in php_odbc_connstr_should_quote()
/PHP-8.4/ext/opcache/jit/ir/
H A Dir_strtab.c14 const char *str; member
19 static uint32_t ir_str_hash(const char *str, size_t len) in ir_str_hash()
115 ir_ref ir_strtab_find(const ir_strtab *strtab, const char *str, uint32_t len) in ir_strtab_find()
134 ir_ref ir_strtab_lookup(ir_strtab *strtab, const char *str, uint32_t len, ir_ref val) in ir_strtab_lookup()
183 ir_ref ir_strtab_update(ir_strtab *strtab, const char *str, uint32_t len, ir_ref val) in ir_strtab_update()
/PHP-8.4/ext/bcmath/libbcmath/src/
H A Dconvert.c73 BC_VECTOR bc_parse_chunk_chars(const char *str) in bc_parse_chunk_chars()
92 BC_VECTOR bc_parse_chunk_chars(const char *str) in bc_parse_chunk_chars()
148 void bc_write_bcd_representation(uint32_t value, char *str) in bc_write_bcd_representation()
/PHP-8.4/ext/dom/lexbor/lexbor/css/syntax/
H A Dtoken.c34 lexbor_str_t *str; member
97 lexbor_str_t *str, lexbor_mraw_t *mraw) in lxb_css_syntax_token_string_dup()
291 const lxb_css_syntax_token_string_t *str; in lxb_css_syntax_token_serialize() local
514 lexbor_str_t *str, lexbor_mraw_t *mraw) in lxb_css_syntax_token_serialize_str()
553 lexbor_str_t str; in lxb_css_syntax_token_serialize_char() local
/PHP-8.4/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()
697 zend_string *str = php_addcslashes(Z_STR_P(zv), "\\\"\n\t\0", 5); in phpdbg_short_zval_print() local
700 ZSTR_VAL(str)[i] = ' '; in phpdbg_short_zval_print() local
715 zend_string *str = Z_OBJCE_P(zv)->name; in phpdbg_short_zval_print() local

Completed in 118 milliseconds

12345678910>>...12