Home
last modified time | relevance | path

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

123456789

/PHP-7.0/ext/standard/
H A Durl.c64 PHPAPI char *php_replace_controlchars_ex(char *str, size_t len) in php_replace_controlchars_ex()
85 PHPAPI char *php_replace_controlchars(char *str) in php_replace_controlchars()
90 PHPAPI php_url *php_url_parse(char const *str) in php_url_parse()
339 char *str; in PHP_FUNCTION() local
529 PHPAPI size_t php_url_decode(char *str, size_t len) in php_url_decode()
563 zend_string *str; local
567 ZSTR_VAL(str)[y] = (unsigned char) s[x]; local
573 ZSTR_VAL(str)[y++] = '%'; local
575 ZSTR_VAL(str)[y] = hexchars[(unsigned char) s[x] & 15]; local
584 ZSTR_VAL(str)[y] = '\0'; local
[all …]
H A Dbase64.c56 PHPAPI zend_string *php_base64_encode(const unsigned char *str, size_t length) /* {{{ */ in php_base64_encode()
130 PHPAPI zend_string *php_base64_decode(const unsigned char *str, size_t length) /* {{{ */ in php_base64_decode()
136 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, zend_bool strict)… in php_base64_decode_ex()
210 char *str; in PHP_FUNCTION() local
230 char *str; in PHP_FUNCTION() local
H A Dstring.c896 zend_string *str; in php_do_trim() local
1502 zend_string *str; in PHP_FUNCTION() local
1619 char *str; local
2277 zend_string *str; local
2319 zend_string *str; local
2386 zval *str; local
2647 zend_string *str; local
2692 char *str; local
2742 zend_string *str; local
2790 zend_string *str; local
[all …]
H A Dquot_print.c54 PHPAPI zend_string *php_quot_print_decode(const unsigned char *str, size_t length, int replace_us_b… in php_quot_print_decode()
148 PHPAPI zend_string *php_quot_print_encode(const unsigned char *str, size_t length) /* {{{ */ in php_quot_print_encode()
267 zend_string *str; in PHP_FUNCTION() local
H A Dvar_unserializer.c207 zend_string *str = zend_string_safe_alloc(1, len, 0, 0); in unserialize_str() local
221 ZSTR_VAL(str)[i] = (char)**p; in unserialize_str() local
238 ZSTR_VAL(str)[i] = (char)ch; in unserialize_str() local
242 ZSTR_VAL(str)[i] = 0; in unserialize_str() local
1117 char *str; in php_var_unserialize_internal() local
1271 zend_string *str; in php_var_unserialize_internal() local
1371 char *str; in php_var_unserialize_internal() local
/PHP-7.0/Zend/
H A Dzend_string.h50 #define STR_ALLOCA_ALLOC(str, _len, use_heap) ZSTR_ALLOCA_ALLOC(str, _len, use_heap) in END_EXTERN_C() argument
51 #define STR_ALLOCA_INIT(str, s, len, use_heap) ZSTR_ALLOCA_INIT(str, s, len, use_heap) in END_EXTERN_C() argument
52 #define STR_ALLOCA_FREE(str, use_heap) ZSTR_ALLOCA_FREE(str, use_heap) in END_EXTERN_C() argument
64 #define ZSTR_ALLOCA_ALLOC(str, _len, use_heap) do { \ in END_EXTERN_C() argument
72 #define ZSTR_ALLOCA_INIT(str, s, len, use_heap) do { \ argument
78 #define ZSTR_ALLOCA_FREE(str, use_heap) free_alloca(str, use_heap) argument
285 #define zend_string_equals_literal_ci(str, c) \ argument
288 #define zend_string_equals_literal(str, literal) \ argument
324 static zend_always_inline zend_ulong zend_inline_hash_func(const char *str, size_t len) in zend_inline_hash_func()
363 zend_string *str; in zend_interned_empty_string_init() local
[all …]
H A Dzend_string.c32 ZEND_API zend_ulong zend_hash_func(const char *str, size_t len) in zend_hash_func()
40 zend_string *str = Z_STR_P(zv); in _str_dtor() local
48 zend_string *str; in zend_interned_strings_init() local
59 ZSTR_VAL(str)[0] = '\000'; in zend_interned_strings_init() local
78 static zend_string *zend_new_interned_string_int(zend_string *str) in zend_new_interned_string_int()
H A Dzend_ini_scanner.l141 #define zend_ini_copy_value(retval, str, len) \ argument
145 #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.c600 static void zend_ast_export_str(smart_str *str, zend_string *s) in zend_ast_export_str()
615 static void zend_ast_export_qstr(smart_str *str, char quote, zend_string *s) in zend_ast_export_qstr()
660 static void zend_ast_export_indent(smart_str *str, int indent) in zend_ast_export_indent()
738 static void zend_ast_export_var(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_var()
798 static void zend_ast_export_name_list(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_name_list()
811 static void zend_ast_export_var_list(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_var_list()
828 static void zend_ast_export_stmt(smart_str *str, zend_ast *ast, int indent) in zend_ast_export_stmt()
870 static void zend_ast_export_if_stmt(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_if_stmt()
907 static void zend_ast_export_zval(smart_str *str, zval *zv, int priority, int indent) in zend_ast_export_zval()
1026 static void zend_ast_export_ex(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_ex()
[all …]
H A Dzend_ini_scanner.c143 #define zend_ini_copy_value(retval, str, len) \ argument
147 #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_constants.h44 #define REGISTER_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(na… argument
45 #define REGISTER_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name), si… argument
51 #define REGISTER_NS_STRING_CONSTANT(ns, name, str, flags) zend_register_string_constant(ZEND_NS_NA… argument
52 #define REGISTER_NS_STRINGL_CONSTANT(ns, name, str, len, flags) zend_register_stringl_constant(ZEN… argument
58 #define REGISTER_MAIN_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), size… argument
59 #define REGISTER_MAIN_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name… argument
H A Dzend_smart_str.c35 ZEND_API void ZEND_FASTCALL smart_str_erealloc(smart_str *str, size_t len) in smart_str_erealloc()
49 ZEND_API void ZEND_FASTCALL smart_str_realloc(smart_str *str, size_t len) in smart_str_realloc()
H A Dzend_operators.c159 zend_string *str; in convert_scalar_to_number() local
327 zend_string *str = Z_STR_P(op); in convert_to_long_base() local
387 zend_string *str = Z_STR_P(op); in convert_to_double() local
508 zend_string *str; in _convert_to_cstring() local
550 zend_string *str; in _convert_to_string() local
1389 zend_string *str; in bitwise_or_function() local
1465 zend_string *str; in bitwise_and_function() local
1492 ZSTR_VAL(str)[i] = 0; in bitwise_and_function() local
1541 zend_string *str; in bitwise_xor_function() local
1568 ZSTR_VAL(str)[i] = 0; in bitwise_xor_function() local
[all …]
H A Dzend_smart_str.h68 static zend_always_inline void smart_str_free(smart_str *str) { in smart_str_free()
76 static zend_always_inline void smart_str_0(smart_str *str) { in smart_str_0()
78 ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; in smart_str_0() local
88 static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, z… in smart_str_appendl_ex()
/PHP-7.0/ext/mbstring/oniguruma/
H A Dtestc.c34 static void xx(char* pattern, char* str, int from, int to, int mem, int not) in xx()
144 static void x2(char* pattern, char* str, int from, int to) in x2()
149 static void x3(char* pattern, char* str, int from, int to, int mem) in x3()
154 static void n(char* pattern, char* str) in n()
H A Dtestu.c58 static void xx(char* pattern, char* str, int from, int to, int mem, int not) in xx()
190 static void x2(char* pattern, char* str, int from, int to) in x2()
195 static void x3(char* pattern, char* str, int from, int to, int mem) in x3()
200 static void n(char* pattern, char* str) in n()
/PHP-7.0/ext/mbstring/oniguruma/win32/
H A Dtestc.c34 static void xx(char* pattern, char* str, int from, int to, int mem, int not) in xx()
144 static void x2(char* pattern, char* str, int from, int to) in x2()
149 static void x3(char* pattern, char* str, int from, int to, int mem) in x3()
154 static void n(char* pattern, char* str) in n()
/PHP-7.0/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.0/ext/xml/
H A Dxml.c570 zend_string *str; in xml_utf8_encode() local
594 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (char) c; in xml_utf8_encode() local
596 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xc0 | (c >> 6)); in xml_utf8_encode() local
597 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0x80 | (c & 0x3f)); in xml_utf8_encode() local
599 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xe0 | (c >> 12)); in xml_utf8_encode() local
603 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xf0 | (c >> 18)); in xml_utf8_encode() local
611 ZSTR_VAL(str)[ZSTR_LEN(str)] = '\0'; in xml_utf8_encode() local
624 zend_string *str; in xml_utf8_decode() local
650 ZSTR_VAL(str)[ZSTR_LEN(str)] = '\0'; in xml_utf8_decode() local
709 zend_string *str; in _xml_decode_tag() local
[all …]
/PHP-7.0/ext/skeleton/
H A Dskeleton.php16 $str = $function($module); variable
18 $str = "Module $module is not compiled into PHP"; variable
/PHP-7.0/ext/opcache/
H A Dzend_persist.c37 #define zend_set_str_gc_flags(str) do { \ argument
45 #define zend_set_str_gc_flags(str) GC_FLAGS(str) = IS_STR_INTERNED | IS_STR_PERMANENT argument
48 #define zend_accel_store_string(str) do { \ argument
61 #define zend_accel_memdup_string(str) do { \ argument
66 #define zend_accel_store_interned_string(str) do { \ argument
71 #define zend_accel_memdup_interned_string(str) do { \ argument
/PHP-7.0/ext/wddx/
H A Dphp_wddx_api.h51 #define php_wddx_add_chunk(packet, str) smart_str_appends(packet, str) argument
52 #define php_wddx_add_chunk_ex(packet, str, len) smart_str_appendl(packet, str, len) argument
53 #define php_wddx_add_chunk_static(packet, str) smart_str_appendl(packet, str, sizeof(str)-1) argument
/PHP-7.0/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.0/ext/filter/
H A Dlogical_filters.c86 static int php_filter_parse_int(const char *str, size_t str_len, zend_long *ret) { /* {{{ */ in php_filter_parse_int()
138 static int php_filter_parse_octal(const char *str, size_t str_len, zend_long *ret) { /* {{{ */ in php_filter_parse_octal()
161 static int php_filter_parse_hex(const char *str, size_t str_len, zend_long *ret) { /* {{{ */ in php_filter_parse_hex()
256 char *str = Z_STRVAL_P(value); in php_filter_boolean() local
326 char *str, *end; in php_filter_float() local
632 static int _php_filter_validate_ipv4(char *str, size_t str_len, int *ip) /* {{{ */ in _php_filter_validate_ipv4()
667 static int _php_filter_validate_ipv6(char *str, size_t str_len) /* {{{ */ in _php_filter_validate_ipv6()
/PHP-7.0/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()
810 zend_string *str = php_addcslashes(Z_STR_P(zv), 0, "\\\"\n\t\0", 5); in phpdbg_short_zval_print() local
813 ZSTR_VAL(str)[i] = ' '; in phpdbg_short_zval_print() local
828 zend_string *str = Z_OBJCE_P(zv)->name; in phpdbg_short_zval_print() local

Completed in 114 milliseconds

123456789