/PHP-8.3/Zend/ |
H A D | zend_constants.h | 50 #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 D | zend_constants.c | 136 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 D | zend_API.h | 1159 #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 D | zend_execute.c | 725 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 D | mysql_driver.c | 412 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 D | odbc_driver.c | 338 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 D | firebird_driver.c | 836 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 D | pdo_dbh.c | 705 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 D | php_pdo_driver.h | 685 PDO_API bool pdo_get_bool_param(bool *bval, zval *value);
|
/PHP-8.3/ext/pdo_dblib/ |
H A D | dblib_driver.c | 277 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 D | pgsql_driver.c | 1211 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 D | oci_driver.c | 438 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 D | mysqlnd_ps.c | 1537 zend_uchar bval = *(zend_uchar *) value; in MYSQLND_METHOD() local 1542 stmt->update_max_length = bval? TRUE:FALSE; in MYSQLND_METHOD()
|