/src/php-src/Zend/zend_smart_str.h
Line | Count | Source (jump to first uncovered line) |
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 | 159M | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { |
41 | 159M | if (UNEXPECTED(!str->s)) { |
42 | 4.66M | goto do_smart_str_realloc; |
43 | 154M | } else { |
44 | 154M | len += ZSTR_LEN(str->s); |
45 | 154M | if (UNEXPECTED(len >= str->a)) { |
46 | 4.76M | do_smart_str_realloc: |
47 | 4.76M | if (persistent) { |
48 | 0 | smart_str_realloc(str, len); |
49 | 4.76M | } else { |
50 | 4.76M | smart_str_erealloc(str, len); |
51 | 4.76M | } |
52 | 4.76M | } |
53 | 154M | } |
54 | 159M | return len; |
55 | 159M | } php_date.c:smart_str_alloc Line | Count | Source | 40 | 409k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 409k | if (UNEXPECTED(!str->s)) { | 42 | 274 | goto do_smart_str_realloc; | 43 | 409k | } else { | 44 | 409k | len += ZSTR_LEN(str->s); | 45 | 409k | if (UNEXPECTED(len >= str->a)) { | 46 | 654 | do_smart_str_realloc: | 47 | 654 | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 654 | } else { | 50 | 654 | smart_str_erealloc(str, len); | 51 | 654 | } | 52 | 654 | } | 53 | 409k | } | 54 | 409k | return len; | 55 | 409k | } |
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 | 553k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 553k | if (UNEXPECTED(!str->s)) { | 42 | 3.09k | goto do_smart_str_realloc; | 43 | 550k | } else { | 44 | 550k | len += ZSTR_LEN(str->s); | 45 | 550k | if (UNEXPECTED(len >= str->a)) { | 46 | 3.93k | do_smart_str_realloc: | 47 | 3.93k | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 3.93k | } else { | 50 | 3.93k | smart_str_erealloc(str, len); | 51 | 3.93k | } | 52 | 3.93k | } | 53 | 550k | } | 54 | 553k | return len; | 55 | 553k | } |
Unexecuted instantiation: json.c:smart_str_alloc php_reflection.c:smart_str_alloc Line | Count | Source | 40 | 4.87k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 4.87k | if (UNEXPECTED(!str->s)) { | 42 | 165 | goto do_smart_str_realloc; | 43 | 4.71k | } else { | 44 | 4.71k | len += ZSTR_LEN(str->s); | 45 | 4.71k | if (UNEXPECTED(len >= str->a)) { | 46 | 221 | do_smart_str_realloc: | 47 | 221 | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 221 | } else { | 50 | 221 | smart_str_erealloc(str, len); | 51 | 221 | } | 52 | 221 | } | 53 | 4.71k | } | 54 | 4.87k | return len; | 55 | 4.87k | } |
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 | 453k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 453k | if (UNEXPECTED(!str->s)) { | 42 | 1.72k | goto do_smart_str_realloc; | 43 | 452k | } else { | 44 | 452k | len += ZSTR_LEN(str->s); | 45 | 452k | if (UNEXPECTED(len >= str->a)) { | 46 | 2.88k | do_smart_str_realloc: | 47 | 2.88k | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 2.88k | } else { | 50 | 2.88k | smart_str_erealloc(str, len); | 51 | 2.88k | } | 52 | 2.88k | } | 53 | 452k | } | 54 | 453k | return len; | 55 | 453k | } |
Unexecuted instantiation: php_lexbor.c:smart_str_alloc fopen_wrappers.c:smart_str_alloc Line | Count | Source | 40 | 23 | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 23 | if (UNEXPECTED(!str->s)) { | 42 | 23 | goto do_smart_str_realloc; | 43 | 23 | } else { | 44 | 0 | len += ZSTR_LEN(str->s); | 45 | 0 | if (UNEXPECTED(len >= str->a)) { | 46 | 23 | do_smart_str_realloc: | 47 | 23 | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 23 | } else { | 50 | 23 | smart_str_erealloc(str, len); | 51 | 23 | } | 52 | 23 | } | 53 | 0 | } | 54 | 23 | return len; | 55 | 23 | } |
Unexecuted instantiation: php_variables.c:smart_str_alloc spprintf.c:smart_str_alloc Line | Count | Source | 40 | 140M | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 140M | if (UNEXPECTED(!str->s)) { | 42 | 4.62M | goto do_smart_str_realloc; | 43 | 136M | } else { | 44 | 136M | len += ZSTR_LEN(str->s); | 45 | 136M | if (UNEXPECTED(len >= str->a)) { | 46 | 4.68M | do_smart_str_realloc: | 47 | 4.68M | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 4.68M | } else { | 50 | 4.68M | smart_str_erealloc(str, len); | 51 | 4.68M | } | 52 | 4.68M | } | 53 | 136M | } | 54 | 140M | return len; | 55 | 140M | } |
Unexecuted instantiation: zend_dump.c:smart_str_alloc zend_ast.c:smart_str_alloc Line | Count | Source | 40 | 16.7M | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 16.7M | if (UNEXPECTED(!str->s)) { | 42 | 24.0k | goto do_smart_str_realloc; | 43 | 16.7M | } else { | 44 | 16.7M | len += ZSTR_LEN(str->s); | 45 | 16.7M | if (UNEXPECTED(len >= str->a)) { | 46 | 47.9k | do_smart_str_realloc: | 47 | 47.9k | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 47.9k | } else { | 50 | 47.9k | smart_str_erealloc(str, len); | 51 | 47.9k | } | 52 | 47.9k | } | 53 | 16.7M | } | 54 | 16.7M | return len; | 55 | 16.7M | } |
zend_attributes.c:smart_str_alloc Line | Count | Source | 40 | 196 | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 196 | if (UNEXPECTED(!str->s)) { | 42 | 124 | goto do_smart_str_realloc; | 43 | 124 | } else { | 44 | 72 | len += ZSTR_LEN(str->s); | 45 | 72 | if (UNEXPECTED(len >= str->a)) { | 46 | 124 | do_smart_str_realloc: | 47 | 124 | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 124 | } else { | 50 | 124 | smart_str_erealloc(str, len); | 51 | 124 | } | 52 | 124 | } | 53 | 72 | } | 54 | 196 | return len; | 55 | 196 | } |
Unexecuted instantiation: zend_builtin_functions.c:smart_str_alloc zend_exceptions.c:smart_str_alloc Line | Count | Source | 40 | 390k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 390k | if (UNEXPECTED(!str->s)) { | 42 | 13.6k | goto do_smart_str_realloc; | 43 | 376k | } else { | 44 | 376k | len += ZSTR_LEN(str->s); | 45 | 376k | if (UNEXPECTED(len >= str->a)) { | 46 | 15.8k | do_smart_str_realloc: | 47 | 15.8k | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 15.8k | } else { | 50 | 15.8k | smart_str_erealloc(str, len); | 51 | 15.8k | } | 52 | 15.8k | } | 53 | 376k | } | 54 | 390k | return len; | 55 | 390k | } |
zend_execute.c:smart_str_alloc Line | Count | Source | 40 | 26 | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 26 | if (UNEXPECTED(!str->s)) { | 42 | 13 | goto do_smart_str_realloc; | 43 | 13 | } else { | 44 | 13 | len += ZSTR_LEN(str->s); | 45 | 13 | if (UNEXPECTED(len >= str->a)) { | 46 | 13 | do_smart_str_realloc: | 47 | 13 | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 13 | } else { | 50 | 13 | smart_str_erealloc(str, len); | 51 | 13 | } | 52 | 13 | } | 53 | 13 | } | 54 | 26 | return len; | 55 | 26 | } |
zend_inheritance.c:smart_str_alloc Line | Count | Source | 40 | 38.2k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 38.2k | if (UNEXPECTED(!str->s)) { | 42 | 2.76k | goto do_smart_str_realloc; | 43 | 35.4k | } else { | 44 | 35.4k | len += ZSTR_LEN(str->s); | 45 | 35.4k | if (UNEXPECTED(len >= str->a)) { | 46 | 3.06k | do_smart_str_realloc: | 47 | 3.06k | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 3.06k | } else { | 50 | 3.06k | smart_str_erealloc(str, len); | 51 | 3.06k | } | 52 | 3.06k | } | 53 | 35.4k | } | 54 | 38.2k | return len; | 55 | 38.2k | } |
Unexecuted instantiation: zend_ini.c:smart_str_alloc zend_smart_str.c:smart_str_alloc Line | Count | Source | 40 | 129k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 129k | if (UNEXPECTED(!str->s)) { | 42 | 251 | goto do_smart_str_realloc; | 43 | 129k | } else { | 44 | 129k | len += ZSTR_LEN(str->s); | 45 | 129k | if (UNEXPECTED(len >= str->a)) { | 46 | 1.63k | do_smart_str_realloc: | 47 | 1.63k | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 1.63k | } else { | 50 | 1.63k | smart_str_erealloc(str, len); | 51 | 1.63k | } | 52 | 1.63k | } | 53 | 129k | } | 54 | 129k | return len; | 55 | 129k | } |
Line | Count | Source | 40 | 104k | static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) { | 41 | 104k | if (UNEXPECTED(!str->s)) { | 42 | 1.97k | goto do_smart_str_realloc; | 43 | 102k | } else { | 44 | 102k | len += ZSTR_LEN(str->s); | 45 | 102k | if (UNEXPECTED(len >= str->a)) { | 46 | 2.09k | do_smart_str_realloc: | 47 | 2.09k | if (persistent) { | 48 | 0 | smart_str_realloc(str, len); | 49 | 2.09k | } else { | 50 | 2.09k | smart_str_erealloc(str, len); | 51 | 2.09k | } | 52 | 2.09k | } | 53 | 102k | } | 54 | 104k | return len; | 55 | 104k | } |
|
56 | | |
57 | 314k | static zend_always_inline char* smart_str_extend_ex(smart_str *dest, size_t len, bool persistent) { |
58 | 314k | size_t new_len = smart_str_alloc(dest, len, persistent); |
59 | 314k | char *ret = ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s); |
60 | 314k | ZSTR_LEN(dest->s) = new_len; |
61 | 314k | return ret; |
62 | 314k | } 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 json_encoder.c:smart_str_extend_ex Line | Count | Source | 57 | 174k | static zend_always_inline char* smart_str_extend_ex(smart_str *dest, size_t len, bool persistent) { | 58 | 174k | size_t new_len = smart_str_alloc(dest, len, persistent); | 59 | 174k | char *ret = ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s); | 60 | 174k | ZSTR_LEN(dest->s) = new_len; | 61 | 174k | return ret; | 62 | 174k | } |
Unexecuted instantiation: json.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 | 140k | static zend_always_inline char* smart_str_extend_ex(smart_str *dest, size_t len, bool persistent) { | 58 | 140k | size_t new_len = smart_str_alloc(dest, len, persistent); | 59 | 140k | char *ret = ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s); | 60 | 140k | ZSTR_LEN(dest->s) = new_len; | 61 | 140k | return ret; | 62 | 140k | } |
Unexecuted instantiation: php_lexbor.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 | 314k | { |
66 | 314k | return smart_str_extend_ex(dest, length, false); |
67 | 314k | } Unexecuted instantiation: php_date.c:smart_str_extend Unexecuted instantiation: php_pcre.c:smart_str_extend Unexecuted instantiation: hash.c:smart_str_extend json_encoder.c:smart_str_extend Line | Count | Source | 65 | 174k | { | 66 | 174k | return smart_str_extend_ex(dest, length, false); | 67 | 174k | } |
Unexecuted instantiation: json.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 | 140k | { | 66 | 140k | return smart_str_extend_ex(dest, length, false); | 67 | 140k | } |
Unexecuted instantiation: php_lexbor.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 | 1.20M | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { |
70 | 1.20M | if (str->s) { |
71 | 746 | zend_string_release_ex(str->s, persistent); |
72 | 746 | str->s = NULL; |
73 | 746 | } |
74 | 1.20M | str->a = 0; |
75 | 1.20M | } 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 Line | Count | Source | 69 | 137 | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 70 | 137 | if (str->s) { | 71 | 137 | zend_string_release_ex(str->s, persistent); | 72 | 137 | str->s = NULL; | 73 | 137 | } | 74 | 137 | str->a = 0; | 75 | 137 | } |
php_reflection.c:smart_str_free_ex Line | Count | Source | 69 | 265 | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 70 | 265 | if (str->s) { | 71 | 190 | zend_string_release_ex(str->s, persistent); | 72 | 190 | str->s = NULL; | 73 | 190 | } | 74 | 265 | str->a = 0; | 75 | 265 | } |
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 | 1.62k | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 70 | 1.62k | if (str->s) { | 71 | 0 | zend_string_release_ex(str->s, persistent); | 72 | 0 | str->s = NULL; | 73 | 0 | } | 74 | 1.62k | str->a = 0; | 75 | 1.62k | } |
url_scanner_ex.c:smart_str_free_ex Line | Count | Source | 69 | 1.20M | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 70 | 1.20M | if (str->s) { | 71 | 0 | zend_string_release_ex(str->s, persistent); | 72 | 0 | str->s = NULL; | 73 | 0 | } | 74 | 1.20M | str->a = 0; | 75 | 1.20M | } |
Unexecuted instantiation: url.c:smart_str_free_ex Line | Count | Source | 69 | 194 | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 70 | 194 | if (str->s) { | 71 | 155 | zend_string_release_ex(str->s, persistent); | 72 | 155 | str->s = NULL; | 73 | 155 | } | 74 | 194 | str->a = 0; | 75 | 194 | } |
Unexecuted instantiation: php_lexbor.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 | 163 | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 70 | 163 | if (str->s) { | 71 | 163 | zend_string_release_ex(str->s, persistent); | 72 | 163 | str->s = NULL; | 73 | 163 | } | 74 | 163 | str->a = 0; | 75 | 163 | } |
Unexecuted instantiation: zend_inheritance.c:smart_str_free_ex zend_ini.c:smart_str_free_ex Line | Count | Source | 69 | 109 | static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { | 70 | 109 | if (str->s) { | 71 | 101 | zend_string_release_ex(str->s, persistent); | 72 | 101 | str->s = NULL; | 73 | 101 | } | 74 | 109 | str->a = 0; | 75 | 109 | } |
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 | 1.20M | { |
79 | 1.20M | smart_str_free_ex(str, false); |
80 | 1.20M | } 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 Line | Count | Source | 78 | 137 | { | 79 | 137 | smart_str_free_ex(str, false); | 80 | 137 | } |
php_reflection.c:smart_str_free Line | Count | Source | 78 | 265 | { | 79 | 265 | smart_str_free_ex(str, false); | 80 | 265 | } |
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 | 1.62k | { | 79 | 1.62k | smart_str_free_ex(str, false); | 80 | 1.62k | } |
url_scanner_ex.c:smart_str_free Line | Count | Source | 78 | 1.20M | { | 79 | 1.20M | smart_str_free_ex(str, false); | 80 | 1.20M | } |
Unexecuted instantiation: url.c:smart_str_free Line | Count | Source | 78 | 194 | { | 79 | 194 | smart_str_free_ex(str, false); | 80 | 194 | } |
Unexecuted instantiation: php_lexbor.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 | 163 | { | 79 | 163 | smart_str_free_ex(str, false); | 80 | 163 | } |
Unexecuted instantiation: zend_inheritance.c:smart_str_free zend_ini.c:smart_str_free Line | Count | Source | 78 | 109 | { | 79 | 109 | smart_str_free_ex(str, false); | 80 | 109 | } |
Unexecuted instantiation: zend_smart_str.c:smart_str_free Unexecuted instantiation: zend.c:smart_str_free |
81 | | |
82 | 4.66M | static zend_always_inline void smart_str_0(smart_str *str) { |
83 | 4.66M | if (str->s) { |
84 | 4.66M | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; |
85 | 4.66M | } |
86 | 4.66M | } Line | Count | Source | 82 | 274 | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 274 | if (str->s) { | 84 | 274 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 274 | } | 86 | 274 | } |
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.96k | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 2.96k | if (str->s) { | 84 | 2.96k | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 2.96k | } | 86 | 2.96k | } |
php_reflection.c:smart_str_0 Line | Count | Source | 82 | 369 | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 369 | if (str->s) { | 84 | 369 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 369 | } | 86 | 369 | } |
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 | 3.32k | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 3.32k | if (str->s) { | 84 | 3.28k | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 3.28k | } | 86 | 3.32k | } |
Unexecuted instantiation: php_lexbor.c:smart_str_0 fopen_wrappers.c:smart_str_0 Line | Count | Source | 82 | 23 | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 23 | if (str->s) { | 84 | 23 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 23 | } | 86 | 23 | } |
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 | 24.0k | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 24.0k | if (str->s) { | 84 | 24.0k | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 24.0k | } | 86 | 24.0k | } |
zend_attributes.c:smart_str_0 Line | Count | Source | 82 | 124 | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 124 | if (str->s) { | 84 | 124 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 124 | } | 86 | 124 | } |
Unexecuted instantiation: zend_builtin_functions.c:smart_str_0 zend_exceptions.c:smart_str_0 Line | Count | Source | 82 | 13.6k | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 13.6k | if (str->s) { | 84 | 13.6k | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 13.6k | } | 86 | 13.6k | } |
zend_execute.c:smart_str_0 Line | Count | Source | 82 | 163 | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 163 | if (str->s) { | 84 | 163 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 163 | } | 86 | 163 | } |
zend_inheritance.c:smart_str_0 Line | Count | Source | 82 | 2.76k | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 2.76k | if (str->s) { | 84 | 2.76k | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 2.76k | } | 86 | 2.76k | } |
Line | Count | Source | 82 | 101 | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 101 | if (str->s) { | 84 | 101 | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 101 | } | 86 | 101 | } |
Unexecuted instantiation: zend_smart_str.c:smart_str_0 Line | Count | Source | 82 | 4.62M | static zend_always_inline void smart_str_0(smart_str *str) { | 83 | 4.62M | if (str->s) { | 84 | 4.62M | ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; | 85 | 4.62M | } | 86 | 4.62M | } |
|
87 | | |
88 | 183 | static zend_always_inline size_t smart_str_get_len(smart_str *str) { |
89 | 183 | return str->s ? ZSTR_LEN(str->s) : 0; |
90 | 183 | } 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: 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: php_lexbor.c:smart_str_get_len fopen_wrappers.c:smart_str_get_len Line | Count | Source | 88 | 23 | static zend_always_inline size_t smart_str_get_len(smart_str *str) { | 89 | 23 | return str->s ? ZSTR_LEN(str->s) : 0; | 90 | 23 | } |
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 | 160 | static zend_always_inline size_t smart_str_get_len(smart_str *str) { | 89 | 160 | return str->s ? ZSTR_LEN(str->s) : 0; | 90 | 160 | } |
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 | 4.62M | { |
94 | 4.62M | if (str->s && str->a > ZSTR_LEN(str->s)) { |
95 | 4.62M | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); |
96 | 4.62M | str->a = ZSTR_LEN(str->s); |
97 | 4.62M | } |
98 | 4.62M | } 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.96k | { | 94 | 2.96k | if (str->s && str->a > ZSTR_LEN(str->s)) { | 95 | 2.95k | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 96 | 2.95k | str->a = ZSTR_LEN(str->s); | 97 | 2.95k | } | 98 | 2.96k | } |
php_reflection.c:smart_str_trim_to_size_ex Line | Count | Source | 93 | 209 | { | 94 | 209 | if (str->s && str->a > ZSTR_LEN(str->s)) { | 95 | 209 | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 96 | 209 | str->a = ZSTR_LEN(str->s); | 97 | 209 | } | 98 | 209 | } |
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 | 1.56k | { | 94 | 1.56k | if (str->s && str->a > ZSTR_LEN(str->s)) { | 95 | 1.56k | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 96 | 1.56k | str->a = ZSTR_LEN(str->s); | 97 | 1.56k | } | 98 | 1.56k | } |
Unexecuted instantiation: php_lexbor.c:smart_str_trim_to_size_ex fopen_wrappers.c:smart_str_trim_to_size_ex Line | Count | Source | 93 | 23 | { | 94 | 23 | if (str->s && str->a > ZSTR_LEN(str->s)) { | 95 | 23 | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 96 | 23 | str->a = ZSTR_LEN(str->s); | 97 | 23 | } | 98 | 23 | } |
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 | 124 | { | 94 | 124 | if (str->s && str->a > ZSTR_LEN(str->s)) { | 95 | 124 | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 96 | 124 | str->a = ZSTR_LEN(str->s); | 97 | 124 | } | 98 | 124 | } |
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 | 4.62M | { | 94 | 4.62M | if (str->s && str->a > ZSTR_LEN(str->s)) { | 95 | 4.62M | str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); | 96 | 4.62M | str->a = ZSTR_LEN(str->s); | 97 | 4.62M | } | 98 | 4.62M | } |
|
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: 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: php_lexbor.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 | 4.62M | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { |
106 | 4.62M | if (str->s) { |
107 | 4.62M | zend_string *res; |
108 | 4.62M | smart_str_0(str); |
109 | 4.62M | smart_str_trim_to_size_ex(str, persistent); |
110 | 4.62M | res = str->s; |
111 | 4.62M | str->s = NULL; |
112 | 4.62M | return res; |
113 | 4.62M | } else { |
114 | 3 | return ZSTR_EMPTY_ALLOC(); |
115 | 3 | } |
116 | 4.62M | } 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.96k | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 106 | 2.96k | if (str->s) { | 107 | 2.96k | zend_string *res; | 108 | 2.96k | smart_str_0(str); | 109 | 2.96k | smart_str_trim_to_size_ex(str, persistent); | 110 | 2.96k | res = str->s; | 111 | 2.96k | str->s = NULL; | 112 | 2.96k | return res; | 113 | 2.96k | } else { | 114 | 3 | return ZSTR_EMPTY_ALLOC(); | 115 | 3 | } | 116 | 2.96k | } |
php_reflection.c:smart_str_extract_ex Line | Count | Source | 105 | 209 | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 106 | 209 | if (str->s) { | 107 | 209 | zend_string *res; | 108 | 209 | smart_str_0(str); | 109 | 209 | smart_str_trim_to_size_ex(str, persistent); | 110 | 209 | res = str->s; | 111 | 209 | str->s = NULL; | 112 | 209 | return res; | 113 | 209 | } else { | 114 | 0 | return ZSTR_EMPTY_ALLOC(); | 115 | 0 | } | 116 | 209 | } |
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 | 1.56k | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 106 | 1.56k | if (str->s) { | 107 | 1.56k | zend_string *res; | 108 | 1.56k | smart_str_0(str); | 109 | 1.56k | smart_str_trim_to_size_ex(str, persistent); | 110 | 1.56k | res = str->s; | 111 | 1.56k | str->s = NULL; | 112 | 1.56k | return res; | 113 | 1.56k | } else { | 114 | 0 | return ZSTR_EMPTY_ALLOC(); | 115 | 0 | } | 116 | 1.56k | } |
Unexecuted instantiation: php_lexbor.c:smart_str_extract_ex fopen_wrappers.c:smart_str_extract_ex Line | Count | Source | 105 | 23 | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 106 | 23 | if (str->s) { | 107 | 23 | zend_string *res; | 108 | 23 | smart_str_0(str); | 109 | 23 | smart_str_trim_to_size_ex(str, persistent); | 110 | 23 | res = str->s; | 111 | 23 | str->s = NULL; | 112 | 23 | return res; | 113 | 23 | } else { | 114 | 0 | return ZSTR_EMPTY_ALLOC(); | 115 | 0 | } | 116 | 23 | } |
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 | 124 | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 106 | 124 | if (str->s) { | 107 | 124 | zend_string *res; | 108 | 124 | smart_str_0(str); | 109 | 124 | smart_str_trim_to_size_ex(str, persistent); | 110 | 124 | res = str->s; | 111 | 124 | str->s = NULL; | 112 | 124 | return res; | 113 | 124 | } else { | 114 | 0 | return ZSTR_EMPTY_ALLOC(); | 115 | 0 | } | 116 | 124 | } |
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 | 4.62M | static zend_always_inline zend_string *smart_str_extract_ex(smart_str *str, bool persistent) { | 106 | 4.62M | if (str->s) { | 107 | 4.62M | zend_string *res; | 108 | 4.62M | smart_str_0(str); | 109 | 4.62M | smart_str_trim_to_size_ex(str, persistent); | 110 | 4.62M | res = str->s; | 111 | 4.62M | str->s = NULL; | 112 | 4.62M | return res; | 113 | 4.62M | } else { | 114 | 0 | return ZSTR_EMPTY_ALLOC(); | 115 | 0 | } | 116 | 4.62M | } |
|
117 | | |
118 | | static zend_always_inline zend_string *smart_str_extract(smart_str *dest) |
119 | 4.62M | { |
120 | 4.62M | return smart_str_extract_ex(dest, false); |
121 | 4.62M | } 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.96k | { | 120 | 2.96k | return smart_str_extract_ex(dest, false); | 121 | 2.96k | } |
php_reflection.c:smart_str_extract Line | Count | Source | 119 | 209 | { | 120 | 209 | return smart_str_extract_ex(dest, false); | 121 | 209 | } |
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 | 1.56k | { | 120 | 1.56k | return smart_str_extract_ex(dest, false); | 121 | 1.56k | } |
Unexecuted instantiation: php_lexbor.c:smart_str_extract fopen_wrappers.c:smart_str_extract Line | Count | Source | 119 | 23 | { | 120 | 23 | return smart_str_extract_ex(dest, false); | 121 | 23 | } |
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 | 124 | { | 120 | 124 | return smart_str_extract_ex(dest, false); | 121 | 124 | } |
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 | 4.62M | { | 120 | 4.62M | return smart_str_extract_ex(dest, false); | 121 | 4.62M | } |
|
122 | | |
123 | 142M | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { |
124 | 142M | size_t new_len = smart_str_alloc(dest, 1, persistent); |
125 | 142M | ZSTR_VAL(dest->s)[new_len - 1] = ch; |
126 | 142M | ZSTR_LEN(dest->s) = new_len; |
127 | 142M | } 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 | 36.3k | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 36.3k | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 36.3k | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 36.3k | ZSTR_LEN(dest->s) = new_len; | 127 | 36.3k | } |
Unexecuted instantiation: json.c:smart_str_appendc_ex php_reflection.c:smart_str_appendc_ex Line | Count | Source | 123 | 1.53k | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 1.53k | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 1.53k | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 1.53k | ZSTR_LEN(dest->s) = new_len; | 127 | 1.53k | } |
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 | 80.4k | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 80.4k | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 80.4k | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 80.4k | ZSTR_LEN(dest->s) = new_len; | 127 | 80.4k | } |
Unexecuted instantiation: php_lexbor.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 | 133M | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 133M | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 133M | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 133M | ZSTR_LEN(dest->s) = new_len; | 127 | 133M | } |
Unexecuted instantiation: zend_dump.c:smart_str_appendc_ex zend_ast.c:smart_str_appendc_ex Line | Count | Source | 123 | 8.85M | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 8.85M | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 8.85M | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 8.85M | ZSTR_LEN(dest->s) = new_len; | 127 | 8.85M | } |
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 | 134k | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 134k | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 134k | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 134k | ZSTR_LEN(dest->s) = new_len; | 127 | 134k | } |
Unexecuted instantiation: zend_execute.c:smart_str_appendc_ex zend_inheritance.c:smart_str_appendc_ex Line | Count | Source | 123 | 12.3k | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 12.3k | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 12.3k | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 12.3k | ZSTR_LEN(dest->s) = new_len; | 127 | 12.3k | } |
Unexecuted instantiation: zend_ini.c:smart_str_appendc_ex zend_smart_str.c:smart_str_appendc_ex Line | Count | Source | 123 | 59.5k | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 59.5k | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 59.5k | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 59.5k | ZSTR_LEN(dest->s) = new_len; | 127 | 59.5k | } |
zend.c:smart_str_appendc_ex Line | Count | Source | 123 | 78.3k | static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { | 124 | 78.3k | size_t new_len = smart_str_alloc(dest, 1, persistent); | 125 | 78.3k | ZSTR_VAL(dest->s)[new_len - 1] = ch; | 126 | 78.3k | ZSTR_LEN(dest->s) = new_len; | 127 | 78.3k | } |
|
128 | | |
129 | 16.6M | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { |
130 | 16.6M | size_t new_len = smart_str_alloc(dest, len, persistent); |
131 | 16.6M | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); |
132 | 16.6M | ZSTR_LEN(dest->s) = new_len; |
133 | 16.6M | } php_date.c:smart_str_appendl_ex Line | Count | Source | 129 | 409k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 409k | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 409k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 409k | ZSTR_LEN(dest->s) = new_len; | 133 | 409k | } |
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 | 339k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 339k | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 339k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 339k | ZSTR_LEN(dest->s) = new_len; | 133 | 339k | } |
Unexecuted instantiation: json.c:smart_str_appendl_ex php_reflection.c:smart_str_appendl_ex Line | Count | Source | 129 | 3.34k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 3.34k | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 3.34k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 3.34k | ZSTR_LEN(dest->s) = new_len; | 133 | 3.34k | } |
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 | 233k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 233k | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 233k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 233k | ZSTR_LEN(dest->s) = new_len; | 133 | 233k | } |
Unexecuted instantiation: php_lexbor.c:smart_str_appendl_ex fopen_wrappers.c:smart_str_appendl_ex Line | Count | Source | 129 | 23 | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 23 | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 23 | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 23 | ZSTR_LEN(dest->s) = new_len; | 133 | 23 | } |
Unexecuted instantiation: php_variables.c:smart_str_appendl_ex spprintf.c:smart_str_appendl_ex Line | Count | Source | 129 | 7.39M | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 7.39M | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 7.39M | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 7.39M | ZSTR_LEN(dest->s) = new_len; | 133 | 7.39M | } |
Unexecuted instantiation: zend_dump.c:smart_str_appendl_ex zend_ast.c:smart_str_appendl_ex Line | Count | Source | 129 | 7.92M | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 7.92M | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 7.92M | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 7.92M | ZSTR_LEN(dest->s) = new_len; | 133 | 7.92M | } |
zend_attributes.c:smart_str_appendl_ex Line | Count | Source | 129 | 196 | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 196 | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 196 | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 196 | ZSTR_LEN(dest->s) = new_len; | 133 | 196 | } |
Unexecuted instantiation: zend_builtin_functions.c:smart_str_appendl_ex zend_exceptions.c:smart_str_appendl_ex Line | Count | Source | 129 | 255k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 255k | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 255k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 255k | ZSTR_LEN(dest->s) = new_len; | 133 | 255k | } |
zend_execute.c:smart_str_appendl_ex Line | Count | Source | 129 | 26 | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 26 | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 26 | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 26 | ZSTR_LEN(dest->s) = new_len; | 133 | 26 | } |
zend_inheritance.c:smart_str_appendl_ex Line | Count | Source | 129 | 25.8k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 25.8k | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 25.8k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 25.8k | ZSTR_LEN(dest->s) = new_len; | 133 | 25.8k | } |
Unexecuted instantiation: zend_ini.c:smart_str_appendl_ex zend_smart_str.c:smart_str_appendl_ex Line | Count | Source | 129 | 39.9k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 39.9k | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 39.9k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 39.9k | ZSTR_LEN(dest->s) = new_len; | 133 | 39.9k | } |
zend.c:smart_str_appendl_ex Line | Count | Source | 129 | 26.2k | static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { | 130 | 26.2k | size_t new_len = smart_str_alloc(dest, len, persistent); | 131 | 26.2k | memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); | 132 | 26.2k | ZSTR_LEN(dest->s) = new_len; | 133 | 26.2k | } |
|
134 | | |
135 | 2.15M | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { |
136 | 2.15M | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); |
137 | 2.15M | } 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 php_reflection.c:smart_str_append_ex Line | Count | Source | 135 | 702 | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 136 | 702 | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 137 | 702 | } |
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 | 1.09k | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 136 | 1.09k | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 137 | 1.09k | } |
Unexecuted instantiation: php_lexbor.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 | 2.11M | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 136 | 2.11M | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 137 | 2.11M | } |
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 | 30.1k | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 136 | 30.1k | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 137 | 30.1k | } |
Unexecuted instantiation: zend_execute.c:smart_str_append_ex zend_inheritance.c:smart_str_append_ex Line | Count | Source | 135 | 8.24k | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 136 | 8.24k | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 137 | 8.24k | } |
Unexecuted instantiation: zend_ini.c:smart_str_append_ex zend_smart_str.c:smart_str_append_ex Line | Count | Source | 135 | 10 | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 136 | 10 | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 137 | 10 | } |
zend.c:smart_str_append_ex Line | Count | Source | 135 | 3.50k | static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { | 136 | 3.50k | smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); | 137 | 3.50k | } |
|
138 | | |
139 | 75 | static zend_always_inline void smart_str_append_smart_str_ex(smart_str *dest, const smart_str *src, bool persistent) { |
140 | 75 | if (src->s && ZSTR_LEN(src->s)) { |
141 | 30 | smart_str_append_ex(dest, src->s, persistent); |
142 | 30 | } |
143 | 75 | } 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 php_reflection.c:smart_str_append_smart_str_ex Line | Count | Source | 139 | 75 | static zend_always_inline void smart_str_append_smart_str_ex(smart_str *dest, const smart_str *src, bool persistent) { | 140 | 75 | if (src->s && ZSTR_LEN(src->s)) { | 141 | 30 | smart_str_append_ex(dest, src->s, persistent); | 142 | 30 | } | 143 | 75 | } |
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: php_lexbor.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 | 323k | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { |
146 | 323k | char buf[32]; |
147 | 323k | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); |
148 | 323k | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); |
149 | 323k | } 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.12k | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 146 | 1.12k | char buf[32]; | 147 | 1.12k | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 148 | 1.12k | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 149 | 1.12k | } |
Unexecuted instantiation: json.c:smart_str_append_long_ex Unexecuted instantiation: php_reflection.c:smart_str_append_long_ex Unexecuted instantiation: spl_array.c:smart_str_append_long_ex Unexecuted instantiation: spl_dllist.c:smart_str_append_long_ex Unexecuted instantiation: spl_iterators.c:smart_str_append_long_ex Unexecuted instantiation: spl_observer.c:smart_str_append_long_ex Unexecuted instantiation: array.c:smart_str_append_long_ex Unexecuted instantiation: basic_functions.c:smart_str_append_long_ex Unexecuted instantiation: file.c:smart_str_append_long_ex Unexecuted instantiation: filters.c:smart_str_append_long_ex Unexecuted instantiation: head.c:smart_str_append_long_ex Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append_long_ex Unexecuted instantiation: http.c:smart_str_append_long_ex Unexecuted instantiation: mail.c:smart_str_append_long_ex Unexecuted instantiation: proc_open.c:smart_str_append_long_ex Unexecuted instantiation: string.c:smart_str_append_long_ex Unexecuted instantiation: url_scanner_ex.c:smart_str_append_long_ex Unexecuted instantiation: url.c:smart_str_append_long_ex var.c:smart_str_append_long_ex Line | Count | Source | 145 | 11.1k | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 146 | 11.1k | char buf[32]; | 147 | 11.1k | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 148 | 11.1k | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 149 | 11.1k | } |
Unexecuted instantiation: php_lexbor.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 | 232k | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 146 | 232k | char buf[32]; | 147 | 232k | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 148 | 232k | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 149 | 232k | } |
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 | 73.9k | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 146 | 73.9k | char buf[32]; | 147 | 73.9k | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 148 | 73.9k | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 149 | 73.9k | } |
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 | 259 | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 146 | 259 | char buf[32]; | 147 | 259 | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 148 | 259 | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 149 | 259 | } |
zend.c:smart_str_append_long_ex Line | Count | Source | 145 | 3.96k | static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { | 146 | 3.96k | char buf[32]; | 147 | 3.96k | char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); | 148 | 3.96k | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 149 | 3.96k | } |
|
150 | | |
151 | | static zend_always_inline void smart_str_append_long(smart_str *dest, zend_long num) |
152 | 323k | { |
153 | 323k | smart_str_append_long_ex(dest, num, false); |
154 | 323k | } 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.12k | { | 153 | 1.12k | smart_str_append_long_ex(dest, num, false); | 154 | 1.12k | } |
Unexecuted instantiation: json.c:smart_str_append_long Unexecuted instantiation: php_reflection.c:smart_str_append_long Unexecuted instantiation: spl_array.c:smart_str_append_long Unexecuted instantiation: spl_dllist.c:smart_str_append_long Unexecuted instantiation: spl_iterators.c:smart_str_append_long Unexecuted instantiation: spl_observer.c:smart_str_append_long Unexecuted instantiation: array.c:smart_str_append_long Unexecuted instantiation: basic_functions.c:smart_str_append_long Unexecuted instantiation: file.c:smart_str_append_long Unexecuted instantiation: filters.c:smart_str_append_long Unexecuted instantiation: head.c:smart_str_append_long Unexecuted instantiation: http_fopen_wrapper.c:smart_str_append_long Unexecuted instantiation: http.c:smart_str_append_long Unexecuted instantiation: mail.c:smart_str_append_long Unexecuted instantiation: proc_open.c:smart_str_append_long Unexecuted instantiation: string.c:smart_str_append_long Unexecuted instantiation: url_scanner_ex.c:smart_str_append_long Unexecuted instantiation: url.c:smart_str_append_long var.c:smart_str_append_long Line | Count | Source | 152 | 11.1k | { | 153 | 11.1k | smart_str_append_long_ex(dest, num, false); | 154 | 11.1k | } |
Unexecuted instantiation: php_lexbor.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 | 232k | { | 153 | 232k | smart_str_append_long_ex(dest, num, false); | 154 | 232k | } |
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 | 73.9k | { | 153 | 73.9k | smart_str_append_long_ex(dest, num, false); | 154 | 73.9k | } |
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 | 259 | { | 153 | 259 | smart_str_append_long_ex(dest, num, false); | 154 | 259 | } |
zend.c:smart_str_append_long Line | Count | Source | 152 | 3.96k | { | 153 | 3.96k | smart_str_append_long_ex(dest, num, false); | 154 | 3.96k | } |
|
155 | | |
156 | 66.5k | static zend_always_inline void smart_str_append_unsigned_ex(smart_str *dest, zend_ulong num, bool persistent) { |
157 | 66.5k | char buf[32]; |
158 | 66.5k | char *result = zend_print_ulong_to_buf(buf + sizeof(buf) - 1, num); |
159 | 66.5k | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); |
160 | 66.5k | } 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: 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 | 66.5k | static zend_always_inline void smart_str_append_unsigned_ex(smart_str *dest, zend_ulong num, bool persistent) { | 157 | 66.5k | char buf[32]; | 158 | 66.5k | char *result = zend_print_ulong_to_buf(buf + sizeof(buf) - 1, num); | 159 | 66.5k | smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); | 160 | 66.5k | } |
Unexecuted instantiation: php_lexbor.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 | 66.5k | { |
164 | 66.5k | smart_str_append_unsigned_ex(dest, num, false); |
165 | 66.5k | } 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: 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 | 66.5k | { | 164 | 66.5k | smart_str_append_unsigned_ex(dest, num, false); | 165 | 66.5k | } |
Unexecuted instantiation: php_lexbor.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 | 8.33M | { |
169 | 8.33M | smart_str_appendl_ex(dest, src, length, false); |
170 | 8.33M | } php_date.c:smart_str_appendl Line | Count | Source | 168 | 409k | { | 169 | 409k | smart_str_appendl_ex(dest, src, length, false); | 170 | 409k | } |
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 | 338k | { | 169 | 338k | smart_str_appendl_ex(dest, src, length, false); | 170 | 338k | } |
Unexecuted instantiation: json.c:smart_str_appendl php_reflection.c:smart_str_appendl Line | Count | Source | 168 | 160 | { | 169 | 160 | smart_str_appendl_ex(dest, src, length, false); | 170 | 160 | } |
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 | 154k | { | 169 | 154k | smart_str_appendl_ex(dest, src, length, false); | 170 | 154k | } |
Unexecuted instantiation: php_lexbor.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 | 7.39M | { | 169 | 7.39M | smart_str_appendl_ex(dest, src, length, false); | 170 | 7.39M | } |
Unexecuted instantiation: zend_dump.c:smart_str_appendl zend_ast.c:smart_str_appendl Line | Count | Source | 168 | 13.8k | { | 169 | 13.8k | smart_str_appendl_ex(dest, src, length, false); | 170 | 13.8k | } |
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 zend_execute.c:smart_str_appendl Line | Count | Source | 168 | 13 | { | 169 | 13 | smart_str_appendl_ex(dest, src, length, false); | 170 | 13 | } |
zend_inheritance.c:smart_str_appendl Line | Count | Source | 168 | 5.47k | { | 169 | 5.47k | smart_str_appendl_ex(dest, src, length, false); | 170 | 5.47k | } |
Unexecuted instantiation: zend_ini.c:smart_str_appendl zend_smart_str.c:smart_str_appendl Line | Count | Source | 168 | 11.8k | { | 169 | 11.8k | smart_str_appendl_ex(dest, src, length, false); | 170 | 11.8k | } |
Line | Count | Source | 168 | 648 | { | 169 | 648 | smart_str_appendl_ex(dest, src, length, false); | 170 | 648 | } |
|
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: 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: php_lexbor.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 | 5.77M | { |
177 | 5.77M | smart_str_appendl_ex(dest, src, strlen(src), false); |
178 | 5.77M | } 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 php_reflection.c:smart_str_appends Line | Count | Source | 176 | 2.47k | { | 177 | 2.47k | smart_str_appendl_ex(dest, src, strlen(src), false); | 178 | 2.47k | } |
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: php_lexbor.c:smart_str_appends fopen_wrappers.c:smart_str_appends Line | Count | Source | 176 | 23 | { | 177 | 23 | smart_str_appendl_ex(dest, src, strlen(src), false); | 178 | 23 | } |
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 | 5.56M | { | 177 | 5.56M | smart_str_appendl_ex(dest, src, strlen(src), false); | 178 | 5.56M | } |
zend_attributes.c:smart_str_appends Line | Count | Source | 176 | 196 | { | 177 | 196 | smart_str_appendl_ex(dest, src, strlen(src), false); | 178 | 196 | } |
Unexecuted instantiation: zend_builtin_functions.c:smart_str_appends zend_exceptions.c:smart_str_appends Line | Count | Source | 176 | 151k | { | 177 | 151k | smart_str_appendl_ex(dest, src, strlen(src), false); | 178 | 151k | } |
zend_execute.c:smart_str_appends Line | Count | Source | 176 | 13 | { | 177 | 13 | smart_str_appendl_ex(dest, src, strlen(src), false); | 178 | 13 | } |
zend_inheritance.c:smart_str_appends Line | Count | Source | 176 | 12.1k | { | 177 | 12.1k | smart_str_appendl_ex(dest, src, strlen(src), false); | 178 | 12.1k | } |
Unexecuted instantiation: zend_ini.c:smart_str_appends zend_smart_str.c:smart_str_appends Line | Count | Source | 176 | 27.8k | { | 177 | 27.8k | smart_str_appendl_ex(dest, src, strlen(src), false); | 178 | 27.8k | } |
Line | Count | Source | 176 | 18.1k | { | 177 | 18.1k | smart_str_appendl_ex(dest, src, strlen(src), false); | 178 | 18.1k | } |
|
179 | | static zend_always_inline void smart_str_append(smart_str *dest, const zend_string *src) |
180 | 2.15M | { |
181 | 2.15M | smart_str_append_ex(dest, src, false); |
182 | 2.15M | } 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 php_reflection.c:smart_str_append Line | Count | Source | 180 | 672 | { | 181 | 672 | smart_str_append_ex(dest, src, false); | 182 | 672 | } |
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 | 1.09k | { | 181 | 1.09k | smart_str_append_ex(dest, src, false); | 182 | 1.09k | } |
Unexecuted instantiation: php_lexbor.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 | 2.11M | { | 181 | 2.11M | smart_str_append_ex(dest, src, false); | 182 | 2.11M | } |
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 | 30.1k | { | 181 | 30.1k | smart_str_append_ex(dest, src, false); | 182 | 30.1k | } |
Unexecuted instantiation: zend_execute.c:smart_str_append zend_inheritance.c:smart_str_append Line | Count | Source | 180 | 8.24k | { | 181 | 8.24k | smart_str_append_ex(dest, src, false); | 182 | 8.24k | } |
Unexecuted instantiation: zend_ini.c:smart_str_append zend_smart_str.c:smart_str_append Line | Count | Source | 180 | 10 | { | 181 | 10 | smart_str_append_ex(dest, src, false); | 182 | 10 | } |
Line | Count | Source | 180 | 3.50k | { | 181 | 3.50k | smart_str_append_ex(dest, src, false); | 182 | 3.50k | } |
|
183 | | static zend_always_inline void smart_str_appendc(smart_str *dest, char ch) |
184 | 142M | { |
185 | 142M | smart_str_appendc_ex(dest, ch, false); |
186 | 142M | } 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 | 36.3k | { | 185 | 36.3k | smart_str_appendc_ex(dest, ch, false); | 186 | 36.3k | } |
Unexecuted instantiation: json.c:smart_str_appendc php_reflection.c:smart_str_appendc Line | Count | Source | 184 | 1.53k | { | 185 | 1.53k | smart_str_appendc_ex(dest, ch, false); | 186 | 1.53k | } |
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 | 80.4k | { | 185 | 80.4k | smart_str_appendc_ex(dest, ch, false); | 186 | 80.4k | } |
Unexecuted instantiation: php_lexbor.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 | 133M | { | 185 | 133M | smart_str_appendc_ex(dest, ch, false); | 186 | 133M | } |
Unexecuted instantiation: zend_dump.c:smart_str_appendc zend_ast.c:smart_str_appendc Line | Count | Source | 184 | 8.85M | { | 185 | 8.85M | smart_str_appendc_ex(dest, ch, false); | 186 | 8.85M | } |
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 | 134k | { | 185 | 134k | smart_str_appendc_ex(dest, ch, false); | 186 | 134k | } |
Unexecuted instantiation: zend_execute.c:smart_str_appendc zend_inheritance.c:smart_str_appendc Line | Count | Source | 184 | 12.3k | { | 185 | 12.3k | smart_str_appendc_ex(dest, ch, false); | 186 | 12.3k | } |
Unexecuted instantiation: zend_ini.c:smart_str_appendc zend_smart_str.c:smart_str_appendc Line | Count | Source | 184 | 59.5k | { | 185 | 59.5k | smart_str_appendc_ex(dest, ch, false); | 186 | 59.5k | } |
Line | Count | Source | 184 | 78.3k | { | 185 | 78.3k | smart_str_appendc_ex(dest, ch, false); | 186 | 78.3k | } |
|
187 | | static zend_always_inline void smart_str_append_smart_str(smart_str *dest, const smart_str *src) |
188 | 75 | { |
189 | 75 | smart_str_append_smart_str_ex(dest, src, false); |
190 | 75 | } 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 php_reflection.c:smart_str_append_smart_str Line | Count | Source | 188 | 75 | { | 189 | 75 | smart_str_append_smart_str_ex(dest, src, false); | 190 | 75 | } |
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: php_lexbor.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: 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: php_lexbor.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: 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: php_lexbor.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 |