Home
last modified time | relevance | path

Searched refs:smart_str (Results 1 – 25 of 90) sorted by relevance

1234

/php-src/Zend/
H A Dzend_smart_str.h26 ZEND_API void ZEND_FASTCALL smart_str_erealloc(smart_str *str, size_t len);
27 ZEND_API void ZEND_FASTCALL smart_str_realloc(smart_str *str, size_t len);
32 smart_str *str, double num, int precision, bool zero_fraction);
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()
88 static zend_always_inline size_t smart_str_get_len(smart_str *str) { in smart_str_get_len()
100 static zend_always_inline void smart_str_trim_to_size(smart_str *dest) in smart_str_trim_to_size()
118 static zend_always_inline zend_string *smart_str_extract(smart_str *dest) in smart_str_extract()
139 static zend_always_inline void smart_str_append_smart_str_ex(smart_str *dest, const smart_str *src,… in smart_str_append_smart_str_ex()
183 static zend_always_inline void smart_str_appendc(smart_str *dest, char ch) in smart_str_appendc()
[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()
127 ZEND_API void smart_str_append_printf(smart_str *dest, const char *format, ...) { in smart_str_append_printf()
185 ZEND_API void ZEND_FASTCALL smart_str_append_escaped_truncated(smart_str *str, const zend_string *v… in smart_str_append_escaped_truncated()
194 ZEND_API void ZEND_FASTCALL smart_str_append_scalar(smart_str *dest, const zval *value, size_t trun… in smart_str_append_scalar()
226 ZEND_API zend_result ZEND_FASTCALL smart_str_append_zval(smart_str *dest, const zval *value, size_t… in smart_str_append_zval()
H A Dzend_smart_str_public.h28 } smart_str; typedef
H A Dzend_ast.c1267 static ZEND_COLD void zend_ast_export_ex(smart_str *str, zend_ast *ast, int priority, int indent);
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()
1789 static ZEND_COLD void zend_ast_export_ex(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_ex()
[all …]
/php-src/ext/standard/
H A Durl_scanner_ex.h38 smart_str tag; /* read only */
39 smart_str arg; /* read only */
40 smart_str val; /* read only */
41 smart_str buf;
44 smart_str result;
47 smart_str form_app, url_app;
55 smart_str attr_val;
H A Dphp_http.h24 PHPAPI void php_url_encode_hash_ex(HashTable *ht, smart_str *formstr,
H A Dphp_var.h27 PHPAPI zend_result php_var_export_ex(zval *struc, int level, smart_str *buf);
34 PHPAPI void php_var_serialize(smart_str *buf, zval *struc, php_serialize_data_t *data);
H A Dvar.c453 …y_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smart_str *buf) /* {{{ */ in php_array_element_export()
483 …t_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smart_str *buf) /* {{{ */ in php_object_element_export()
510 PHPAPI zend_result php_var_export_ex(zval *struc, int level, smart_str *buf) /* {{{ */ in php_var_export_ex()
684 smart_str buf = {0}; in php_var_export()
699 smart_str buf = {0}; in PHP_FUNCTION()
778 static inline void php_var_serialize_long(smart_str *buf, zend_long val) /* {{{ */ in php_var_serialize_long()
790 static inline void php_var_serialize_string(smart_str *buf, char *str, size_t len) /* {{{ */ in php_var_serialize_string()
804 static inline bool php_var_serialize_class_name(smart_str *buf, zval *struc) /* {{{ */ in php_var_serialize_class_name()
1023 static void php_var_serialize_class(smart_str *buf, zval *struc, HashTable *ht, php_serialize_data_… in php_var_serialize_class()
1304 PHPAPI void php_var_serialize(smart_str *buf, zval *struc, php_serialize_data_t *data) /* {{{ */ in php_var_serialize()
[all …]
H A Durl_scanner_ex.re191 static inline void append_modified_url(smart_str *url, smart_str *dest, smart_str *url_app, const c…
595 smart_str surl = {0};
596 smart_str buf = {0};
597 smart_str url_app = {0};
735 smart_str sname = {0};
736 smart_str svalue = {0};
737 smart_str hname = {0};
738 smart_str hvalue = {0};
850 smart_str sname = {0};
851 smart_str hname = {0};
[all …]
H A Dmail.c127 static void php_mail_build_headers_elems(smart_str *s, zend_string *key, zval *val);
129 static void php_mail_build_headers_elem(smart_str *s, zend_string *key, zval *val) in php_mail_build_headers_elem()
173 static void php_mail_build_headers_elems(smart_str *s, zend_string *key, zval *val) in php_mail_build_headers_elems()
212 smart_str s = {0}; in php_mail_build_headers()
/php-src/ext/soap/
H A Dphp_http.h29 int proxy_authentication(zval* this_ptr, smart_str* soap_headers);
30 int basic_authentication(zval* this_ptr, smart_str* soap_headers);
35 smart_str* soap_headers);
H A Dphp_http.c31 int proxy_authentication(zval* this_ptr, smart_str* soap_headers) in proxy_authentication()
35 smart_str auth = {0}; in proxy_authentication()
61 smart_str auth = {0}; in basic_authentication()
85 smart_str *soap_headers) in http_context_add_header()
148 smart_str* soap_headers) in http_context_headers()
246 smart_str soap_headers = {0}; in http_connect()
346 smart_str soap_headers = {0}; in make_http_soap_request()
347 smart_str soap_headers_z = {0}; in make_http_soap_request()
824 smart_str auth = {0}; in make_http_soap_request()
1005 smart_str name = {0}; in make_http_soap_request()
[all …]
/php-src/ext/json/
H A Dphp_json_encoder.h36 zend_result php_json_encode_zval(smart_str *buf, zval *val, int options, php_json_encoder *encoder);
38 zend_result php_json_escape_string(smart_str *buf, const char *s, size_t len, int options, php_json…
H A Dphp_json.h104 PHP_JSON_API zend_result php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth…
105 PHP_JSON_API zend_result php_json_encode(smart_str *buf, zval *val, int options);
H A Djson.c113 smart_str buf = {0}; in php_json_encode_string()
126 PHP_JSON_API zend_result php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth… in php_json_encode_ex()
141 PHP_JSON_API zend_result php_json_encode(smart_str *buf, zval *val, int options) /* {{{ */ in php_json_encode()
224 smart_str buf = {0}; in PHP_FUNCTION()
H A Djson_encoder.c49 static inline void php_json_pretty_print_char(smart_str *buf, int options, char c) /* {{{ */ in php_json_pretty_print_char()
57 static inline void php_json_pretty_print_indent(smart_str *buf, int options, php_json_encoder *enco… in php_json_pretty_print_indent()
84 static inline void php_json_encode_double(smart_str *buf, double d, int options) /* {{{ */ in php_json_encode_double()
114 static zend_result php_json_encode_array(smart_str *buf, zval *val, int options, php_json_encoder *… in php_json_encode_array()
353 smart_str *buf, const char *s, size_t len, in php_json_escape_string()
565 static zend_result php_json_encode_serializable_object(smart_str *buf, zval *val, int options, php_… in php_json_encode_serializable_object()
630 static zend_result php_json_encode_serializable_enum(smart_str *buf, zval *val, int options, php_js… in php_json_encode_serializable_enum()
643 zend_result php_json_encode_zval(smart_str *buf, zval *val, int options, php_json_encoder *encoder)… in php_json_encode_zval()
/php-src/ext/intl/transliterator/
H A Dtransliterator.h21 smart_str transliterator_parse_error_to_string( UParseError* pe );
/php-src/main/
H A Dspprintf.c118 smart_str_appendc((smart_str *)(xbuf), (ch)); \
126 smart_str_appendl((smart_str *)(xbuf), (str), (len)); \
136 smart_str_alloc(((smart_str *)(xbuf)), (count), 0); \
137 memset(ZSTR_VAL(((smart_str *)(xbuf))->s) + ZSTR_LEN(((smart_str *)(xbuf))->s), (ch), (count)); \
138 ZSTR_LEN(((smart_str *)(xbuf))->s) += (count); \
686 …*(va_arg(ap, int *)) = is_char? (int)((smart_string *)xbuf)->len : (int)ZSTR_LEN(((smart_str *)xbu… in xbuf_format_converter()
782 PHPAPI void php_printf_to_smart_str(smart_str *buf, const char *format, va_list ap) /* {{{ */ in php_printf_to_smart_str()
H A Dspprintf.h26 PHPAPI void php_printf_to_smart_str(smart_str *buf, const char *format, va_list ap);
/php-src/ext/mysqlnd/
H A Dphp_mysqlnd.c49 smart_str * buffer = (smart_str *) buf; in mysqlnd_minfo_dump_loaded_plugins()
64 mysqlnd_minfo_dump_api_plugins(smart_str * buffer) in mysqlnd_minfo_dump_api_plugins()
118 smart_str tmp_str = {0}; in PHP_MINFO_FUNCTION()
/php-src/ext/readline/
H A Dreadline_cli.h24 smart_str *prompt_str;
/php-src/ext/dom/
H A Dinner_html_mixin.c39 smart_str *output = application_data; in dom_inner_html_write_string()
46 smart_str *output = application_data; in dom_inner_html_write_string_len()
53 smart_str *str = context; in dom_write_smart_str()
69 smart_str output = {0}; in dom_element_inner_html_read()
83 smart_str str = {0}; in dom_element_inner_html_read()
/php-src/ext/intl/
H A Dintl_error.h48 smart_str intl_parse_error_to_string( UParseError* pe );
H A Dintl_error.c206 smart_str intl_parse_error_to_string( UParseError* pe ) in intl_parse_error_to_string()
208 smart_str ret = {0}; in intl_parse_error_to_string()
/php-src/ext/iconv/
H A Diconv.c141 static php_iconv_err_t _php_iconv_appendl(smart_str *d, const char *s, size_t l, iconv_t cd);
142 static php_iconv_err_t _php_iconv_appendc(smart_str *d, const char c, iconv_t cd);
148 static php_iconv_err_t _php_iconv_substr(smart_str *pretval, const char *str, size_t nbytes, zend_l…
152 static php_iconv_err_t _php_iconv_mime_decode(smart_str *pretval, const char *str, size_t str_nbyte…
355 static php_iconv_err_t _php_iconv_appendl(smart_str *d, const char *s, size_t l, iconv_t cd) in _php_iconv_appendl()
412 static php_iconv_err_t _php_iconv_appendc(smart_str *d, const char c, iconv_t cd) in _php_iconv_appendc()
622 static php_iconv_err_t _php_iconv_substr(smart_str *pretval, in _php_iconv_substr()
1832 smart_str retval = {0}; in PHP_FUNCTION()
1969 smart_str retval = {0}; in PHP_FUNCTION()
2068 smart_str retval = {0}; in PHP_FUNCTION()
[all …]

Completed in 60 milliseconds

1234