/php-src/Zend/ |
H A D | zend_constants.h | 51 #define REGISTER_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(name)… argument 58 …BOOL_CONSTANT(ns, name, bval, flags) zend_register_bool_constant(ZEND_NS_NAME(ns, name), sizeof(Z… argument 65 …define REGISTER_MAIN_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(… argument 82 ZEND_API void zend_register_bool_constant(const char *name, size_t name_len, bool bval, int flags, …
|
H A D | zend_constants.c | 138 ZEND_API void zend_register_bool_constant(const char *name, size_t name_len, bool bval, int flags, … in zend_register_bool_constant() argument 142 ZVAL_BOOL(&c.value, bval); in zend_register_bool_constant()
|
H A D | zend_API.h | 1166 #define _ZEND_TRY_ASSIGN_BOOL(zv, bval, is_ref) do { \ argument 1177 ZVAL_BOOL(_zv, bval); \ 1180 #define ZEND_TRY_ASSIGN_BOOL(zv, bval) \ argument 1181 _ZEND_TRY_ASSIGN_BOOL(zv, bval, 0) 1183 #define ZEND_TRY_ASSIGN_REF_BOOL(zv, bval) do { \ argument 1185 _ZEND_TRY_ASSIGN_BOOL(zv, bval, 1); \
|
H A D | zend_execute.c | 729 bool bval; in zend_verify_weak_scalar_type_hint() local 764 if ((type_mask & MAY_BE_BOOL) == MAY_BE_BOOL && zend_parse_arg_bool_weak(arg, &bval, 0)) { in zend_verify_weak_scalar_type_hint() 766 ZVAL_BOOL(arg, bval); in zend_verify_weak_scalar_type_hint() 789 bool bval; in zend_verify_weak_scalar_type_hint_no_sideeffect() local 802 …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-src/ext/pdo_mysql/ |
H A D | mysql_driver.c | 423 bool bval; in pdo_mysql_set_attribute() local 430 if (!pdo_get_bool_param(&bval, val)) { in pdo_mysql_set_attribute() 434 if (dbh->auto_commit ^ bval) { in pdo_mysql_set_attribute() 435 dbh->auto_commit = bval; in pdo_mysql_set_attribute() 450 if (!pdo_get_bool_param(&bval, val)) { in pdo_mysql_set_attribute() 454 ((pdo_mysql_db_handle *)dbh->driver_data)->buffered = bval; in pdo_mysql_set_attribute() 459 if (!pdo_get_bool_param(&bval, val)) { in pdo_mysql_set_attribute() 463 ((pdo_mysql_db_handle *)dbh->driver_data)->emulate_prepare = bval; in pdo_mysql_set_attribute() 467 if (!pdo_get_bool_param(&bval, val)) { in pdo_mysql_set_attribute() 475 if (!pdo_get_bool_param(&bval, val)) { in pdo_mysql_set_attribute() [all …]
|
/php-src/ext/pdo_dblib/ |
H A D | dblib_driver.c | 283 bool bval; in dblib_set_attr() local 299 if (!pdo_get_bool_param(&bval, val)) { in dblib_set_attr() 302 H->stringify_uniqueidentifier = bval; in dblib_set_attr() 305 if (!pdo_get_bool_param(&bval, val)) { in dblib_set_attr() 308 H->skip_empty_rowsets = bval; in dblib_set_attr() 311 if (!pdo_get_bool_param(&bval, val)) { in dblib_set_attr() 314 H->datetime_convert = bval; in dblib_set_attr()
|
/php-src/ext/pdo_firebird/ |
H A D | firebird_driver.c | 1035 bool bval; in pdo_firebird_set_attribute() local 1041 if (!pdo_get_bool_param(&bval, val)) { in pdo_firebird_set_attribute() 1053 if (dbh->auto_commit ^ bval) { in pdo_firebird_set_attribute() 1054 if (bval) { in pdo_firebird_set_attribute() 1075 dbh->auto_commit = bval; in pdo_firebird_set_attribute() 1081 if (!pdo_get_bool_param(&bval, val)) { in pdo_firebird_set_attribute() 1084 H->fetch_table_names = bval; in pdo_firebird_set_attribute() 1172 if (H->is_writable_txn != bval) { in pdo_firebird_set_attribute() 1173 H->is_writable_txn = bval; in pdo_firebird_set_attribute() 1178 H->is_writable_txn = !bval; in pdo_firebird_set_attribute() [all …]
|
/php-src/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-src/ext/pdo/ |
H A D | pdo_dbh.c | 792 PDO_API bool pdo_get_bool_param(bool *bval, zval *value) in pdo_get_bool_param() argument 796 *bval = true; in pdo_get_bool_param() 799 *bval = false; in pdo_get_bool_param() 802 *bval = zval_is_true(value); in pdo_get_bool_param() 815 bool bval; in pdo_dbh_attribute_set() local 881 if (!pdo_get_bool_param(&bval, value)) { in pdo_dbh_attribute_set() 884 dbh->stringify = bval; in pdo_dbh_attribute_set()
|
H A D | php_pdo_driver.h | 701 PDO_API bool pdo_get_bool_param(bool *bval, zval *value);
|
/php-src/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 1329 bool bval; in pdo_pgsql_set_attr() local 1334 if (!pdo_get_bool_param(&bval, val)) { in pdo_pgsql_set_attr() 1337 H->emulate_prepares = bval; in pdo_pgsql_set_attr() 1340 if (!pdo_get_bool_param(&bval, val)) { in pdo_pgsql_set_attr() 1343 H->disable_prepares = bval; in pdo_pgsql_set_attr() 1346 if (!pdo_get_bool_param(&bval, val)) { in pdo_pgsql_set_attr() 1349 H->default_fetching_laziness = !bval; in pdo_pgsql_set_attr()
|
/php-src/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()
|
/php-src/ext/ldap/ |
H A D | ldap.c | 2397 struct berval *bval = *bval_ptr; in php_ldap_do_modify() local 2398 php_ldap_zend_string_release_from_char_pointer(bval->bv_val); in php_ldap_do_modify() 2399 efree(bval); in php_ldap_do_modify()
|