Home
last modified time | relevance | path

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

/PHP-7.2/ext/pdo_mysql/
H A Dmysql_statement.c215 S->bound_result[i].buffer_length = MAX_MEDIUMINT_WIDTH + 1; in pdo_mysql_stmt_execute_prepared_libmysql()
218 S->bound_result[i].buffer_length = MAX_INT_WIDTH + 1; in pdo_mysql_stmt_execute_prepared_libmysql()
221 S->bound_result[i].buffer_length = MAX_BIGINT_WIDTH + 1; in pdo_mysql_stmt_execute_prepared_libmysql()
224 S->bound_result[i].buffer_length = MAX_TINYINT_WIDTH + 1; in pdo_mysql_stmt_execute_prepared_libmysql()
227 S->bound_result[i].buffer_length = MAX_SMALLINT_WIDTH + 1; in pdo_mysql_stmt_execute_prepared_libmysql()
230 S->bound_result[i].buffer_length = in pdo_mysql_stmt_execute_prepared_libmysql()
235 S->bound_result[i].buffer_length = H->max_buffer_size; in pdo_mysql_stmt_execute_prepared_libmysql()
244 S->bound_result[i].buffer_length = 128; in pdo_mysql_stmt_execute_prepared_libmysql()
510 b->buffer_length = 0; in pdo_mysql_stmt_param_hook()
586 b->buffer_length = Z_STRLEN_P(parameter); in pdo_mysql_stmt_param_hook()
[all …]
/PHP-7.2/ext/mysqli/
H A Dmysqli_api.c475 bind[ofs].buffer_length = stmt->result.buf[ofs].buflen; in mysqli_stmt_bind_result_do_bind()
533 bind[ofs].buffer_length = stmt->result.buf[ofs].buflen; in mysqli_stmt_bind_result_do_bind()
904 stmt->stmt->params[i].buffer_length = Z_STRLEN_P(param);
1076 ZVAL_STRINGL(result, stmt->result.buf[i].val, stmt->stmt->bind[i].buffer_length);
/PHP-7.2/ext/openssl/
H A Dopenssl.c6771 zend_long buffer_length; in PHP_FUNCTION() local
6775 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|z/", &buffer_length, &zstrong_result_returned) == FA… in PHP_FUNCTION()
6784 if (buffer_length <= 0 in PHP_FUNCTION()
6786 || ZEND_LONG_INT_OVFL(buffer_length) in PHP_FUNCTION()
6791 buffer = zend_string_alloc(buffer_length, 0); in PHP_FUNCTION()
6795 if (php_win32_get_random_bytes((unsigned char*)buffer->val, (size_t) buffer_length) == FAILURE){ in PHP_FUNCTION()
6804 PHP_OPENSSL_CHECK_LONG_TO_INT(buffer_length, length); in PHP_FUNCTION()
6807 if (RAND_bytes((unsigned char*)ZSTR_VAL(buffer), (int)buffer_length) <= 0) { in PHP_FUNCTION()
6818 ZSTR_VAL(buffer)[buffer_length] = 0; in PHP_FUNCTION()

Completed in 33 milliseconds