/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 | 1.60M | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { |
39 | 1.60M | if (UNEXPECTED(!str->s)) { |
40 | 63.2k | goto do_smart_str_realloc; |
41 | 1.53M | } else { |
42 | 1.53M | len += ZSTR_LEN(str->s); |
43 | 1.53M | if (UNEXPECTED(len >= str->a)) { |
44 | 63.5k | do_smart_str_realloc: |
45 | 63.5k | if (persistent) { |
46 | 0 | smart_str_realloc(str, len); |
47 | 63.5k | } else { |
48 | 63.5k | smart_str_erealloc(str, len); |
49 | 63.5k | } |
50 | 63.5k | } |
51 | 1.53M | } |
52 | 1.60M | return len; |
53 | 1.60M | } php_date.c:smart_str_alloc Line | Count | Source | 38 | 1.24k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 39 | 1.24k | if (UNEXPECTED(!str->s)) { | 40 | 29 | goto do_smart_str_realloc; | 41 | 1.21k | } else { | 42 | 1.21k | len += ZSTR_LEN(str->s); | 43 | 1.21k | if (UNEXPECTED(len >= str->a)) { | 44 | 34 | do_smart_str_realloc: | 45 | 34 | if (persistent) { | 46 | 0 | smart_str_realloc(str, len); | 47 | 34 | } else { | 48 | 34 | smart_str_erealloc(str, len); | 49 | 34 | } | 50 | 34 | } | 51 | 1.21k | } | 52 | 1.24k | return len; | 53 | 1.24k | } |
Unexecuted instantiation: php_pcre.c:smart_str_alloc Unexecuted instantiation: hash.c:smart_str_alloc json_encoder.c:smart_str_alloc Line | Count | Source | 38 | 25 | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 39 | 25 | if (UNEXPECTED(!str->s)) { | 40 | 2 | goto do_smart_str_realloc; | 41 | 23 | } else { | 42 | 23 | len += ZSTR_LEN(str->s); | 43 | 23 | if (UNEXPECTED(len >= str->a)) { | 44 | 2 | do_smart_str_realloc: | 45 | 2 | if (persistent) { | 46 | 0 | smart_str_realloc(str, len); | 47 | 2 | } else { | 48 | 2 | smart_str_erealloc(str, len); | 49 | 2 | } | 50 | 2 | } | 51 | 23 | } | 52 | 25 | return len; | 53 | 25 | } |
Unexecuted instantiation: json.c:smart_str_alloc Unexecuted instantiation: zend_jit.c:smart_str_alloc php_reflection.c:smart_str_alloc Line | Count | Source | 38 | 1.36k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 39 | 1.36k | if (UNEXPECTED(!str->s)) { | 40 | 16 | goto do_smart_str_realloc; | 41 | 1.35k | } else { | 42 | 1.35k | len += ZSTR_LEN(str->s); | 43 | 1.35k | if (UNEXPECTED(len >= str->a)) { | 44 | 32 | do_smart_str_realloc: | 45 | 32 | if (persistent) { | 46 | 0 | smart_str_realloc(str, len); | 47 | 32 | } else { | 48 | 32 | smart_str_erealloc(str, len); | 49 | 32 | } | 50 | 32 | } | 51 | 1.35k | } | 52 | 1.36k | return len; | 53 | 1.36k | } |
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 Line | Count | Source | 38 | 396 | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 39 | 396 | if (UNEXPECTED(!str->s)) { | 40 | 18 | goto do_smart_str_realloc; | 41 | 378 | } else { | 42 | 378 | len += ZSTR_LEN(str->s); | 43 | 378 | if (UNEXPECTED(len >= str->a)) { | 44 | 21 | do_smart_str_realloc: | 45 | 21 | if (persistent) { | 46 | 0 | smart_str_realloc(str, len); | 47 | 21 | } else { | 48 | 21 | smart_str_erealloc(str, len); | 49 | 21 | } | 50 | 21 | } | 51 | 378 | } | 52 | 396 | return len; | 53 | 396 | } |
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_alloc Unexecuted instantiation: uri_parser_whatwg.c:smart_str_alloc fopen_wrappers.c:smart_str_alloc Line | Count | Source | 38 | 1 | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 39 | 1 | if (UNEXPECTED(!str->s)) { | 40 | 1 | goto do_smart_str_realloc; | 41 | 1 | } else { | 42 | 0 | len += ZSTR_LEN(str->s); | 43 | 0 | if (UNEXPECTED(len >= str->a)) { | 44 | 1 | do_smart_str_realloc: | 45 | 1 | if (persistent) { | 46 | 0 | smart_str_realloc(str, len); | 47 | 1 | } else { | 48 | 1 | smart_str_erealloc(str, len); | 49 | 1 | } | 50 | 1 | } | 51 | 0 | } | 52 | 1 | return len; | 53 | 1 | } |
Unexecuted instantiation: php_variables.c:smart_str_alloc spprintf.c:smart_str_alloc Line | Count | Source | 38 | 1.57M | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 39 | 1.57M | if (UNEXPECTED(!str->s)) { | 40 | 61.4k | goto do_smart_str_realloc; | 41 | 1.51M | } else { | 42 | 1.51M | len += ZSTR_LEN(str->s); | 43 | 1.51M | if (UNEXPECTED(len >= str->a)) { | 44 | 61.6k | do_smart_str_realloc: | 45 | 61.6k | if (persistent) { | 46 | 0 | smart_str_realloc(str, len); | 47 | 61.6k | } else { | 48 | 61.6k | smart_str_erealloc(str, len); | 49 | 61.6k | } | 50 | 61.6k | } | 51 | 1.51M | } | 52 | 1.57M | return len; | 53 | 1.57M | } |
Unexecuted instantiation: zend_dump.c:smart_str_alloc zend_ast.c:smart_str_alloc Line | Count | Source | 38 | 6.55k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 39 | 6.55k | if (UNEXPECTED(!str->s)) { | 40 | 99 | goto do_smart_str_realloc; | 41 | 6.45k | } else { | 42 | 6.45k | len += ZSTR_LEN(str->s); | 43 | 6.45k | if (UNEXPECTED(len >= str->a)) { | 44 | 120 | do_smart_str_realloc: | 45 | 120 | if (persistent) { | 46 | 0 | smart_str_realloc(str, len); | 47 | 120 | } else { | 48 | 120 | smart_str_erealloc(str, len); | 49 | 120 | } | 50 | 120 | } | 51 | 6.45k | } | 52 | 6.55k | return len; | 53 | 6.55k | } |
zend_attributes.c:smart_str_alloc Line | Count | Source | 38 | 20 | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 39 | 20 | if (UNEXPECTED(!str->s)) { | 40 | 12 | goto do_smart_str_realloc; | 41 | 12 | } else { | 42 | 8 | len += ZSTR_LEN(str->s); | 43 | 8 | if (UNEXPECTED(len >= str->a)) { | 44 | 12 | do_smart_str_realloc: | 45 | 12 | if (persistent) { | 46 | 0 | smart_str_realloc(str, len); | 47 | 12 | } else { | 48 | 12 | smart_str_erealloc(str, len); | 49 | 12 | } | 50 | 12 | } | 51 | 8 | } | 52 | 20 | return len; | 53 | 20 | } |
Unexecuted instantiation: zend_builtin_functions.c:smart_str_alloc zend_exceptions.c:smart_str_alloc Line | Count | Source | 38 | 12.3k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 39 | 12.3k | if (UNEXPECTED(!str->s)) { | 40 | 1.39k | goto do_smart_str_realloc; | 41 | 10.9k | } else { | 42 | 10.9k | len += ZSTR_LEN(str->s); | 43 | 10.9k | if (UNEXPECTED(len >= str->a)) { | 44 | 1.39k | do_smart_str_realloc: | 45 | 1.39k | if (persistent) { | 46 | 0 | smart_str_realloc(str, len); | 47 | 1.39k | } else { | 48 | 1.39k | smart_str_erealloc(str, len); | 49 | 1.39k | } | 50 | 1.39k | } | 51 | 10.9k | } | 52 | 12.3k | return len; | 53 | 12.3k | } |
Unexecuted instantiation: zend_execute.c:smart_str_alloc zend_inheritance.c:smart_str_alloc Line | Count | Source | 38 | 1.30k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 39 | 1.30k | if (UNEXPECTED(!str->s)) { | 40 | 138 | goto do_smart_str_realloc; | 41 | 1.16k | } else { | 42 | 1.16k | len += ZSTR_LEN(str->s); | 43 | 1.16k | if (UNEXPECTED(len >= str->a)) { | 44 | 138 | do_smart_str_realloc: | 45 | 138 | if (persistent) { | 46 | 0 | smart_str_realloc(str, len); | 47 | 138 | } else { | 48 | 138 | smart_str_erealloc(str, len); | 49 | 138 | } | 50 | 138 | } | 51 | 1.16k | } | 52 | 1.30k | return len; | 53 | 1.30k | } |
Unexecuted instantiation: zend_ini.c:smart_str_alloc zend_smart_str.c:smart_str_alloc Line | Count | Source | 38 | 2.33k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 39 | 2.33k | if (UNEXPECTED(!str->s)) { | 40 | 90 | goto do_smart_str_realloc; | 41 | 2.24k | } else { | 42 | 2.24k | len += ZSTR_LEN(str->s); | 43 | 2.24k | if (UNEXPECTED(len >= str->a)) { | 44 | 92 | do_smart_str_realloc: | 45 | 92 | if (persistent) { | 46 | 0 | smart_str_realloc(str, len); | 47 | 92 | } else { | 48 | 92 | smart_str_erealloc(str, len); | 49 | 92 | } | 50 | 92 | } | 51 | 2.24k | } | 52 | 2.33k | return len; | 53 | 2.33k | } |
Line | Count | Source | 38 | 2.82k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 39 | 2.82k | if (UNEXPECTED(!str->s)) { | 40 | 40 | goto do_smart_str_realloc; | 41 | 2.78k | } else { | 42 | 2.78k | len += ZSTR_LEN(str->s); | 43 | 2.78k | if (UNEXPECTED(len >= str->a)) { | 44 | 50 | do_smart_str_realloc: | 45 | 50 | if (persistent) { | 46 | 0 | smart_str_realloc(str, len); | 47 | 50 | } else { | 48 | 50 | smart_str_erealloc(str, len); | 49 | 50 | } | 50 | 50 | } | 51 | 2.78k | } | 52 | 2.82k | return len; | 53 | 2.82k | } |
|
54 | | |
55 | 49 | static zend_always_inline char* smart_str_extend_ex(smart_str *dest, size_t len, bool persistent) { |
56 | 49 | size_t new_len = smart_str_alloc(dest, len, persistent); |
57 | 49 | char *ret = ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s); |
58 | 49 | ZSTR_LEN(dest->s) = new_len; |
59 | 49 | return ret; |
60 | 49 | } 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 var.c:smart_str_extend_ex Line | Count | Source | 55 | 49 | static zend_always_inline char* smart_str_extend_ex(smart_str *dest, size_t len, bool persistent) { | 56 | 49 | size_t new_len = smart_str_alloc(dest, len, persistent); | 57 | 49 | char *ret = ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s); | 58 | 49 | ZSTR_LEN(dest->s) = new_len; | 59 | 49 | return ret; | 60 | 49 | } |
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 | 49 | { |
64 | 49 | return smart_str_extend_ex(dest, length, false); |
65 | 49 | } 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 Line | Count | Source | 63 | 49 | { | 64 | | return smart_str_extend_ex(dest, length, false); | 65 | 49 | } |
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 | 134k | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { |
68 | 134k | if (str->s) { |
69 | 185 | zend_string_release_ex(str->s, persistent); |
70 | 185 | str->s = NULL; |
71 | 185 | } |
72 | 134k | str->a = 0; |
73 | 134k | } 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 php_reflection.c:smart_str_free_ex Line | Count | Source | 67 | 125 | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 68 | 125 | if (str->s) { | 69 | 91 | zend_string_release_ex(str->s, persistent); | 70 | | str->s = NULL; | 71 | 91 | } | 72 | 125 | str->a = 0; | 73 | 125 | } |
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 string.c:smart_str_free_ex Line | Count | Source | 67 | 5 | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 68 | 5 | if (str->s) { | 69 | 0 | zend_string_release_ex(str->s, persistent); | 70 | | str->s = NULL; | 71 | 0 | } | 72 | 5 | str->a = 0; | 73 | 5 | } |
url_scanner_ex.c:smart_str_free_ex Line | Count | Source | 67 | 134k | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 68 | 134k | if (str->s) { | 69 | 0 | zend_string_release_ex(str->s, persistent); | 70 | | str->s = NULL; | 71 | 0 | } | 72 | 134k | str->a = 0; | 73 | 134k | } |
Unexecuted instantiation: url.c:smart_str_free_ex Line | Count | Source | 67 | 6 | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 68 | 6 | if (str->s) { | 69 | 4 | zend_string_release_ex(str->s, persistent); | 70 | | str->s = NULL; | 71 | 4 | } | 72 | 6 | str->a = 0; | 73 | 6 | } |
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 zend_execute.c:smart_str_free_ex Line | Count | Source | 67 | 9 | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 68 | 9 | if (str->s) { | 69 | 9 | zend_string_release_ex(str->s, persistent); | 70 | | str->s = NULL; | 71 | 9 | } | 72 | 9 | str->a = 0; | 73 | 9 | } |
Unexecuted instantiation: zend_inheritance.c:smart_str_free_ex zend_ini.c:smart_str_free_ex Line | Count | Source | 67 | 85 | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 68 | 85 | if (str->s) { | 69 | 81 | zend_string_release_ex(str->s, persistent); | 70 | | str->s = NULL; | 71 | 81 | } | 72 | 85 | str->a = 0; | 73 | 85 | } |
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 | 134k | { |
77 | 134k | smart_str_free_ex(str, false); |
78 | 134k | } 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 php_reflection.c:smart_str_free Line | Count | Source | 76 | 125 | { | 77 | | smart_str_free_ex(str, false); | 78 | 125 | } |
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 Line | Count | Source | 76 | 5 | { | 77 | | smart_str_free_ex(str, false); | 78 | 5 | } |
url_scanner_ex.c:smart_str_free Line | Count | Source | 76 | 134k | { | 77 | | smart_str_free_ex(str, false); | 78 | 134k | } |
Unexecuted instantiation: url.c:smart_str_free Line | Count | Source | 76 | 6 | { | 77 | | smart_str_free_ex(str, false); | 78 | 6 | } |
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 zend_execute.c:smart_str_free Line | Count | Source | 76 | 9 | { | 77 | | smart_str_free_ex(str, false); | 78 | 9 | } |
Unexecuted instantiation: zend_inheritance.c:smart_str_free zend_ini.c:smart_str_free Line | Count | Source | 76 | 85 | { | 77 | | smart_str_free_ex(str, false); | 78 | 85 | } |
Unexecuted instantiation: zend_smart_str.c:smart_str_free Unexecuted instantiation: zend.c:smart_str_free |
79 | | |
80 | 63.2k | static zend_always_inline void smart_str_0(smart_str *str) { |
81 | 63.2k | if (str->s) { |
82 | 63.2k | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; |
83 | 63.2k | } |
84 | 63.2k | } Line | Count | Source | 80 | 29 | static zend_always_inline void smart_str_0(smart_str *str) { | 81 | 29 | if (str->s) { | 82 | 29 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 83 | 29 | } | 84 | 29 | } |
Unexecuted instantiation: php_pcre.c:smart_str_0 Unexecuted instantiation: hash.c:smart_str_0 Unexecuted instantiation: json_encoder.c:smart_str_0 Line | Count | Source | 80 | 2 | static zend_always_inline void smart_str_0(smart_str *str) { | 81 | 2 | if (str->s) { | 82 | 2 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 83 | 2 | } | 84 | 2 | } |
Unexecuted instantiation: zend_jit.c:smart_str_0 php_reflection.c:smart_str_0 Line | Count | Source | 80 | 114 | static zend_always_inline void smart_str_0(smart_str *str) { | 81 | 114 | if (str->s) { | 82 | 114 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 83 | 114 | } | 84 | 114 | } |
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 Line | Count | Source | 80 | 34 | static zend_always_inline void smart_str_0(smart_str *str) { | 81 | 34 | if (str->s) { | 82 | 32 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 83 | 32 | } | 84 | 34 | } |
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_0 Unexecuted instantiation: uri_parser_whatwg.c:smart_str_0 fopen_wrappers.c:smart_str_0 Line | Count | Source | 80 | 1 | static zend_always_inline void smart_str_0(smart_str *str) { | 81 | 1 | if (str->s) { | 82 | 1 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 83 | 1 | } | 84 | 1 | } |
Unexecuted instantiation: php_variables.c:smart_str_0 Unexecuted instantiation: spprintf.c:smart_str_0 Unexecuted instantiation: zend_dump.c:smart_str_0 Line | Count | Source | 80 | 99 | static zend_always_inline void smart_str_0(smart_str *str) { | 81 | 99 | if (str->s) { | 82 | 99 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 83 | 99 | } | 84 | 99 | } |
zend_attributes.c:smart_str_0 Line | Count | Source | 80 | 12 | static zend_always_inline void smart_str_0(smart_str *str) { | 81 | 12 | if (str->s) { | 82 | 12 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 83 | 12 | } | 84 | 12 | } |
Unexecuted instantiation: zend_builtin_functions.c:smart_str_0 zend_exceptions.c:smart_str_0 Line | Count | Source | 80 | 1.39k | static zend_always_inline void smart_str_0(smart_str *str) { | 81 | 1.39k | if (str->s) { | 82 | 1.39k | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 83 | 1.39k | } | 84 | 1.39k | } |
zend_execute.c:smart_str_0 Line | Count | Source | 80 | 9 | static zend_always_inline void smart_str_0(smart_str *str) { | 81 | 9 | if (str->s) { | 82 | 9 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 83 | 9 | } | 84 | 9 | } |
zend_inheritance.c:smart_str_0 Line | Count | Source | 80 | 138 | static zend_always_inline void smart_str_0(smart_str *str) { | 81 | 138 | if (str->s) { | 82 | 138 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 83 | 138 | } | 84 | 138 | } |
Line | Count | Source | 80 | 81 | static zend_always_inline void smart_str_0(smart_str *str) { | 81 | 81 | if (str->s) { | 82 | 81 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 83 | 81 | } | 84 | 81 | } |
Unexecuted instantiation: zend_smart_str.c:smart_str_0 Line | Count | Source | 80 | 61.3k | static zend_always_inline void smart_str_0(smart_str *str) { | 81 | 61.3k | if (str->s) { | 82 | 61.3k | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 83 | 61.3k | } | 84 | 61.3k | } |
|
85 | | |
86 | 17 | static zend_always_inline size_t smart_str_get_len(smart_str *str) { |
87 | 17 | return str->s ? ZSTR_LEN(str->s) : 0; |
88 | 17 | } 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 fopen_wrappers.c:smart_str_get_len Line | Count | Source | 86 | 1 | static zend_always_inline size_t smart_str_get_len(smart_str *str) { | 87 | 1 | return str->s ? ZSTR_LEN(str->s) : 0; | 88 | 1 | } |
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 zend_attributes.c:smart_str_get_len Line | Count | Source | 86 | 16 | static zend_always_inline size_t smart_str_get_len(smart_str *str) { | 87 | 16 | return str->s ? ZSTR_LEN(str->s) : 0; | 88 | 16 | } |
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 | 61.3k | { |
92 | 61.3k | if (str->s && str->a > ZSTR_LEN(str->s)) { |
93 | 61.3k | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); |
94 | 61.3k | str->a = ZSTR_LEN(str->s); |
95 | 61.3k | } |
96 | 61.3k | } 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 json.c:smart_str_trim_to_size_ex Line | Count | Source | 91 | 2 | { | 92 | 2 | if (str->s && str->a > ZSTR_LEN(str->s)) { | 93 | 2 | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 94 | 2 | str->a = ZSTR_LEN(str->s); | 95 | 2 | } | 96 | 2 | } |
Unexecuted instantiation: zend_jit.c:smart_str_trim_to_size_ex php_reflection.c:smart_str_trim_to_size_ex Line | Count | Source | 91 | 34 | { | 92 | 34 | if (str->s && str->a > ZSTR_LEN(str->s)) { | 93 | 34 | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 94 | 34 | str->a = ZSTR_LEN(str->s); | 95 | 34 | } | 96 | 34 | } |
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 var.c:smart_str_trim_to_size_ex Line | Count | Source | 91 | 14 | { | 92 | 14 | if (str->s && str->a > ZSTR_LEN(str->s)) { | 93 | 14 | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 94 | 14 | str->a = ZSTR_LEN(str->s); | 95 | 14 | } | 96 | 14 | } |
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_trim_to_size_ex Unexecuted instantiation: uri_parser_whatwg.c:smart_str_trim_to_size_ex fopen_wrappers.c:smart_str_trim_to_size_ex Line | Count | Source | 91 | 1 | { | 92 | 1 | if (str->s && str->a > ZSTR_LEN(str->s)) { | 93 | 1 | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 94 | 1 | str->a = ZSTR_LEN(str->s); | 95 | 1 | } | 96 | 1 | } |
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 zend_attributes.c:smart_str_trim_to_size_ex Line | Count | Source | 91 | 12 | { | 92 | 12 | if (str->s && str->a > ZSTR_LEN(str->s)) { | 93 | 12 | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 94 | 12 | str->a = ZSTR_LEN(str->s); | 95 | 12 | } | 96 | 12 | } |
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 | 61.3k | { | 92 | 61.3k | if (str->s && str->a > ZSTR_LEN(str->s)) { | 93 | 61.3k | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 94 | 61.3k | str->a = ZSTR_LEN(str->s); | 95 | 61.3k | } | 96 | 61.3k | } |
|
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 | 61.3k | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { |
104 | 61.3k | if (str->s) { |
105 | 61.3k | zend_string *res; |
106 | 61.3k | smart_str_0(str); |
107 | 61.3k | smart_str_trim_to_size_ex(str, persistent); |
108 | 61.3k | res = str->s; |
109 | 61.3k | str->s = NULL; |
110 | 61.3k | return res; |
111 | 61.3k | } else { |
112 | 1 | return ZSTR_EMPTY_ALLOC(); |
113 | 1 | } |
114 | 61.3k | } 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 json.c:smart_str_extract_ex Line | Count | Source | 103 | 2 | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 104 | 2 | if (str->s) { | 105 | 2 | zend_string *res; | 106 | 2 | smart_str_0(str); | 107 | 2 | smart_str_trim_to_size_ex(str, persistent); | 108 | 2 | res = str->s; | 109 | 2 | str->s = NULL; | 110 | 2 | return res; | 111 | 2 | } else { | 112 | 0 | return ZSTR_EMPTY_ALLOC(); | 113 | 0 | } | 114 | 2 | } |
Unexecuted instantiation: zend_jit.c:smart_str_extract_ex php_reflection.c:smart_str_extract_ex Line | Count | Source | 103 | 35 | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 104 | 35 | if (str->s) { | 105 | 34 | zend_string *res; | 106 | 34 | smart_str_0(str); | 107 | 34 | smart_str_trim_to_size_ex(str, persistent); | 108 | 34 | res = str->s; | 109 | 34 | str->s = NULL; | 110 | 34 | return res; | 111 | 34 | } else { | 112 | 1 | return ZSTR_EMPTY_ALLOC(); | 113 | 1 | } | 114 | 35 | } |
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 var.c:smart_str_extract_ex Line | Count | Source | 103 | 14 | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 104 | 14 | if (str->s) { | 105 | 14 | zend_string *res; | 106 | 14 | smart_str_0(str); | 107 | 14 | smart_str_trim_to_size_ex(str, persistent); | 108 | 14 | res = str->s; | 109 | 14 | str->s = NULL; | 110 | 14 | return res; | 111 | 14 | } else { | 112 | 0 | return ZSTR_EMPTY_ALLOC(); | 113 | 0 | } | 114 | 14 | } |
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_extract_ex Unexecuted instantiation: uri_parser_whatwg.c:smart_str_extract_ex fopen_wrappers.c:smart_str_extract_ex Line | Count | Source | 103 | 1 | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 104 | 1 | if (str->s) { | 105 | 1 | zend_string *res; | 106 | 1 | smart_str_0(str); | 107 | 1 | smart_str_trim_to_size_ex(str, persistent); | 108 | 1 | res = str->s; | 109 | 1 | str->s = NULL; | 110 | 1 | return res; | 111 | 1 | } else { | 112 | 0 | return ZSTR_EMPTY_ALLOC(); | 113 | 0 | } | 114 | 1 | } |
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 zend_attributes.c:smart_str_extract_ex Line | Count | Source | 103 | 12 | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 104 | 12 | if (str->s) { | 105 | 12 | zend_string *res; | 106 | 12 | smart_str_0(str); | 107 | 12 | smart_str_trim_to_size_ex(str, persistent); | 108 | 12 | res = str->s; | 109 | 12 | str->s = NULL; | 110 | 12 | return res; | 111 | 12 | } else { | 112 | 0 | return ZSTR_EMPTY_ALLOC(); | 113 | 0 | } | 114 | 12 | } |
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 | 61.3k | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 104 | 61.3k | if (str->s) { | 105 | 61.3k | zend_string *res; | 106 | 61.3k | smart_str_0(str); | 107 | 61.3k | smart_str_trim_to_size_ex(str, persistent); | 108 | 61.3k | res = str->s; | 109 | 61.3k | str->s = NULL; | 110 | 61.3k | return res; | 111 | 61.3k | } else { | 112 | 0 | return ZSTR_EMPTY_ALLOC(); | 113 | 0 | } | 114 | 61.3k | } |
|
115 | | |
116 | | static zend_always_inline zend_string *smart_str_extract(smart_str *dest) |
117 | 61.3k | { |
118 | 61.3k | return smart_str_extract_ex(dest, false); |
119 | 61.3k | } 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 Line | Count | Source | 117 | 2 | { | 118 | | return smart_str_extract_ex(dest, false); | 119 | 2 | } |
Unexecuted instantiation: zend_jit.c:smart_str_extract php_reflection.c:smart_str_extract Line | Count | Source | 117 | 35 | { | 118 | | return smart_str_extract_ex(dest, false); | 119 | 35 | } |
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 Line | Count | Source | 117 | 14 | { | 118 | | return smart_str_extract_ex(dest, false); | 119 | 14 | } |
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_extract Unexecuted instantiation: uri_parser_whatwg.c:smart_str_extract fopen_wrappers.c:smart_str_extract Line | Count | Source | 117 | 1 | { | 118 | | return smart_str_extract_ex(dest, false); | 119 | 1 | } |
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 zend_attributes.c:smart_str_extract Line | Count | Source | 117 | 12 | { | 118 | | return smart_str_extract_ex(dest, false); | 119 | 12 | } |
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 | 61.3k | { | 118 | | return smart_str_extract_ex(dest, false); | 119 | 61.3k | } |
|
120 | | |
121 | 1.50M | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { |
122 | 1.50M | size_t new_len = smart_str_alloc(dest, 1, persistent); |
123 | 1.50M | ZSTR_VAL(dest->s)[new_len - 1] = ch; |
124 | 1.50M | ZSTR_LEN(dest->s) = new_len; |
125 | 1.50M | } 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 json_encoder.c:smart_str_appendc_ex Line | Count | Source | 121 | 16 | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 122 | 16 | size_t new_len = smart_str_alloc(dest, 1, persistent); | 123 | 16 | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 124 | 16 | ZSTR_LEN(dest->s) = new_len; | 125 | 16 | } |
Unexecuted instantiation: json.c:smart_str_appendc_ex Unexecuted instantiation: zend_jit.c:smart_str_appendc_ex php_reflection.c:smart_str_appendc_ex Line | Count | Source | 121 | 352 | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 122 | 352 | size_t new_len = smart_str_alloc(dest, 1, persistent); | 123 | 352 | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 124 | 352 | ZSTR_LEN(dest->s) = new_len; | 125 | 352 | } |
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 var.c:smart_str_appendc_ex Line | Count | Source | 121 | 131 | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 122 | 131 | size_t new_len = smart_str_alloc(dest, 1, persistent); | 123 | 131 | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 124 | 131 | ZSTR_LEN(dest->s) = new_len; | 125 | 131 | } |
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 | 1.48M | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 122 | 1.48M | size_t new_len = smart_str_alloc(dest, 1, persistent); | 123 | 1.48M | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 124 | 1.48M | ZSTR_LEN(dest->s) = new_len; | 125 | 1.48M | } |
Unexecuted instantiation: zend_dump.c:smart_str_appendc_ex zend_ast.c:smart_str_appendc_ex Line | Count | Source | 121 | 4.75k | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 122 | 4.75k | size_t new_len = smart_str_alloc(dest, 1, persistent); | 123 | 4.75k | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 124 | 4.75k | ZSTR_LEN(dest->s) = new_len; | 125 | 4.75k | } |
Unexecuted instantiation: zend_attributes.c:smart_str_appendc_ex Unexecuted instantiation: zend_builtin_functions.c:smart_str_appendc_ex zend_exceptions.c:smart_str_appendc_ex Line | Count | Source | 121 | 3.66k | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 122 | 3.66k | size_t new_len = smart_str_alloc(dest, 1, persistent); | 123 | 3.66k | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 124 | 3.66k | ZSTR_LEN(dest->s) = new_len; | 125 | 3.66k | } |
Unexecuted instantiation: zend_execute.c:smart_str_appendc_ex zend_inheritance.c:smart_str_appendc_ex Line | Count | Source | 121 | 460 | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 122 | 460 | size_t new_len = smart_str_alloc(dest, 1, persistent); | 123 | 460 | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 124 | 460 | ZSTR_LEN(dest->s) = new_len; | 125 | 460 | } |
Unexecuted instantiation: zend_ini.c:smart_str_appendc_ex zend_smart_str.c:smart_str_appendc_ex Line | Count | Source | 121 | 1.43k | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 122 | 1.43k | size_t new_len = smart_str_alloc(dest, 1, persistent); | 123 | 1.43k | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 124 | 1.43k | ZSTR_LEN(dest->s) = new_len; | 125 | 1.43k | } |
zend.c:smart_str_appendc_ex Line | Count | Source | 121 | 2.14k | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 122 | 2.14k | size_t new_len = smart_str_alloc(dest, 1, persistent); | 123 | 2.14k | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 124 | 2.14k | ZSTR_LEN(dest->s) = new_len; | 125 | 2.14k | } |
|
126 | | |
127 | 98.8k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { |
128 | 98.8k | size_t new_len = smart_str_alloc(dest, len, persistent); |
129 | 98.8k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); |
130 | 98.8k | ZSTR_LEN(dest->s) = new_len; |
131 | 98.8k | } php_date.c:smart_str_appendl_ex Line | Count | Source | 127 | 1.24k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 128 | 1.24k | size_t new_len = smart_str_alloc(dest, len, persistent); | 129 | 1.24k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 130 | 1.24k | ZSTR_LEN(dest->s) = new_len; | 131 | 1.24k | } |
Unexecuted instantiation: php_pcre.c:smart_str_appendl_ex Unexecuted instantiation: hash.c:smart_str_appendl_ex json_encoder.c:smart_str_appendl_ex Line | Count | Source | 127 | 6 | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 128 | 6 | size_t new_len = smart_str_alloc(dest, len, persistent); | 129 | 6 | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 130 | 6 | ZSTR_LEN(dest->s) = new_len; | 131 | 6 | } |
Unexecuted instantiation: json.c:smart_str_appendl_ex Unexecuted instantiation: zend_jit.c:smart_str_appendl_ex php_reflection.c:smart_str_appendl_ex Line | Count | Source | 127 | 1.01k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 128 | 1.01k | size_t new_len = smart_str_alloc(dest, len, persistent); | 129 | 1.01k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 130 | 1.01k | ZSTR_LEN(dest->s) = new_len; | 131 | 1.01k | } |
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 var.c:smart_str_appendl_ex Line | Count | Source | 127 | 216 | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 128 | 216 | size_t new_len = smart_str_alloc(dest, len, persistent); | 129 | 216 | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 130 | 216 | ZSTR_LEN(dest->s) = new_len; | 131 | 216 | } |
Unexecuted instantiation: uri_parser_rfc3986.c:smart_str_appendl_ex Unexecuted instantiation: uri_parser_whatwg.c:smart_str_appendl_ex fopen_wrappers.c:smart_str_appendl_ex Line | Count | Source | 127 | 1 | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 128 | 1 | size_t new_len = smart_str_alloc(dest, len, persistent); | 129 | 1 | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 130 | 1 | ZSTR_LEN(dest->s) = new_len; | 131 | 1 | } |
Unexecuted instantiation: php_variables.c:smart_str_appendl_ex spprintf.c:smart_str_appendl_ex Line | Count | Source | 127 | 84.2k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 128 | 84.2k | size_t new_len = smart_str_alloc(dest, len, persistent); | 129 | 84.2k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 130 | 84.2k | ZSTR_LEN(dest->s) = new_len; | 131 | 84.2k | } |
Unexecuted instantiation: zend_dump.c:smart_str_appendl_ex zend_ast.c:smart_str_appendl_ex Line | Count | Source | 127 | 1.80k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 128 | 1.80k | size_t new_len = smart_str_alloc(dest, len, persistent); | 129 | 1.80k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 130 | 1.80k | ZSTR_LEN(dest->s) = new_len; | 131 | 1.80k | } |
zend_attributes.c:smart_str_appendl_ex Line | Count | Source | 127 | 20 | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 128 | 20 | size_t new_len = smart_str_alloc(dest, len, persistent); | 129 | 20 | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 130 | 20 | ZSTR_LEN(dest->s) = new_len; | 131 | 20 | } |
Unexecuted instantiation: zend_builtin_functions.c:smart_str_appendl_ex zend_exceptions.c:smart_str_appendl_ex Line | Count | Source | 127 | 8.64k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 128 | 8.64k | size_t new_len = smart_str_alloc(dest, len, persistent); | 129 | 8.64k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 130 | 8.64k | ZSTR_LEN(dest->s) = new_len; | 131 | 8.64k | } |
Unexecuted instantiation: zend_execute.c:smart_str_appendl_ex zend_inheritance.c:smart_str_appendl_ex Line | Count | Source | 127 | 847 | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 128 | 847 | size_t new_len = smart_str_alloc(dest, len, persistent); | 129 | 847 | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 130 | 847 | ZSTR_LEN(dest->s) = new_len; | 131 | 847 | } |
Unexecuted instantiation: zend_ini.c:smart_str_appendl_ex zend_smart_str.c:smart_str_appendl_ex Line | Count | Source | 127 | 92 | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 128 | 92 | size_t new_len = smart_str_alloc(dest, len, persistent); | 129 | 92 | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 130 | 92 | ZSTR_LEN(dest->s) = new_len; | 131 | 92 | } |
zend.c:smart_str_appendl_ex Line | Count | Source | 127 | 682 | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 128 | 682 | size_t new_len = smart_str_alloc(dest, len, persistent); | 129 | 682 | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 130 | 682 | ZSTR_LEN(dest->s) = new_len; | 131 | 682 | } |
|
132 | | |
133 | 2.48k | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { |
134 | 2.48k | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); |
135 | 2.48k | } 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 php_reflection.c:smart_str_append_ex Line | Count | Source | 133 | 130 | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 134 | 130 | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 135 | 130 | } |
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 var.c:smart_str_append_ex Line | Count | Source | 133 | 34 | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 134 | 34 | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 135 | 34 | } |
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 zend_ast.c:smart_str_append_ex Line | Count | Source | 133 | 189 | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 134 | 189 | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 135 | 189 | } |
Unexecuted instantiation: zend_attributes.c:smart_str_append_ex Unexecuted instantiation: zend_builtin_functions.c:smart_str_append_ex zend_exceptions.c:smart_str_append_ex Line | Count | Source | 133 | 1.49k | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 134 | 1.49k | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 135 | 1.49k | } |
Unexecuted instantiation: zend_execute.c:smart_str_append_ex zend_inheritance.c:smart_str_append_ex Line | Count | Source | 133 | 544 | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 134 | 544 | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 135 | 544 | } |
Unexecuted instantiation: zend_ini.c:smart_str_append_ex zend_smart_str.c:smart_str_append_ex Line | Count | Source | 133 | 2 | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 134 | 2 | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 135 | 2 | } |
zend.c:smart_str_append_ex Line | Count | Source | 133 | 88 | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 134 | 88 | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 135 | 88 | } |
|
136 | | |
137 | 25 | static zend_always_inline void smart_str_append_smart_str_ex(smart_str *dest, const smart_str *src, bool persistent) { |
138 | 25 | if (src->s && ZSTR_LEN(src->s)) { |
139 | 11 | smart_str_append_ex(dest, src->s, persistent); |
140 | 11 | } |
141 | 25 | } 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 php_reflection.c:smart_str_append_smart_str_ex Line | Count | Source | 137 | 25 | static zend_always_inline void smart_str_append_smart_str_ex(smart_str *dest, const smart_str *src, bool persistent) { | 138 | 25 | if (src->s && ZSTR_LEN(src->s)) { | 139 | 11 | smart_str_append_ex(dest, src->s, persistent); | 140 | 11 | } | 141 | 25 | } |
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 | 2.35k | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { |
144 | 2.35k | char buf[32]; |
145 | 2.35k | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); |
146 | 2.35k | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); |
147 | 2.35k | } 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 json_encoder.c:smart_str_append_long_ex Line | Count | Source | 143 | 1 | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 144 | 1 | char buf[32]; | 145 | 1 | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 146 | 1 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 147 | 1 | } |
Unexecuted instantiation: json.c:smart_str_append_long_ex Unexecuted instantiation: zend_jit.c:smart_str_append_long_ex php_reflection.c:smart_str_append_long_ex Line | Count | Source | 143 | 12 | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 144 | 12 | char buf[32]; | 145 | 12 | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 146 | 12 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 147 | 12 | } |
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 var.c:smart_str_append_long_ex Line | Count | Source | 143 | 10 | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 144 | 10 | char buf[32]; | 145 | 10 | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 146 | 10 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 147 | 10 | } |
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 zend_ast.c:smart_str_append_long_ex Line | Count | Source | 143 | 27 | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 144 | 27 | char buf[32]; | 145 | 27 | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 146 | 27 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 147 | 27 | } |
Unexecuted instantiation: zend_attributes.c:smart_str_append_long_ex Unexecuted instantiation: zend_builtin_functions.c:smart_str_append_long_ex zend_exceptions.c:smart_str_append_long_ex Line | Count | Source | 143 | 2.18k | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 144 | 2.18k | char buf[32]; | 145 | 2.18k | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 146 | 2.18k | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 147 | 2.18k | } |
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 zend_smart_str.c:smart_str_append_long_ex Line | Count | Source | 143 | 25 | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 144 | 25 | char buf[32]; | 145 | 25 | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 146 | 25 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 147 | 25 | } |
zend.c:smart_str_append_long_ex Line | Count | Source | 143 | 91 | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 144 | 91 | char buf[32]; | 145 | 91 | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 146 | 91 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 147 | 91 | } |
|
148 | | |
149 | | static zend_always_inline void smart_str_append_long(smart_str *dest, zend_long num) |
150 | 2.35k | { |
151 | 2.35k | smart_str_append_long_ex(dest, num, false); |
152 | 2.35k | } 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 json_encoder.c:smart_str_append_long Line | Count | Source | 150 | 1 | { | 151 | | smart_str_append_long_ex(dest, num, false); | 152 | 1 | } |
Unexecuted instantiation: json.c:smart_str_append_long Unexecuted instantiation: zend_jit.c:smart_str_append_long php_reflection.c:smart_str_append_long Line | Count | Source | 150 | 12 | { | 151 | | smart_str_append_long_ex(dest, num, false); | 152 | 12 | } |
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 var.c:smart_str_append_long Line | Count | Source | 150 | 10 | { | 151 | | smart_str_append_long_ex(dest, num, false); | 152 | 10 | } |
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 zend_ast.c:smart_str_append_long Line | Count | Source | 150 | 27 | { | 151 | | smart_str_append_long_ex(dest, num, false); | 152 | 27 | } |
Unexecuted instantiation: zend_attributes.c:smart_str_append_long Unexecuted instantiation: zend_builtin_functions.c:smart_str_append_long zend_exceptions.c:smart_str_append_long Line | Count | Source | 150 | 2.18k | { | 151 | | smart_str_append_long_ex(dest, num, false); | 152 | 2.18k | } |
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 zend_smart_str.c:smart_str_append_long Line | Count | Source | 150 | 25 | { | 151 | | smart_str_append_long_ex(dest, num, false); | 152 | 25 | } |
zend.c:smart_str_append_long Line | Count | Source | 150 | 91 | { | 151 | | smart_str_append_long_ex(dest, num, false); | 152 | 91 | } |
|
153 | | |
154 | 38 | static zend_always_inline void smart_str_append_unsigned_ex(smart_str *dest, zend_ulong num, bool persistent) { |
155 | 38 | char buf[32]; |
156 | 38 | char *result = zend_print_ulong_to_buf(buf + sizeof(buf) - 1, num); |
157 | 38 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); |
158 | 38 | } 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 var.c:smart_str_append_unsigned_ex Line | Count | Source | 154 | 38 | static zend_always_inline void smart_str_append_unsigned_ex(smart_str *dest, zend_ulong num, bool persistent) { | 155 | 38 | char buf[32]; | 156 | 38 | char *result = zend_print_ulong_to_buf(buf + sizeof(buf) - 1, num); | 157 | 38 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 158 | 38 | } |
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 | 38 | { |
162 | 38 | smart_str_append_unsigned_ex(dest, num, false); |
163 | 38 | } 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 var.c:smart_str_append_unsigned Line | Count | Source | 161 | 38 | { | 162 | | smart_str_append_unsigned_ex(dest, num, false); | 163 | 38 | } |
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 | 85.7k | { |
167 | 85.7k | smart_str_appendl_ex(dest, src, length, false); |
168 | 85.7k | } php_date.c:smart_str_appendl Line | Count | Source | 166 | 1.24k | { | 167 | | smart_str_appendl_ex(dest, src, length, false); | 168 | 1.24k | } |
Unexecuted instantiation: php_pcre.c:smart_str_appendl Unexecuted instantiation: hash.c:smart_str_appendl json_encoder.c:smart_str_appendl Line | Count | Source | 166 | 5 | { | 167 | | smart_str_appendl_ex(dest, src, length, false); | 168 | 5 | } |
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 Line | Count | Source | 166 | 134 | { | 167 | | smart_str_appendl_ex(dest, src, length, false); | 168 | 134 | } |
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 | 84.2k | { | 167 | | smart_str_appendl_ex(dest, src, length, false); | 168 | 84.2k | } |
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 zend_inheritance.c:smart_str_appendl Line | Count | Source | 166 | 1 | { | 167 | | smart_str_appendl_ex(dest, src, length, false); | 168 | 1 | } |
Unexecuted instantiation: zend_ini.c:smart_str_appendl zend_smart_str.c:smart_str_appendl Line | Count | Source | 166 | 56 | { | 167 | | smart_str_appendl_ex(dest, src, length, false); | 168 | 56 | } |
Line | Count | Source | 166 | 30 | { | 167 | | smart_str_appendl_ex(dest, src, length, false); | 168 | 30 | } |
|
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 | 8.22k | { |
175 | 8.22k | smart_str_appendl_ex(dest, src, strlen(src), false); |
176 | 8.22k | } 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 php_reflection.c:smart_str_appends Line | Count | Source | 174 | 874 | { | 175 | | smart_str_appendl_ex(dest, src, strlen(src), false); | 176 | 874 | } |
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 fopen_wrappers.c:smart_str_appends Line | Count | Source | 174 | 1 | { | 175 | | smart_str_appendl_ex(dest, src, strlen(src), false); | 176 | 1 | } |
Unexecuted instantiation: php_variables.c:smart_str_appends Unexecuted instantiation: spprintf.c:smart_str_appends Unexecuted instantiation: zend_dump.c:smart_str_appends zend_ast.c:smart_str_appends Line | Count | Source | 174 | 1.58k | { | 175 | | smart_str_appendl_ex(dest, src, strlen(src), false); | 176 | 1.58k | } |
zend_attributes.c:smart_str_appends Line | Count | Source | 174 | 20 | { | 175 | | smart_str_appendl_ex(dest, src, strlen(src), false); | 176 | 20 | } |
Unexecuted instantiation: zend_builtin_functions.c:smart_str_appends zend_exceptions.c:smart_str_appends Line | Count | Source | 174 | 4.96k | { | 175 | | smart_str_appendl_ex(dest, src, strlen(src), false); | 176 | 4.96k | } |
Unexecuted instantiation: zend_execute.c:smart_str_appends zend_inheritance.c:smart_str_appends Line | Count | Source | 174 | 302 | { | 175 | | smart_str_appendl_ex(dest, src, strlen(src), false); | 176 | 302 | } |
Unexecuted instantiation: zend_ini.c:smart_str_appends zend_smart_str.c:smart_str_appends Line | Count | Source | 174 | 9 | { | 175 | | smart_str_appendl_ex(dest, src, strlen(src), false); | 176 | 9 | } |
Line | Count | Source | 174 | 473 | { | 175 | | smart_str_appendl_ex(dest, src, strlen(src), false); | 176 | 473 | } |
|
177 | | static zend_always_inline void smart_str_append(smart_str *dest, const zend_string *src) |
178 | 2.46k | { |
179 | 2.46k | smart_str_append_ex(dest, src, false); |
180 | 2.46k | } 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 php_reflection.c:smart_str_append Line | Count | Source | 178 | 119 | { | 179 | | smart_str_append_ex(dest, src, false); | 180 | 119 | } |
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 Line | Count | Source | 178 | 34 | { | 179 | | smart_str_append_ex(dest, src, false); | 180 | 34 | } |
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 zend_ast.c:smart_str_append Line | Count | Source | 178 | 189 | { | 179 | | smart_str_append_ex(dest, src, false); | 180 | 189 | } |
Unexecuted instantiation: zend_attributes.c:smart_str_append Unexecuted instantiation: zend_builtin_functions.c:smart_str_append zend_exceptions.c:smart_str_append Line | Count | Source | 178 | 1.49k | { | 179 | | smart_str_append_ex(dest, src, false); | 180 | 1.49k | } |
Unexecuted instantiation: zend_execute.c:smart_str_append zend_inheritance.c:smart_str_append Line | Count | Source | 178 | 544 | { | 179 | | smart_str_append_ex(dest, src, false); | 180 | 544 | } |
Unexecuted instantiation: zend_ini.c:smart_str_append zend_smart_str.c:smart_str_append Line | Count | Source | 178 | 2 | { | 179 | | smart_str_append_ex(dest, src, false); | 180 | 2 | } |
Line | Count | Source | 178 | 88 | { | 179 | | smart_str_append_ex(dest, src, false); | 180 | 88 | } |
|
181 | | static zend_always_inline void smart_str_appendc(smart_str *dest, char ch) |
182 | 1.50M | { |
183 | 1.50M | smart_str_appendc_ex(dest, ch, false); |
184 | 1.50M | } Unexecuted instantiation: php_date.c:smart_str_appendc Unexecuted instantiation: php_pcre.c:smart_str_appendc Unexecuted instantiation: hash.c:smart_str_appendc json_encoder.c:smart_str_appendc Line | Count | Source | 182 | 16 | { | 183 | | smart_str_appendc_ex(dest, ch, false); | 184 | 16 | } |
Unexecuted instantiation: json.c:smart_str_appendc Unexecuted instantiation: zend_jit.c:smart_str_appendc php_reflection.c:smart_str_appendc Line | Count | Source | 182 | 352 | { | 183 | | smart_str_appendc_ex(dest, ch, false); | 184 | 352 | } |
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 Line | Count | Source | 182 | 131 | { | 183 | | smart_str_appendc_ex(dest, ch, false); | 184 | 131 | } |
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 | 1.48M | { | 183 | | smart_str_appendc_ex(dest, ch, false); | 184 | 1.48M | } |
Unexecuted instantiation: zend_dump.c:smart_str_appendc zend_ast.c:smart_str_appendc Line | Count | Source | 182 | 4.75k | { | 183 | | smart_str_appendc_ex(dest, ch, false); | 184 | 4.75k | } |
Unexecuted instantiation: zend_attributes.c:smart_str_appendc Unexecuted instantiation: zend_builtin_functions.c:smart_str_appendc zend_exceptions.c:smart_str_appendc Line | Count | Source | 182 | 3.66k | { | 183 | | smart_str_appendc_ex(dest, ch, false); | 184 | 3.66k | } |
Unexecuted instantiation: zend_execute.c:smart_str_appendc zend_inheritance.c:smart_str_appendc Line | Count | Source | 182 | 460 | { | 183 | | smart_str_appendc_ex(dest, ch, false); | 184 | 460 | } |
Unexecuted instantiation: zend_ini.c:smart_str_appendc zend_smart_str.c:smart_str_appendc Line | Count | Source | 182 | 1.43k | { | 183 | | smart_str_appendc_ex(dest, ch, false); | 184 | 1.43k | } |
Line | Count | Source | 182 | 2.14k | { | 183 | | smart_str_appendc_ex(dest, ch, false); | 184 | 2.14k | } |
|
185 | | static zend_always_inline void smart_str_append_smart_str(smart_str *dest, const smart_str *src) |
186 | 25 | { |
187 | 25 | smart_str_append_smart_str_ex(dest, src, false); |
188 | 25 | } 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 php_reflection.c:smart_str_append_smart_str Line | Count | Source | 186 | 25 | { | 187 | | smart_str_append_smart_str_ex(dest, src, false); | 188 | 25 | } |
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 |