Home
last modified time | relevance | path

Searched refs:smart_str (Results 1 – 25 of 92) 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
/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()
1319 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()
829 smart_str auth = {0}; in make_http_soap_request()
1013 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.c58 static inline void php_json_pretty_print_char(smart_str *buf, int options, char c) /* {{{ */ in php_json_pretty_print_char()
66 static inline void php_json_pretty_print_indent(smart_str *buf, int options, php_json_encoder *enco… in php_json_pretty_print_indent()
93 static inline void php_json_encode_double(smart_str *buf, double d, int options) /* {{{ */ in php_json_encode_double()
123 static zend_result php_json_encode_array(smart_str *buf, zval *val, int options, php_json_encoder *… in php_json_encode_array()
370 smart_str *buf, const char *s, size_t len, in php_json_escape_string()
582 static zend_result php_json_encode_serializable_object(smart_str *buf, zval *val, int options, php_… in php_json_encode_serializable_object()
647 static zend_result php_json_encode_serializable_enum(smart_str *buf, zval *val, int options, php_js… in php_json_encode_serializable_enum()
660 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/xmlwriter/
H A Dphp_xmlwriter.h38 smart_str *output;
H A Dphp_xmlwriter.c180 … xml_writer_create_static(INTERNAL_FUNCTION_PARAMETERS, xmlTextWriterPtr writer, smart_str *output) in xml_writer_create_static()
881 smart_str *output = context; in xml_writer_stream_write_memory()
888 smart_str *output = context; in xml_writer_stream_close_memory()
894 static xmlTextWriterPtr xml_writer_create_in_memory(smart_str **output_ptr) in xml_writer_create_in_memory()
896 smart_str *output = emalloc(sizeof(*output)); in xml_writer_create_in_memory()
930 smart_str *output; in PHP_FUNCTION()
955 smart_str *output; in PHP_METHOD()
1029 smart_str *output = Z_XMLWRITER_P(self)->output; in php_xmlwriter_flush()
/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/dom/
H A Dinner_outer_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()
66 smart_str output = {0}; in dom_element_html_fragment_serialize()
80 smart_str str = {0}; in dom_element_html_fragment_serialize()

Completed in 59 milliseconds

1234