Home
last modified time | relevance | path

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

12345678910

/PHP-7.3/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.c49 ZEND_API zend_ulong ZEND_FASTCALL zend_string_hash_func(zend_string *str) in zend_string_hash_func()
54 ZEND_API zend_ulong ZEND_FASTCALL zend_hash_func(const char *str, size_t len) in zend_hash_func()
61 zend_string *str = Z_STR_P(zv); in _str_dtor() local
66 #define _ZEND_STR_DSC(id, str) str, argument
82 zend_string *str; in zend_interned_strings_init() local
99 ZSTR_VAL(str)[0] = '\000'; in zend_interned_strings_init() local
181 ZEND_API zend_string* ZEND_FASTCALL zend_interned_string_find_permanent(zend_string *str) in zend_interned_string_find_permanent()
187 static zend_string* ZEND_FASTCALL zend_new_interned_string_permanent(zend_string *str) in zend_new_interned_string_permanent()
213 static zend_string* ZEND_FASTCALL zend_new_interned_string_request(zend_string *str) in zend_new_interned_string_request()
256 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_ini_scanner.l139 #define zend_ini_copy_value(retval, str, len) \ argument
143 #define RETURN_TOKEN(type, str, len) { \ argument
153 static inline int convert_to_number(zval *retval, const char *str, const int str_len) in convert_to_number()
173 static void zend_ini_copy_typed_value(zval *retval, const int type, const char *str, int len) in zend_ini_copy_typed_value()
210 static void yy_scan_buffer(char *str, unsigned int len) in yy_scan_buffer()
297 int zend_ini_prepare_string_for_scanning(char *str, int scanner_mode) in zend_ini_prepare_string_for_scanning()
313 static void zend_ini_escape_string(zval *lval, char *str, int len, char quote_type) in zend_ini_escape_string()
H A Dzend_string.h63 #define STR_ALLOCA_ALLOC(str, _len, use_heap) ZSTR_ALLOCA_ALLOC(str, _len, use_heap) in END_EXTERN_C() argument
64 #define STR_ALLOCA_INIT(str, s, len, use_heap) ZSTR_ALLOCA_INIT(str, s, len, use_heap) in END_EXTERN_C() argument
65 #define STR_ALLOCA_FREE(str, use_heap) ZSTR_ALLOCA_FREE(str, use_heap) in END_EXTERN_C() argument
79 #define ZSTR_ALLOCA_ALLOC(str, _len, use_heap) do { \ in END_EXTERN_C() argument
87 #define ZSTR_ALLOCA_INIT(str, s, len, use_heap) do { \ argument
93 #define ZSTR_ALLOCA_FREE(str, use_heap) free_alloca(str, use_heap) argument
153 static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent) in zend_string_init()
325 #define zend_string_equals_literal_ci(str, c) \ argument
328 #define zend_string_equals_literal(str, literal) \ argument
364 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.c142 #define zend_ini_copy_value(retval, str, len) \ argument
146 #define RETURN_TOKEN(type, str, len) { \ argument
156 static inline int convert_to_number(zval *retval, const char *str, const int str_len) in convert_to_number()
176 static void zend_ini_copy_typed_value(zval *retval, const int type, const char *str, int len) in zend_ini_copy_typed_value()
213 static void yy_scan_buffer(char *str, unsigned int len) in yy_scan_buffer()
300 int zend_ini_prepare_string_for_scanning(char *str, int scanner_mode) in zend_ini_prepare_string_for_scanning()
316 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()
860 static ZEND_COLD void zend_ast_export_str(smart_str *str, zend_string *s) in zend_ast_export_str()
875 static ZEND_COLD void zend_ast_export_qstr(smart_str *str, char quote, zend_string *s) in zend_ast_export_qstr()
920 static ZEND_COLD void zend_ast_export_indent(smart_str *str, int indent) in zend_ast_export_indent()
1003 static ZEND_COLD void zend_ast_export_var(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_var()
1079 static ZEND_COLD void zend_ast_export_var_list(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_var_list()
1096 static ZEND_COLD void zend_ast_export_stmt(smart_str *str, zend_ast *ast, int indent) in zend_ast_export_stmt()
1138 static ZEND_COLD void zend_ast_export_if_stmt(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_if_stmt()
1175 static ZEND_COLD void zend_ast_export_zval(smart_str *str, zval *zv, int priority, int indent) in zend_ast_export_zval()
1291 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
415 zend_string *str = Z_STR_P(op); in convert_to_double() local
523 zend_string *str; in _convert_to_cstring() local
560 zend_string *str; in _convert_to_string() local
1487 zend_string *str; in bitwise_or_function() local
1565 zend_string *str; in bitwise_and_function() local
1588 ZSTR_VAL(str)[i] = 0; in bitwise_and_function() local
1643 zend_string *str; in bitwise_xor_function() local
1666 ZSTR_VAL(str)[i] = 0; in bitwise_xor_function() local
[all …]
/PHP-7.3/ext/standard/
H A Dbase64.h69 static inline zend_string *php_base64_encode_str(const zend_string *str) { in php_base64_encode_str()
73 static inline zend_string *php_base64_decode(const unsigned char *str, size_t len) { in php_base64_decode()
76 static inline zend_string *php_base64_decode_str(const zend_string *str) { in php_base64_decode_str()
H A Durl.c63 PHPAPI char *php_replace_controlchars_ex(char *str, size_t len) in php_replace_controlchars_ex()
84 PHPAPI char *php_replace_controlchars(char *str) in php_replace_controlchars()
89 PHPAPI php_url *php_url_parse(char const *str) in php_url_parse()
107 PHPAPI php_url *php_url_parse_ex(char const *str, size_t length) in php_url_parse_ex()
115 PHPAPI php_url *php_url_parse_ex2(char const *str, size_t length, zend_bool *has_port) in php_url_parse_ex2()
341 char *str; in PHP_FUNCTION() local
551 PHPAPI size_t php_url_decode(char *str, size_t len) in php_url_decode()
585 zend_string *str; local
650 PHPAPI size_t php_raw_url_decode(char *str, size_t len)
H A Dstring.c894 zend_string *str; in php_do_trim() local
1204 zend_string *str; in php_implode() local
1525 zend_string *str; in PHP_FUNCTION() local
1645 char *str; local
2362 zend_string *str; local
2407 zend_string *str; local
2482 zval *str; local
2746 zend_string *str; local
2792 zend_string *str; local
2842 zend_string *str; local
[all …]
H A Dbase64.c426 PHPAPI zend_string *php_base64_encode(const unsigned char *str, size_t length) in php_base64_encode()
472 zend_string *php_base64_encode_ssse3(const unsigned char *str, size_t length) in php_base64_encode_ssse3()
632 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, zend_bool strict) in php_base64_decode_ex()
653 __m256i str = _mm256_loadu_si256((__m256i *)c); in php_base64_decode_ex() local
713 zend_string *php_base64_decode_ex_ssse3(const unsigned char *str, size_t length, zend_bool strict) in php_base64_decode_ex_ssse3()
739 zend_string *php_base64_encode_default(const unsigned char *str, size_t length) in php_base64_encode_default()
760 zend_string *php_base64_decode_ex_default(const unsigned char *str, size_t length, zend_bool strict) in php_base64_decode_ex_default()
786 char *str; in PHP_FUNCTION() local
807 char *str; in PHP_FUNCTION() local
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
/PHP-7.3/ext/xml/
H A Dxml.c556 zend_string *str; in xml_utf8_encode() local
580 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (char) c; in xml_utf8_encode() local
582 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xc0 | (c >> 6)); in xml_utf8_encode() local
583 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0x80 | (c & 0x3f)); in xml_utf8_encode() local
585 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xe0 | (c >> 12)); in xml_utf8_encode() local
589 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xf0 | (c >> 18)); in xml_utf8_encode() local
597 ZSTR_VAL(str)[ZSTR_LEN(str)] = '\0'; in xml_utf8_encode() local
610 zend_string *str; in xml_utf8_decode() local
636 ZSTR_VAL(str)[ZSTR_LEN(str)] = '\0'; in xml_utf8_decode() local
695 zend_string *str; in _xml_decode_tag() local
[all …]
/PHP-7.3/ext/mbstring/libmbfl/tests/
H A Demoji.c38 char str[] = {0xF9,0xD6,0x00}; // U+00A9 in main() local
44 char str[] = {0xF7,0x74,0x00}; // U+00A9 in main() local
50 char str[] = {0xF7,0xEE,0x00}; // U+00A9 in main() local
/PHP-7.3/ext/sodium/
H A Dlibsodium.php17 $str = $function($module); variable
19 $str = "Module $module is not compiled into PHP"; variable
/PHP-7.3/ext/opcache/
H A Dzend_persist.c37 #define zend_set_str_gc_flags(str) do { \ argument
45 #define zend_set_str_gc_flags(str) do {\ argument
50 #define zend_accel_store_string(str) do { \ argument
63 #define zend_accel_memdup_string(str) do { \ argument
68 #define zend_accel_store_interned_string(str) do { \ argument
73 #define zend_accel_memdup_interned_string(str) do { \ argument
/PHP-7.3/ext/filter/
H A Dlogical_filters.c84 static int php_filter_parse_int(const char *str, size_t str_len, zend_long *ret) { /* {{{ */ in php_filter_parse_int()
136 static int php_filter_parse_octal(const char *str, size_t str_len, zend_long *ret) { /* {{{ */ in php_filter_parse_octal()
159 static int php_filter_parse_hex(const char *str, size_t str_len, zend_long *ret) { /* {{{ */ in php_filter_parse_hex()
254 char *str = Z_STRVAL_P(value); in php_filter_boolean() local
324 char *str, *end; in php_filter_float() local
535 static int is_userinfo_valid(zend_string *str) in is_userinfo_valid()
694 static int _php_filter_validate_ipv4(char *str, size_t str_len, int *ip) /* {{{ */ in _php_filter_validate_ipv4()
729 static int _php_filter_validate_ipv6(char *str, size_t str_len) /* {{{ */ in _php_filter_validate_ipv6()
/PHP-7.3/ext/wddx/
H A Dphp_wddx_api.h49 #define php_wddx_add_chunk(packet, str) smart_str_appends(packet, str) argument
50 #define php_wddx_add_chunk_ex(packet, str, len) smart_str_appendl(packet, str, len) argument
51 #define php_wddx_add_chunk_static(packet, str) smart_str_appendl(packet, str, sizeof(str)-1) argument
/PHP-7.3/ext/mbstring/oniguruma/src/
H A Dsjis_prop.c52 hash (register const char *str, register size_t len) in hash()
87 onigenc_sjis_lookup_property_name (register const char *str, register size_t len) in onigenc_sjis_lookup_property_name()
H A Deuc_jp_prop.c52 hash (register const char *str, register size_t len) in hash()
87 onigenc_euc_jp_lookup_property_name (register const char *str, register size_t len) in onigenc_euc_jp_lookup_property_name()
/PHP-7.3/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.3/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()
827 zend_string *str = php_addcslashes(Z_STR_P(zv), "\\\"\n\t\0", 5); in phpdbg_short_zval_print() local
830 ZSTR_VAL(str)[i] = ' '; in phpdbg_short_zval_print() local
845 zend_string *str = Z_OBJCE_P(zv)->name; in phpdbg_short_zval_print() local

Completed in 79 milliseconds

12345678910