/PHP-5.3/ext/json/ |
H A D | json.c | 184 smart_str_appendl(buf, "null", 4); in json_encode_array() 286 smart_str_appendl(buf, "\"\"", 2); in json_escape_string() 302 smart_str_appendl(buf, tmp, l); in json_escape_string() 326 smart_str_appendl(buf, "null", 4); in json_escape_string() 328 smart_str_appendl(buf, "\"\"", 2); in json_escape_string() 354 smart_str_appendl(buf, "\\/", 2); in json_escape_string() 358 smart_str_appendl(buf, "\\b", 2); in json_escape_string() 362 smart_str_appendl(buf, "\\f", 2); in json_escape_string() 366 smart_str_appendl(buf, "\\n", 2); in json_escape_string() 370 smart_str_appendl(buf, "\\r", 2); in json_escape_string() [all …]
|
/PHP-5.3/ext/standard/ |
H A D | var.c | 412 smart_str_appendl(buf, " => ", 4); in php_object_element_export() 492 smart_str_appendl(buf, "))", 2); in php_var_export_ex() 576 smart_str_appendl(buf, "i:", 2); in php_var_serialize_long() 584 smart_str_appendl(buf, "s:", 2); in php_var_serialize_string() 586 smart_str_appendl(buf, ":\"", 2); in php_var_serialize_string() 587 smart_str_appendl(buf, str, len); in php_var_serialize_string() 588 smart_str_appendl(buf, "\";", 2); in php_var_serialize_string() 597 smart_str_appendl(buf, "O:", 2); in php_var_serialize_class_name() 599 smart_str_appendl(buf, ":\"", 2); in php_var_serialize_class_name() 601 smart_str_appendl(buf, "\":", 2); in php_var_serialize_class_name() [all …]
|
H A D | http.c | 143 smart_str_appendl(formstr, arg_sep, arg_sep_len); in php_url_encode_hash_ex() 146 smart_str_appendl(formstr, key_prefix, key_prefix_len); in php_url_encode_hash_ex() 149 smart_str_appendl(formstr, ekey, ekey_len); in php_url_encode_hash_ex() 154 smart_str_appendl(formstr, num_prefix, num_prefix_len); in php_url_encode_hash_ex() 157 smart_str_appendl(formstr, ekey, ekey_len); in php_url_encode_hash_ex() 160 smart_str_appendl(formstr, key_suffix, key_suffix_len); in php_url_encode_hash_ex() 161 smart_str_appendl(formstr, "=", 1); in php_url_encode_hash_ex() 182 smart_str_appendl(formstr, ekey, ekey_len); in php_url_encode_hash_ex()
|
H A D | url_scanner_ex.c | 197 smart_str_appendl(dest, url->c, bash - url->c); in PHP_INI_END() 205 smart_str_appendl(dest, bash, q - bash); in PHP_INI_END() 261 smart_str_appendl(&ctx->result, start, YYCURSOR - start); in passthru() 318 smart_str_appendl(&ctx->tag, start, YYCURSOR - start); in handle_tag() 329 smart_str_appendl(&ctx->arg, start, YYCURSOR - start); in handle_arg() 345 smart_str_appendl(&ctx->buf, newdata, newlen); in xx_mainloop() 955 smart_str_appendl(&ctx->result, "", 0); in url_adapt_ext() 959 smart_str_appendl(&ctx->result, ctx->buf.c, ctx->buf.len); in url_adapt_ext() 1008 smart_str_appendl(&ctx->result, ctx->buf.c, ctx->buf.len); in php_url_scanner_output_handler() 1009 smart_str_appendl(&ctx->result, output, output_len); in php_url_scanner_output_handler() [all …]
|
H A D | url_scanner_ex.re | 134 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 D | http_fopen_wrapper.c | 201 smart_str_appendl(&header, "CONNECT ", sizeof("CONNECT ")-1); in php_stream_url_wrap_http_ex() 205 smart_str_appendl(&header, " HTTP/1.0\r\n", sizeof(" HTTP/1.0\r\n")-1); in php_stream_url_wrap_http_ex() 230 smart_str_appendl(&header, s, p - s); in php_stream_url_wrap_http_ex() 231 smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); in php_stream_url_wrap_http_ex() 254 smart_str_appendl(&header, s, p - s); in php_stream_url_wrap_http_ex() 255 smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); in php_stream_url_wrap_http_ex() 267 smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); in php_stream_url_wrap_http_ex() 409 smart_str_appendl(&tmpstr, Z_STRVAL_PP(tmpheader), Z_STRLEN_PP(tmpheader)); in php_stream_url_wrap_http_ex() 410 smart_str_appendl(&tmpstr, "\r\n", sizeof("\r\n") - 1); in php_stream_url_wrap_http_ex()
|
H A D | php_smart_str.h | 79 smart_str_appendl((dest), (src), strlen(src)) 85 #define smart_str_appendl(dest, src, len) \ macro
|
H A D | string.c | 1076 smart_str_appendl(&implstr, Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp)); in php_implode() 1082 smart_str_appendl(&implstr, stmp, str_len); in php_implode() 1088 smart_str_appendl(&implstr, "1", sizeof("1")-1); in php_implode() 1098 smart_str_appendl(&implstr, stmp, str_len); in php_implode() 1107 smart_str_appendl(&implstr, Z_STRVAL(expr), Z_STRLEN(expr)); in php_implode() 1118 smart_str_appendl(&implstr, Z_STRVAL(tmp_val), Z_STRLEN(tmp_val)); in php_implode() 1125 smart_str_appendl(&implstr, Z_STRVAL_P(delim), Z_STRLEN_P(delim)); in php_implode() 2778 smart_str_appendl(&result, tval, tlen);
|
/PHP-5.3/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-5.3/ext/soap/ |
H A D | php_http.c | 32 smart_str_appendl(str,const,sizeof(const)-1) 52 smart_str_appendl(soap_headers, (char*)buf, len); in proxy_authentication() 80 smart_str_appendl(soap_headers, (char*)buf, len); in basic_authentication() 150 smart_str_appendl(soap_headers, s, p-s); in http_context_headers() 698 smart_str_appendl(&soap_headers, nc, 8); in make_http_soap_request() 700 smart_str_appendl(&soap_headers, cnonce, 8); in make_http_soap_request() 703 smart_str_appendl(&soap_headers, response, 32); in make_http_soap_request() 730 smart_str_appendl(&soap_headers, (char*)buf, len); in make_http_soap_request() 768 smart_str_appendl(&soap_headers, key, strlen(key)); in make_http_soap_request() 789 smart_str_appendl(&soap_headers, request, request_size); in make_http_soap_request() [all …]
|
H A D | soap.c | 4772 smart_str_appendl(buf, "list(", 5); 4776 smart_str_appendl(buf, ", ", 2); 4783 smart_str_appendl(buf, " $", 2); 4788 smart_str_appendl(buf, ") ", 2); 4791 smart_str_appendl(buf, "void ", 5); 4802 smart_str_appendl(buf, ", ", 2); 4809 smart_str_appendl(buf, " $", 2); 4826 smart_str_appendl(buf, ";\n", 2); 4880 smart_str_appendl(buf, " {", 2); 4895 smart_str_appendl(buf, " {", 2); [all …]
|
H A D | php_encoding.c | 327 smart_str_appendl(&prefix, "#ref", 4); in soap_check_zval_ref() 344 smart_str_appendl(&prefix, "#ref", 4); in soap_check_zval_ref() 424 smart_str_appendl(&nscat, Z_STRVAL_PP(zns), Z_STRLEN_PP(zns)); in master_to_xml_int() 427 smart_str_appendl(&nscat, Z_STRVAL_PP(zstype), Z_STRLEN_PP(zstype)); in master_to_xml_int() 2543 smart_str_appendl(&array_type,"xsd:ur-type",sizeof("xsd:ur-type")-1); in to_xml_array() 3560 smart_str_appendl(&prefix, "ns", 2); in encode_add_ns() 3658 smart_str_appendl(type, "xsd:anyType", sizeof("xsd:anyType")-1); in get_array_type() 3720 smart_str_appendl(type, "xsd:anyType", sizeof("xsd:anyType")-1); in get_array_type() 3769 smart_str_appendl(ret, type, strlen(type)); in get_type_str()
|
/PHP-5.3/ext/intl/locale/ |
H A D | locale_methods.c | 773 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in append_key_value() 775 smart_str_appendl(loc_name, Z_STRVAL_PP(ele_value) , Z_STRLEN_PP(ele_value)); in append_key_value() 789 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in add_prefix() 790 smart_str_appendl(loc_name, PRIVATE_PREFIX , sizeof(PRIVATE_PREFIX)-1); in add_prefix() 814 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in append_multiple_key_values() 815 smart_str_appendl(loc_name, Z_STRVAL_PP(ele_value) , Z_STRLEN_PP(ele_value)); in append_multiple_key_values() 830 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in append_multiple_key_values() 831 smart_str_appendl(loc_name, Z_STRVAL_PP(data) , Z_STRLEN_PP(data)); in append_multiple_key_values() 864 smart_str_appendl(loc_name, SEPARATOR , sizeof(SEPARATOR)-1); in append_multiple_key_values() 865 smart_str_appendl(loc_name, Z_STRVAL_PP(ele_value) , Z_STRLEN_PP(ele_value)); in append_multiple_key_values()
|
/PHP-5.3/ext/mbstring/ |
H A D | php_mbregex.c | 891 smart_str_appendl(&out_buf, pos, (size_t)((OnigUChar *)(string + regs->beg[0]) - pos)); in _php_mb_regex_ereg_replace_exec() 904 smart_str_appendl(pbuf, string + regs->beg[n], regs->end[n] - regs->beg[n]); in _php_mb_regex_ereg_replace_exec() 909 smart_str_appendl(pbuf, p, fwd); in _php_mb_regex_ereg_replace_exec() 927 smart_str_appendl(&out_buf, Z_STRVAL(v), Z_STRLEN(v)); in _php_mb_regex_ereg_replace_exec() 937 smart_str_appendl(&out_buf, pos, 1); in _php_mb_regex_ereg_replace_exec() 944 smart_str_appendl(&out_buf, pos, string_lim - pos); in _php_mb_regex_ereg_replace_exec()
|
/PHP-5.3/ext/iconv/ |
H A D | iconv.c | 707 smart_str_appendl(pretval, "", 0); in _php_iconv_substr() 1066 smart_str_appendl(pretval, ": ", sizeof(": ") - 1); in _php_iconv_mime_encode() 1078 smart_str_appendl(pretval, lfchars, lfchars_len); in _php_iconv_mime_encode() 1083 smart_str_appendl(pretval, "=?", sizeof("=?") - 1); in _php_iconv_mime_encode() 1085 smart_str_appendl(pretval, out_charset, out_charset_len); in _php_iconv_mime_encode() 1186 smart_str_appendl(pretval, encoded, encoded_len); in _php_iconv_mime_encode() 1188 smart_str_appendl(pretval, "?=", sizeof("?=") - 1); in _php_iconv_mime_encode() 1288 smart_str_appendl(pretval, "?=", sizeof("?=") - 1); in _php_iconv_mime_encode()
|
/PHP-5.3/ext/spl/ |
H A D | spl_iterators.c | 917 smart_str_appendl(&intern->prefix[0], "", 0); in spl_RecursiveIteratorIterator_new_ex() 918 smart_str_appendl(&intern->prefix[1], "| ", 2); in spl_RecursiveIteratorIterator_new_ex() 919 smart_str_appendl(&intern->prefix[2], " ", 2); in spl_RecursiveIteratorIterator_new_ex() 920 smart_str_appendl(&intern->prefix[3], "|-", 2); in spl_RecursiveIteratorIterator_new_ex() 921 smart_str_appendl(&intern->prefix[4], "\\-", 2); in spl_RecursiveIteratorIterator_new_ex() 922 smart_str_appendl(&intern->prefix[5], "", 0); in spl_RecursiveIteratorIterator_new_ex() 990 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[3].c, object->prefix[3].len); in spl_recursive_tree_iterator_get_prefix() 1008 smart_str_appendl(&str, object->prefix[4].c, object->prefix[4].len); in spl_recursive_tree_iterator_get_prefix() 1013 smart_str_appendl(&str, object->prefix[5].c, object->prefix[5].len); in spl_recursive_tree_iterator_get_prefix() [all …]
|
H A D | spl_observer.c | 671 smart_str_appendl(&buf, "x:i:", 4); in SPL_METHOD() 691 smart_str_appendl(&buf, "m:", 2); in SPL_METHOD()
|
/PHP-5.3/ext/filter/ |
H A D | sanitizing_filters.c | 43 smart_str_appendl(&str, "&#", 2); in php_filter_encode_html()
|
/PHP-5.3/sapi/apache2filter/ |
H A D | php_functions.c | 334 smart_str_appendl(&tmp1, s, (p - s)); in PHP_MINFO_FUNCTION()
|
/PHP-5.3/ext/session/ |
H A D | session.c | 840 smart_str_appendl(&buf, key, key_length); in PHP_INI_END() 845 smart_str_appendl(&buf, key, key_length); 921 smart_str_appendl(&buf, key, key_length); 932 smart_str_appendl(&buf, key, key_length);
|
/PHP-5.3/main/ |
H A D | spprintf.c | 138 smart_str_appendl(xbuf, s, slen); \
|
/PHP-5.3/sapi/apache2handler/ |
H A D | php_functions.c | 385 smart_str_appendl(&tmp1, s, (p - s)); in PHP_MINFO_FUNCTION()
|
/PHP-5.3/ext/pgsql/ |
H A D | pgsql.c | 1104 smart_str_appendl(&str, Z_STRVAL_PP(args[i]), Z_STRLEN_PP(args[i])); 4882 smart_str_appendl(&querystr, tmp_name2, new_len); 4886 smart_str_appendl(&querystr, tmp_name, new_len); 5118 smart_str_appendl(&str, Z_STRVAL_P(src), Z_STRLEN_P(src)); 5897 smart_str_appendl(&querystr, fld, fld_len - 1); 5912 smart_str_appendl(&querystr, Z_STRVAL_PP(val), Z_STRLEN_PP(val)); 5918 smart_str_appendl(&querystr, buf, snprintf(buf, sizeof(buf), "%F", Z_DVAL_PP(val))); 6012 smart_str_appendl(querystr, fld, fld_len - 1); 6021 smart_str_appendl(querystr, Z_STRVAL_PP(val), Z_STRLEN_PP(val)); 6027 …smart_str_appendl(querystr, buf, MIN(snprintf(buf, sizeof(buf), "%F", Z_DVAL_PP(val)), sizeof(buf)… [all …]
|
/PHP-5.3/ext/pcre/ |
H A D | php_pcre.c | 895 smart_str_appendl(&code, segment, walk - segment); in preg_do_eval() 919 smart_str_appendl(&code, esc_match, esc_match_len); in preg_do_eval() 932 smart_str_appendl(&code, segment, walk - segment); in preg_do_eval()
|
/PHP-5.3/sapi/thttpd/ |
H A D | thttpd.c | 156 # define ADD_VEC(str,l) smart_str_appendl(&vec_str, (str), (l))
|