/php-src/ext/json/ |
H A D | json_encoder.c | 72 smart_str_appendl(buf, " ", 4); in php_json_pretty_print_indent() 105 smart_str_appendl(buf, num, len); in php_json_encode_double() 132 smart_str_appendl(buf, "null", 4); in php_json_encode_array() 155 smart_str_appendl(buf, "null", 4); in php_json_encode_array() 193 smart_str_appendl(buf, "\"\"", 2); in php_json_encode_array() 236 smart_str_appendl(buf, "null", 4); in php_json_encode_array() 378 smart_str_appendl(buf, "\"\"", 2); in php_json_escape_string() 416 smart_str_appendl(buf, s, pos); in php_json_escape_string() 421 smart_str_appendl(buf, s, pos); in php_json_escape_string() 456 smart_str_appendl(buf, s, pos); in php_json_escape_string() [all …]
|
/php-src/ext/standard/ |
H A D | var.c | 458 smart_str_appendl(buf, " => ", 4); in php_array_element_export() 469 smart_str_appendl(buf, "' => ", 5); in php_array_element_export() 501 smart_str_appendl(buf, " => ", 4); in php_object_element_export() 524 smart_str_appendl(buf, "true", 4); in php_var_export_ex() 663 smart_str_appendl(buf, "))", 2); in php_var_export_ex() 976 smart_str_appendl(buf, ":{", 2); in php_var_serialize_nested_data() 1063 smart_str_appendl(buf, "N;", 2); in php_var_serialize_intern() 1066 smart_str_appendl(buf, "R:", 2); in php_var_serialize_intern() 1071 smart_str_appendl(buf, "r:", 2); in php_var_serialize_intern() 1089 smart_str_appendl(buf, "N;", 2); in php_var_serialize_intern() [all …]
|
H A D | url_scanner_ex.re | 354 smart_str_appendl(&ctx->result, start, YYCURSOR - start); 464 smart_str_appendl(&ctx->tag, start, YYCURSOR - start); 485 smart_str_appendl(&ctx->arg, start, YYCURSOR - start); 510 smart_str_appendl(&ctx->buf, newdata, newlen); 600 smart_str_appendl(&surl, url, urllen); 638 smart_str_appendl(&ctx->result, "", 0); 708 smart_str_appendl(&ctx->result, output, output_len); 773 smart_str_appendl(&sname, name, name_len); 774 smart_str_appendl(&svalue, value, value_len); 775 smart_str_appendl(&hname, name, name_len); [all …]
|
H A D | http_fopen_wrapper.c | 132 smart_str_appendl(header, s, p - s); in php_stream_handle_proxy_authorization_header() 133 smart_str_appendl(header, "\r\n", sizeof("\r\n")-1); in php_stream_handle_proxy_authorization_header() 277 smart_str_appendl(&header, "CONNECT ", sizeof("CONNECT ")-1); in php_stream_url_wrap_http_ex() 281 smart_str_appendl(&header, " HTTP/1.0\r\n", sizeof(" HTTP/1.0\r\n")-1); in php_stream_url_wrap_http_ex() 306 smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); in php_stream_url_wrap_http_ex() 428 smart_str_appendl(&tmpstr, "\r\n", sizeof("\r\n") - 1); in php_stream_url_wrap_http_ex() 593 smart_str_appendl(&req_buf, ua, ua_len); in php_stream_url_wrap_http_ex() 637 smart_str_appendl(&req_buf, Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
|
H A D | http.c | 51 smart_str_appendl(form_str, num_prefix, num_prefix_len); in php_url_encode_scalar() 56 smart_str_appendl(form_str, "%5D", strlen("%5D")); in php_url_encode_scalar()
|
H A D | mail.c | 160 smart_str_appendl(s, ": ", 2); in php_mail_build_headers_elem() 162 smart_str_appendl(s, "\r\n", 2); in php_mail_build_headers_elem()
|
/php-src/ext/mbstring/ |
H A D | php_mbregex.c | 727 smart_str_appendl(pbuf, p, clen); in mb_regex_substitute() 735 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute() 754 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute() 766 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute() 788 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute() 795 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute() 816 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute() 821 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute() 830 smart_str_appendl(pbuf, p, eos - p); in mb_regex_substitute() 1124 smart_str_appendl(&out_buf, (char *)pos, 1); in _php_mb_regex_ereg_replace_exec() [all …]
|
/php-src/ext/soap/ |
H A D | php_http.c | 28 smart_str_appendl(str,const,sizeof(const)-1) 135 smart_str_appendl(soap_headers, s, p-s); in http_context_add_header() 614 smart_str_appendl(&soap_headers, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); in make_http_soap_request() 622 smart_str_appendl(&soap_headers, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); in make_http_soap_request() 642 smart_str_appendl(&soap_headers, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); in make_http_soap_request() 659 smart_str_appendl(&soap_headers, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); in make_http_soap_request() 809 smart_str_appendl(&soap_headers, nc, 8); in make_http_soap_request() 811 smart_str_appendl(&soap_headers, cnonce, 8); in make_http_soap_request() 814 smart_str_appendl(&soap_headers, response, 32); in make_http_soap_request() 898 smart_str_appendl(&soap_headers, request->val, request->len); in make_http_soap_request() [all …]
|
H A D | soap.c | 4315 smart_str_appendl(buf, "list(", 5); in function_to_string() 4318 smart_str_appendl(buf, ", ", 2); in function_to_string() 4325 smart_str_appendl(buf, " $", 2); in function_to_string() 4329 smart_str_appendl(buf, ") ", 2); in function_to_string() 4332 smart_str_appendl(buf, "void ", 5); in function_to_string() 4342 smart_str_appendl(buf, ", ", 2); in function_to_string() 4349 smart_str_appendl(buf, " $", 2); in function_to_string() 4366 smart_str_appendl(buf, ";\n", 2); in model_to_string() 4419 smart_str_appendl(buf, " {", 2); in type_to_string() 4433 smart_str_appendl(buf, " {", 2); in type_to_string() [all …]
|
/php-src/Zend/ |
H A D | zend_smart_str.c | 123 smart_str_appendl(str, ".0", 2); in smart_str_append_double() 190 smart_str_appendl(str, "...", sizeof("...")-1); in smart_str_append_escaped_truncated() 200 smart_str_appendl(dest, "NULL", sizeof("NULL")-1); in smart_str_append_scalar()
|
H A D | zend_smart_str.h | 167 static zend_always_inline void smart_str_appendl(smart_str *dest, const char *src, size_t length) in smart_str_appendl() function 194 smart_str_appendl(dest, src, len); in smart_str_setl()
|
/php-src/ext/intl/locale/ |
H A D | locale_methods.c | 818 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in append_key_value() 820 smart_str_appendl(loc_name, Z_STRVAL_P(ele_value) , Z_STRLEN_P(ele_value)); in append_key_value() 834 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in add_prefix() 835 smart_str_appendl(loc_name, PRIVATE_PREFIX , sizeof(PRIVATE_PREFIX)-1); in add_prefix() 857 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in append_multiple_key_values() 858 smart_str_appendl(loc_name, Z_STRVAL_P(ele_value) , Z_STRLEN_P(ele_value)); in append_multiple_key_values() 871 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in append_multiple_key_values() 872 smart_str_appendl(loc_name, Z_STRVAL_P(data) , Z_STRLEN_P(data)); in append_multiple_key_values() 905 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in append_multiple_key_values() 906 smart_str_appendl(loc_name, Z_STRVAL_P(ele_value) , Z_STRLEN_P(ele_value)); in append_multiple_key_values()
|
/php-src/ext/dom/ |
H A D | documenttype.c | 144 …smart_str_appendl(&ret_buf, (const char *) xmlOutputBufferGetContent(buff), xmlOutputBufferGetSize… in dom_documenttype_internal_subset_read()
|
H A D | xpath.c | 512 smart_str_appendl(&output, ZEND_STRL("concat(")); in PHP_METHOD() 523 smart_str_appendl(&output, ptr, bytes_until_quote); in PHP_METHOD()
|
H A D | inner_outer_html_mixin.c | 47 smart_str_appendl(output, buf, len); in dom_inner_html_write_string_len() 54 smart_str_appendl(str, buffer, len); in dom_write_smart_str()
|
H A D | xml_document.c | 259 smart_str_appendl(str, buffer, len); in php_new_dom_write_smart_str()
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 1669 smart_str_appendl(str, " ", sizeof(" ") - 1); 1671 smart_str_appendl(str, "AND CHAIN", sizeof("AND CHAIN") - 1); 1674 smart_str_appendl(str, " ", sizeof(" ") - 1); 1681 smart_str_appendl(str, " ", sizeof(" ") - 1); 1683 smart_str_appendl(str, "RELEASE", sizeof("RELEASE") - 1); 1686 smart_str_appendl(str, " ", sizeof(" ") - 1); 1688 smart_str_appendl(str, "NO RELEASE", sizeof("NO RELEASE") - 1); 1780 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1); 1786 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1); 1791 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1); [all …]
|
/php-src/ext/zend_test/ |
H A D | observer.c | 106 smart_str_appendl(buf, "NULL", 4); in get_retval_info() 109 smart_str_appendl(buf, "object(", 7); in get_retval_info() 111 smart_str_appendl(buf, ")#", 2); in get_retval_info()
|
/php-src/ext/iconv/ |
H A D | iconv.c | 668 smart_str_appendl(pretval, "", 0); in _php_iconv_substr() 971 smart_str_appendl(pretval, ": ", sizeof(": ") - 1); in _php_iconv_mime_encode() 984 smart_str_appendl(pretval, lfchars, lfchars_len); in _php_iconv_mime_encode() 989 smart_str_appendl(pretval, "=?", sizeof("=?") - 1); in _php_iconv_mime_encode() 991 smart_str_appendl(pretval, out_charset, out_charset_len); in _php_iconv_mime_encode() 1076 smart_str_appendl(pretval, ZSTR_VAL(encoded), ZSTR_LEN(encoded)); in _php_iconv_mime_encode() 1078 smart_str_appendl(pretval, "?=", sizeof("?=") - 1); in _php_iconv_mime_encode() 1161 smart_str_appendl(pretval, "?=", sizeof("?=") - 1); in _php_iconv_mime_encode()
|
/php-src/ext/filter/ |
H A D | sanitizing_filters.c | 41 smart_str_appendl(&str, "&#", 2); in php_filter_encode_html()
|
/php-src/ext/session/ |
H A D | session.c | 1024 smart_str_appendl(&buf, ZSTR_VAL(key), ZSTR_LEN(key)); in PS_SERIALIZER_ENCODE_FUNC() 1087 smart_str_appendl(&buf, ZSTR_VAL(key), ZSTR_LEN(key)); in PS_SERIALIZER_ENCODE_FUNC() 1436 smart_str_appendl(&ncookie, "Set-Cookie: ", sizeof("Set-Cookie: ")-1); in php_session_send_cookie() 1437 smart_str_appendl(&ncookie, PS(session_name), strlen(PS(session_name))); in php_session_send_cookie() 1439 smart_str_appendl(&ncookie, ZSTR_VAL(e_id), ZSTR_LEN(e_id)); in php_session_send_cookie() 1453 smart_str_appendl(&ncookie, ZSTR_VAL(date_fmt), ZSTR_LEN(date_fmt)); in php_session_send_cookie() 3238 smart_str_appendl(&progress->key, *data->value, value_len); in php_session_rfc1867_callback()
|
/php-src/ext/pgsql/ |
H A D | pgsql.c | 674 smart_str_appendl(&str, connstring, connstring_len); in php_pgsql_do_connect() 4562 smart_str_appendl(&querystr, escaped, new_len); in php_pgsql_meta_data() 4571 smart_str_appendl(&querystr, escaped, new_len); in php_pgsql_meta_data() 5493 smart_str_appendl(querystr, ZSTR_VAL(table), len); in build_tablename() 5505 smart_str_appendl(querystr, after_dot, len); in build_tablename() 5580 smart_str_appendl(&querystr, tmp, new_len); in php_pgsql_insert() 5591 smart_str_appendl(&querystr, buf, snprintf(buf, sizeof(buf), "%F", Z_DVAL_P(val))); in php_pgsql_insert() 5594 smart_str_appendl(&querystr, "NULL", sizeof("NULL")-1); in php_pgsql_insert() 5754 smart_str_appendl(querystr, tmp, new_len); in build_assignment_string() 5770 smart_str_appendl(querystr, "NULL", sizeof("NULL")-1); in build_assignment_string() [all …]
|
/php-src/sapi/apache2handler/ |
H A D | php_functions.c | 365 smart_str_appendl(&tmp1, s, (p - s)); in PHP_MINFO_FUNCTION()
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_prompt.c | 477 smart_str_appendl(&code, PHPDBG_G(input_buffer), nl - PHPDBG_G(input_buffer)); in PHPDBG_COMMAND() 488 smart_str_appendl(&code, PHPDBG_G(input_buffer), nl - PHPDBG_G(input_buffer)); in PHPDBG_COMMAND() 493 smart_str_appendl(&code, PHPDBG_G(input_buffer), buf - PHPDBG_G(input_buffer)); in PHPDBG_COMMAND() 496 smart_str_appendl(&code, PHPDBG_G(input_buffer), PHPDBG_G(input_buflen)); in PHPDBG_COMMAND()
|
/php-src/main/ |
H A D | spprintf.c | 126 smart_str_appendl((smart_str *)(xbuf), (str), (len)); \
|