/PHP-7.1/ext/json/ |
H A D | json_encoder.c | 88 smart_str_appendl(buf, " ", 4); in php_json_pretty_print_indent() 114 smart_str_appendl(buf, num, len); in php_json_encode_double() 147 smart_str_appendl(buf, "null", 4); in php_json_encode_array() 299 smart_str_appendl(buf, "\"\"", 2); in php_json_escape_string() 368 smart_str_appendl(buf, "\\u", 2); in php_json_escape_string() 375 smart_str_appendl(buf, "\\u", 2); in php_json_escape_string() 491 smart_str_appendl(buf, "null", 4); in php_json_encode_serializable_object() 506 smart_str_appendl(buf, "null", 4); in php_json_encode_serializable_object() 517 smart_str_appendl(buf, "null", 4); in php_json_encode_serializable_object() 544 smart_str_appendl(buf, "null", 4); in php_json_encode_zval() [all …]
|
/PHP-7.1/ext/standard/ |
H A D | var.c | 434 smart_str_appendl(buf, " => ", 4); in php_object_element_export() 542 smart_str_appendl(buf, "))", 2); in php_var_export_ex() 641 smart_str_appendl(buf, "i:", 2); in php_var_serialize_long() 649 smart_str_appendl(buf, "s:", 2); in php_var_serialize_string() 651 smart_str_appendl(buf, ":\"", 2); in php_var_serialize_string() 652 smart_str_appendl(buf, str, len); in php_var_serialize_string() 653 smart_str_appendl(buf, "\";", 2); in php_var_serialize_string() 662 smart_str_appendl(buf, "O:", 2); in php_var_serialize_class_name() 664 smart_str_appendl(buf, ":\"", 2); in php_var_serialize_class_name() 666 smart_str_appendl(buf, "\":", 2); in php_var_serialize_class_name() [all …]
|
H A D | http.c | 152 smart_str_appendl(formstr, arg_sep, arg_sep_len); in php_url_encode_hash_ex() 155 smart_str_appendl(formstr, key_prefix, key_prefix_len); in php_url_encode_hash_ex() 168 smart_str_appendl(formstr, num_prefix, num_prefix_len); in php_url_encode_hash_ex() 172 smart_str_appendl(formstr, key_suffix, key_suffix_len); in php_url_encode_hash_ex() 173 smart_str_appendl(formstr, "=", 1); in php_url_encode_hash_ex() 190 smart_str_appendl(formstr, "0", sizeof("0")-1); in php_url_encode_hash_ex() 193 smart_str_appendl(formstr, "1", sizeof("1")-1); in php_url_encode_hash_ex() 200 smart_str_appendl(formstr, ekey, ekey_len); in php_url_encode_hash_ex()
|
H A D | url_scanner_ex.c | 344 smart_str_appendl(&ctx->result, start, YYCURSOR - start); in passthru() 456 smart_str_appendl(&ctx->tag, start, YYCURSOR - start); in handle_tag() 477 smart_str_appendl(&ctx->arg, start, YYCURSOR - start); in handle_arg() 502 smart_str_appendl(&ctx->buf, newdata, newlen); in xx_mainloop() 1010 smart_str_appendl(&surl, url, urllen); in php_url_scanner_adapt_single_url() 1048 smart_str_appendl(&ctx->result, "", 0); in url_adapt_ext() 1122 smart_str_appendl(&ctx->result, output, output_len); in php_url_scanner_session_handler_impl() 1185 smart_str_appendl(&sname, name, name_len); in php_url_scanner_add_var_impl() 1186 smart_str_appendl(&svalue, value, value_len); in php_url_scanner_add_var_impl() 1187 smart_str_appendl(&hname, name, name_len); in php_url_scanner_add_var_impl() [all …]
|
H A D | url_scanner_ex.re | 347 smart_str_appendl(&ctx->result, start, YYCURSOR - start); 459 smart_str_appendl(&ctx->tag, start, YYCURSOR - start); 480 smart_str_appendl(&ctx->arg, start, YYCURSOR - start); 505 smart_str_appendl(&ctx->buf, newdata, newlen); 595 smart_str_appendl(&surl, url, urllen); 633 smart_str_appendl(&ctx->result, "", 0); 707 smart_str_appendl(&ctx->result, output, output_len); 770 smart_str_appendl(&sname, name, name_len); 771 smart_str_appendl(&svalue, value, value_len); 772 smart_str_appendl(&hname, name, name_len); [all …]
|
H A D | http_fopen_wrapper.c | 246 smart_str_appendl(&header, "CONNECT ", sizeof("CONNECT ")-1); in php_stream_url_wrap_http_ex() 250 smart_str_appendl(&header, " HTTP/1.0\r\n", sizeof(" HTTP/1.0\r\n")-1); in php_stream_url_wrap_http_ex() 272 smart_str_appendl(&header, s, p - s); in php_stream_url_wrap_http_ex() 273 smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); in php_stream_url_wrap_http_ex() 296 smart_str_appendl(&header, s, p - s); in php_stream_url_wrap_http_ex() 297 smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); in php_stream_url_wrap_http_ex() 309 smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); in php_stream_url_wrap_http_ex() 431 smart_str_appendl(&tmpstr, "\r\n", sizeof("\r\n") - 1); in php_stream_url_wrap_http_ex() 610 smart_str_appendl(&req_buf, ua, ua_len); in php_stream_url_wrap_http_ex() 654 smart_str_appendl(&req_buf, Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
|
/PHP-7.1/ext/wddx/ |
H A D | php_wddx_api.h | 52 #define php_wddx_add_chunk_ex(packet, str, len) smart_str_appendl(packet, str, len) 53 #define php_wddx_add_chunk_static(packet, str) smart_str_appendl(packet, str, sizeof(str)-1)
|
/PHP-7.1/ext/soap/ |
H A D | php_http.c | 32 smart_str_appendl(str,const,sizeof(const)-1) 44 smart_str_appendl(&auth, Z_STRVAL_P(login), Z_STRLEN_P(login)); in proxy_authentication() 48 smart_str_appendl(&auth, Z_STRVAL_P(password), Z_STRLEN_P(password)); in proxy_authentication() 53 smart_str_appendl(soap_headers, (char*)ZSTR_VAL(buf), ZSTR_LEN(buf)); in proxy_authentication() 73 smart_str_appendl(&auth, Z_STRVAL_P(login), Z_STRLEN_P(login)); in basic_authentication() 152 smart_str_appendl(soap_headers, s, p-s); in http_context_headers() 770 smart_str_appendl(&soap_headers, nc, 8); in make_http_soap_request() 772 smart_str_appendl(&soap_headers, cnonce, 8); in make_http_soap_request() 775 smart_str_appendl(&soap_headers, response, 32); in make_http_soap_request() 864 smart_str_appendl(&soap_headers, request->val, request->len); in make_http_soap_request() [all …]
|
H A D | soap.c | 4579 smart_str_appendl(buf, "list(", 5); 4582 smart_str_appendl(buf, ", ", 2); 4589 smart_str_appendl(buf, " $", 2); 4593 smart_str_appendl(buf, ") ", 2); 4596 smart_str_appendl(buf, "void ", 5); 4606 smart_str_appendl(buf, ", ", 2); 4613 smart_str_appendl(buf, " $", 2); 4629 smart_str_appendl(buf, ";\n", 2); 4681 smart_str_appendl(buf, " {", 2); 4695 smart_str_appendl(buf, " {", 2); [all …]
|
/PHP-7.1/Zend/ |
H A D | zend_smart_str.h | 28 smart_str_appendl((dest), (src), strlen(src)) 31 #define smart_str_appendl(dest, src, len) \ macro 119 smart_str_appendl(dest, src, len); in smart_str_setl()
|
H A D | zend_inheritance.c | 413 smart_str_appendl(str, class_name, class_name_len); in zend_append_type_hint() 419 smart_str_appendl(str, "int", 3); in zend_append_type_hint() 421 smart_str_appendl(str, "bool", 4); in zend_append_type_hint() 443 …smart_str_appendl(&str, ZSTR_VAL(fptr->common.scope->name), strlen(ZSTR_VAL(fptr->common.scope->na… in zend_get_function_declaration() 476 smart_str_appendl(&str, ZSTR_VAL(arg_info->name), ZSTR_LEN(arg_info->name)); in zend_get_function_declaration() 515 smart_str_appendl(&str, Z_STRVAL_P(zv), MIN(Z_STRLEN_P(zv), 10)); in zend_get_function_declaration()
|
H A D | zend_ast.c | 933 smart_str_appendl(str, ZSTR_VAL(key), ZSTR_LEN(key)); in zend_ast_export_zval() 963 smart_str_appendl(str, Z_STRVAL_P(zv), Z_STRLEN_P(zv)); in zend_ast_export_zval() 1075 smart_str_appendl(str, ZSTR_VAL(decl->name), ZSTR_LEN(decl->name)); in zend_ast_export_ex() 1115 smart_str_appendl(str, ZSTR_VAL(decl->name), ZSTR_LEN(decl->name)); in zend_ast_export_ex()
|
/PHP-7.1/ext/dom/ |
H A D | documenttype.c | 194 …smart_str_appendl(&ret_buf, (const char *) xmlOutputBufferGetContent(buff), xmlOutputBufferGetSize… in dom_documenttype_internal_subset_read() 196 smart_str_appendl(&ret_buf, (char *) buff->buffer->content, buff->buffer->use); in dom_documenttype_internal_subset_read()
|
/PHP-7.1/ext/intl/locale/ |
H A D | locale_methods.c | 793 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in append_key_value() 795 smart_str_appendl(loc_name, Z_STRVAL_P(ele_value) , Z_STRLEN_P(ele_value)); in append_key_value() 809 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in add_prefix() 810 smart_str_appendl(loc_name, PRIVATE_PREFIX , sizeof(PRIVATE_PREFIX)-1); in add_prefix() 834 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in append_multiple_key_values() 835 smart_str_appendl(loc_name, Z_STRVAL_P(ele_value) , Z_STRLEN_P(ele_value)); in append_multiple_key_values() 848 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in append_multiple_key_values() 849 smart_str_appendl(loc_name, Z_STRVAL_P(data) , Z_STRLEN_P(data)); in append_multiple_key_values() 881 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in append_multiple_key_values() 882 smart_str_appendl(loc_name, Z_STRVAL_P(ele_value) , Z_STRLEN_P(ele_value)); in append_multiple_key_values()
|
/PHP-7.1/ext/mbstring/ |
H A D | php_mbregex.c | 946 smart_str_appendl(&out_buf, (char *)pos, (size_t)((OnigUChar *)(string + regs->beg[0]) - pos)); in _php_mb_regex_ereg_replace_exec() 961 smart_str_appendl(pbuf, string + regs->beg[n], regs->end[n] - regs->beg[n]); in _php_mb_regex_ereg_replace_exec() 966 smart_str_appendl(pbuf, p, fwd); in _php_mb_regex_ereg_replace_exec() 997 smart_str_appendl(&out_buf, Z_STRVAL(v), Z_STRLEN(v)); in _php_mb_regex_ereg_replace_exec() 1021 smart_str_appendl(&out_buf, Z_STRVAL(retval), Z_STRLEN(retval)); in _php_mb_regex_ereg_replace_exec() 1037 smart_str_appendl(&out_buf, (char *)pos, 1); in _php_mb_regex_ereg_replace_exec() 1044 smart_str_appendl(&out_buf, (char *)pos, string_lim - pos); in _php_mb_regex_ereg_replace_exec()
|
/PHP-7.1/ext/mysqli/ |
H A D | mysqli_nonapi.c | 1038 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1); 1040 smart_str_appendl(&tmp_str, "WITH CONSISTENT SNAPSHOT", sizeof("WITH CONSISTENT SNAPSHOT") - 1); 1048 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1); 1050 smart_str_appendl(&tmp_str, "READ WRITE", sizeof("READ WRITE") - 1); 1053 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1); 1055 smart_str_appendl(&tmp_str, "READ ONLY", sizeof("READ ONLY") - 1);
|
H A D | mysqli_api.c | 45 smart_str_appendl(str, " ", sizeof(" ") - 1); in mysqli_tx_cor_options_to_string() 47 smart_str_appendl(str, "AND CHAIN", sizeof("AND CHAIN") - 1); in mysqli_tx_cor_options_to_string() 50 smart_str_appendl(str, " ", sizeof(" ") - 1); in mysqli_tx_cor_options_to_string() 52 smart_str_appendl(str, "AND NO CHAIN", sizeof("AND NO CHAIN") - 1); in mysqli_tx_cor_options_to_string() 57 smart_str_appendl(str, " ", sizeof(" ") - 1); in mysqli_tx_cor_options_to_string() 59 smart_str_appendl(str, "RELEASE", sizeof("RELEASE") - 1); in mysqli_tx_cor_options_to_string() 62 smart_str_appendl(str, " ", sizeof(" ") - 1); in mysqli_tx_cor_options_to_string() 64 smart_str_appendl(str, "NO RELEASE", sizeof("NO RELEASE") - 1); in mysqli_tx_cor_options_to_string()
|
/PHP-7.1/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 2035 smart_str_appendl(str, " ", sizeof(" ") - 1); 2037 smart_str_appendl(str, "AND CHAIN", sizeof("AND CHAIN") - 1); 2040 smart_str_appendl(str, " ", sizeof(" ") - 1); 2042 smart_str_appendl(str, "AND NO CHAIN", sizeof("AND NO CHAIN") - 1); 2047 smart_str_appendl(str, " ", sizeof(" ") - 1); 2049 smart_str_appendl(str, "RELEASE", sizeof("RELEASE") - 1); 2052 smart_str_appendl(str, " ", sizeof(" ") - 1); 2054 smart_str_appendl(str, "NO RELEASE", sizeof("NO RELEASE") - 1); 2161 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1); 2173 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1); [all …]
|
/PHP-7.1/ext/spl/ |
H A D | spl_iterators.c | 968 smart_str_appendl(&intern->prefix[0], "", 0); in spl_RecursiveIteratorIterator_new_ex() 969 smart_str_appendl(&intern->prefix[1], "| ", 2); in spl_RecursiveIteratorIterator_new_ex() 970 smart_str_appendl(&intern->prefix[2], " ", 2); in spl_RecursiveIteratorIterator_new_ex() 971 smart_str_appendl(&intern->prefix[3], "|-", 2); in spl_RecursiveIteratorIterator_new_ex() 972 smart_str_appendl(&intern->prefix[4], "\\-", 2); in spl_RecursiveIteratorIterator_new_ex() 973 smart_str_appendl(&intern->prefix[5], "", 0); in spl_RecursiveIteratorIterator_new_ex() 975 smart_str_appendl(&intern->postfix[0], "", 0); in spl_RecursiveIteratorIterator_new_ex() 1042 smart_str_appendl(&str, ZSTR_VAL(object->prefix[0].s), ZSTR_LEN(object->prefix[0].s)); in spl_recursive_tree_iterator_get_prefix() 1065 smart_str_appendl(&str, ZSTR_VAL(object->prefix[5].s), ZSTR_LEN(object->prefix[5].s)); in spl_recursive_tree_iterator_get_prefix() 1126 smart_str_appendl(&object->prefix[part], prefix, prefix_len); in SPL_METHOD() [all …]
|
/PHP-7.1/ext/iconv/ |
H A D | iconv.c | 872 smart_str_appendl(pretval, "", 0); in _php_iconv_substr() 1229 smart_str_appendl(pretval, ": ", sizeof(": ") - 1); in _php_iconv_mime_encode() 1241 smart_str_appendl(pretval, lfchars, lfchars_len); in _php_iconv_mime_encode() 1246 smart_str_appendl(pretval, "=?", sizeof("=?") - 1); in _php_iconv_mime_encode() 1248 smart_str_appendl(pretval, out_charset, out_charset_len); in _php_iconv_mime_encode() 1347 smart_str_appendl(pretval, ZSTR_VAL(encoded), ZSTR_LEN(encoded)); in _php_iconv_mime_encode() 1349 smart_str_appendl(pretval, "?=", sizeof("?=") - 1); in _php_iconv_mime_encode() 1452 smart_str_appendl(pretval, "?=", sizeof("?=") - 1); in _php_iconv_mime_encode()
|
/PHP-7.1/ext/session/ |
H A D | session.c | 815 smart_str_appendl(&buf, ZSTR_VAL(key), ZSTR_LEN(key)); in PS_SERIALIZER_ENCODE_FUNC() 820 smart_str_appendl(&buf, ZSTR_VAL(key), ZSTR_LEN(key)); 892 smart_str_appendl(&buf, ZSTR_VAL(key), ZSTR_LEN(key)); 903 smart_str_appendl(&buf, ZSTR_VAL(key), ZSTR_LEN(key)); 1264 smart_str_appendl(&ncookie, "Set-Cookie: ", sizeof("Set-Cookie: ")-1); 1265 smart_str_appendl(&ncookie, ZSTR_VAL(e_session_name), ZSTR_LEN(e_session_name)); 1267 smart_str_appendl(&ncookie, ZSTR_VAL(e_id), ZSTR_LEN(e_id)); 1282 smart_str_appendl(&ncookie, ZSTR_VAL(date_fmt), ZSTR_LEN(date_fmt)); 2892 smart_str_appendl(&progress->key, *data->value, value_len);
|
/PHP-7.1/ext/filter/ |
H A D | sanitizing_filters.c | 43 smart_str_appendl(&str, "&#", 2); in php_filter_encode_html()
|
/PHP-7.1/ext/pgsql/ |
H A D | pgsql.c | 5579 smart_str_appendl(&querystr, escaped, new_len); 5587 smart_str_appendl(&querystr, escaped, new_len); 5812 smart_str_appendl(&str, Z_STRVAL_P(src), Z_STRLEN_P(src)); 6562 smart_str_appendl(querystr, token, len); 6573 smart_str_appendl(querystr, tmp, len); 6650 smart_str_appendl(&querystr, tmp, new_len); 6664 smart_str_appendl(&querystr, "NULL", sizeof("NULL")-1); 6804 smart_str_appendl(querystr, ZSTR_VAL(fld), ZSTR_LEN(fld)); 6819 smart_str_appendl(querystr, tmp, new_len); 6833 smart_str_appendl(querystr, "NULL", sizeof("NULL")-1); [all …]
|
/PHP-7.1/sapi/phpdbg/ |
H A D | phpdbg_prompt.c | 486 smart_str_appendl(&code, PHPDBG_G(input_buffer), nl - PHPDBG_G(input_buffer)); in PHPDBG_COMMAND() 497 smart_str_appendl(&code, PHPDBG_G(input_buffer), nl - PHPDBG_G(input_buffer)); in PHPDBG_COMMAND() 502 smart_str_appendl(&code, PHPDBG_G(input_buffer), buf - PHPDBG_G(input_buffer)); in PHPDBG_COMMAND() 505 smart_str_appendl(&code, PHPDBG_G(input_buffer), PHPDBG_G(input_buflen)); in PHPDBG_COMMAND()
|
/PHP-7.1/sapi/apache2handler/ |
H A D | php_functions.c | 385 smart_str_appendl(&tmp1, s, (p - s)); in PHP_MINFO_FUNCTION()
|