Home
last modified time | relevance | path

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

/PHP-8.2/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-8.2/ext/openssl/
H A Dopenssl.c7701 PHP_OPENSSL_API zend_string* php_openssl_random_pseudo_bytes(zend_long buffer_length) in php_openssl_random_pseudo_bytes() argument
7704 if (buffer_length <= 0) { in php_openssl_random_pseudo_bytes()
7708 if (ZEND_LONG_INT_OVFL(buffer_length)) { in php_openssl_random_pseudo_bytes()
7712 buffer = zend_string_alloc(buffer_length, 0); in php_openssl_random_pseudo_bytes()
7714 PHP_OPENSSL_CHECK_LONG_TO_INT_NULL_RETURN(buffer_length, length); in php_openssl_random_pseudo_bytes()
7716 if (RAND_bytes((unsigned char*)ZSTR_VAL(buffer), (int)buffer_length) <= 0) { in php_openssl_random_pseudo_bytes()
7731 zend_long buffer_length; in PHP_FUNCTION() local
7734 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|z", &buffer_length, &zstrong_result_returned) == FAI… in PHP_FUNCTION()
7742 if ((buffer = php_openssl_random_pseudo_bytes(buffer_length))) { in PHP_FUNCTION()
7743 ZSTR_VAL(buffer)[buffer_length] = 0; in PHP_FUNCTION()
/PHP-8.2/ext/pgsql/
H A Dpgsql.c2490 zend_long buffer_length = PGSQL_LO_READ_BUF_SIZE; in PHP_FUNCTION() local
2495 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|l", &pgsql_id, pgsql_lob_ce, &buffer_length) == FAIL… in PHP_FUNCTION()
2502 if (buffer_length < 0) { in PHP_FUNCTION()
2507 buf = zend_string_alloc(buffer_length, 0); in PHP_FUNCTION()

Completed in 57 milliseconds