/src/php-src/Zend/zend_smart_str.h
Line | Count | Source |
1 | | /* |
2 | | +----------------------------------------------------------------------+ |
3 | | | Copyright (c) The PHP Group | |
4 | | +----------------------------------------------------------------------+ |
5 | | | This source file is subject to version 3.01 of the PHP license, | |
6 | | | that is bundled with this package in the file LICENSE, and is | |
7 | | | available through the world-wide-web at the following url: | |
8 | | | https://www.php.net/license/3_01.txt | |
9 | | | If you did not receive a copy of the PHP license and are unable to | |
10 | | | obtain it through the world-wide-web, please send a note to | |
11 | | | license@php.net so we can mail you a copy immediately. | |
12 | | +----------------------------------------------------------------------+ |
13 | | | Author: Sascha Schumann <sascha@schumann.cx> | |
14 | | +----------------------------------------------------------------------+ |
15 | | */ |
16 | | |
17 | | #ifndef ZEND_SMART_STR_H |
18 | | #define ZEND_SMART_STR_H |
19 | | |
20 | | #include <zend.h> |
21 | | #include "zend_globals.h" |
22 | | #include "zend_smart_str_public.h" |
23 | | |
24 | | BEGIN_EXTERN_C() |
25 | | |
26 | | ZEND_API void ZEND_FASTCALL smart_str_erealloc(smart_str *str, size_t len); |
27 | | ZEND_API void ZEND_FASTCALL smart_str_realloc(smart_str *str, size_t len); |
28 | | ZEND_API void ZEND_FASTCALL smart_str_append_escaped(smart_str *str, const char *s, size_t l); |
29 | | /* If zero_fraction is true, then a ".0" will be added to numbers that would not otherwise |
30 | | * have a fractional part and look like integers. */ |
31 | | ZEND_API void ZEND_FASTCALL smart_str_append_double( |
32 | | smart_str *str, double num, int precision, bool zero_fraction); |
33 | | ZEND_API void smart_str_append_printf(smart_str *dest, const char *format, ...) |
34 | | ZEND_ATTRIBUTE_FORMAT(printf, 2, 3); |
35 | | ZEND_API void ZEND_FASTCALL smart_str_append_escaped_truncated(smart_str *str, const zend_string *value, size_t length); |
36 | | ZEND_API void ZEND_FASTCALL smart_str_append_scalar(smart_str *str, const zval *value, size_t truncate); |
37 | | ZEND_API zend_result ZEND_FASTCALL smart_str_append_zval(smart_str *dest, const zval *value, size_t truncate); |
38 | | END_EXTERN_C() |
39 | | |
40 | 1.95M | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { |
41 | 1.95M | if (UNEXPECTED(!str->s)) { |
42 | 75.9k | goto do_smart_str_realloc; |
43 | 1.87M | } else { |
44 | 1.87M | len += ZSTR_LEN(str->s); |
45 | 1.87M | if (UNEXPECTED(len >= str->a)) { |
46 | 76.3k | do_smart_str_realloc: |
47 | 76.3k | if (persistent) { |
48 | 0 | smart_str_realloc(str, len); |
49 | 76.3k | } else { |
50 | 76.3k | smart_str_erealloc(str, len); |
51 | 76.3k | } |
52 | 76.3k | } |
53 | 1.87M | } |
54 | 1.95M | return len; |
55 | 1.95M | } php_date.c:smart_str_alloc Line | Count | Source | 40 | 2.72k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 2.72k | if (UNEXPECTED(!str->s)) { | 42 | 50 | goto do_smart_str_realloc; | 43 | 2.67k | } else { | 44 | 2.67k | len += ZSTR_LEN(str->s); | 45 | 2.67k | if (UNEXPECTED(len >= str->a)) { | 46 | 61 | do_smart_str_realloc: | 47 | 61 | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 61 | } else { | 50 | 61 | smart_str_erealloc(str, len); | 51 | 61 | } | 52 | 61 | } | 53 | 2.67k | } | 54 | 2.72k | return len; | 55 | 2.72k | } |
Unexecuted instantiation: php_pcre.c:smart_str_alloc Unexecuted instantiation: hash.c:smart_str_alloc json_encoder.c:smart_str_alloc Line | Count | Source | 40 | 25 | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 25 | if (UNEXPECTED(!str->s)) { | 42 | 2 | goto do_smart_str_realloc; | 43 | 23 | } else { | 44 | 23 | len += ZSTR_LEN(str->s); | 45 | 23 | if (UNEXPECTED(len >= str->a)) { | 46 | 2 | do_smart_str_realloc: | 47 | 2 | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 2 | } else { | 50 | 2 | smart_str_erealloc(str, len); | 51 | 2 | } | 52 | 2 | } | 53 | 23 | } | 54 | 25 | return len; | 55 | 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 | 40 | 1.43k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 1.43k | if (UNEXPECTED(!str->s)) { | 42 | 16 | goto do_smart_str_realloc; | 43 | 1.41k | } else { | 44 | 1.41k | len += ZSTR_LEN(str->s); | 45 | 1.41k | if (UNEXPECTED(len >= str->a)) { | 46 | 32 | do_smart_str_realloc: | 47 | 32 | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 32 | } else { | 50 | 32 | smart_str_erealloc(str, len); | 51 | 32 | } | 52 | 32 | } | 53 | 1.41k | } | 54 | 1.43k | return len; | 55 | 1.43k | } |
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 | 40 | 357 | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 357 | if (UNEXPECTED(!str->s)) { | 42 | 17 | goto do_smart_str_realloc; | 43 | 340 | } else { | 44 | 340 | len += ZSTR_LEN(str->s); | 45 | 340 | if (UNEXPECTED(len >= str->a)) { | 46 | 19 | do_smart_str_realloc: | 47 | 19 | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 19 | } else { | 50 | 19 | smart_str_erealloc(str, len); | 51 | 19 | } | 52 | 19 | } | 53 | 340 | } | 54 | 357 | return len; | 55 | 357 | } |
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 | 40 | 1 | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 1 | if (UNEXPECTED(!str->s)) { | 42 | 1 | goto do_smart_str_realloc; | 43 | 1 | } else { | 44 | 0 | len += ZSTR_LEN(str->s); | 45 | 0 | if (UNEXPECTED(len >= str->a)) { | 46 | 1 | do_smart_str_realloc: | 47 | 1 | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 1 | } else { | 50 | 1 | smart_str_erealloc(str, len); | 51 | 1 | } | 52 | 1 | } | 53 | 0 | } | 54 | 1 | return len; | 55 | 1 | } |
Unexecuted instantiation: php_variables.c:smart_str_alloc spprintf.c:smart_str_alloc Line | Count | Source | 40 | 1.92M | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 1.92M | if (UNEXPECTED(!str->s)) { | 42 | 74.1k | goto do_smart_str_realloc; | 43 | 1.84M | } else { | 44 | 1.84M | len += ZSTR_LEN(str->s); | 45 | 1.84M | if (UNEXPECTED(len >= str->a)) { | 46 | 74.4k | do_smart_str_realloc: | 47 | 74.4k | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 74.4k | } else { | 50 | 74.4k | smart_str_erealloc(str, len); | 51 | 74.4k | } | 52 | 74.4k | } | 53 | 1.84M | } | 54 | 1.92M | return len; | 55 | 1.92M | } |
Unexecuted instantiation: zend_dump.c:smart_str_alloc zend_ast.c:smart_str_alloc Line | Count | Source | 40 | 9.80k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 9.80k | if (UNEXPECTED(!str->s)) { | 42 | 123 | goto do_smart_str_realloc; | 43 | 9.68k | } else { | 44 | 9.68k | len += ZSTR_LEN(str->s); | 45 | 9.68k | if (UNEXPECTED(len >= str->a)) { | 46 | 151 | do_smart_str_realloc: | 47 | 151 | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 151 | } else { | 50 | 151 | smart_str_erealloc(str, len); | 51 | 151 | } | 52 | 151 | } | 53 | 9.68k | } | 54 | 9.80k | return len; | 55 | 9.80k | } |
zend_attributes.c:smart_str_alloc Line | Count | Source | 40 | 18 | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 18 | if (UNEXPECTED(!str->s)) { | 42 | 10 | goto do_smart_str_realloc; | 43 | 10 | } else { | 44 | 8 | len += ZSTR_LEN(str->s); | 45 | 8 | if (UNEXPECTED(len >= str->a)) { | 46 | 10 | do_smart_str_realloc: | 47 | 10 | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 10 | } else { | 50 | 10 | smart_str_erealloc(str, len); | 51 | 10 | } | 52 | 10 | } | 53 | 8 | } | 54 | 18 | return len; | 55 | 18 | } |
Unexecuted instantiation: zend_builtin_functions.c:smart_str_alloc zend_exceptions.c:smart_str_alloc Line | Count | Source | 40 | 12.2k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 12.2k | if (UNEXPECTED(!str->s)) { | 42 | 1.39k | goto do_smart_str_realloc; | 43 | 10.8k | } else { | 44 | 10.8k | len += ZSTR_LEN(str->s); | 45 | 10.8k | if (UNEXPECTED(len >= str->a)) { | 46 | 1.39k | do_smart_str_realloc: | 47 | 1.39k | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 1.39k | } else { | 50 | 1.39k | smart_str_erealloc(str, len); | 51 | 1.39k | } | 52 | 1.39k | } | 53 | 10.8k | } | 54 | 12.2k | return len; | 55 | 12.2k | } |
Unexecuted instantiation: zend_execute.c:smart_str_alloc zend_inheritance.c:smart_str_alloc Line | Count | Source | 40 | 1.30k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 1.30k | if (UNEXPECTED(!str->s)) { | 42 | 132 | goto do_smart_str_realloc; | 43 | 1.17k | } else { | 44 | 1.17k | len += ZSTR_LEN(str->s); | 45 | 1.17k | if (UNEXPECTED(len >= str->a)) { | 46 | 132 | do_smart_str_realloc: | 47 | 132 | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 132 | } else { | 50 | 132 | smart_str_erealloc(str, len); | 51 | 132 | } | 52 | 132 | } | 53 | 1.17k | } | 54 | 1.30k | return len; | 55 | 1.30k | } |
Unexecuted instantiation: zend_ini.c:smart_str_alloc zend_smart_str.c:smart_str_alloc Line | Count | Source | 40 | 2.28k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 2.28k | if (UNEXPECTED(!str->s)) { | 42 | 66 | goto do_smart_str_realloc; | 43 | 2.21k | } else { | 44 | 2.21k | len += ZSTR_LEN(str->s); | 45 | 2.21k | if (UNEXPECTED(len >= str->a)) { | 46 | 68 | do_smart_str_realloc: | 47 | 68 | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 68 | } else { | 50 | 68 | smart_str_erealloc(str, len); | 51 | 68 | } | 52 | 68 | } | 53 | 2.21k | } | 54 | 2.28k | return len; | 55 | 2.28k | } |
Line | Count | Source | 40 | 2.78k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 2.78k | if (UNEXPECTED(!str->s)) { | 42 | 47 | goto do_smart_str_realloc; | 43 | 2.73k | } else { | 44 | 2.73k | len += ZSTR_LEN(str->s); | 45 | 2.73k | if (UNEXPECTED(len >= str->a)) { | 46 | 56 | do_smart_str_realloc: | 47 | 56 | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 56 | } else { | 50 | 56 | smart_str_erealloc(str, len); | 51 | 56 | } | 52 | 56 | } | 53 | 2.73k | } | 54 | 2.78k | return len; | 55 | 2.78k | } |
|
56 | | |
57 | 43 | static zend_always_inline char* smart_str_extend_ex(smart_str *dest, size_t len, bool persistent) { |
58 | 43 | size_t new_len = smart_str_alloc(dest, len, persistent); |
59 | 43 | char *ret = ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s); |
60 | 43 | ZSTR_LEN(dest->s) = new_len; |
61 | 43 | return ret; |
62 | 43 | } 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 | 57 | 43 | static zend_always_inline char* smart_str_extend_ex(smart_str *dest, size_t len, bool persistent) { | 58 | 43 | size_t new_len = smart_str_alloc(dest, len, persistent); | 59 | 43 | char *ret = ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s); | 60 | 43 | ZSTR_LEN(dest->s) = new_len; | 61 | 43 | return ret; | 62 | 43 | } |
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 |
63 | | |
64 | | static zend_always_inline char* smart_str_extend(smart_str *dest, size_t length) |
65 | 43 | { |
66 | 43 | return smart_str_extend_ex(dest, length, false); |
67 | 43 | } 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 | 65 | 43 | { | 66 | | return smart_str_extend_ex(dest, length, false); | 67 | 43 | } |
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 |
68 | | |
69 | 201k | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { |
70 | 201k | if (str->s) { |
71 | 162 | zend_string_release_ex(str->s, persistent); |
72 | 162 | str->s = NULL; |
73 | 162 | } |
74 | 201k | str->a = 0; |
75 | 201k | } 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 | 69 | 134 | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 70 | 134 | if (str->s) { | 71 | 92 | zend_string_release_ex(str->s, persistent); | 72 | | str->s = NULL; | 73 | 92 | } | 74 | 134 | str->a = 0; | 75 | 134 | } |
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 | 69 | 8 | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 70 | 8 | if (str->s) { | 71 | 0 | zend_string_release_ex(str->s, persistent); | 72 | | str->s = NULL; | 73 | 0 | } | 74 | 8 | str->a = 0; | 75 | 8 | } |
url_scanner_ex.c:smart_str_free_ex Line | Count | Source | 69 | 201k | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 70 | 201k | if (str->s) { | 71 | 0 | zend_string_release_ex(str->s, persistent); | 72 | | str->s = NULL; | 73 | 0 | } | 74 | 201k | str->a = 0; | 75 | 201k | } |
Unexecuted instantiation: url.c:smart_str_free_ex Line | Count | Source | 69 | 7 | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 70 | 7 | if (str->s) { | 71 | 4 | zend_string_release_ex(str->s, persistent); | 72 | | str->s = NULL; | 73 | 4 | } | 74 | 7 | str->a = 0; | 75 | 7 | } |
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 | 69 | 6 | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 70 | 6 | if (str->s) { | 71 | 6 | zend_string_release_ex(str->s, persistent); | 72 | | str->s = NULL; | 73 | 6 | } | 74 | 6 | str->a = 0; | 75 | 6 | } |
Unexecuted instantiation: zend_inheritance.c:smart_str_free_ex zend_ini.c:smart_str_free_ex Line | Count | Source | 69 | 64 | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 70 | 64 | if (str->s) { | 71 | 60 | zend_string_release_ex(str->s, persistent); | 72 | | str->s = NULL; | 73 | 60 | } | 74 | 64 | str->a = 0; | 75 | 64 | } |
Unexecuted instantiation: zend_smart_str.c:smart_str_free_ex Unexecuted instantiation: zend.c:smart_str_free_ex |
76 | | |
77 | | static zend_always_inline void smart_str_free(smart_str *str) |
78 | 201k | { |
79 | 201k | smart_str_free_ex(str, false); |
80 | 201k | } 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 | 78 | 134 | { | 79 | | smart_str_free_ex(str, false); | 80 | 134 | } |
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 | 78 | 8 | { | 79 | | smart_str_free_ex(str, false); | 80 | 8 | } |
url_scanner_ex.c:smart_str_free Line | Count | Source | 78 | 201k | { | 79 | | smart_str_free_ex(str, false); | 80 | 201k | } |
Unexecuted instantiation: url.c:smart_str_free Line | Count | Source | 78 | 7 | { | 79 | | smart_str_free_ex(str, false); | 80 | 7 | } |
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 | 78 | 6 | { | 79 | | smart_str_free_ex(str, false); | 80 | 6 | } |
Unexecuted instantiation: zend_inheritance.c:smart_str_free zend_ini.c:smart_str_free Line | Count | Source | 78 | 64 | { | 79 | | smart_str_free_ex(str, false); | 80 | 64 | } |
Unexecuted instantiation: zend_smart_str.c:smart_str_free Unexecuted instantiation: zend.c:smart_str_free |
81 | | |
82 | 75.9k | static zend_always_inline void smart_str_0(smart_str *str) { |
83 | 75.9k | if (str->s) { |
84 | 75.9k | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; |
85 | 75.9k | } |
86 | 75.9k | } Line | Count | Source | 82 | 50 | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 50 | if (str->s) { | 84 | 50 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 50 | } | 86 | 50 | } |
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 | 82 | 2 | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 2 | if (str->s) { | 84 | 2 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 2 | } | 86 | 2 | } |
Unexecuted instantiation: zend_jit.c:smart_str_0 php_reflection.c:smart_str_0 Line | Count | Source | 82 | 117 | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 117 | if (str->s) { | 84 | 117 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 117 | } | 86 | 117 | } |
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 | 82 | 33 | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 33 | if (str->s) { | 84 | 30 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 30 | } | 86 | 33 | } |
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 | 82 | 1 | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 1 | if (str->s) { | 84 | 1 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 1 | } | 86 | 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 | 82 | 123 | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 123 | if (str->s) { | 84 | 123 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 123 | } | 86 | 123 | } |
zend_attributes.c:smart_str_0 Line | Count | Source | 82 | 10 | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 10 | if (str->s) { | 84 | 10 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 10 | } | 86 | 10 | } |
Unexecuted instantiation: zend_builtin_functions.c:smart_str_0 zend_exceptions.c:smart_str_0 Line | Count | Source | 82 | 1.39k | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 1.39k | if (str->s) { | 84 | 1.39k | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 1.39k | } | 86 | 1.39k | } |
zend_execute.c:smart_str_0 Line | Count | Source | 82 | 6 | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 6 | if (str->s) { | 84 | 6 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 6 | } | 86 | 6 | } |
zend_inheritance.c:smart_str_0 Line | Count | Source | 82 | 132 | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 132 | if (str->s) { | 84 | 132 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 132 | } | 86 | 132 | } |
Line | Count | Source | 82 | 60 | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 60 | if (str->s) { | 84 | 60 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 60 | } | 86 | 60 | } |
Unexecuted instantiation: zend_smart_str.c:smart_str_0 Line | Count | Source | 82 | 74.0k | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 74.0k | if (str->s) { | 84 | 74.0k | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 74.0k | } | 86 | 74.0k | } |
|
87 | | |
88 | 15 | static zend_always_inline size_t smart_str_get_len(smart_str *str) { |
89 | 15 | return str->s ? ZSTR_LEN(str->s) : 0; |
90 | 15 | } 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 | 88 | 1 | static zend_always_inline size_t smart_str_get_len(smart_str *str) { | 89 | 1 | return str->s ? ZSTR_LEN(str->s) : 0; | 90 | 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 | 88 | 14 | static zend_always_inline size_t smart_str_get_len(smart_str *str) { | 89 | 14 | return str->s ? ZSTR_LEN(str->s) : 0; | 90 | 14 | } |
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 |
91 | | |
92 | | static zend_always_inline void smart_str_trim_to_size_ex(smart_str *str, bool persistent) |
93 | 74.0k | { |
94 | 74.0k | if (str->s && str->a > ZSTR_LEN(str->s)) { |
95 | 74.0k | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); |
96 | 74.0k | str->a = ZSTR_LEN(str->s); |
97 | 74.0k | } |
98 | 74.0k | } 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 | 93 | 2 | { | 94 | 2 | if (str->s && str->a > ZSTR_LEN(str->s)) { | 95 | 2 | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 96 | 2 | str->a = ZSTR_LEN(str->s); | 97 | 2 | } | 98 | 2 | } |
Unexecuted instantiation: zend_jit.c:smart_str_trim_to_size_ex php_reflection.c:smart_str_trim_to_size_ex Line | Count | Source | 93 | 37 | { | 94 | 37 | if (str->s && str->a > ZSTR_LEN(str->s)) { | 95 | 37 | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 96 | 37 | str->a = ZSTR_LEN(str->s); | 97 | 37 | } | 98 | 37 | } |
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 | 93 | 13 | { | 94 | 13 | if (str->s && str->a > ZSTR_LEN(str->s)) { | 95 | 13 | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 96 | 13 | str->a = ZSTR_LEN(str->s); | 97 | 13 | } | 98 | 13 | } |
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 | 93 | 1 | { | 94 | 1 | if (str->s && str->a > ZSTR_LEN(str->s)) { | 95 | 1 | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 96 | 1 | str->a = ZSTR_LEN(str->s); | 97 | 1 | } | 98 | 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 | 93 | 10 | { | 94 | 10 | if (str->s && str->a > ZSTR_LEN(str->s)) { | 95 | 10 | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 96 | 10 | str->a = ZSTR_LEN(str->s); | 97 | 10 | } | 98 | 10 | } |
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 | 93 | 74.0k | { | 94 | 74.0k | if (str->s && str->a > ZSTR_LEN(str->s)) { | 95 | 74.0k | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 96 | 74.0k | str->a = ZSTR_LEN(str->s); | 97 | 74.0k | } | 98 | 74.0k | } |
|
99 | | |
100 | | static zend_always_inline void smart_str_trim_to_size(smart_str *dest) |
101 | 0 | { |
102 | 0 | smart_str_trim_to_size_ex(dest, false); |
103 | 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 |
104 | | |
105 | 74.0k | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { |
106 | 74.0k | if (str->s) { |
107 | 74.0k | zend_string *res; |
108 | 74.0k | smart_str_0(str); |
109 | 74.0k | smart_str_trim_to_size_ex(str, persistent); |
110 | 74.0k | res = str->s; |
111 | 74.0k | str->s = NULL; |
112 | 74.0k | return res; |
113 | 74.0k | } else { |
114 | 1 | return ZSTR_EMPTY_ALLOC(); |
115 | 1 | } |
116 | 74.0k | } 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 | 105 | 2 | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 106 | 2 | if (str->s) { | 107 | 2 | zend_string *res; | 108 | 2 | smart_str_0(str); | 109 | 2 | smart_str_trim_to_size_ex(str, persistent); | 110 | 2 | res = str->s; | 111 | 2 | str->s = NULL; | 112 | 2 | return res; | 113 | 2 | } else { | 114 | 0 | return ZSTR_EMPTY_ALLOC(); | 115 | 0 | } | 116 | 2 | } |
Unexecuted instantiation: zend_jit.c:smart_str_extract_ex php_reflection.c:smart_str_extract_ex Line | Count | Source | 105 | 38 | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 106 | 38 | if (str->s) { | 107 | 37 | zend_string *res; | 108 | 37 | smart_str_0(str); | 109 | 37 | smart_str_trim_to_size_ex(str, persistent); | 110 | 37 | res = str->s; | 111 | 37 | str->s = NULL; | 112 | 37 | return res; | 113 | 37 | } else { | 114 | 1 | return ZSTR_EMPTY_ALLOC(); | 115 | 1 | } | 116 | 38 | } |
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 | 105 | 13 | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 106 | 13 | if (str->s) { | 107 | 13 | zend_string *res; | 108 | 13 | smart_str_0(str); | 109 | 13 | smart_str_trim_to_size_ex(str, persistent); | 110 | 13 | res = str->s; | 111 | 13 | str->s = NULL; | 112 | 13 | return res; | 113 | 13 | } else { | 114 | 0 | return ZSTR_EMPTY_ALLOC(); | 115 | 0 | } | 116 | 13 | } |
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 | 105 | 1 | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 106 | 1 | if (str->s) { | 107 | 1 | zend_string *res; | 108 | 1 | smart_str_0(str); | 109 | 1 | smart_str_trim_to_size_ex(str, persistent); | 110 | 1 | res = str->s; | 111 | 1 | str->s = NULL; | 112 | 1 | return res; | 113 | 1 | } else { | 114 | 0 | return ZSTR_EMPTY_ALLOC(); | 115 | 0 | } | 116 | 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 | 105 | 10 | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 106 | 10 | if (str->s) { | 107 | 10 | zend_string *res; | 108 | 10 | smart_str_0(str); | 109 | 10 | smart_str_trim_to_size_ex(str, persistent); | 110 | 10 | res = str->s; | 111 | 10 | str->s = NULL; | 112 | 10 | return res; | 113 | 10 | } else { | 114 | 0 | return ZSTR_EMPTY_ALLOC(); | 115 | 0 | } | 116 | 10 | } |
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 | 105 | 74.0k | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 106 | 74.0k | if (str->s) { | 107 | 74.0k | zend_string *res; | 108 | 74.0k | smart_str_0(str); | 109 | 74.0k | smart_str_trim_to_size_ex(str, persistent); | 110 | 74.0k | res = str->s; | 111 | 74.0k | str->s = NULL; | 112 | 74.0k | return res; | 113 | 74.0k | } else { | 114 | 0 | return ZSTR_EMPTY_ALLOC(); | 115 | 0 | } | 116 | 74.0k | } |
|
117 | | |
118 | | static zend_always_inline zend_string *smart_str_extract(smart_str *dest) |
119 | 74.0k | { |
120 | 74.0k | return smart_str_extract_ex(dest, false); |
121 | 74.0k | } 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 | 119 | 2 | { | 120 | | return smart_str_extract_ex(dest, false); | 121 | 2 | } |
Unexecuted instantiation: zend_jit.c:smart_str_extract php_reflection.c:smart_str_extract Line | Count | Source | 119 | 38 | { | 120 | | return smart_str_extract_ex(dest, false); | 121 | 38 | } |
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 | 119 | 13 | { | 120 | | return smart_str_extract_ex(dest, false); | 121 | 13 | } |
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 | 119 | 1 | { | 120 | | return smart_str_extract_ex(dest, false); | 121 | 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 | 119 | 10 | { | 120 | | return smart_str_extract_ex(dest, false); | 121 | 10 | } |
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 | 119 | 74.0k | { | 120 | | return smart_str_extract_ex(dest, false); | 121 | 74.0k | } |
|
122 | | |
123 | 1.83M | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { |
124 | 1.83M | size_t new_len = smart_str_alloc(dest, 1, persistent); |
125 | 1.83M | ZSTR_VAL(dest->s)[new_len - 1] = ch; |
126 | 1.83M | ZSTR_LEN(dest->s) = new_len; |
127 | 1.83M | } 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 | 123 | 16 | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 16 | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 16 | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 16 | ZSTR_LEN(dest->s) = new_len; | 127 | 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 | 123 | 369 | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 369 | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 369 | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 369 | ZSTR_LEN(dest->s) = new_len; | 127 | 369 | } |
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 | 123 | 121 | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 121 | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 121 | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 121 | ZSTR_LEN(dest->s) = new_len; | 127 | 121 | } |
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 | 123 | 1.82M | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 1.82M | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 1.82M | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 1.82M | ZSTR_LEN(dest->s) = new_len; | 127 | 1.82M | } |
Unexecuted instantiation: zend_dump.c:smart_str_appendc_ex zend_ast.c:smart_str_appendc_ex Line | Count | Source | 123 | 7.37k | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 7.37k | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 7.37k | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 7.37k | ZSTR_LEN(dest->s) = new_len; | 127 | 7.37k | } |
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 | 123 | 3.64k | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 3.64k | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 3.64k | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 3.64k | ZSTR_LEN(dest->s) = new_len; | 127 | 3.64k | } |
Unexecuted instantiation: zend_execute.c:smart_str_appendc_ex zend_inheritance.c:smart_str_appendc_ex Line | Count | Source | 123 | 462 | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 462 | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 462 | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 462 | ZSTR_LEN(dest->s) = new_len; | 127 | 462 | } |
Unexecuted instantiation: zend_ini.c:smart_str_appendc_ex zend_smart_str.c:smart_str_appendc_ex Line | Count | Source | 123 | 1.42k | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 1.42k | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 1.42k | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 1.42k | ZSTR_LEN(dest->s) = new_len; | 127 | 1.42k | } |
zend.c:smart_str_appendc_ex Line | Count | Source | 123 | 2.10k | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 2.10k | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 2.10k | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 2.10k | ZSTR_LEN(dest->s) = new_len; | 127 | 2.10k | } |
|
128 | | |
129 | 118k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { |
130 | 118k | size_t new_len = smart_str_alloc(dest, len, persistent); |
131 | 118k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); |
132 | 118k | ZSTR_LEN(dest->s) = new_len; |
133 | 118k | } php_date.c:smart_str_appendl_ex Line | Count | Source | 129 | 2.72k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 2.72k | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 2.72k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 2.72k | ZSTR_LEN(dest->s) = new_len; | 133 | 2.72k | } |
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 | 129 | 6 | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 6 | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 6 | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 6 | ZSTR_LEN(dest->s) = new_len; | 133 | 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 | 129 | 1.06k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 1.06k | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 1.06k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 1.06k | ZSTR_LEN(dest->s) = new_len; | 133 | 1.06k | } |
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 | 129 | 193 | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 193 | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 193 | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 193 | ZSTR_LEN(dest->s) = new_len; | 133 | 193 | } |
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 | 129 | 1 | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 1 | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 1 | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 1 | ZSTR_LEN(dest->s) = new_len; | 133 | 1 | } |
Unexecuted instantiation: php_variables.c:smart_str_appendl_ex spprintf.c:smart_str_appendl_ex Line | Count | Source | 129 | 101k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 101k | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 101k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 101k | ZSTR_LEN(dest->s) = new_len; | 133 | 101k | } |
Unexecuted instantiation: zend_dump.c:smart_str_appendl_ex zend_ast.c:smart_str_appendl_ex Line | Count | Source | 129 | 2.43k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 2.43k | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 2.43k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 2.43k | ZSTR_LEN(dest->s) = new_len; | 133 | 2.43k | } |
zend_attributes.c:smart_str_appendl_ex Line | Count | Source | 129 | 18 | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 18 | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 18 | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 18 | ZSTR_LEN(dest->s) = new_len; | 133 | 18 | } |
Unexecuted instantiation: zend_builtin_functions.c:smart_str_appendl_ex zend_exceptions.c:smart_str_appendl_ex Line | Count | Source | 129 | 8.63k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 8.63k | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 8.63k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 8.63k | ZSTR_LEN(dest->s) = new_len; | 133 | 8.63k | } |
Unexecuted instantiation: zend_execute.c:smart_str_appendl_ex zend_inheritance.c:smart_str_appendl_ex Line | Count | Source | 129 | 842 | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 842 | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 842 | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 842 | ZSTR_LEN(dest->s) = new_len; | 133 | 842 | } |
Unexecuted instantiation: zend_ini.c:smart_str_appendl_ex zend_smart_str.c:smart_str_appendl_ex Line | Count | Source | 129 | 90 | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 90 | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 90 | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 90 | ZSTR_LEN(dest->s) = new_len; | 133 | 90 | } |
zend.c:smart_str_appendl_ex Line | Count | Source | 129 | 678 | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 678 | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 678 | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 678 | ZSTR_LEN(dest->s) = new_len; | 133 | 678 | } |
|
134 | | |
135 | 879 | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { |
136 | 879 | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); |
137 | 879 | } 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 | 135 | 125 | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 136 | 125 | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 137 | 125 | } |
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 | 135 | 34 | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 136 | 34 | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 137 | 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 | 135 | 280 | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 136 | 280 | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 137 | 280 | } |
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 | 135 | 65 | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 136 | 65 | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 137 | 65 | } |
Unexecuted instantiation: zend_execute.c:smart_str_append_ex zend_inheritance.c:smart_str_append_ex Line | Count | Source | 135 | 283 | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 136 | 283 | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 137 | 283 | } |
Unexecuted instantiation: zend_ini.c:smart_str_append_ex zend_smart_str.c:smart_str_append_ex Line | Count | Source | 135 | 2 | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 136 | 2 | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 137 | 2 | } |
zend.c:smart_str_append_ex Line | Count | Source | 135 | 90 | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 136 | 90 | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 137 | 90 | } |
|
138 | | |
139 | 31 | static zend_always_inline void smart_str_append_smart_str_ex(smart_str *dest, const smart_str *src, bool persistent) { |
140 | 31 | if (src->s && ZSTR_LEN(src->s)) { |
141 | 12 | smart_str_append_ex(dest, src->s, persistent); |
142 | 12 | } |
143 | 31 | } 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 | 139 | 31 | static zend_always_inline void smart_str_append_smart_str_ex(smart_str *dest, const smart_str *src, bool persistent) { | 140 | 31 | if (src->s && ZSTR_LEN(src->s)) { | 141 | 12 | smart_str_append_ex(dest, src->s, persistent); | 142 | 12 | } | 143 | 31 | } |
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 |
144 | | |
145 | 2.33k | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { |
146 | 2.33k | char buf[32]; |
147 | 2.33k | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); |
148 | 2.33k | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); |
149 | 2.33k | } 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 | 145 | 1 | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 146 | 1 | char buf[32]; | 147 | 1 | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 148 | 1 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 149 | 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 | 145 | 8 | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 146 | 8 | char buf[32]; | 147 | 8 | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 148 | 8 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 149 | 8 | } |
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 | 145 | 9 | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 146 | 9 | char buf[32]; | 147 | 9 | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 148 | 9 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 149 | 9 | } |
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 | 145 | 20 | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 146 | 20 | char buf[32]; | 147 | 20 | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 148 | 20 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 149 | 20 | } |
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 | 145 | 2.17k | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 146 | 2.17k | char buf[32]; | 147 | 2.17k | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 148 | 2.17k | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 149 | 2.17k | } |
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 | 145 | 31 | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 146 | 31 | char buf[32]; | 147 | 31 | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 148 | 31 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 149 | 31 | } |
zend.c:smart_str_append_long_ex Line | Count | Source | 145 | 95 | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 146 | 95 | char buf[32]; | 147 | 95 | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 148 | 95 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 149 | 95 | } |
|
150 | | |
151 | | static zend_always_inline void smart_str_append_long(smart_str *dest, zend_long num) |
152 | 2.33k | { |
153 | 2.33k | smart_str_append_long_ex(dest, num, false); |
154 | 2.33k | } 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 | 152 | 1 | { | 153 | | smart_str_append_long_ex(dest, num, false); | 154 | 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 | 152 | 8 | { | 153 | | smart_str_append_long_ex(dest, num, false); | 154 | 8 | } |
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 | 152 | 9 | { | 153 | | smart_str_append_long_ex(dest, num, false); | 154 | 9 | } |
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 | 152 | 20 | { | 153 | | smart_str_append_long_ex(dest, num, false); | 154 | 20 | } |
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 | 152 | 2.17k | { | 153 | | smart_str_append_long_ex(dest, num, false); | 154 | 2.17k | } |
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 | 152 | 31 | { | 153 | | smart_str_append_long_ex(dest, num, false); | 154 | 31 | } |
zend.c:smart_str_append_long Line | Count | Source | 152 | 95 | { | 153 | | smart_str_append_long_ex(dest, num, false); | 154 | 95 | } |
|
155 | | |
156 | 32 | static zend_always_inline void smart_str_append_unsigned_ex(smart_str *dest, zend_ulong num, bool persistent) { |
157 | 32 | char buf[32]; |
158 | 32 | char *result = zend_print_ulong_to_buf(buf + sizeof(buf) - 1, num); |
159 | 32 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); |
160 | 32 | } 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 | 156 | 32 | static zend_always_inline void smart_str_append_unsigned_ex(smart_str *dest, zend_ulong num, bool persistent) { | 157 | 32 | char buf[32]; | 158 | 32 | char *result = zend_print_ulong_to_buf(buf + sizeof(buf) - 1, num); | 159 | 32 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 160 | 32 | } |
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 |
161 | | |
162 | | static zend_always_inline void smart_str_append_unsigned(smart_str *dest, zend_ulong num) |
163 | 32 | { |
164 | 32 | smart_str_append_unsigned_ex(dest, num, false); |
165 | 32 | } 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 | 163 | 32 | { | 164 | | smart_str_append_unsigned_ex(dest, num, false); | 165 | 32 | } |
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 |
166 | | |
167 | | static zend_always_inline void smart_str_appendl(smart_str *dest, const char *src, size_t length) |
168 | 105k | { |
169 | 105k | smart_str_appendl_ex(dest, src, length, false); |
170 | 105k | } php_date.c:smart_str_appendl Line | Count | Source | 168 | 2.72k | { | 169 | | smart_str_appendl_ex(dest, src, length, false); | 170 | 2.72k | } |
Unexecuted instantiation: php_pcre.c:smart_str_appendl Unexecuted instantiation: hash.c:smart_str_appendl json_encoder.c:smart_str_appendl Line | Count | Source | 168 | 5 | { | 169 | | smart_str_appendl_ex(dest, src, length, false); | 170 | 5 | } |
Unexecuted instantiation: json.c:smart_str_appendl Unexecuted instantiation: zend_jit.c:smart_str_appendl php_reflection.c:smart_str_appendl Line | Count | Source | 168 | 80 | { | 169 | | smart_str_appendl_ex(dest, src, length, false); | 170 | 80 | } |
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 | 168 | 118 | { | 169 | | smart_str_appendl_ex(dest, src, length, false); | 170 | 118 | } |
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 | 168 | 101k | { | 169 | | smart_str_appendl_ex(dest, src, length, false); | 170 | 101k | } |
Unexecuted instantiation: zend_dump.c:smart_str_appendl zend_ast.c:smart_str_appendl Line | Count | Source | 168 | 7 | { | 169 | | smart_str_appendl_ex(dest, src, length, false); | 170 | 7 | } |
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 | 168 | 219 | { | 169 | | smart_str_appendl_ex(dest, src, length, false); | 170 | 219 | } |
Unexecuted instantiation: zend_ini.c:smart_str_appendl zend_smart_str.c:smart_str_appendl Line | Count | Source | 168 | 53 | { | 169 | | smart_str_appendl_ex(dest, src, length, false); | 170 | 53 | } |
Line | Count | Source | 168 | 26 | { | 169 | | smart_str_appendl_ex(dest, src, length, false); | 170 | 26 | } |
|
171 | | static zend_always_inline void smart_str_appends_ex(smart_str *dest, const char *src, bool persistent) |
172 | 0 | { |
173 | 0 | smart_str_appendl_ex(dest, src, strlen(src), persistent); |
174 | 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 |
175 | | static zend_always_inline void smart_str_appends(smart_str *dest, const char *src) |
176 | 10.2k | { |
177 | 10.2k | smart_str_appendl_ex(dest, src, strlen(src), false); |
178 | 10.2k | } 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 | 176 | 848 | { | 177 | | smart_str_appendl_ex(dest, src, strlen(src), false); | 178 | 848 | } |
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 | 176 | 1 | { | 177 | | smart_str_appendl_ex(dest, src, strlen(src), false); | 178 | 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 | 176 | 2.13k | { | 177 | | smart_str_appendl_ex(dest, src, strlen(src), false); | 178 | 2.13k | } |
zend_attributes.c:smart_str_appends Line | Count | Source | 176 | 18 | { | 177 | | smart_str_appendl_ex(dest, src, strlen(src), false); | 178 | 18 | } |
Unexecuted instantiation: zend_builtin_functions.c:smart_str_appends zend_exceptions.c:smart_str_appends Line | Count | Source | 176 | 6.39k | { | 177 | | smart_str_appendl_ex(dest, src, strlen(src), false); | 178 | 6.39k | } |
Unexecuted instantiation: zend_execute.c:smart_str_appends zend_inheritance.c:smart_str_appends Line | Count | Source | 176 | 340 | { | 177 | | smart_str_appendl_ex(dest, src, strlen(src), false); | 178 | 340 | } |
Unexecuted instantiation: zend_ini.c:smart_str_appends zend_smart_str.c:smart_str_appends Line | Count | Source | 176 | 4 | { | 177 | | smart_str_appendl_ex(dest, src, strlen(src), false); | 178 | 4 | } |
Line | Count | Source | 176 | 467 | { | 177 | | smart_str_appendl_ex(dest, src, strlen(src), false); | 178 | 467 | } |
|
179 | | static zend_always_inline void smart_str_append(smart_str *dest, const zend_string *src) |
180 | 867 | { |
181 | 867 | smart_str_append_ex(dest, src, false); |
182 | 867 | } 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 | 180 | 113 | { | 181 | | smart_str_append_ex(dest, src, false); | 182 | 113 | } |
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 | 180 | 34 | { | 181 | | smart_str_append_ex(dest, src, false); | 182 | 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 | 180 | 280 | { | 181 | | smart_str_append_ex(dest, src, false); | 182 | 280 | } |
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 | 180 | 65 | { | 181 | | smart_str_append_ex(dest, src, false); | 182 | 65 | } |
Unexecuted instantiation: zend_execute.c:smart_str_append zend_inheritance.c:smart_str_append Line | Count | Source | 180 | 283 | { | 181 | | smart_str_append_ex(dest, src, false); | 182 | 283 | } |
Unexecuted instantiation: zend_ini.c:smart_str_append zend_smart_str.c:smart_str_append Line | Count | Source | 180 | 2 | { | 181 | | smart_str_append_ex(dest, src, false); | 182 | 2 | } |
Line | Count | Source | 180 | 90 | { | 181 | | smart_str_append_ex(dest, src, false); | 182 | 90 | } |
|
183 | | static zend_always_inline void smart_str_appendc(smart_str *dest, char ch) |
184 | 1.83M | { |
185 | 1.83M | smart_str_appendc_ex(dest, ch, false); |
186 | 1.83M | } 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 | 184 | 16 | { | 185 | | smart_str_appendc_ex(dest, ch, false); | 186 | 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 | 184 | 369 | { | 185 | | smart_str_appendc_ex(dest, ch, false); | 186 | 369 | } |
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 | 184 | 121 | { | 185 | | smart_str_appendc_ex(dest, ch, false); | 186 | 121 | } |
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 | 184 | 1.82M | { | 185 | | smart_str_appendc_ex(dest, ch, false); | 186 | 1.82M | } |
Unexecuted instantiation: zend_dump.c:smart_str_appendc zend_ast.c:smart_str_appendc Line | Count | Source | 184 | 7.37k | { | 185 | | smart_str_appendc_ex(dest, ch, false); | 186 | 7.37k | } |
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 | 184 | 3.64k | { | 185 | | smart_str_appendc_ex(dest, ch, false); | 186 | 3.64k | } |
Unexecuted instantiation: zend_execute.c:smart_str_appendc zend_inheritance.c:smart_str_appendc Line | Count | Source | 184 | 462 | { | 185 | | smart_str_appendc_ex(dest, ch, false); | 186 | 462 | } |
Unexecuted instantiation: zend_ini.c:smart_str_appendc zend_smart_str.c:smart_str_appendc Line | Count | Source | 184 | 1.42k | { | 185 | | smart_str_appendc_ex(dest, ch, false); | 186 | 1.42k | } |
Line | Count | Source | 184 | 2.10k | { | 185 | | smart_str_appendc_ex(dest, ch, false); | 186 | 2.10k | } |
|
187 | | static zend_always_inline void smart_str_append_smart_str(smart_str *dest, const smart_str *src) |
188 | 31 | { |
189 | 31 | smart_str_append_smart_str_ex(dest, src, false); |
190 | 31 | } 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 | 188 | 31 | { | 189 | | smart_str_append_smart_str_ex(dest, src, false); | 190 | 31 | } |
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 |
191 | | |
192 | 0 | static zend_always_inline void smart_str_setl(smart_str *dest, const char *src, size_t len) { |
193 | 0 | smart_str_free(dest); |
194 | 0 | smart_str_appendl(dest, src, len); |
195 | 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 |
196 | | |
197 | | static zend_always_inline void smart_str_sets(smart_str *dest, const char *src) |
198 | 0 | { |
199 | 0 | smart_str_setl(dest, src, strlen(src)); |
200 | 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 |
201 | | #endif |