Home
last modified time | relevance | path

Searched refs:bval (Results 1 – 13 of 13) sorted by relevance

/PHP-8.3/Zend/
H A Dzend_constants.h50 #define REGISTER_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(name)… argument
57 …BOOL_CONSTANT(ns, name, bval, flags) zend_register_bool_constant(ZEND_NS_NAME(ns, name), sizeof(Z… argument
64 …define REGISTER_MAIN_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(… argument
81 ZEND_API void zend_register_bool_constant(const char *name, size_t name_len, bool bval, int flags, …
H A Dzend_constants.c136 ZEND_API void zend_register_bool_constant(const char *name, size_t name_len, bool bval, int flags, … in zend_register_bool_constant() argument
140 ZVAL_BOOL(&c.value, bval); in zend_register_bool_constant()
H A Dzend_API.h1159 #define _ZEND_TRY_ASSIGN_BOOL(zv, bval, is_ref) do { \ argument
1170 ZVAL_BOOL(_zv, bval); \
1173 #define ZEND_TRY_ASSIGN_BOOL(zv, bval) \ argument
1174 _ZEND_TRY_ASSIGN_BOOL(zv, bval, 0)
1176 #define ZEND_TRY_ASSIGN_REF_BOOL(zv, bval) do { \ argument
1178 _ZEND_TRY_ASSIGN_BOOL(zv, bval, 1); \
H A Dzend_execute.c725 bool bval; in zend_verify_weak_scalar_type_hint() local
760 if ((type_mask & MAY_BE_BOOL) == MAY_BE_BOOL && zend_parse_arg_bool_weak(arg, &bval, 0)) { in zend_verify_weak_scalar_type_hint()
762 ZVAL_BOOL(arg, bval); in zend_verify_weak_scalar_type_hint()
785 bool bval; in zend_verify_weak_scalar_type_hint_no_sideeffect() local
798 …if ((type_mask & MAY_BE_BOOL) == MAY_BE_BOOL && zend_parse_arg_bool_weak(arg, &bval, (uint32_t)-1)… in zend_verify_weak_scalar_type_hint_no_sideeffect()
/PHP-8.3/ext/pdo_mysql/
H A Dmysql_driver.c412 bool bval; in pdo_mysql_set_attribute() local
419 if (!pdo_get_bool_param(&bval, val)) { in pdo_mysql_set_attribute()
423 if (dbh->auto_commit ^ bval) { in pdo_mysql_set_attribute()
424 dbh->auto_commit = bval; in pdo_mysql_set_attribute()
439 if (!pdo_get_bool_param(&bval, val)) { in pdo_mysql_set_attribute()
443 ((pdo_mysql_db_handle *)dbh->driver_data)->buffered = bval; in pdo_mysql_set_attribute()
448 if (!pdo_get_bool_param(&bval, val)) { in pdo_mysql_set_attribute()
452 ((pdo_mysql_db_handle *)dbh->driver_data)->emulate_prepare = bval; in pdo_mysql_set_attribute()
456 if (!pdo_get_bool_param(&bval, val)) { in pdo_mysql_set_attribute()
464 if (!pdo_get_bool_param(&bval, val)) { in pdo_mysql_set_attribute()
[all …]
/PHP-8.3/ext/pdo_odbc/
H A Dodbc_driver.c338 bool bval; in odbc_handle_set_attr() local
342 if (!pdo_get_bool_param(&bval, val)) { in odbc_handle_set_attr()
345 H->assume_utf8 = bval; in odbc_handle_set_attr()
348 if (!pdo_get_bool_param(&bval, val)) { in odbc_handle_set_attr()
355 if (dbh->auto_commit ^ bval) { in odbc_handle_set_attr()
356 dbh->auto_commit = bval; in odbc_handle_set_attr()
/PHP-8.3/ext/pdo_firebird/
H A Dfirebird_driver.c836 bool bval; in firebird_handle_set_attribute() local
841 if (!pdo_get_bool_param(&bval, val)) { in firebird_handle_set_attribute()
846 if (dbh->auto_commit ^ bval) { in firebird_handle_set_attribute()
848 if (bval) { in firebird_handle_set_attribute()
861 dbh->auto_commit = bval; in firebird_handle_set_attribute()
867 if (!pdo_get_bool_param(&bval, val)) { in firebird_handle_set_attribute()
870 H->fetch_table_names = bval; in firebird_handle_set_attribute()
/PHP-8.3/ext/pdo/
H A Dpdo_dbh.c705 PDO_API bool pdo_get_bool_param(bool *bval, zval *value) in pdo_get_bool_param() argument
709 *bval = true; in pdo_get_bool_param()
712 *bval = false; in pdo_get_bool_param()
715 *bval = zval_is_true(value); in pdo_get_bool_param()
728 bool bval; in pdo_dbh_attribute_set() local
794 if (!pdo_get_bool_param(&bval, value)) { in pdo_dbh_attribute_set()
797 dbh->stringify = bval; in pdo_dbh_attribute_set()
H A Dphp_pdo_driver.h685 PDO_API bool pdo_get_bool_param(bool *bval, zval *value);
/PHP-8.3/ext/pdo_dblib/
H A Ddblib_driver.c277 bool bval; in dblib_set_attr() local
299 if (!pdo_get_bool_param(&bval, val)) { in dblib_set_attr()
302 H->skip_empty_rowsets = bval; in dblib_set_attr()
/PHP-8.3/ext/pdo_pgsql/
H A Dpgsql_driver.c1211 bool bval; in pdo_pgsql_set_attr() local
1216 if (!pdo_get_bool_param(&bval, val)) { in pdo_pgsql_set_attr()
1219 H->emulate_prepares = bval; in pdo_pgsql_set_attr()
1222 if (!pdo_get_bool_param(&bval, val)) { in pdo_pgsql_set_attr()
1225 H->disable_prepares = bval; in pdo_pgsql_set_attr()
/PHP-8.3/ext/pdo_oci/
H A Doci_driver.c438 bool bval; in oci_handle_set_attribute() local
439 if (!pdo_get_bool_param(&bval, val)) { in oci_handle_set_attribute()
454 dbh->auto_commit = (unsigned int) bval; in oci_handle_set_attribute()
/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_ps.c1537 zend_uchar bval = *(zend_uchar *) value; in MYSQLND_METHOD() local
1542 stmt->update_max_length = bval? TRUE:FALSE; in MYSQLND_METHOD()

Completed in 103 milliseconds