Home
last modified time | relevance | path

Searched refs:buffer_length (Results 1 – 8 of 8) sorted by relevance

/php-src/ext/dom/lexbor/lexbor/encoding/
H A Dencoding.h41 lxb_char_t *buffer_out, size_t buffer_length) in lxb_encoding_encode_init() argument
50 encode->buffer_length = buffer_length; in lxb_encoding_encode_init()
74 lxb_char_t *buffer_out, size_t buffer_length) in lxb_encoding_encode_buf_set() argument
77 encode->buffer_length = buffer_length; in lxb_encoding_encode_buf_set()
98 if (encode->buffer_out == NULL || encode->buffer_length < length) { in lxb_encoding_encode_replace_set()
112 if ((encode->buffer_used + length) > encode->buffer_length) { in lxb_encoding_encode_buf_add_to()
130 if ((decode->buffer_used + length) > decode->buffer_length) { in lxb_encoding_decode_buf_add_to()
145 lxb_codepoint_t *buffer_out, size_t buffer_length) in lxb_encoding_decode_init() argument
154 decode->buffer_length = buffer_length; in lxb_encoding_decode_init()
198 decode->buffer_length = buffer_length; in lxb_encoding_decode_buf_set()
[all …]
H A Dencoding.c64 lxb_char_t *buffer_out, size_t buffer_length) in lxb_encoding_encode_init_noi() argument
67 buffer_out, buffer_length); in lxb_encoding_encode_init_noi()
84 lxb_char_t *buffer_out, size_t buffer_length) in lxb_encoding_encode_buf_set_noi() argument
86 lxb_encoding_encode_buf_set(encode, buffer_out, buffer_length); in lxb_encoding_encode_buf_set_noi()
119 lxb_codepoint_t *buffer_out, size_t buffer_length) in lxb_encoding_decode_init_noi() argument
122 buffer_out, buffer_length); in lxb_encoding_decode_init_noi()
139 lxb_codepoint_t *buffer_out, size_t buffer_length) in lxb_encoding_decode_buf_set_noi() argument
141 lxb_encoding_decode_buf_set(decode, buffer_out, buffer_length); in lxb_encoding_decode_buf_set_noi()
H A Dencode.c159 if ((ctx->buffer_used + 2) > ctx->buffer_length) { in lxb_encoding_encode_big5()
202 if ((ctx->buffer_used + 2) > ctx->buffer_length) { in lxb_encoding_encode_euc_jp()
223 if ((ctx->buffer_used + 2) > ctx->buffer_length) { in lxb_encoding_encode_euc_jp()
256 if ((ctx->buffer_used + 2) > ctx->buffer_length) { in lxb_encoding_encode_euc_kr()
299 if ((ctx->buffer_used + 2) > ctx->buffer_length) { in lxb_encoding_encode_gbk()
464 if ((ctx->buffer_used + 2) > ctx->buffer_length) { in lxb_encoding_encode_iso_2022_jp()
483 if ((ctx->buffer_used + 3) > ctx->buffer_length) { in lxb_encoding_encode_iso_2022_jp()
521 if ((ctx->buffer_used + 3) > ctx->buffer_length) { in lxb_encoding_encode_iso_2022_jp_eof()
714 if ((ctx->buffer_used + 2) > ctx->buffer_length) { in lxb_encoding_encode_shift_jis()
762 if ((ctx->buffer_used + 4) > ctx->buffer_length) { in lxb_encoding_encode_utf_16()
[all …]
H A Dbase.h110 size_t buffer_length; member
143 size_t buffer_length; member
H A Ddecode.c57 if ((ctx)->buffer_used >= (ctx)->buffer_length) { \
67 if ((ctx)->buffer_used >= (ctx)->buffer_length) { \
78 if ((ctx)->buffer_used >= (ctx)->buffer_length) { \
225 if ((ctx->buffer_used + 2) > ctx->buffer_length) { in lxb_encoding_decode_big5()
303 if ((ctx->buffer_used + 2) > ctx->buffer_length) { in lxb_encoding_decode_big5()
316 if ((ctx->buffer_used + 2) > ctx->buffer_length) { in lxb_encoding_decode_big5()
329 if ((ctx->buffer_used + 2) > ctx->buffer_length) { in lxb_encoding_decode_big5()
342 if ((ctx->buffer_used + 2) > ctx->buffer_length) { in lxb_encoding_decode_big5()
1370 if (ctx->buffer_used >= ctx->buffer_length) { in lxb_encoding_decode_utf_8()
1586 if (ctx->buffer_used == ctx->buffer_length) { in lxb_encoding_decode_gb18030()
[all …]
/php-src/ext/pdo_mysql/
H A Dmysql_statement.c205 S->bound_result[i].buffer_length = MAX_MEDIUMINT_WIDTH + 1; in pdo_mysql_stmt_after_execute_prepared()
208 S->bound_result[i].buffer_length = MAX_INT_WIDTH + 1; in pdo_mysql_stmt_after_execute_prepared()
211 S->bound_result[i].buffer_length = MAX_BIGINT_WIDTH + 1; in pdo_mysql_stmt_after_execute_prepared()
214 S->bound_result[i].buffer_length = MAX_TINYINT_WIDTH + 1; in pdo_mysql_stmt_after_execute_prepared()
217 S->bound_result[i].buffer_length = MAX_SMALLINT_WIDTH + 1; in pdo_mysql_stmt_after_execute_prepared()
220 S->bound_result[i].buffer_length = in pdo_mysql_stmt_after_execute_prepared()
225 S->bound_result[i].buffer_length = H->max_buffer_size; in pdo_mysql_stmt_after_execute_prepared()
234 S->bound_result[i].buffer_length = 128; in pdo_mysql_stmt_after_execute_prepared()
433 b->buffer_length = 0; in pdo_mysql_stmt_param_hook()
509 b->buffer_length = Z_STRLEN_P(parameter); in pdo_mysql_stmt_param_hook()
[all …]
/php-src/ext/openssl/
H A Dopenssl.c8143 PHP_OPENSSL_API zend_string* php_openssl_random_pseudo_bytes(zend_long buffer_length) argument
8146 if (buffer_length <= 0) {
8150 if (ZEND_LONG_INT_OVFL(buffer_length)) {
8154 buffer = zend_string_alloc(buffer_length, 0);
8156 PHP_OPENSSL_CHECK_LONG_TO_INT_NULL_RETURN(buffer_length, length);
8158 if (RAND_bytes((unsigned char*)ZSTR_VAL(buffer), (int)buffer_length) <= 0) {
8173 zend_long buffer_length; local
8176 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|z", &buffer_length, &zstrong_result_returned) == FAI…
8184 if ((buffer = php_openssl_random_pseudo_bytes(buffer_length))) {
8185 ZSTR_VAL(buffer)[buffer_length] = 0;
/php-src/ext/pgsql/
H A Dpgsql.c2718 zend_long buffer_length = PGSQL_LO_READ_BUF_SIZE; in PHP_FUNCTION() local
2726 Z_PARAM_LONG(buffer_length) in PHP_FUNCTION()
2732 if (buffer_length < 0) { in PHP_FUNCTION()
2737 buf = zend_string_alloc(buffer_length, 0); in PHP_FUNCTION()

Completed in 67 milliseconds