/src/php-src/Zend/zend_smart_str.h
Line | Count | Source |
1 | | /* |
2 | | +----------------------------------------------------------------------+ |
3 | | | Copyright © The PHP Group and Contributors. | |
4 | | +----------------------------------------------------------------------+ |
5 | | | This source file is subject to the Modified BSD License that is | |
6 | | | bundled with this package in the file LICENSE, and is available | |
7 | | | through the World Wide Web at <https://www.php.net/license/>. | |
8 | | | | |
9 | | | SPDX-License-Identifier: BSD-3-Clause | |
10 | | +----------------------------------------------------------------------+ |
11 | | | Author: Sascha Schumann <sascha@schumann.cx> | |
12 | | +----------------------------------------------------------------------+ |
13 | | */ |
14 | | |
15 | | #ifndef ZEND_SMART_STR_H |
16 | | #define ZEND_SMART_STR_H |
17 | | |
18 | | #include <zend.h> |
19 | | #include "zend_globals.h" |
20 | | #include "zend_smart_str_public.h" |
21 | | |
22 | | BEGIN_EXTERN_C() |
23 | | |
24 | | ZEND_API void ZEND_FASTCALL smart_str_erealloc(smart_str *str, size_t len); |
25 | | ZEND_API void ZEND_FASTCALL smart_str_realloc(smart_str *str, size_t len); |
26 | | ZEND_API void ZEND_FASTCALL smart_str_append_escaped(smart_str *str, const char *s, size_t l); |
27 | | /* If zero_fraction is true, then a ".0" will be added to numbers that would not otherwise |
28 | | * have a fractional part and look like integers. */ |
29 | | ZEND_API void ZEND_FASTCALL smart_str_append_double( |
30 | | smart_str *str, double num, int precision, bool zero_fraction); |
31 | | ZEND_API void smart_str_append_printf(smart_str *dest, const char *format, ...) |
32 | | ZEND_ATTRIBUTE_FORMAT(printf, 2, 3); |
33 | | ZEND_API void ZEND_FASTCALL smart_str_append_escaped_truncated(smart_str *str, const zend_string *value, size_t length); |
34 | | ZEND_API void ZEND_FASTCALL smart_str_append_scalar(smart_str *str, const zval *value, size_t truncate); |
35 | | ZEND_API zend_result ZEND_FASTCALL smart_str_append_zval(smart_str *dest, const zval *value, size_t truncate); |
36 | | END_EXTERN_C() |
37 | | |
38 | 11.6M | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { |
39 | 11.6M | if (UNEXPECTED(!str->s)) { |
40 | 343k | goto do_smart_str_realloc; |
41 | 11.2M | } else { |
42 | 11.2M | len += ZSTR_LEN(str->s); |
43 | 11.2M | if (UNEXPECTED(len >= str->a)) { |
44 | 343k | do_smart_str_realloc: |
45 | 343k | if (persistent) { |
46 | 0 | smart_str_realloc(str, len); |
47 | 343k | } else { |
48 | 343k | smart_str_erealloc(str, len); |
49 | 343k | } |
50 | 343k | } |
51 | 11.2M | } |
52 | 11.6M | return len; |
53 | 11.6M | } Unexecuted instantiation: php_date.c:smart_str_alloc Unexecuted instantiation: php_pcre.c:smart_str_alloc Unexecuted instantiation: hash.c:smart_str_alloc Unexecuted instantiation: json_encoder.c:smart_str_alloc Unexecuted instantiation: json.c:smart_str_alloc Unexecuted instantiation: zend_jit.c:smart_str_alloc Unexecuted instantiation: php_reflection.c:smart_str_alloc Unexecuted instantiation: spl_array.c:smart_str_alloc Unexecuted instantiation: spl_dllist.c:smart_str_alloc Unexecuted instantiation: spl_iterators.c:smart_str_alloc Unexecuted instantiation: spl_observer.c:smart_str_alloc Unexecuted instantiation: array.c:smart_str_alloc Unexecuted instantiation: basic_functions.c:smart_str_alloc Unexecuted instantiation: file.c:smart_str_alloc Unexecuted instantiation: filters.c:smart_str_alloc Unexecuted instantiation: head.c:smart_str_alloc Unexecuted instantiation: http_fopen_wrapper.c:smart_str_alloc Unexecuted instantiation: http.c:smart_str_alloc Unexecuted instantiation: mail.c:smart_str_alloc Unexecuted instantiation: proc_open.c:smart_str_alloc Unexecuted instantiation: string.c:smart_str_alloc Unexecuted instantiation: url_scanner_ex.c:smart_str_alloc Unexecuted instantiation: url.c:smart_str_alloc Unexecuted instantiation: var.c:smart_str_alloc Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_alloc Unexecuted instantiation: uri_parser_whatwg.c:smart_str_alloc Unexecuted instantiation: fopen_wrappers.c:smart_str_alloc Unexecuted instantiation: php_variables.c:smart_str_alloc spprintf.c:smart_str_alloc Line | Count | Source | 38 | 11.6M | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 39 | 11.6M | if (UNEXPECTED(!str->s)) { | 40 | 343k | goto do_smart_str_realloc; | 41 | 11.2M | } else { | 42 | 11.2M | len += ZSTR_LEN(str->s); | 43 | 11.2M | if (UNEXPECTED(len >= str->a)) { | 44 | 343k | do_smart_str_realloc: | 45 | 343k | if (persistent) { | 46 | 0 | smart_str_realloc(str, len); | 47 | 343k | } else { | 48 | 343k | smart_str_erealloc(str, len); | 49 | 343k | } | 50 | 343k | } | 51 | 11.2M | } | 52 | 11.6M | return len; | 53 | 11.6M | } |
Unexecuted instantiation: zend_dump.c:smart_str_alloc Unexecuted instantiation: zend_ast.c:smart_str_alloc Unexecuted instantiation: zend_attributes.c:smart_str_alloc Unexecuted instantiation: zend_builtin_functions.c:smart_str_alloc Unexecuted instantiation: zend_exceptions.c:smart_str_alloc Unexecuted instantiation: zend_execute.c:smart_str_alloc Unexecuted instantiation: zend_inheritance.c:smart_str_alloc Unexecuted instantiation: zend_ini.c:smart_str_alloc Unexecuted instantiation: zend_smart_str.c:smart_str_alloc Unexecuted instantiation: zend.c:smart_str_alloc |
54 | | |
55 | 0 | static zend_always_inline char* smart_str_extend_ex(smart_str *dest, size_t len, bool persistent) { |
56 | 0 | size_t new_len = smart_str_alloc(dest, len, persistent); |
57 | 0 | char *ret = ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s); |
58 | 0 | ZSTR_LEN(dest->s) = new_len; |
59 | 0 | return ret; |
60 | 0 | } Unexecuted instantiation: php_date.c:smart_str_extend_ex Unexecuted instantiation: php_pcre.c:smart_str_extend_ex Unexecuted instantiation: hash.c:smart_str_extend_ex Unexecuted instantiation: json_encoder.c:smart_str_extend_ex Unexecuted instantiation: json.c:smart_str_extend_ex Unexecuted instantiation: zend_jit.c:smart_str_extend_ex Unexecuted instantiation: php_reflection.c:smart_str_extend_ex Unexecuted instantiation: spl_array.c:smart_str_extend_ex Unexecuted instantiation: spl_dllist.c:smart_str_extend_ex Unexecuted instantiation: spl_iterators.c:smart_str_extend_ex Unexecuted instantiation: spl_observer.c:smart_str_extend_ex Unexecuted instantiation: array.c:smart_str_extend_ex Unexecuted instantiation: basic_functions.c:smart_str_extend_ex Unexecuted instantiation: file.c:smart_str_extend_ex Unexecuted instantiation: filters.c:smart_str_extend_ex Unexecuted instantiation: head.c:smart_str_extend_ex Unexecuted instantiation: http_fopen_wrapper.c:smart_str_extend_ex Unexecuted instantiation: http.c:smart_str_extend_ex Unexecuted instantiation: mail.c:smart_str_extend_ex Unexecuted instantiation: proc_open.c:smart_str_extend_ex Unexecuted instantiation: string.c:smart_str_extend_ex Unexecuted instantiation: url_scanner_ex.c:smart_str_extend_ex Unexecuted instantiation: url.c:smart_str_extend_ex Unexecuted instantiation: var.c:smart_str_extend_ex Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_extend_ex Unexecuted instantiation: uri_parser_whatwg.c:smart_str_extend_ex Unexecuted instantiation: fopen_wrappers.c:smart_str_extend_ex Unexecuted instantiation: php_variables.c:smart_str_extend_ex Unexecuted instantiation: spprintf.c:smart_str_extend_ex Unexecuted instantiation: zend_dump.c:smart_str_extend_ex Unexecuted instantiation: zend_ast.c:smart_str_extend_ex Unexecuted instantiation: zend_attributes.c:smart_str_extend_ex Unexecuted instantiation: zend_builtin_functions.c:smart_str_extend_ex Unexecuted instantiation: zend_exceptions.c:smart_str_extend_ex Unexecuted instantiation: zend_execute.c:smart_str_extend_ex Unexecuted instantiation: zend_inheritance.c:smart_str_extend_ex Unexecuted instantiation: zend_ini.c:smart_str_extend_ex Unexecuted instantiation: zend_smart_str.c:smart_str_extend_ex Unexecuted instantiation: zend.c:smart_str_extend_ex |
61 | | |
62 | | static zend_always_inline char* smart_str_extend(smart_str *dest, size_t length) |
63 | 0 | { |
64 | 0 | return smart_str_extend_ex(dest, length, false); |
65 | 0 | } Unexecuted instantiation: php_date.c:smart_str_extend Unexecuted instantiation: php_pcre.c:smart_str_extend Unexecuted instantiation: hash.c:smart_str_extend Unexecuted instantiation: json_encoder.c:smart_str_extend Unexecuted instantiation: json.c:smart_str_extend Unexecuted instantiation: zend_jit.c:smart_str_extend Unexecuted instantiation: php_reflection.c:smart_str_extend Unexecuted instantiation: spl_array.c:smart_str_extend Unexecuted instantiation: spl_dllist.c:smart_str_extend Unexecuted instantiation: spl_iterators.c:smart_str_extend Unexecuted instantiation: spl_observer.c:smart_str_extend Unexecuted instantiation: array.c:smart_str_extend Unexecuted instantiation: basic_functions.c:smart_str_extend Unexecuted instantiation: file.c:smart_str_extend Unexecuted instantiation: filters.c:smart_str_extend Unexecuted instantiation: head.c:smart_str_extend Unexecuted instantiation: http_fopen_wrapper.c:smart_str_extend Unexecuted instantiation: http.c:smart_str_extend Unexecuted instantiation: mail.c:smart_str_extend Unexecuted instantiation: proc_open.c:smart_str_extend Unexecuted instantiation: string.c:smart_str_extend Unexecuted instantiation: url_scanner_ex.c:smart_str_extend Unexecuted instantiation: url.c:smart_str_extend Unexecuted instantiation: var.c:smart_str_extend Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_extend Unexecuted instantiation: uri_parser_whatwg.c:smart_str_extend Unexecuted instantiation: fopen_wrappers.c:smart_str_extend Unexecuted instantiation: php_variables.c:smart_str_extend Unexecuted instantiation: spprintf.c:smart_str_extend Unexecuted instantiation: zend_dump.c:smart_str_extend Unexecuted instantiation: zend_ast.c:smart_str_extend Unexecuted instantiation: zend_attributes.c:smart_str_extend Unexecuted instantiation: zend_builtin_functions.c:smart_str_extend Unexecuted instantiation: zend_exceptions.c:smart_str_extend Unexecuted instantiation: zend_execute.c:smart_str_extend Unexecuted instantiation: zend_inheritance.c:smart_str_extend Unexecuted instantiation: zend_ini.c:smart_str_extend Unexecuted instantiation: zend_smart_str.c:smart_str_extend Unexecuted instantiation: zend.c:smart_str_extend |
66 | | |
67 | 153k | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { |
68 | 153k | if (str->s) { |
69 | 0 | zend_string_release_ex(str->s, persistent); |
70 | 0 | str->s = NULL; |
71 | 0 | } |
72 | 153k | str->a = 0; |
73 | 153k | } Unexecuted instantiation: php_date.c:smart_str_free_ex Unexecuted instantiation: php_pcre.c:smart_str_free_ex Unexecuted instantiation: hash.c:smart_str_free_ex Unexecuted instantiation: json_encoder.c:smart_str_free_ex Unexecuted instantiation: json.c:smart_str_free_ex Unexecuted instantiation: zend_jit.c:smart_str_free_ex Unexecuted instantiation: php_reflection.c:smart_str_free_ex Unexecuted instantiation: spl_array.c:smart_str_free_ex Unexecuted instantiation: spl_dllist.c:smart_str_free_ex Unexecuted instantiation: spl_iterators.c:smart_str_free_ex Unexecuted instantiation: spl_observer.c:smart_str_free_ex Unexecuted instantiation: array.c:smart_str_free_ex Unexecuted instantiation: basic_functions.c:smart_str_free_ex Unexecuted instantiation: file.c:smart_str_free_ex Unexecuted instantiation: filters.c:smart_str_free_ex Unexecuted instantiation: head.c:smart_str_free_ex Unexecuted instantiation: http_fopen_wrapper.c:smart_str_free_ex Unexecuted instantiation: http.c:smart_str_free_ex Unexecuted instantiation: mail.c:smart_str_free_ex Unexecuted instantiation: proc_open.c:smart_str_free_ex Unexecuted instantiation: string.c:smart_str_free_ex url_scanner_ex.c:smart_str_free_ex Line | Count | Source | 67 | 153k | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 68 | 153k | if (str->s) { | 69 | 0 | zend_string_release_ex(str->s, persistent); | 70 | | str->s = NULL; | 71 | 0 | } | 72 | 153k | str->a = 0; | 73 | 153k | } |
Unexecuted instantiation: url.c:smart_str_free_ex Unexecuted instantiation: var.c:smart_str_free_ex Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_free_ex Unexecuted instantiation: uri_parser_whatwg.c:smart_str_free_ex Unexecuted instantiation: fopen_wrappers.c:smart_str_free_ex Unexecuted instantiation: php_variables.c:smart_str_free_ex Unexecuted instantiation: spprintf.c:smart_str_free_ex Unexecuted instantiation: zend_dump.c:smart_str_free_ex Unexecuted instantiation: zend_ast.c:smart_str_free_ex Unexecuted instantiation: zend_attributes.c:smart_str_free_ex Unexecuted instantiation: zend_builtin_functions.c:smart_str_free_ex Unexecuted instantiation: zend_exceptions.c:smart_str_free_ex Unexecuted instantiation: zend_execute.c:smart_str_free_ex Unexecuted instantiation: zend_inheritance.c:smart_str_free_ex Unexecuted instantiation: zend_ini.c:smart_str_free_ex Unexecuted instantiation: zend_smart_str.c:smart_str_free_ex Unexecuted instantiation: zend.c:smart_str_free_ex |
74 | | |
75 | | static zend_always_inline void smart_str_free(smart_str *str) |
76 | 153k | { |
77 | 153k | smart_str_free_ex(str, false); |
78 | 153k | } Unexecuted instantiation: php_date.c:smart_str_free Unexecuted instantiation: php_pcre.c:smart_str_free Unexecuted instantiation: hash.c:smart_str_free Unexecuted instantiation: json_encoder.c:smart_str_free Unexecuted instantiation: json.c:smart_str_free Unexecuted instantiation: zend_jit.c:smart_str_free Unexecuted instantiation: php_reflection.c:smart_str_free Unexecuted instantiation: spl_array.c:smart_str_free Unexecuted instantiation: spl_dllist.c:smart_str_free Unexecuted instantiation: spl_iterators.c:smart_str_free Unexecuted instantiation: spl_observer.c:smart_str_free Unexecuted instantiation: array.c:smart_str_free Unexecuted instantiation: basic_functions.c:smart_str_free Unexecuted instantiation: file.c:smart_str_free Unexecuted instantiation: filters.c:smart_str_free Unexecuted instantiation: head.c:smart_str_free Unexecuted instantiation: http_fopen_wrapper.c:smart_str_free Unexecuted instantiation: http.c:smart_str_free Unexecuted instantiation: mail.c:smart_str_free Unexecuted instantiation: proc_open.c:smart_str_free Unexecuted instantiation: string.c:smart_str_free url_scanner_ex.c:smart_str_free Line | Count | Source | 76 | 153k | { | 77 | | smart_str_free_ex(str, false); | 78 | 153k | } |
Unexecuted instantiation: url.c:smart_str_free Unexecuted instantiation: var.c:smart_str_free Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_free Unexecuted instantiation: uri_parser_whatwg.c:smart_str_free Unexecuted instantiation: fopen_wrappers.c:smart_str_free Unexecuted instantiation: php_variables.c:smart_str_free Unexecuted instantiation: spprintf.c:smart_str_free Unexecuted instantiation: zend_dump.c:smart_str_free Unexecuted instantiation: zend_ast.c:smart_str_free Unexecuted instantiation: zend_attributes.c:smart_str_free Unexecuted instantiation: zend_builtin_functions.c:smart_str_free Unexecuted instantiation: zend_exceptions.c:smart_str_free Unexecuted instantiation: zend_execute.c:smart_str_free Unexecuted instantiation: zend_inheritance.c:smart_str_free Unexecuted instantiation: zend_ini.c:smart_str_free Unexecuted instantiation: zend_smart_str.c:smart_str_free Unexecuted instantiation: zend.c:smart_str_free |
79 | | |
80 | 343k | static zend_always_inline void smart_str_0(smart_str *str) { |
81 | 343k | if (str->s) { |
82 | 343k | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; |
83 | 343k | } |
84 | 343k | } Unexecuted instantiation: php_date.c:smart_str_0 Unexecuted instantiation: php_pcre.c:smart_str_0 Unexecuted instantiation: hash.c:smart_str_0 Unexecuted instantiation: json_encoder.c:smart_str_0 Unexecuted instantiation: json.c:smart_str_0 Unexecuted instantiation: zend_jit.c:smart_str_0 Unexecuted instantiation: php_reflection.c:smart_str_0 Unexecuted instantiation: spl_array.c:smart_str_0 Unexecuted instantiation: spl_dllist.c:smart_str_0 Unexecuted instantiation: spl_iterators.c:smart_str_0 Unexecuted instantiation: spl_observer.c:smart_str_0 Unexecuted instantiation: array.c:smart_str_0 Unexecuted instantiation: basic_functions.c:smart_str_0 Unexecuted instantiation: file.c:smart_str_0 Unexecuted instantiation: filters.c:smart_str_0 Unexecuted instantiation: head.c:smart_str_0 Unexecuted instantiation: http_fopen_wrapper.c:smart_str_0 Unexecuted instantiation: http.c:smart_str_0 Unexecuted instantiation: mail.c:smart_str_0 Unexecuted instantiation: proc_open.c:smart_str_0 Unexecuted instantiation: string.c:smart_str_0 Unexecuted instantiation: url_scanner_ex.c:smart_str_0 Unexecuted instantiation: url.c:smart_str_0 Unexecuted instantiation: var.c:smart_str_0 Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_0 Unexecuted instantiation: uri_parser_whatwg.c:smart_str_0 Unexecuted instantiation: fopen_wrappers.c:smart_str_0 Unexecuted instantiation: php_variables.c:smart_str_0 Unexecuted instantiation: spprintf.c:smart_str_0 Unexecuted instantiation: zend_dump.c:smart_str_0 Unexecuted instantiation: zend_ast.c:smart_str_0 Unexecuted instantiation: zend_attributes.c:smart_str_0 Unexecuted instantiation: zend_builtin_functions.c:smart_str_0 Unexecuted instantiation: zend_exceptions.c:smart_str_0 Unexecuted instantiation: zend_execute.c:smart_str_0 Unexecuted instantiation: zend_inheritance.c:smart_str_0 Unexecuted instantiation: zend_ini.c:smart_str_0 Unexecuted instantiation: zend_smart_str.c:smart_str_0 Line | Count | Source | 80 | 343k | static zend_always_inline void smart_str_0(smart_str *str) { | 81 | 343k | if (str->s) { | 82 | 343k | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 83 | 343k | } | 84 | 343k | } |
|
85 | | |
86 | 0 | static zend_always_inline size_t smart_str_get_len(smart_str *str) { |
87 | 0 | return str->s ? ZSTR_LEN(str->s) : 0; |
88 | 0 | } Unexecuted instantiation: php_date.c:smart_str_get_len Unexecuted instantiation: php_pcre.c:smart_str_get_len Unexecuted instantiation: hash.c:smart_str_get_len Unexecuted instantiation: json_encoder.c:smart_str_get_len Unexecuted instantiation: json.c:smart_str_get_len Unexecuted instantiation: zend_jit.c:smart_str_get_len Unexecuted instantiation: php_reflection.c:smart_str_get_len Unexecuted instantiation: spl_array.c:smart_str_get_len Unexecuted instantiation: spl_dllist.c:smart_str_get_len Unexecuted instantiation: spl_iterators.c:smart_str_get_len Unexecuted instantiation: spl_observer.c:smart_str_get_len Unexecuted instantiation: array.c:smart_str_get_len Unexecuted instantiation: basic_functions.c:smart_str_get_len Unexecuted instantiation: file.c:smart_str_get_len Unexecuted instantiation: filters.c:smart_str_get_len Unexecuted instantiation: head.c:smart_str_get_len Unexecuted instantiation: http_fopen_wrapper.c:smart_str_get_len Unexecuted instantiation: http.c:smart_str_get_len Unexecuted instantiation: mail.c:smart_str_get_len Unexecuted instantiation: proc_open.c:smart_str_get_len Unexecuted instantiation: string.c:smart_str_get_len Unexecuted instantiation: url_scanner_ex.c:smart_str_get_len Unexecuted instantiation: url.c:smart_str_get_len Unexecuted instantiation: var.c:smart_str_get_len Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_get_len Unexecuted instantiation: uri_parser_whatwg.c:smart_str_get_len Unexecuted instantiation: fopen_wrappers.c:smart_str_get_len Unexecuted instantiation: php_variables.c:smart_str_get_len Unexecuted instantiation: spprintf.c:smart_str_get_len Unexecuted instantiation: zend_dump.c:smart_str_get_len Unexecuted instantiation: zend_ast.c:smart_str_get_len Unexecuted instantiation: zend_attributes.c:smart_str_get_len Unexecuted instantiation: zend_builtin_functions.c:smart_str_get_len Unexecuted instantiation: zend_exceptions.c:smart_str_get_len Unexecuted instantiation: zend_execute.c:smart_str_get_len Unexecuted instantiation: zend_inheritance.c:smart_str_get_len Unexecuted instantiation: zend_ini.c:smart_str_get_len Unexecuted instantiation: zend_smart_str.c:smart_str_get_len Unexecuted instantiation: zend.c:smart_str_get_len |
89 | | |
90 | | static zend_always_inline void smart_str_trim_to_size_ex(smart_str *str, bool persistent) |
91 | 343k | { |
92 | 343k | if (str->s && str->a > ZSTR_LEN(str->s)) { |
93 | 343k | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); |
94 | 343k | str->a = ZSTR_LEN(str->s); |
95 | 343k | } |
96 | 343k | } Unexecuted instantiation: php_date.c:smart_str_trim_to_size_ex Unexecuted instantiation: php_pcre.c:smart_str_trim_to_size_ex Unexecuted instantiation: hash.c:smart_str_trim_to_size_ex Unexecuted instantiation: json_encoder.c:smart_str_trim_to_size_ex Unexecuted instantiation: json.c:smart_str_trim_to_size_ex Unexecuted instantiation: zend_jit.c:smart_str_trim_to_size_ex Unexecuted instantiation: php_reflection.c:smart_str_trim_to_size_ex Unexecuted instantiation: spl_array.c:smart_str_trim_to_size_ex Unexecuted instantiation: spl_dllist.c:smart_str_trim_to_size_ex Unexecuted instantiation: spl_iterators.c:smart_str_trim_to_size_ex Unexecuted instantiation: spl_observer.c:smart_str_trim_to_size_ex Unexecuted instantiation: array.c:smart_str_trim_to_size_ex Unexecuted instantiation: basic_functions.c:smart_str_trim_to_size_ex Unexecuted instantiation: file.c:smart_str_trim_to_size_ex Unexecuted instantiation: filters.c:smart_str_trim_to_size_ex Unexecuted instantiation: head.c:smart_str_trim_to_size_ex Unexecuted instantiation: http_fopen_wrapper.c:smart_str_trim_to_size_ex Unexecuted instantiation: http.c:smart_str_trim_to_size_ex Unexecuted instantiation: mail.c:smart_str_trim_to_size_ex Unexecuted instantiation: proc_open.c:smart_str_trim_to_size_ex Unexecuted instantiation: string.c:smart_str_trim_to_size_ex Unexecuted instantiation: url_scanner_ex.c:smart_str_trim_to_size_ex Unexecuted instantiation: url.c:smart_str_trim_to_size_ex Unexecuted instantiation: var.c:smart_str_trim_to_size_ex Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_trim_to_size_ex Unexecuted instantiation: uri_parser_whatwg.c:smart_str_trim_to_size_ex Unexecuted instantiation: fopen_wrappers.c:smart_str_trim_to_size_ex Unexecuted instantiation: php_variables.c:smart_str_trim_to_size_ex Unexecuted instantiation: spprintf.c:smart_str_trim_to_size_ex Unexecuted instantiation: zend_dump.c:smart_str_trim_to_size_ex Unexecuted instantiation: zend_ast.c:smart_str_trim_to_size_ex Unexecuted instantiation: zend_attributes.c:smart_str_trim_to_size_ex Unexecuted instantiation: zend_builtin_functions.c:smart_str_trim_to_size_ex Unexecuted instantiation: zend_exceptions.c:smart_str_trim_to_size_ex Unexecuted instantiation: zend_execute.c:smart_str_trim_to_size_ex Unexecuted instantiation: zend_inheritance.c:smart_str_trim_to_size_ex Unexecuted instantiation: zend_ini.c:smart_str_trim_to_size_ex Unexecuted instantiation: zend_smart_str.c:smart_str_trim_to_size_ex zend.c:smart_str_trim_to_size_ex Line | Count | Source | 91 | 343k | { | 92 | 343k | if (str->s && str->a > ZSTR_LEN(str->s)) { | 93 | 343k | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 94 | 343k | str->a = ZSTR_LEN(str->s); | 95 | 343k | } | 96 | 343k | } |
|
97 | | |
98 | | static zend_always_inline void smart_str_trim_to_size(smart_str *dest) |
99 | 0 | { |
100 | 0 | smart_str_trim_to_size_ex(dest, false); |
101 | 0 | } Unexecuted instantiation: php_date.c:smart_str_trim_to_size Unexecuted instantiation: php_pcre.c:smart_str_trim_to_size Unexecuted instantiation: hash.c:smart_str_trim_to_size Unexecuted instantiation: json_encoder.c:smart_str_trim_to_size Unexecuted instantiation: json.c:smart_str_trim_to_size Unexecuted instantiation: zend_jit.c:smart_str_trim_to_size Unexecuted instantiation: php_reflection.c:smart_str_trim_to_size Unexecuted instantiation: spl_array.c:smart_str_trim_to_size Unexecuted instantiation: spl_dllist.c:smart_str_trim_to_size Unexecuted instantiation: spl_iterators.c:smart_str_trim_to_size Unexecuted instantiation: spl_observer.c:smart_str_trim_to_size Unexecuted instantiation: array.c:smart_str_trim_to_size Unexecuted instantiation: basic_functions.c:smart_str_trim_to_size Unexecuted instantiation: file.c:smart_str_trim_to_size Unexecuted instantiation: filters.c:smart_str_trim_to_size Unexecuted instantiation: head.c:smart_str_trim_to_size Unexecuted instantiation: http_fopen_wrapper.c:smart_str_trim_to_size Unexecuted instantiation: http.c:smart_str_trim_to_size Unexecuted instantiation: mail.c:smart_str_trim_to_size Unexecuted instantiation: proc_open.c:smart_str_trim_to_size Unexecuted instantiation: string.c:smart_str_trim_to_size Unexecuted instantiation: url_scanner_ex.c:smart_str_trim_to_size Unexecuted instantiation: url.c:smart_str_trim_to_size Unexecuted instantiation: var.c:smart_str_trim_to_size Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_trim_to_size Unexecuted instantiation: uri_parser_whatwg.c:smart_str_trim_to_size Unexecuted instantiation: fopen_wrappers.c:smart_str_trim_to_size Unexecuted instantiation: php_variables.c:smart_str_trim_to_size Unexecuted instantiation: spprintf.c:smart_str_trim_to_size Unexecuted instantiation: zend_dump.c:smart_str_trim_to_size Unexecuted instantiation: zend_ast.c:smart_str_trim_to_size Unexecuted instantiation: zend_attributes.c:smart_str_trim_to_size Unexecuted instantiation: zend_builtin_functions.c:smart_str_trim_to_size Unexecuted instantiation: zend_exceptions.c:smart_str_trim_to_size Unexecuted instantiation: zend_execute.c:smart_str_trim_to_size Unexecuted instantiation: zend_inheritance.c:smart_str_trim_to_size Unexecuted instantiation: zend_ini.c:smart_str_trim_to_size Unexecuted instantiation: zend_smart_str.c:smart_str_trim_to_size Unexecuted instantiation: zend.c:smart_str_trim_to_size |
102 | | |
103 | 343k | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { |
104 | 343k | if (str->s) { |
105 | 343k | zend_string *res; |
106 | 343k | smart_str_0(str); |
107 | 343k | smart_str_trim_to_size_ex(str, persistent); |
108 | 343k | res = str->s; |
109 | 343k | str->s = NULL; |
110 | 343k | return res; |
111 | 343k | } else { |
112 | 0 | return ZSTR_EMPTY_ALLOC(); |
113 | 0 | } |
114 | 343k | } Unexecuted instantiation: php_date.c:smart_str_extract_ex Unexecuted instantiation: php_pcre.c:smart_str_extract_ex Unexecuted instantiation: hash.c:smart_str_extract_ex Unexecuted instantiation: json_encoder.c:smart_str_extract_ex Unexecuted instantiation: json.c:smart_str_extract_ex Unexecuted instantiation: zend_jit.c:smart_str_extract_ex Unexecuted instantiation: php_reflection.c:smart_str_extract_ex Unexecuted instantiation: spl_array.c:smart_str_extract_ex Unexecuted instantiation: spl_dllist.c:smart_str_extract_ex Unexecuted instantiation: spl_iterators.c:smart_str_extract_ex Unexecuted instantiation: spl_observer.c:smart_str_extract_ex Unexecuted instantiation: array.c:smart_str_extract_ex Unexecuted instantiation: basic_functions.c:smart_str_extract_ex Unexecuted instantiation: file.c:smart_str_extract_ex Unexecuted instantiation: filters.c:smart_str_extract_ex Unexecuted instantiation: head.c:smart_str_extract_ex Unexecuted instantiation: http_fopen_wrapper.c:smart_str_extract_ex Unexecuted instantiation: http.c:smart_str_extract_ex Unexecuted instantiation: mail.c:smart_str_extract_ex Unexecuted instantiation: proc_open.c:smart_str_extract_ex Unexecuted instantiation: string.c:smart_str_extract_ex Unexecuted instantiation: url_scanner_ex.c:smart_str_extract_ex Unexecuted instantiation: url.c:smart_str_extract_ex Unexecuted instantiation: var.c:smart_str_extract_ex Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_extract_ex Unexecuted instantiation: uri_parser_whatwg.c:smart_str_extract_ex Unexecuted instantiation: fopen_wrappers.c:smart_str_extract_ex Unexecuted instantiation: php_variables.c:smart_str_extract_ex Unexecuted instantiation: spprintf.c:smart_str_extract_ex Unexecuted instantiation: zend_dump.c:smart_str_extract_ex Unexecuted instantiation: zend_ast.c:smart_str_extract_ex Unexecuted instantiation: zend_attributes.c:smart_str_extract_ex Unexecuted instantiation: zend_builtin_functions.c:smart_str_extract_ex Unexecuted instantiation: zend_exceptions.c:smart_str_extract_ex Unexecuted instantiation: zend_execute.c:smart_str_extract_ex Unexecuted instantiation: zend_inheritance.c:smart_str_extract_ex Unexecuted instantiation: zend_ini.c:smart_str_extract_ex Unexecuted instantiation: zend_smart_str.c:smart_str_extract_ex zend.c:smart_str_extract_ex Line | Count | Source | 103 | 343k | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 104 | 343k | if (str->s) { | 105 | 343k | zend_string *res; | 106 | 343k | smart_str_0(str); | 107 | 343k | smart_str_trim_to_size_ex(str, persistent); | 108 | 343k | res = str->s; | 109 | 343k | str->s = NULL; | 110 | 343k | return res; | 111 | 343k | } else { | 112 | 0 | return ZSTR_EMPTY_ALLOC(); | 113 | 0 | } | 114 | 343k | } |
|
115 | | |
116 | | static zend_always_inline zend_string *smart_str_extract(smart_str *dest) |
117 | 343k | { |
118 | 343k | return smart_str_extract_ex(dest, false); |
119 | 343k | } Unexecuted instantiation: php_date.c:smart_str_extract Unexecuted instantiation: php_pcre.c:smart_str_extract Unexecuted instantiation: hash.c:smart_str_extract Unexecuted instantiation: json_encoder.c:smart_str_extract Unexecuted instantiation: json.c:smart_str_extract Unexecuted instantiation: zend_jit.c:smart_str_extract Unexecuted instantiation: php_reflection.c:smart_str_extract Unexecuted instantiation: spl_array.c:smart_str_extract Unexecuted instantiation: spl_dllist.c:smart_str_extract Unexecuted instantiation: spl_iterators.c:smart_str_extract Unexecuted instantiation: spl_observer.c:smart_str_extract Unexecuted instantiation: array.c:smart_str_extract Unexecuted instantiation: basic_functions.c:smart_str_extract Unexecuted instantiation: file.c:smart_str_extract Unexecuted instantiation: filters.c:smart_str_extract Unexecuted instantiation: head.c:smart_str_extract Unexecuted instantiation: http_fopen_wrapper.c:smart_str_extract Unexecuted instantiation: http.c:smart_str_extract Unexecuted instantiation: mail.c:smart_str_extract Unexecuted instantiation: proc_open.c:smart_str_extract Unexecuted instantiation: string.c:smart_str_extract Unexecuted instantiation: url_scanner_ex.c:smart_str_extract Unexecuted instantiation: url.c:smart_str_extract Unexecuted instantiation: var.c:smart_str_extract Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_extract Unexecuted instantiation: uri_parser_whatwg.c:smart_str_extract Unexecuted instantiation: fopen_wrappers.c:smart_str_extract Unexecuted instantiation: php_variables.c:smart_str_extract Unexecuted instantiation: spprintf.c:smart_str_extract Unexecuted instantiation: zend_dump.c:smart_str_extract Unexecuted instantiation: zend_ast.c:smart_str_extract Unexecuted instantiation: zend_attributes.c:smart_str_extract Unexecuted instantiation: zend_builtin_functions.c:smart_str_extract Unexecuted instantiation: zend_exceptions.c:smart_str_extract Unexecuted instantiation: zend_execute.c:smart_str_extract Unexecuted instantiation: zend_inheritance.c:smart_str_extract Unexecuted instantiation: zend_ini.c:smart_str_extract Unexecuted instantiation: zend_smart_str.c:smart_str_extract Line | Count | Source | 117 | 343k | { | 118 | | return smart_str_extract_ex(dest, false); | 119 | 343k | } |
|
120 | | |
121 | 11.1M | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { |
122 | 11.1M | size_t new_len = smart_str_alloc(dest, 1, persistent); |
123 | 11.1M | ZSTR_VAL(dest->s)[new_len - 1] = ch; |
124 | 11.1M | ZSTR_LEN(dest->s) = new_len; |
125 | 11.1M | } Unexecuted instantiation: php_date.c:smart_str_appendc_ex Unexecuted instantiation: php_pcre.c:smart_str_appendc_ex Unexecuted instantiation: hash.c:smart_str_appendc_ex Unexecuted instantiation: json_encoder.c:smart_str_appendc_ex Unexecuted instantiation: json.c:smart_str_appendc_ex Unexecuted instantiation: zend_jit.c:smart_str_appendc_ex Unexecuted instantiation: php_reflection.c:smart_str_appendc_ex Unexecuted instantiation: spl_array.c:smart_str_appendc_ex Unexecuted instantiation: spl_dllist.c:smart_str_appendc_ex Unexecuted instantiation: spl_iterators.c:smart_str_appendc_ex Unexecuted instantiation: spl_observer.c:smart_str_appendc_ex Unexecuted instantiation: array.c:smart_str_appendc_ex Unexecuted instantiation: basic_functions.c:smart_str_appendc_ex Unexecuted instantiation: file.c:smart_str_appendc_ex Unexecuted instantiation: filters.c:smart_str_appendc_ex Unexecuted instantiation: head.c:smart_str_appendc_ex Unexecuted instantiation: http_fopen_wrapper.c:smart_str_appendc_ex Unexecuted instantiation: http.c:smart_str_appendc_ex Unexecuted instantiation: mail.c:smart_str_appendc_ex Unexecuted instantiation: proc_open.c:smart_str_appendc_ex Unexecuted instantiation: string.c:smart_str_appendc_ex Unexecuted instantiation: url_scanner_ex.c:smart_str_appendc_ex Unexecuted instantiation: url.c:smart_str_appendc_ex Unexecuted instantiation: var.c:smart_str_appendc_ex Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_appendc_ex Unexecuted instantiation: uri_parser_whatwg.c:smart_str_appendc_ex Unexecuted instantiation: fopen_wrappers.c:smart_str_appendc_ex Unexecuted instantiation: php_variables.c:smart_str_appendc_ex spprintf.c:smart_str_appendc_ex Line | Count | Source | 121 | 11.1M | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 122 | 11.1M | size_t new_len = smart_str_alloc(dest, 1, persistent); | 123 | 11.1M | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 124 | 11.1M | ZSTR_LEN(dest->s) = new_len; | 125 | 11.1M | } |
Unexecuted instantiation: zend_dump.c:smart_str_appendc_ex Unexecuted instantiation: zend_ast.c:smart_str_appendc_ex Unexecuted instantiation: zend_attributes.c:smart_str_appendc_ex Unexecuted instantiation: zend_builtin_functions.c:smart_str_appendc_ex Unexecuted instantiation: zend_exceptions.c:smart_str_appendc_ex Unexecuted instantiation: zend_execute.c:smart_str_appendc_ex Unexecuted instantiation: zend_inheritance.c:smart_str_appendc_ex Unexecuted instantiation: zend_ini.c:smart_str_appendc_ex Unexecuted instantiation: zend_smart_str.c:smart_str_appendc_ex Unexecuted instantiation: zend.c:smart_str_appendc_ex |
126 | | |
127 | 475k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { |
128 | 475k | size_t new_len = smart_str_alloc(dest, len, persistent); |
129 | 475k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); |
130 | 475k | ZSTR_LEN(dest->s) = new_len; |
131 | 475k | } Unexecuted instantiation: php_date.c:smart_str_appendl_ex Unexecuted instantiation: php_pcre.c:smart_str_appendl_ex Unexecuted instantiation: hash.c:smart_str_appendl_ex Unexecuted instantiation: json_encoder.c:smart_str_appendl_ex Unexecuted instantiation: json.c:smart_str_appendl_ex Unexecuted instantiation: zend_jit.c:smart_str_appendl_ex Unexecuted instantiation: php_reflection.c:smart_str_appendl_ex Unexecuted instantiation: spl_array.c:smart_str_appendl_ex Unexecuted instantiation: spl_dllist.c:smart_str_appendl_ex Unexecuted instantiation: spl_iterators.c:smart_str_appendl_ex Unexecuted instantiation: spl_observer.c:smart_str_appendl_ex Unexecuted instantiation: array.c:smart_str_appendl_ex Unexecuted instantiation: basic_functions.c:smart_str_appendl_ex Unexecuted instantiation: file.c:smart_str_appendl_ex Unexecuted instantiation: filters.c:smart_str_appendl_ex Unexecuted instantiation: head.c:smart_str_appendl_ex Unexecuted instantiation: http_fopen_wrapper.c:smart_str_appendl_ex Unexecuted instantiation: http.c:smart_str_appendl_ex Unexecuted instantiation: mail.c:smart_str_appendl_ex Unexecuted instantiation: proc_open.c:smart_str_appendl_ex Unexecuted instantiation: string.c:smart_str_appendl_ex Unexecuted instantiation: url_scanner_ex.c:smart_str_appendl_ex Unexecuted instantiation: url.c:smart_str_appendl_ex Unexecuted instantiation: var.c:smart_str_appendl_ex Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_appendl_ex Unexecuted instantiation: uri_parser_whatwg.c:smart_str_appendl_ex Unexecuted instantiation: fopen_wrappers.c:smart_str_appendl_ex Unexecuted instantiation: php_variables.c:smart_str_appendl_ex spprintf.c:smart_str_appendl_ex Line | Count | Source | 127 | 475k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 128 | 475k | size_t new_len = smart_str_alloc(dest, len, persistent); | 129 | 475k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 130 | 475k | ZSTR_LEN(dest->s) = new_len; | 131 | 475k | } |
Unexecuted instantiation: zend_dump.c:smart_str_appendl_ex Unexecuted instantiation: zend_ast.c:smart_str_appendl_ex Unexecuted instantiation: zend_attributes.c:smart_str_appendl_ex Unexecuted instantiation: zend_builtin_functions.c:smart_str_appendl_ex Unexecuted instantiation: zend_exceptions.c:smart_str_appendl_ex Unexecuted instantiation: zend_execute.c:smart_str_appendl_ex Unexecuted instantiation: zend_inheritance.c:smart_str_appendl_ex Unexecuted instantiation: zend_ini.c:smart_str_appendl_ex Unexecuted instantiation: zend_smart_str.c:smart_str_appendl_ex Unexecuted instantiation: zend.c:smart_str_appendl_ex |
132 | | |
133 | 0 | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { |
134 | 0 | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); |
135 | 0 | } Unexecuted instantiation: php_date.c:smart_str_append_ex Unexecuted instantiation: php_pcre.c:smart_str_append_ex Unexecuted instantiation: hash.c:smart_str_append_ex Unexecuted instantiation: json_encoder.c:smart_str_append_ex Unexecuted instantiation: json.c:smart_str_append_ex Unexecuted instantiation: zend_jit.c:smart_str_append_ex Unexecuted instantiation: php_reflection.c:smart_str_append_ex Unexecuted instantiation: spl_array.c:smart_str_append_ex Unexecuted instantiation: spl_dllist.c:smart_str_append_ex Unexecuted instantiation: spl_iterators.c:smart_str_append_ex Unexecuted instantiation: spl_observer.c:smart_str_append_ex Unexecuted instantiation: array.c:smart_str_append_ex Unexecuted instantiation: basic_functions.c:smart_str_append_ex Unexecuted instantiation: file.c:smart_str_append_ex Unexecuted instantiation: filters.c:smart_str_append_ex Unexecuted instantiation: head.c:smart_str_append_ex Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append_ex Unexecuted instantiation: http.c:smart_str_append_ex Unexecuted instantiation: mail.c:smart_str_append_ex Unexecuted instantiation: proc_open.c:smart_str_append_ex Unexecuted instantiation: string.c:smart_str_append_ex Unexecuted instantiation: url_scanner_ex.c:smart_str_append_ex Unexecuted instantiation: url.c:smart_str_append_ex Unexecuted instantiation: var.c:smart_str_append_ex Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_append_ex Unexecuted instantiation: uri_parser_whatwg.c:smart_str_append_ex Unexecuted instantiation: fopen_wrappers.c:smart_str_append_ex Unexecuted instantiation: php_variables.c:smart_str_append_ex Unexecuted instantiation: spprintf.c:smart_str_append_ex Unexecuted instantiation: zend_dump.c:smart_str_append_ex Unexecuted instantiation: zend_ast.c:smart_str_append_ex Unexecuted instantiation: zend_attributes.c:smart_str_append_ex Unexecuted instantiation: zend_builtin_functions.c:smart_str_append_ex Unexecuted instantiation: zend_exceptions.c:smart_str_append_ex Unexecuted instantiation: zend_execute.c:smart_str_append_ex Unexecuted instantiation: zend_inheritance.c:smart_str_append_ex Unexecuted instantiation: zend_ini.c:smart_str_append_ex Unexecuted instantiation: zend_smart_str.c:smart_str_append_ex Unexecuted instantiation: zend.c:smart_str_append_ex |
136 | | |
137 | 0 | static zend_always_inline void smart_str_append_smart_str_ex(smart_str *dest, const smart_str *src, bool persistent) { |
138 | 0 | if (src->s && ZSTR_LEN(src->s)) { |
139 | 0 | smart_str_append_ex(dest, src->s, persistent); |
140 | 0 | } |
141 | 0 | } Unexecuted instantiation: php_date.c:smart_str_append_smart_str_ex Unexecuted instantiation: php_pcre.c:smart_str_append_smart_str_ex Unexecuted instantiation: hash.c:smart_str_append_smart_str_ex Unexecuted instantiation: json_encoder.c:smart_str_append_smart_str_ex Unexecuted instantiation: json.c:smart_str_append_smart_str_ex Unexecuted instantiation: zend_jit.c:smart_str_append_smart_str_ex Unexecuted instantiation: php_reflection.c:smart_str_append_smart_str_ex Unexecuted instantiation: spl_array.c:smart_str_append_smart_str_ex Unexecuted instantiation: spl_dllist.c:smart_str_append_smart_str_ex Unexecuted instantiation: spl_iterators.c:smart_str_append_smart_str_ex Unexecuted instantiation: spl_observer.c:smart_str_append_smart_str_ex Unexecuted instantiation: array.c:smart_str_append_smart_str_ex Unexecuted instantiation: basic_functions.c:smart_str_append_smart_str_ex Unexecuted instantiation: file.c:smart_str_append_smart_str_ex Unexecuted instantiation: filters.c:smart_str_append_smart_str_ex Unexecuted instantiation: head.c:smart_str_append_smart_str_ex Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append_smart_str_ex Unexecuted instantiation: http.c:smart_str_append_smart_str_ex Unexecuted instantiation: mail.c:smart_str_append_smart_str_ex Unexecuted instantiation: proc_open.c:smart_str_append_smart_str_ex Unexecuted instantiation: string.c:smart_str_append_smart_str_ex Unexecuted instantiation: url_scanner_ex.c:smart_str_append_smart_str_ex Unexecuted instantiation: url.c:smart_str_append_smart_str_ex Unexecuted instantiation: var.c:smart_str_append_smart_str_ex Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_append_smart_str_ex Unexecuted instantiation: uri_parser_whatwg.c:smart_str_append_smart_str_ex Unexecuted instantiation: fopen_wrappers.c:smart_str_append_smart_str_ex Unexecuted instantiation: php_variables.c:smart_str_append_smart_str_ex Unexecuted instantiation: spprintf.c:smart_str_append_smart_str_ex Unexecuted instantiation: zend_dump.c:smart_str_append_smart_str_ex Unexecuted instantiation: zend_ast.c:smart_str_append_smart_str_ex Unexecuted instantiation: zend_attributes.c:smart_str_append_smart_str_ex Unexecuted instantiation: zend_builtin_functions.c:smart_str_append_smart_str_ex Unexecuted instantiation: zend_exceptions.c:smart_str_append_smart_str_ex Unexecuted instantiation: zend_execute.c:smart_str_append_smart_str_ex Unexecuted instantiation: zend_inheritance.c:smart_str_append_smart_str_ex Unexecuted instantiation: zend_ini.c:smart_str_append_smart_str_ex Unexecuted instantiation: zend_smart_str.c:smart_str_append_smart_str_ex Unexecuted instantiation: zend.c:smart_str_append_smart_str_ex |
142 | | |
143 | 0 | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { |
144 | 0 | char buf[32]; |
145 | 0 | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); |
146 | 0 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); |
147 | 0 | } Unexecuted instantiation: php_date.c:smart_str_append_long_ex Unexecuted instantiation: php_pcre.c:smart_str_append_long_ex Unexecuted instantiation: hash.c:smart_str_append_long_ex Unexecuted instantiation: json_encoder.c:smart_str_append_long_ex Unexecuted instantiation: json.c:smart_str_append_long_ex Unexecuted instantiation: zend_jit.c:smart_str_append_long_ex Unexecuted instantiation: php_reflection.c:smart_str_append_long_ex Unexecuted instantiation: spl_array.c:smart_str_append_long_ex Unexecuted instantiation: spl_dllist.c:smart_str_append_long_ex Unexecuted instantiation: spl_iterators.c:smart_str_append_long_ex Unexecuted instantiation: spl_observer.c:smart_str_append_long_ex Unexecuted instantiation: array.c:smart_str_append_long_ex Unexecuted instantiation: basic_functions.c:smart_str_append_long_ex Unexecuted instantiation: file.c:smart_str_append_long_ex Unexecuted instantiation: filters.c:smart_str_append_long_ex Unexecuted instantiation: head.c:smart_str_append_long_ex Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append_long_ex Unexecuted instantiation: http.c:smart_str_append_long_ex Unexecuted instantiation: mail.c:smart_str_append_long_ex Unexecuted instantiation: proc_open.c:smart_str_append_long_ex Unexecuted instantiation: string.c:smart_str_append_long_ex Unexecuted instantiation: url_scanner_ex.c:smart_str_append_long_ex Unexecuted instantiation: url.c:smart_str_append_long_ex Unexecuted instantiation: var.c:smart_str_append_long_ex Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_append_long_ex Unexecuted instantiation: uri_parser_whatwg.c:smart_str_append_long_ex Unexecuted instantiation: fopen_wrappers.c:smart_str_append_long_ex Unexecuted instantiation: php_variables.c:smart_str_append_long_ex Unexecuted instantiation: spprintf.c:smart_str_append_long_ex Unexecuted instantiation: zend_dump.c:smart_str_append_long_ex Unexecuted instantiation: zend_ast.c:smart_str_append_long_ex Unexecuted instantiation: zend_attributes.c:smart_str_append_long_ex Unexecuted instantiation: zend_builtin_functions.c:smart_str_append_long_ex Unexecuted instantiation: zend_exceptions.c:smart_str_append_long_ex Unexecuted instantiation: zend_execute.c:smart_str_append_long_ex Unexecuted instantiation: zend_inheritance.c:smart_str_append_long_ex Unexecuted instantiation: zend_ini.c:smart_str_append_long_ex Unexecuted instantiation: zend_smart_str.c:smart_str_append_long_ex Unexecuted instantiation: zend.c:smart_str_append_long_ex |
148 | | |
149 | | static zend_always_inline void smart_str_append_long(smart_str *dest, zend_long num) |
150 | 0 | { |
151 | 0 | smart_str_append_long_ex(dest, num, false); |
152 | 0 | } Unexecuted instantiation: php_date.c:smart_str_append_long Unexecuted instantiation: php_pcre.c:smart_str_append_long Unexecuted instantiation: hash.c:smart_str_append_long Unexecuted instantiation: json_encoder.c:smart_str_append_long Unexecuted instantiation: json.c:smart_str_append_long Unexecuted instantiation: zend_jit.c:smart_str_append_long Unexecuted instantiation: php_reflection.c:smart_str_append_long Unexecuted instantiation: spl_array.c:smart_str_append_long Unexecuted instantiation: spl_dllist.c:smart_str_append_long Unexecuted instantiation: spl_iterators.c:smart_str_append_long Unexecuted instantiation: spl_observer.c:smart_str_append_long Unexecuted instantiation: array.c:smart_str_append_long Unexecuted instantiation: basic_functions.c:smart_str_append_long Unexecuted instantiation: file.c:smart_str_append_long Unexecuted instantiation: filters.c:smart_str_append_long Unexecuted instantiation: head.c:smart_str_append_long Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append_long Unexecuted instantiation: http.c:smart_str_append_long Unexecuted instantiation: mail.c:smart_str_append_long Unexecuted instantiation: proc_open.c:smart_str_append_long Unexecuted instantiation: string.c:smart_str_append_long Unexecuted instantiation: url_scanner_ex.c:smart_str_append_long Unexecuted instantiation: url.c:smart_str_append_long Unexecuted instantiation: var.c:smart_str_append_long Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_append_long Unexecuted instantiation: uri_parser_whatwg.c:smart_str_append_long Unexecuted instantiation: fopen_wrappers.c:smart_str_append_long Unexecuted instantiation: php_variables.c:smart_str_append_long Unexecuted instantiation: spprintf.c:smart_str_append_long Unexecuted instantiation: zend_dump.c:smart_str_append_long Unexecuted instantiation: zend_ast.c:smart_str_append_long Unexecuted instantiation: zend_attributes.c:smart_str_append_long Unexecuted instantiation: zend_builtin_functions.c:smart_str_append_long Unexecuted instantiation: zend_exceptions.c:smart_str_append_long Unexecuted instantiation: zend_execute.c:smart_str_append_long Unexecuted instantiation: zend_inheritance.c:smart_str_append_long Unexecuted instantiation: zend_ini.c:smart_str_append_long Unexecuted instantiation: zend_smart_str.c:smart_str_append_long Unexecuted instantiation: zend.c:smart_str_append_long |
153 | | |
154 | 0 | static zend_always_inline void smart_str_append_unsigned_ex(smart_str *dest, zend_ulong num, bool persistent) { |
155 | 0 | char buf[32]; |
156 | 0 | char *result = zend_print_ulong_to_buf(buf + sizeof(buf) - 1, num); |
157 | 0 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); |
158 | 0 | } Unexecuted instantiation: php_date.c:smart_str_append_unsigned_ex Unexecuted instantiation: php_pcre.c:smart_str_append_unsigned_ex Unexecuted instantiation: hash.c:smart_str_append_unsigned_ex Unexecuted instantiation: json_encoder.c:smart_str_append_unsigned_ex Unexecuted instantiation: json.c:smart_str_append_unsigned_ex Unexecuted instantiation: zend_jit.c:smart_str_append_unsigned_ex Unexecuted instantiation: php_reflection.c:smart_str_append_unsigned_ex Unexecuted instantiation: spl_array.c:smart_str_append_unsigned_ex Unexecuted instantiation: spl_dllist.c:smart_str_append_unsigned_ex Unexecuted instantiation: spl_iterators.c:smart_str_append_unsigned_ex Unexecuted instantiation: spl_observer.c:smart_str_append_unsigned_ex Unexecuted instantiation: array.c:smart_str_append_unsigned_ex Unexecuted instantiation: basic_functions.c:smart_str_append_unsigned_ex Unexecuted instantiation: file.c:smart_str_append_unsigned_ex Unexecuted instantiation: filters.c:smart_str_append_unsigned_ex Unexecuted instantiation: head.c:smart_str_append_unsigned_ex Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append_unsigned_ex Unexecuted instantiation: http.c:smart_str_append_unsigned_ex Unexecuted instantiation: mail.c:smart_str_append_unsigned_ex Unexecuted instantiation: proc_open.c:smart_str_append_unsigned_ex Unexecuted instantiation: string.c:smart_str_append_unsigned_ex Unexecuted instantiation: url_scanner_ex.c:smart_str_append_unsigned_ex Unexecuted instantiation: url.c:smart_str_append_unsigned_ex Unexecuted instantiation: var.c:smart_str_append_unsigned_ex Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_append_unsigned_ex Unexecuted instantiation: uri_parser_whatwg.c:smart_str_append_unsigned_ex Unexecuted instantiation: fopen_wrappers.c:smart_str_append_unsigned_ex Unexecuted instantiation: php_variables.c:smart_str_append_unsigned_ex Unexecuted instantiation: spprintf.c:smart_str_append_unsigned_ex Unexecuted instantiation: zend_dump.c:smart_str_append_unsigned_ex Unexecuted instantiation: zend_ast.c:smart_str_append_unsigned_ex Unexecuted instantiation: zend_attributes.c:smart_str_append_unsigned_ex Unexecuted instantiation: zend_builtin_functions.c:smart_str_append_unsigned_ex Unexecuted instantiation: zend_exceptions.c:smart_str_append_unsigned_ex Unexecuted instantiation: zend_execute.c:smart_str_append_unsigned_ex Unexecuted instantiation: zend_inheritance.c:smart_str_append_unsigned_ex Unexecuted instantiation: zend_ini.c:smart_str_append_unsigned_ex Unexecuted instantiation: zend_smart_str.c:smart_str_append_unsigned_ex Unexecuted instantiation: zend.c:smart_str_append_unsigned_ex |
159 | | |
160 | | static zend_always_inline void smart_str_append_unsigned(smart_str *dest, zend_ulong num) |
161 | 0 | { |
162 | 0 | smart_str_append_unsigned_ex(dest, num, false); |
163 | 0 | } Unexecuted instantiation: php_date.c:smart_str_append_unsigned Unexecuted instantiation: php_pcre.c:smart_str_append_unsigned Unexecuted instantiation: hash.c:smart_str_append_unsigned Unexecuted instantiation: json_encoder.c:smart_str_append_unsigned Unexecuted instantiation: json.c:smart_str_append_unsigned Unexecuted instantiation: zend_jit.c:smart_str_append_unsigned Unexecuted instantiation: php_reflection.c:smart_str_append_unsigned Unexecuted instantiation: spl_array.c:smart_str_append_unsigned Unexecuted instantiation: spl_dllist.c:smart_str_append_unsigned Unexecuted instantiation: spl_iterators.c:smart_str_append_unsigned Unexecuted instantiation: spl_observer.c:smart_str_append_unsigned Unexecuted instantiation: array.c:smart_str_append_unsigned Unexecuted instantiation: basic_functions.c:smart_str_append_unsigned Unexecuted instantiation: file.c:smart_str_append_unsigned Unexecuted instantiation: filters.c:smart_str_append_unsigned Unexecuted instantiation: head.c:smart_str_append_unsigned Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append_unsigned Unexecuted instantiation: http.c:smart_str_append_unsigned Unexecuted instantiation: mail.c:smart_str_append_unsigned Unexecuted instantiation: proc_open.c:smart_str_append_unsigned Unexecuted instantiation: string.c:smart_str_append_unsigned Unexecuted instantiation: url_scanner_ex.c:smart_str_append_unsigned Unexecuted instantiation: url.c:smart_str_append_unsigned Unexecuted instantiation: var.c:smart_str_append_unsigned Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_append_unsigned Unexecuted instantiation: uri_parser_whatwg.c:smart_str_append_unsigned Unexecuted instantiation: fopen_wrappers.c:smart_str_append_unsigned Unexecuted instantiation: php_variables.c:smart_str_append_unsigned Unexecuted instantiation: spprintf.c:smart_str_append_unsigned Unexecuted instantiation: zend_dump.c:smart_str_append_unsigned Unexecuted instantiation: zend_ast.c:smart_str_append_unsigned Unexecuted instantiation: zend_attributes.c:smart_str_append_unsigned Unexecuted instantiation: zend_builtin_functions.c:smart_str_append_unsigned Unexecuted instantiation: zend_exceptions.c:smart_str_append_unsigned Unexecuted instantiation: zend_execute.c:smart_str_append_unsigned Unexecuted instantiation: zend_inheritance.c:smart_str_append_unsigned Unexecuted instantiation: zend_ini.c:smart_str_append_unsigned Unexecuted instantiation: zend_smart_str.c:smart_str_append_unsigned Unexecuted instantiation: zend.c:smart_str_append_unsigned |
164 | | |
165 | | static zend_always_inline void smart_str_appendl(smart_str *dest, const char *src, size_t length) |
166 | 475k | { |
167 | 475k | smart_str_appendl_ex(dest, src, length, false); |
168 | 475k | } Unexecuted instantiation: php_date.c:smart_str_appendl Unexecuted instantiation: php_pcre.c:smart_str_appendl Unexecuted instantiation: hash.c:smart_str_appendl Unexecuted instantiation: json_encoder.c:smart_str_appendl Unexecuted instantiation: json.c:smart_str_appendl Unexecuted instantiation: zend_jit.c:smart_str_appendl Unexecuted instantiation: php_reflection.c:smart_str_appendl Unexecuted instantiation: spl_array.c:smart_str_appendl Unexecuted instantiation: spl_dllist.c:smart_str_appendl Unexecuted instantiation: spl_iterators.c:smart_str_appendl Unexecuted instantiation: spl_observer.c:smart_str_appendl Unexecuted instantiation: array.c:smart_str_appendl Unexecuted instantiation: basic_functions.c:smart_str_appendl Unexecuted instantiation: file.c:smart_str_appendl Unexecuted instantiation: filters.c:smart_str_appendl Unexecuted instantiation: head.c:smart_str_appendl Unexecuted instantiation: http_fopen_wrapper.c:smart_str_appendl Unexecuted instantiation: http.c:smart_str_appendl Unexecuted instantiation: mail.c:smart_str_appendl Unexecuted instantiation: proc_open.c:smart_str_appendl Unexecuted instantiation: string.c:smart_str_appendl Unexecuted instantiation: url_scanner_ex.c:smart_str_appendl Unexecuted instantiation: url.c:smart_str_appendl Unexecuted instantiation: var.c:smart_str_appendl Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_appendl Unexecuted instantiation: uri_parser_whatwg.c:smart_str_appendl Unexecuted instantiation: fopen_wrappers.c:smart_str_appendl Unexecuted instantiation: php_variables.c:smart_str_appendl spprintf.c:smart_str_appendl Line | Count | Source | 166 | 475k | { | 167 | | smart_str_appendl_ex(dest, src, length, false); | 168 | 475k | } |
Unexecuted instantiation: zend_dump.c:smart_str_appendl Unexecuted instantiation: zend_ast.c:smart_str_appendl Unexecuted instantiation: zend_attributes.c:smart_str_appendl Unexecuted instantiation: zend_builtin_functions.c:smart_str_appendl Unexecuted instantiation: zend_exceptions.c:smart_str_appendl Unexecuted instantiation: zend_execute.c:smart_str_appendl Unexecuted instantiation: zend_inheritance.c:smart_str_appendl Unexecuted instantiation: zend_ini.c:smart_str_appendl Unexecuted instantiation: zend_smart_str.c:smart_str_appendl Unexecuted instantiation: zend.c:smart_str_appendl |
169 | | static zend_always_inline void smart_str_appends_ex(smart_str *dest, const char *src, bool persistent) |
170 | 0 | { |
171 | 0 | smart_str_appendl_ex(dest, src, strlen(src), persistent); |
172 | 0 | } Unexecuted instantiation: php_date.c:smart_str_appends_ex Unexecuted instantiation: php_pcre.c:smart_str_appends_ex Unexecuted instantiation: hash.c:smart_str_appends_ex Unexecuted instantiation: json_encoder.c:smart_str_appends_ex Unexecuted instantiation: json.c:smart_str_appends_ex Unexecuted instantiation: zend_jit.c:smart_str_appends_ex Unexecuted instantiation: php_reflection.c:smart_str_appends_ex Unexecuted instantiation: spl_array.c:smart_str_appends_ex Unexecuted instantiation: spl_dllist.c:smart_str_appends_ex Unexecuted instantiation: spl_iterators.c:smart_str_appends_ex Unexecuted instantiation: spl_observer.c:smart_str_appends_ex Unexecuted instantiation: array.c:smart_str_appends_ex Unexecuted instantiation: basic_functions.c:smart_str_appends_ex Unexecuted instantiation: file.c:smart_str_appends_ex Unexecuted instantiation: filters.c:smart_str_appends_ex Unexecuted instantiation: head.c:smart_str_appends_ex Unexecuted instantiation: http_fopen_wrapper.c:smart_str_appends_ex Unexecuted instantiation: http.c:smart_str_appends_ex Unexecuted instantiation: mail.c:smart_str_appends_ex Unexecuted instantiation: proc_open.c:smart_str_appends_ex Unexecuted instantiation: string.c:smart_str_appends_ex Unexecuted instantiation: url_scanner_ex.c:smart_str_appends_ex Unexecuted instantiation: url.c:smart_str_appends_ex Unexecuted instantiation: var.c:smart_str_appends_ex Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_appends_ex Unexecuted instantiation: uri_parser_whatwg.c:smart_str_appends_ex Unexecuted instantiation: fopen_wrappers.c:smart_str_appends_ex Unexecuted instantiation: php_variables.c:smart_str_appends_ex Unexecuted instantiation: spprintf.c:smart_str_appends_ex Unexecuted instantiation: zend_dump.c:smart_str_appends_ex Unexecuted instantiation: zend_ast.c:smart_str_appends_ex Unexecuted instantiation: zend_attributes.c:smart_str_appends_ex Unexecuted instantiation: zend_builtin_functions.c:smart_str_appends_ex Unexecuted instantiation: zend_exceptions.c:smart_str_appends_ex Unexecuted instantiation: zend_execute.c:smart_str_appends_ex Unexecuted instantiation: zend_inheritance.c:smart_str_appends_ex Unexecuted instantiation: zend_ini.c:smart_str_appends_ex Unexecuted instantiation: zend_smart_str.c:smart_str_appends_ex Unexecuted instantiation: zend.c:smart_str_appends_ex |
173 | | static zend_always_inline void smart_str_appends(smart_str *dest, const char *src) |
174 | 0 | { |
175 | 0 | smart_str_appendl_ex(dest, src, strlen(src), false); |
176 | 0 | } Unexecuted instantiation: php_date.c:smart_str_appends Unexecuted instantiation: php_pcre.c:smart_str_appends Unexecuted instantiation: hash.c:smart_str_appends Unexecuted instantiation: json_encoder.c:smart_str_appends Unexecuted instantiation: json.c:smart_str_appends Unexecuted instantiation: zend_jit.c:smart_str_appends Unexecuted instantiation: php_reflection.c:smart_str_appends Unexecuted instantiation: spl_array.c:smart_str_appends Unexecuted instantiation: spl_dllist.c:smart_str_appends Unexecuted instantiation: spl_iterators.c:smart_str_appends Unexecuted instantiation: spl_observer.c:smart_str_appends Unexecuted instantiation: array.c:smart_str_appends Unexecuted instantiation: basic_functions.c:smart_str_appends Unexecuted instantiation: file.c:smart_str_appends Unexecuted instantiation: filters.c:smart_str_appends Unexecuted instantiation: head.c:smart_str_appends Unexecuted instantiation: http_fopen_wrapper.c:smart_str_appends Unexecuted instantiation: http.c:smart_str_appends Unexecuted instantiation: mail.c:smart_str_appends Unexecuted instantiation: proc_open.c:smart_str_appends Unexecuted instantiation: string.c:smart_str_appends Unexecuted instantiation: url_scanner_ex.c:smart_str_appends Unexecuted instantiation: url.c:smart_str_appends Unexecuted instantiation: var.c:smart_str_appends Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_appends Unexecuted instantiation: uri_parser_whatwg.c:smart_str_appends Unexecuted instantiation: fopen_wrappers.c:smart_str_appends Unexecuted instantiation: php_variables.c:smart_str_appends Unexecuted instantiation: spprintf.c:smart_str_appends Unexecuted instantiation: zend_dump.c:smart_str_appends Unexecuted instantiation: zend_ast.c:smart_str_appends Unexecuted instantiation: zend_attributes.c:smart_str_appends Unexecuted instantiation: zend_builtin_functions.c:smart_str_appends Unexecuted instantiation: zend_exceptions.c:smart_str_appends Unexecuted instantiation: zend_execute.c:smart_str_appends Unexecuted instantiation: zend_inheritance.c:smart_str_appends Unexecuted instantiation: zend_ini.c:smart_str_appends Unexecuted instantiation: zend_smart_str.c:smart_str_appends Unexecuted instantiation: zend.c:smart_str_appends |
177 | | static zend_always_inline void smart_str_append(smart_str *dest, const zend_string *src) |
178 | 0 | { |
179 | 0 | smart_str_append_ex(dest, src, false); |
180 | 0 | } Unexecuted instantiation: php_date.c:smart_str_append Unexecuted instantiation: php_pcre.c:smart_str_append Unexecuted instantiation: hash.c:smart_str_append Unexecuted instantiation: json_encoder.c:smart_str_append Unexecuted instantiation: json.c:smart_str_append Unexecuted instantiation: zend_jit.c:smart_str_append Unexecuted instantiation: php_reflection.c:smart_str_append Unexecuted instantiation: spl_array.c:smart_str_append Unexecuted instantiation: spl_dllist.c:smart_str_append Unexecuted instantiation: spl_iterators.c:smart_str_append Unexecuted instantiation: spl_observer.c:smart_str_append Unexecuted instantiation: array.c:smart_str_append Unexecuted instantiation: basic_functions.c:smart_str_append Unexecuted instantiation: file.c:smart_str_append Unexecuted instantiation: filters.c:smart_str_append Unexecuted instantiation: head.c:smart_str_append Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append Unexecuted instantiation: http.c:smart_str_append Unexecuted instantiation: mail.c:smart_str_append Unexecuted instantiation: proc_open.c:smart_str_append Unexecuted instantiation: string.c:smart_str_append Unexecuted instantiation: url_scanner_ex.c:smart_str_append Unexecuted instantiation: url.c:smart_str_append Unexecuted instantiation: var.c:smart_str_append Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_append Unexecuted instantiation: uri_parser_whatwg.c:smart_str_append Unexecuted instantiation: fopen_wrappers.c:smart_str_append Unexecuted instantiation: php_variables.c:smart_str_append Unexecuted instantiation: spprintf.c:smart_str_append Unexecuted instantiation: zend_dump.c:smart_str_append Unexecuted instantiation: zend_ast.c:smart_str_append Unexecuted instantiation: zend_attributes.c:smart_str_append Unexecuted instantiation: zend_builtin_functions.c:smart_str_append Unexecuted instantiation: zend_exceptions.c:smart_str_append Unexecuted instantiation: zend_execute.c:smart_str_append Unexecuted instantiation: zend_inheritance.c:smart_str_append Unexecuted instantiation: zend_ini.c:smart_str_append Unexecuted instantiation: zend_smart_str.c:smart_str_append Unexecuted instantiation: zend.c:smart_str_append |
181 | | static zend_always_inline void smart_str_appendc(smart_str *dest, char ch) |
182 | 11.1M | { |
183 | 11.1M | smart_str_appendc_ex(dest, ch, false); |
184 | 11.1M | } Unexecuted instantiation: php_date.c:smart_str_appendc Unexecuted instantiation: php_pcre.c:smart_str_appendc Unexecuted instantiation: hash.c:smart_str_appendc Unexecuted instantiation: json_encoder.c:smart_str_appendc Unexecuted instantiation: json.c:smart_str_appendc Unexecuted instantiation: zend_jit.c:smart_str_appendc Unexecuted instantiation: php_reflection.c:smart_str_appendc Unexecuted instantiation: spl_array.c:smart_str_appendc Unexecuted instantiation: spl_dllist.c:smart_str_appendc Unexecuted instantiation: spl_iterators.c:smart_str_appendc Unexecuted instantiation: spl_observer.c:smart_str_appendc Unexecuted instantiation: array.c:smart_str_appendc Unexecuted instantiation: basic_functions.c:smart_str_appendc Unexecuted instantiation: file.c:smart_str_appendc Unexecuted instantiation: filters.c:smart_str_appendc Unexecuted instantiation: head.c:smart_str_appendc Unexecuted instantiation: http_fopen_wrapper.c:smart_str_appendc Unexecuted instantiation: http.c:smart_str_appendc Unexecuted instantiation: mail.c:smart_str_appendc Unexecuted instantiation: proc_open.c:smart_str_appendc Unexecuted instantiation: string.c:smart_str_appendc Unexecuted instantiation: url_scanner_ex.c:smart_str_appendc Unexecuted instantiation: url.c:smart_str_appendc Unexecuted instantiation: var.c:smart_str_appendc Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_appendc Unexecuted instantiation: uri_parser_whatwg.c:smart_str_appendc Unexecuted instantiation: fopen_wrappers.c:smart_str_appendc Unexecuted instantiation: php_variables.c:smart_str_appendc spprintf.c:smart_str_appendc Line | Count | Source | 182 | 11.1M | { | 183 | | smart_str_appendc_ex(dest, ch, false); | 184 | 11.1M | } |
Unexecuted instantiation: zend_dump.c:smart_str_appendc Unexecuted instantiation: zend_ast.c:smart_str_appendc Unexecuted instantiation: zend_attributes.c:smart_str_appendc Unexecuted instantiation: zend_builtin_functions.c:smart_str_appendc Unexecuted instantiation: zend_exceptions.c:smart_str_appendc Unexecuted instantiation: zend_execute.c:smart_str_appendc Unexecuted instantiation: zend_inheritance.c:smart_str_appendc Unexecuted instantiation: zend_ini.c:smart_str_appendc Unexecuted instantiation: zend_smart_str.c:smart_str_appendc Unexecuted instantiation: zend.c:smart_str_appendc |
185 | | static zend_always_inline void smart_str_append_smart_str(smart_str *dest, const smart_str *src) |
186 | 0 | { |
187 | 0 | smart_str_append_smart_str_ex(dest, src, false); |
188 | 0 | } Unexecuted instantiation: php_date.c:smart_str_append_smart_str Unexecuted instantiation: php_pcre.c:smart_str_append_smart_str Unexecuted instantiation: hash.c:smart_str_append_smart_str Unexecuted instantiation: json_encoder.c:smart_str_append_smart_str Unexecuted instantiation: json.c:smart_str_append_smart_str Unexecuted instantiation: zend_jit.c:smart_str_append_smart_str Unexecuted instantiation: php_reflection.c:smart_str_append_smart_str Unexecuted instantiation: spl_array.c:smart_str_append_smart_str Unexecuted instantiation: spl_dllist.c:smart_str_append_smart_str Unexecuted instantiation: spl_iterators.c:smart_str_append_smart_str Unexecuted instantiation: spl_observer.c:smart_str_append_smart_str Unexecuted instantiation: array.c:smart_str_append_smart_str Unexecuted instantiation: basic_functions.c:smart_str_append_smart_str Unexecuted instantiation: file.c:smart_str_append_smart_str Unexecuted instantiation: filters.c:smart_str_append_smart_str Unexecuted instantiation: head.c:smart_str_append_smart_str Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append_smart_str Unexecuted instantiation: http.c:smart_str_append_smart_str Unexecuted instantiation: mail.c:smart_str_append_smart_str Unexecuted instantiation: proc_open.c:smart_str_append_smart_str Unexecuted instantiation: string.c:smart_str_append_smart_str Unexecuted instantiation: url_scanner_ex.c:smart_str_append_smart_str Unexecuted instantiation: url.c:smart_str_append_smart_str Unexecuted instantiation: var.c:smart_str_append_smart_str Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_append_smart_str Unexecuted instantiation: uri_parser_whatwg.c:smart_str_append_smart_str Unexecuted instantiation: fopen_wrappers.c:smart_str_append_smart_str Unexecuted instantiation: php_variables.c:smart_str_append_smart_str Unexecuted instantiation: spprintf.c:smart_str_append_smart_str Unexecuted instantiation: zend_dump.c:smart_str_append_smart_str Unexecuted instantiation: zend_ast.c:smart_str_append_smart_str Unexecuted instantiation: zend_attributes.c:smart_str_append_smart_str Unexecuted instantiation: zend_builtin_functions.c:smart_str_append_smart_str Unexecuted instantiation: zend_exceptions.c:smart_str_append_smart_str Unexecuted instantiation: zend_execute.c:smart_str_append_smart_str Unexecuted instantiation: zend_inheritance.c:smart_str_append_smart_str Unexecuted instantiation: zend_ini.c:smart_str_append_smart_str Unexecuted instantiation: zend_smart_str.c:smart_str_append_smart_str Unexecuted instantiation: zend.c:smart_str_append_smart_str |
189 | | |
190 | 0 | static zend_always_inline void smart_str_setl(smart_str *dest, const char *src, size_t len) { |
191 | 0 | smart_str_free(dest); |
192 | 0 | smart_str_appendl(dest, src, len); |
193 | 0 | } Unexecuted instantiation: php_date.c:smart_str_setl Unexecuted instantiation: php_pcre.c:smart_str_setl Unexecuted instantiation: hash.c:smart_str_setl Unexecuted instantiation: json_encoder.c:smart_str_setl Unexecuted instantiation: json.c:smart_str_setl Unexecuted instantiation: zend_jit.c:smart_str_setl Unexecuted instantiation: php_reflection.c:smart_str_setl Unexecuted instantiation: spl_array.c:smart_str_setl Unexecuted instantiation: spl_dllist.c:smart_str_setl Unexecuted instantiation: spl_iterators.c:smart_str_setl Unexecuted instantiation: spl_observer.c:smart_str_setl Unexecuted instantiation: array.c:smart_str_setl Unexecuted instantiation: basic_functions.c:smart_str_setl Unexecuted instantiation: file.c:smart_str_setl Unexecuted instantiation: filters.c:smart_str_setl Unexecuted instantiation: head.c:smart_str_setl Unexecuted instantiation: http_fopen_wrapper.c:smart_str_setl Unexecuted instantiation: http.c:smart_str_setl Unexecuted instantiation: mail.c:smart_str_setl Unexecuted instantiation: proc_open.c:smart_str_setl Unexecuted instantiation: string.c:smart_str_setl Unexecuted instantiation: url_scanner_ex.c:smart_str_setl Unexecuted instantiation: url.c:smart_str_setl Unexecuted instantiation: var.c:smart_str_setl Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_setl Unexecuted instantiation: uri_parser_whatwg.c:smart_str_setl Unexecuted instantiation: fopen_wrappers.c:smart_str_setl Unexecuted instantiation: php_variables.c:smart_str_setl Unexecuted instantiation: spprintf.c:smart_str_setl Unexecuted instantiation: zend_dump.c:smart_str_setl Unexecuted instantiation: zend_ast.c:smart_str_setl Unexecuted instantiation: zend_attributes.c:smart_str_setl Unexecuted instantiation: zend_builtin_functions.c:smart_str_setl Unexecuted instantiation: zend_exceptions.c:smart_str_setl Unexecuted instantiation: zend_execute.c:smart_str_setl Unexecuted instantiation: zend_inheritance.c:smart_str_setl Unexecuted instantiation: zend_ini.c:smart_str_setl Unexecuted instantiation: zend_smart_str.c:smart_str_setl Unexecuted instantiation: zend.c:smart_str_setl |
194 | | |
195 | | static zend_always_inline void smart_str_sets(smart_str *dest, const char *src) |
196 | 0 | { |
197 | 0 | smart_str_setl(dest, src, strlen(src)); |
198 | 0 | } Unexecuted instantiation: php_date.c:smart_str_sets Unexecuted instantiation: php_pcre.c:smart_str_sets Unexecuted instantiation: hash.c:smart_str_sets Unexecuted instantiation: json_encoder.c:smart_str_sets Unexecuted instantiation: json.c:smart_str_sets Unexecuted instantiation: zend_jit.c:smart_str_sets Unexecuted instantiation: php_reflection.c:smart_str_sets Unexecuted instantiation: spl_array.c:smart_str_sets Unexecuted instantiation: spl_dllist.c:smart_str_sets Unexecuted instantiation: spl_iterators.c:smart_str_sets Unexecuted instantiation: spl_observer.c:smart_str_sets Unexecuted instantiation: array.c:smart_str_sets Unexecuted instantiation: basic_functions.c:smart_str_sets Unexecuted instantiation: file.c:smart_str_sets Unexecuted instantiation: filters.c:smart_str_sets Unexecuted instantiation: head.c:smart_str_sets Unexecuted instantiation: http_fopen_wrapper.c:smart_str_sets Unexecuted instantiation: http.c:smart_str_sets Unexecuted instantiation: mail.c:smart_str_sets Unexecuted instantiation: proc_open.c:smart_str_sets Unexecuted instantiation: string.c:smart_str_sets Unexecuted instantiation: url_scanner_ex.c:smart_str_sets Unexecuted instantiation: url.c:smart_str_sets Unexecuted instantiation: var.c:smart_str_sets Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_sets Unexecuted instantiation: uri_parser_whatwg.c:smart_str_sets Unexecuted instantiation: fopen_wrappers.c:smart_str_sets Unexecuted instantiation: php_variables.c:smart_str_sets Unexecuted instantiation: spprintf.c:smart_str_sets Unexecuted instantiation: zend_dump.c:smart_str_sets Unexecuted instantiation: zend_ast.c:smart_str_sets Unexecuted instantiation: zend_attributes.c:smart_str_sets Unexecuted instantiation: zend_builtin_functions.c:smart_str_sets Unexecuted instantiation: zend_exceptions.c:smart_str_sets Unexecuted instantiation: zend_execute.c:smart_str_sets Unexecuted instantiation: zend_inheritance.c:smart_str_sets Unexecuted instantiation: zend_ini.c:smart_str_sets Unexecuted instantiation: zend_smart_str.c:smart_str_sets Unexecuted instantiation: zend.c:smart_str_sets |
199 | | #endif |