Home
last modified time | relevance | path

Searched refs:smart_str_appendl (Results 1 – 25 of 42) sorted by relevance

12

/PHP-7.2/ext/json/
H A Djson_encoder.c86 smart_str_appendl(buf, " ", 4); in php_json_pretty_print_indent()
112 smart_str_appendl(buf, num, len); in php_json_encode_double()
145 smart_str_appendl(buf, "null", 4); in php_json_encode_array()
261 smart_str_appendl(buf, "\"\"", 2); in php_json_escape_string()
336 smart_str_appendl(buf, "\\u", 2); in php_json_escape_string()
343 smart_str_appendl(buf, "\\u", 2); in php_json_escape_string()
456 smart_str_appendl(buf, "null", 4); in php_json_encode_serializable_object()
472 smart_str_appendl(buf, "null", 4); in php_json_encode_serializable_object()
484 smart_str_appendl(buf, "null", 4); in php_json_encode_serializable_object()
514 smart_str_appendl(buf, "null", 4); in php_json_encode_zval()
[all …]
/PHP-7.2/ext/standard/
H A Dvar.c434 smart_str_appendl(buf, " => ", 4); in php_object_element_export()
549 smart_str_appendl(buf, "))", 2); in php_var_export_ex()
650 smart_str_appendl(buf, "i:", 2); in php_var_serialize_long()
658 smart_str_appendl(buf, "s:", 2); in php_var_serialize_string()
660 smart_str_appendl(buf, ":\"", 2); in php_var_serialize_string()
661 smart_str_appendl(buf, str, len); in php_var_serialize_string()
662 smart_str_appendl(buf, "\";", 2); in php_var_serialize_string()
671 smart_str_appendl(buf, "O:", 2); in php_var_serialize_class_name()
673 smart_str_appendl(buf, ":\"", 2); in php_var_serialize_class_name()
675 smart_str_appendl(buf, "\":", 2); in php_var_serialize_class_name()
[all …]
H A Dhttp.c152 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()
H A Durl_scanner_ex.c344 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 Durl_scanner_ex.re347 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 Dhttp_fopen_wrapper.c242 smart_str_appendl(&header, "CONNECT ", sizeof("CONNECT ")-1); in php_stream_url_wrap_http_ex()
246 smart_str_appendl(&header, " HTTP/1.0\r\n", sizeof(" HTTP/1.0\r\n")-1); in php_stream_url_wrap_http_ex()
268 smart_str_appendl(&header, s, p - s); in php_stream_url_wrap_http_ex()
269 smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); in php_stream_url_wrap_http_ex()
292 smart_str_appendl(&header, s, p - s); in php_stream_url_wrap_http_ex()
293 smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); in php_stream_url_wrap_http_ex()
305 smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); in php_stream_url_wrap_http_ex()
427 smart_str_appendl(&tmpstr, "\r\n", sizeof("\r\n") - 1); in php_stream_url_wrap_http_ex()
606 smart_str_appendl(&req_buf, ua, ua_len); in php_stream_url_wrap_http_ex()
650 smart_str_appendl(&req_buf, Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
H A Dmail.c152 smart_str_appendl(s, ": ", 2); in php_mail_build_headers_elem()
154 smart_str_appendl(s, "\r\n", 2); in php_mail_build_headers_elem()
/PHP-7.2/ext/wddx/
H A Dphp_wddx_api.h52 #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.2/ext/soap/
H A Dphp_http.c32 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()
789 smart_str_appendl(&soap_headers, nc, 8); in make_http_soap_request()
791 smart_str_appendl(&soap_headers, cnonce, 8); in make_http_soap_request()
794 smart_str_appendl(&soap_headers, response, 32); in make_http_soap_request()
883 smart_str_appendl(&soap_headers, request->val, request->len); in make_http_soap_request()
[all …]
H A Dsoap.c4559 smart_str_appendl(buf, "list(", 5);
4562 smart_str_appendl(buf, ", ", 2);
4569 smart_str_appendl(buf, " $", 2);
4573 smart_str_appendl(buf, ") ", 2);
4576 smart_str_appendl(buf, "void ", 5);
4586 smart_str_appendl(buf, ", ", 2);
4593 smart_str_appendl(buf, " $", 2);
4609 smart_str_appendl(buf, ";\n", 2);
4661 smart_str_appendl(buf, " {", 2);
4675 smart_str_appendl(buf, " {", 2);
[all …]
/PHP-7.2/Zend/
H A Dzend_smart_str.h29 smart_str_appendl((dest), (src), strlen(src))
32 #define smart_str_appendl(dest, src, len) \ macro
138 smart_str_appendl(dest, src, len); in smart_str_setl()
H A Dzend_inheritance.c408 smart_str_appendl(str, class_name, class_name_len); in zend_append_type_hint()
414 smart_str_appendl(str, "int", 3); in zend_append_type_hint()
416 smart_str_appendl(str, "bool", 4); in zend_append_type_hint()
438smart_str_appendl(&str, ZSTR_VAL(fptr->common.scope->name), strlen(ZSTR_VAL(fptr->common.scope->na… in zend_get_function_declaration()
471 smart_str_appendl(&str, ZSTR_VAL(arg_info->name), ZSTR_LEN(arg_info->name)); in zend_get_function_declaration()
510 smart_str_appendl(&str, Z_STRVAL_P(zv), MIN(Z_STRLEN_P(zv), 10)); in zend_get_function_declaration()
H A Dzend_ast.c934 smart_str_appendl(str, ZSTR_VAL(key), ZSTR_LEN(key)); in zend_ast_export_zval()
964 smart_str_appendl(str, Z_STRVAL_P(zv), Z_STRLEN_P(zv)); in zend_ast_export_zval()
1076 smart_str_appendl(str, ZSTR_VAL(decl->name), ZSTR_LEN(decl->name)); in zend_ast_export_ex()
1116 smart_str_appendl(str, ZSTR_VAL(decl->name), ZSTR_LEN(decl->name)); in zend_ast_export_ex()
/PHP-7.2/ext/dom/
H A Ddocumenttype.c194smart_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.2/ext/intl/locale/
H A Dlocale_methods.c793 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.2/ext/mbstring/
H A Dphp_mbregex.c943 smart_str_appendl(&out_buf, (char *)pos, (size_t)((OnigUChar *)(string + regs->beg[0]) - pos)); in _php_mb_regex_ereg_replace_exec()
958 smart_str_appendl(pbuf, string + regs->beg[n], regs->end[n] - regs->beg[n]); in _php_mb_regex_ereg_replace_exec()
963 smart_str_appendl(pbuf, p, fwd); in _php_mb_regex_ereg_replace_exec()
994 smart_str_appendl(&out_buf, Z_STRVAL(v), Z_STRLEN(v)); in _php_mb_regex_ereg_replace_exec()
1018 smart_str_appendl(&out_buf, Z_STRVAL(retval), Z_STRLEN(retval)); in _php_mb_regex_ereg_replace_exec()
1034 smart_str_appendl(&out_buf, (char *)pos, 1); in _php_mb_regex_ereg_replace_exec()
1041 smart_str_appendl(&out_buf, (char *)pos, string_lim - pos); in _php_mb_regex_ereg_replace_exec()
/PHP-7.2/ext/mysqlnd/
H A Dmysqlnd_connection.c2049 smart_str_appendl(str, " ", sizeof(" ") - 1);
2051 smart_str_appendl(str, "AND CHAIN", sizeof("AND CHAIN") - 1);
2054 smart_str_appendl(str, " ", sizeof(" ") - 1);
2056 smart_str_appendl(str, "AND NO CHAIN", sizeof("AND NO CHAIN") - 1);
2061 smart_str_appendl(str, " ", sizeof(" ") - 1);
2063 smart_str_appendl(str, "RELEASE", sizeof("RELEASE") - 1);
2066 smart_str_appendl(str, " ", sizeof(" ") - 1);
2068 smart_str_appendl(str, "NO RELEASE", sizeof("NO RELEASE") - 1);
2175 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1);
2187 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1);
[all …]
/PHP-7.2/ext/mysqli/
H A Dmysqli_nonapi.c1087 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1);
1089 smart_str_appendl(&tmp_str, "WITH CONSISTENT SNAPSHOT", sizeof("WITH CONSISTENT SNAPSHOT") - 1);
1097 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1);
1099 smart_str_appendl(&tmp_str, "READ WRITE", sizeof("READ WRITE") - 1);
1102 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1);
1104 smart_str_appendl(&tmp_str, "READ ONLY", sizeof("READ ONLY") - 1);
H A Dmysqli_api.c45 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.2/ext/spl/
H A Dspl_iterators.c967 smart_str_appendl(&intern->prefix[0], "", 0); in spl_RecursiveIteratorIterator_new_ex()
968 smart_str_appendl(&intern->prefix[1], "| ", 2); in spl_RecursiveIteratorIterator_new_ex()
969 smart_str_appendl(&intern->prefix[2], " ", 2); in spl_RecursiveIteratorIterator_new_ex()
970 smart_str_appendl(&intern->prefix[3], "|-", 2); in spl_RecursiveIteratorIterator_new_ex()
971 smart_str_appendl(&intern->prefix[4], "\\-", 2); in spl_RecursiveIteratorIterator_new_ex()
972 smart_str_appendl(&intern->prefix[5], "", 0); in spl_RecursiveIteratorIterator_new_ex()
974 smart_str_appendl(&intern->postfix[0], "", 0); in spl_RecursiveIteratorIterator_new_ex()
1041 smart_str_appendl(&str, ZSTR_VAL(object->prefix[0].s), ZSTR_LEN(object->prefix[0].s)); in spl_recursive_tree_iterator_get_prefix()
1064 smart_str_appendl(&str, ZSTR_VAL(object->prefix[5].s), ZSTR_LEN(object->prefix[5].s)); in spl_recursive_tree_iterator_get_prefix()
1125 smart_str_appendl(&object->prefix[part], prefix, prefix_len); in SPL_METHOD()
[all …]
/PHP-7.2/ext/iconv/
H A Diconv.c863 smart_str_appendl(pretval, "", 0); in _php_iconv_substr()
1220 smart_str_appendl(pretval, ": ", sizeof(": ") - 1); in _php_iconv_mime_encode()
1232 smart_str_appendl(pretval, lfchars, lfchars_len); in _php_iconv_mime_encode()
1237 smart_str_appendl(pretval, "=?", sizeof("=?") - 1); in _php_iconv_mime_encode()
1239 smart_str_appendl(pretval, out_charset, out_charset_len); in _php_iconv_mime_encode()
1338 smart_str_appendl(pretval, ZSTR_VAL(encoded), ZSTR_LEN(encoded)); in _php_iconv_mime_encode()
1340 smart_str_appendl(pretval, "?=", sizeof("?=") - 1); in _php_iconv_mime_encode()
1443 smart_str_appendl(pretval, "?=", sizeof("?=") - 1); in _php_iconv_mime_encode()
/PHP-7.2/ext/filter/
H A Dsanitizing_filters.c43 smart_str_appendl(&str, "&#", 2); in php_filter_encode_html()
/PHP-7.2/ext/pgsql/
H A Dpgsql.c5585 smart_str_appendl(&querystr, escaped, new_len);
5593 smart_str_appendl(&querystr, escaped, new_len);
5818 smart_str_appendl(&str, Z_STRVAL_P(src), Z_STRLEN_P(src));
6568 smart_str_appendl(querystr, token, len);
6579 smart_str_appendl(querystr, tmp, len);
6656 smart_str_appendl(&querystr, tmp, new_len);
6670 smart_str_appendl(&querystr, "NULL", sizeof("NULL")-1);
6810 smart_str_appendl(querystr, ZSTR_VAL(fld), ZSTR_LEN(fld));
6825 smart_str_appendl(querystr, tmp, new_len);
6839 smart_str_appendl(querystr, "NULL", sizeof("NULL")-1);
[all …]
/PHP-7.2/ext/session/
H A Dsession.c899 smart_str_appendl(&buf, ZSTR_VAL(key), ZSTR_LEN(key)); in PS_SERIALIZER_ENCODE_FUNC()
963 smart_str_appendl(&buf, ZSTR_VAL(key), ZSTR_LEN(key)); in PS_SERIALIZER_ENCODE_FUNC()
1320 smart_str_appendl(&ncookie, "Set-Cookie: ", sizeof("Set-Cookie: ")-1); in php_session_send_cookie()
1321 smart_str_appendl(&ncookie, ZSTR_VAL(e_session_name), ZSTR_LEN(e_session_name)); in php_session_send_cookie()
1323 smart_str_appendl(&ncookie, ZSTR_VAL(e_id), ZSTR_LEN(e_id)); in php_session_send_cookie()
1338 smart_str_appendl(&ncookie, ZSTR_VAL(date_fmt), ZSTR_LEN(date_fmt)); in php_session_send_cookie()
3113 smart_str_appendl(&progress->key, *data->value, value_len); in php_session_rfc1867_callback()
/PHP-7.2/sapi/phpdbg/
H A Dphpdbg_prompt.c483 smart_str_appendl(&code, PHPDBG_G(input_buffer), nl - PHPDBG_G(input_buffer)); in PHPDBG_COMMAND()
494 smart_str_appendl(&code, PHPDBG_G(input_buffer), nl - PHPDBG_G(input_buffer)); in PHPDBG_COMMAND()
499 smart_str_appendl(&code, PHPDBG_G(input_buffer), buf - PHPDBG_G(input_buffer)); in PHPDBG_COMMAND()
502 smart_str_appendl(&code, PHPDBG_G(input_buffer), PHPDBG_G(input_buflen)); in PHPDBG_COMMAND()

Completed in 167 milliseconds

12