Home
last modified time | relevance | path

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

12

/PHP-5.5/ext/standard/
H A Dvar.c408 smart_str_appendl(buf, " => ", 4); in php_object_element_export()
498 smart_str_appendl(buf, "))", 2); in php_var_export_ex()
587 smart_str_appendl(buf, "i:", 2); in php_var_serialize_long()
595 smart_str_appendl(buf, "s:", 2); in php_var_serialize_string()
597 smart_str_appendl(buf, ":\"", 2); in php_var_serialize_string()
598 smart_str_appendl(buf, str, len); in php_var_serialize_string()
599 smart_str_appendl(buf, "\";", 2); in php_var_serialize_string()
608 smart_str_appendl(buf, "O:", 2); in php_var_serialize_class_name()
610 smart_str_appendl(buf, ":\"", 2); in php_var_serialize_class_name()
612 smart_str_appendl(buf, "\":", 2); in php_var_serialize_class_name()
[all …]
H A Dhttp.c148 smart_str_appendl(formstr, arg_sep, arg_sep_len); in php_url_encode_hash_ex()
151 smart_str_appendl(formstr, key_prefix, key_prefix_len); in php_url_encode_hash_ex()
158 smart_str_appendl(formstr, ekey, ekey_len); in php_url_encode_hash_ex()
163 smart_str_appendl(formstr, num_prefix, num_prefix_len); in php_url_encode_hash_ex()
166 smart_str_appendl(formstr, ekey, ekey_len); in php_url_encode_hash_ex()
169 smart_str_appendl(formstr, key_suffix, key_suffix_len); in php_url_encode_hash_ex()
170 smart_str_appendl(formstr, "=", 1); in php_url_encode_hash_ex()
199 smart_str_appendl(formstr, ekey, ekey_len); in php_url_encode_hash_ex()
H A Durl_scanner_ex.c198 smart_str_appendl(dest, url->c, bash - url->c); in PHP_INI_END()
206 smart_str_appendl(dest, bash, q - bash); in PHP_INI_END()
262 smart_str_appendl(&ctx->result, start, YYCURSOR - start); in passthru()
319 smart_str_appendl(&ctx->tag, start, YYCURSOR - start); in handle_tag()
330 smart_str_appendl(&ctx->arg, start, YYCURSOR - start); in handle_arg()
346 smart_str_appendl(&ctx->buf, newdata, newlen); in xx_mainloop()
942 smart_str_appendl(&ctx->result, "", 0); in url_adapt_ext()
946 smart_str_appendl(&ctx->result, ctx->buf.c, ctx->buf.len); in url_adapt_ext()
995 smart_str_appendl(&ctx->result, ctx->buf.c, ctx->buf.len); in php_url_scanner_output_handler()
996 smart_str_appendl(&ctx->result, output, output_len); in php_url_scanner_output_handler()
[all …]
H A Durl_scanner_ex.re134 smart_str_appendl(dest, url->c, bash - url->c);
142 smart_str_appendl(dest, bash, q - bash);
198 smart_str_appendl(&ctx->result, start, YYCURSOR - start);
255 smart_str_appendl(&ctx->tag, start, YYCURSOR - start);
266 smart_str_appendl(&ctx->arg, start, YYCURSOR - start);
282 smart_str_appendl(&ctx->buf, newdata, newlen);
394 smart_str_appendl(&ctx->result, "", 0);
398 smart_str_appendl(&ctx->result, ctx->buf.c, ctx->buf.len);
447 smart_str_appendl(&ctx->result, ctx->buf.c, ctx->buf.len);
448 smart_str_appendl(&ctx->result, output, output_len);
[all …]
H A Dhttp_fopen_wrapper.c226 smart_str_appendl(&header, "CONNECT ", sizeof("CONNECT ")-1); in php_stream_url_wrap_http_ex()
230 smart_str_appendl(&header, " HTTP/1.0\r\n", sizeof(" HTTP/1.0\r\n")-1); in php_stream_url_wrap_http_ex()
255 smart_str_appendl(&header, s, p - s); in php_stream_url_wrap_http_ex()
256 smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); in php_stream_url_wrap_http_ex()
279 smart_str_appendl(&header, s, p - s); in php_stream_url_wrap_http_ex()
280 smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); in php_stream_url_wrap_http_ex()
292 smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); in php_stream_url_wrap_http_ex()
434 smart_str_appendl(&tmpstr, Z_STRVAL_PP(tmpheader), Z_STRLEN_PP(tmpheader)); in php_stream_url_wrap_http_ex()
435 smart_str_appendl(&tmpstr, "\r\n", sizeof("\r\n") - 1); in php_stream_url_wrap_http_ex()
H A Dphp_smart_str.h82 smart_str_appendl((dest), (src), strlen(src))
88 #define smart_str_appendl(dest, src, len) \ macro
H A Dstring.c1163 smart_str_appendl(&implstr, Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp)); in php_implode()
1169 smart_str_appendl(&implstr, stmp, str_len); in php_implode()
1175 smart_str_appendl(&implstr, "1", sizeof("1")-1); in php_implode()
1185 smart_str_appendl(&implstr, stmp, str_len); in php_implode()
1194 smart_str_appendl(&implstr, Z_STRVAL(expr), Z_STRLEN(expr)); in php_implode()
1205 smart_str_appendl(&implstr, Z_STRVAL(tmp_val), Z_STRLEN(tmp_val)); in php_implode()
1212 smart_str_appendl(&implstr, Z_STRVAL_P(delim), Z_STRLEN_P(delim)); in php_implode()
3099 smart_str_appendl(&result, &S(text)[nextwpos], pos - nextwpos);
3100 smart_str_appendl(&result, S(&pnr->repl), L(&pnr->repl));
3111 smart_str_appendl(&result, &S(text)[nextwpos], L(text) - nextwpos);
/PHP-5.5/ext/json/
H A Djson.c223 smart_str_appendl(buf, " ", 4); in json_pretty_print_indent()
246 smart_str_appendl(buf, "null", 4); in json_encode_array()
409 smart_str_appendl(buf, "\"\"", 2); in json_escape_string()
425 smart_str_appendl(buf, tmp, l); in json_escape_string()
441 smart_str_appendl(buf, "null", 4); in json_escape_string()
443 smart_str_appendl(buf, "\"\"", 2); in json_escape_string()
482 smart_str_appendl(buf, "\\b", 2); in json_escape_string()
486 smart_str_appendl(buf, "\\f", 2); in json_escape_string()
490 smart_str_appendl(buf, "\\n", 2); in json_escape_string()
569 smart_str_appendl(buf, "null", 4); in json_encode_serializable_object()
[all …]
/PHP-5.5/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-5.5/ext/soap/
H A Dphp_http.c32 smart_str_appendl(str,const,sizeof(const)-1)
54 smart_str_appendl(soap_headers, (char*)buf, len); in proxy_authentication()
84 smart_str_appendl(soap_headers, (char*)buf, len); in basic_authentication()
154 smart_str_appendl(soap_headers, s, p-s); in http_context_headers()
767 smart_str_appendl(&soap_headers, nc, 8); in make_http_soap_request()
769 smart_str_appendl(&soap_headers, cnonce, 8); in make_http_soap_request()
772 smart_str_appendl(&soap_headers, response, 32); in make_http_soap_request()
799 smart_str_appendl(&soap_headers, (char*)buf, len); in make_http_soap_request()
841 smart_str_appendl(&soap_headers, key, strlen(key)); in make_http_soap_request()
862 smart_str_appendl(&soap_headers, request, request_size); in make_http_soap_request()
[all …]
H A Dsoap.c4624 smart_str_appendl(buf, "list(", 5);
4628 smart_str_appendl(buf, ", ", 2);
4635 smart_str_appendl(buf, " $", 2);
4640 smart_str_appendl(buf, ") ", 2);
4643 smart_str_appendl(buf, "void ", 5);
4654 smart_str_appendl(buf, ", ", 2);
4661 smart_str_appendl(buf, " $", 2);
4678 smart_str_appendl(buf, ";\n", 2);
4732 smart_str_appendl(buf, " {", 2);
4747 smart_str_appendl(buf, " {", 2);
[all …]
/PHP-5.5/ext/dom/
H A Ddocumenttype.c214 smart_str_appendl(&ret_buf, xmlOutputBufferGetContent(buff), xmlOutputBufferGetSize(buff)); in dom_documenttype_internal_subset_read()
216 smart_str_appendl(&ret_buf, buff->buffer->content, buff->buffer->use); in dom_documenttype_internal_subset_read()
/PHP-5.5/ext/intl/locale/
H A Dlocale_methods.c774 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in append_key_value()
776 smart_str_appendl(loc_name, Z_STRVAL_PP(ele_value) , Z_STRLEN_PP(ele_value)); in append_key_value()
790 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in add_prefix()
791 smart_str_appendl(loc_name, PRIVATE_PREFIX , sizeof(PRIVATE_PREFIX)-1); in add_prefix()
815 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in append_multiple_key_values()
816 smart_str_appendl(loc_name, Z_STRVAL_PP(ele_value) , Z_STRLEN_PP(ele_value)); in append_multiple_key_values()
831 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in append_multiple_key_values()
832 smart_str_appendl(loc_name, Z_STRVAL_PP(data) , Z_STRLEN_PP(data)); in append_multiple_key_values()
865 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in append_multiple_key_values()
866 smart_str_appendl(loc_name, Z_STRVAL_PP(ele_value) , Z_STRLEN_PP(ele_value)); in append_multiple_key_values()
/PHP-5.5/ext/intl/
H A Dintl_error.c286 smart_str_appendl( &ret, buf, u8len ); in intl_parse_error_to_string()
306 smart_str_appendl( &ret, buf, u8len ); in intl_parse_error_to_string()
/PHP-5.5/ext/mbstring/
H A Dphp_mbregex.c911 smart_str_appendl(&out_buf, pos, (size_t)((OnigUChar *)(string + regs->beg[0]) - pos)); in _php_mb_regex_ereg_replace_exec()
926 smart_str_appendl(pbuf, string + regs->beg[n], regs->end[n] - regs->beg[n]); in _php_mb_regex_ereg_replace_exec()
931 smart_str_appendl(pbuf, p, fwd); in _php_mb_regex_ereg_replace_exec()
951 smart_str_appendl(&out_buf, Z_STRVAL(v), Z_STRLEN(v)); in _php_mb_regex_ereg_replace_exec()
977 smart_str_appendl(&out_buf, Z_STRVAL_P(retval_ptr), Z_STRLEN_P(retval_ptr)); in _php_mb_regex_ereg_replace_exec()
993 smart_str_appendl(&out_buf, pos, 1); in _php_mb_regex_ereg_replace_exec()
1000 smart_str_appendl(&out_buf, pos, string_lim - pos); in _php_mb_regex_ereg_replace_exec()
/PHP-5.5/ext/mysqli/
H A Dmysqli_nonapi.c1060 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1);
1062 smart_str_appendl(&tmp_str, "WITH CONSISTENT SNAPSHOT", sizeof("WITH CONSISTENT SNAPSHOT") - 1);
1070 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1);
1072 smart_str_appendl(&tmp_str, "READ WRITE", sizeof("READ WRITE") - 1);
1075 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1);
1077 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-5.5/ext/mysqlnd/
H A Dmysqlnd.c2669 smart_str_appendl(str, " ", sizeof(" ") - 1);
2671 smart_str_appendl(str, "AND CHAIN", sizeof("AND CHAIN") - 1);
2674 smart_str_appendl(str, " ", sizeof(" ") - 1);
2676 smart_str_appendl(str, "AND NO CHAIN", sizeof("AND NO CHAIN") - 1);
2681 smart_str_appendl(str, " ", sizeof(" ") - 1);
2683 smart_str_appendl(str, "RELEASE", sizeof("RELEASE") - 1);
2686 smart_str_appendl(str, " ", sizeof(" ") - 1);
2688 smart_str_appendl(str, "NO RELEASE", sizeof("NO RELEASE") - 1);
2795 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1);
2807 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1);
[all …]
/PHP-5.5/ext/spl/
H A Dspl_iterators.c908 smart_str_appendl(&intern->prefix[0], "", 0); in spl_RecursiveIteratorIterator_new_ex()
909 smart_str_appendl(&intern->prefix[1], "| ", 2); in spl_RecursiveIteratorIterator_new_ex()
910 smart_str_appendl(&intern->prefix[2], " ", 2); in spl_RecursiveIteratorIterator_new_ex()
911 smart_str_appendl(&intern->prefix[3], "|-", 2); in spl_RecursiveIteratorIterator_new_ex()
912 smart_str_appendl(&intern->prefix[4], "\\-", 2); in spl_RecursiveIteratorIterator_new_ex()
913 smart_str_appendl(&intern->prefix[5], "", 0); in spl_RecursiveIteratorIterator_new_ex()
915 smart_str_appendl(&intern->postfix[0], "", 0); in spl_RecursiveIteratorIterator_new_ex()
983 smart_str_appendl(&str, object->prefix[0].c, object->prefix[0].len); in spl_recursive_tree_iterator_get_prefix()
1006 smart_str_appendl(&str, object->prefix[5].c, object->prefix[5].len); in spl_recursive_tree_iterator_get_prefix()
1063 smart_str_appendl(&object->prefix[part], prefix, prefix_len); in SPL_METHOD()
[all …]
/PHP-5.5/ext/iconv/
H A Diconv.c805 smart_str_appendl(pretval, "", 0); in _php_iconv_substr()
1164 smart_str_appendl(pretval, ": ", sizeof(": ") - 1); in _php_iconv_mime_encode()
1176 smart_str_appendl(pretval, lfchars, lfchars_len); in _php_iconv_mime_encode()
1181 smart_str_appendl(pretval, "=?", sizeof("=?") - 1); in _php_iconv_mime_encode()
1183 smart_str_appendl(pretval, out_charset, out_charset_len); in _php_iconv_mime_encode()
1284 smart_str_appendl(pretval, encoded, encoded_len); in _php_iconv_mime_encode()
1286 smart_str_appendl(pretval, "?=", sizeof("?=") - 1); in _php_iconv_mime_encode()
1386 smart_str_appendl(pretval, "?=", sizeof("?=") - 1); in _php_iconv_mime_encode()
/PHP-5.5/ext/filter/
H A Dsanitizing_filters.c43 smart_str_appendl(&str, "&#", 2); in php_filter_encode_html()
/PHP-5.5/sapi/apache2filter/
H A Dphp_functions.c334 smart_str_appendl(&tmp1, s, (p - s)); in PHP_MINFO_FUNCTION()
/PHP-5.5/ext/session/
H A Dsession.c898 smart_str_appendl(&buf, key, key_length); in PS_SERIALIZER_ENCODE_FUNC()
903 smart_str_appendl(&buf, key, key_length);
983 smart_str_appendl(&buf, key, key_length);
994 smart_str_appendl(&buf, key, key_length);
2662 smart_str_appendl(&progress->key, PS(rfc1867_prefix).c, PS(rfc1867_prefix).len);
2663 smart_str_appendl(&progress->key, *data->value, value_len);
/PHP-5.5/ext/pgsql/
H A Dpgsql.c1254 smart_str_appendl(&str, Z_STRVAL_PP(args[i]), Z_STRLEN_PP(args[i]));
5141 smart_str_appendl(&querystr, escaped, new_len);
5149 smart_str_appendl(&querystr, escaped, new_len);
5389 smart_str_appendl(&str, Z_STRVAL_P(src), Z_STRLEN_P(src));
6149 smart_str_appendl(querystr, token, len);
6160 smart_str_appendl(querystr, tmp, len);
6217 smart_str_appendl(&querystr, fld, fld_len - 1);
6232 smart_str_appendl(&querystr, Z_STRVAL_PP(val), Z_STRLEN_PP(val));
6332 smart_str_appendl(querystr, fld, fld_len - 1);
6341 smart_str_appendl(querystr, Z_STRVAL_PP(val), Z_STRLEN_PP(val));
[all …]
/PHP-5.5/main/
H A Dspprintf.c143 smart_str_appendl(xbuf, s, slen); \

Completed in 135 milliseconds

12