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