Home
last modified time | relevance | path

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

/php-src/Zend/
H A Dzend_constants.h51 #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 Dzend_constants.c138 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 Dzend_API.h1166 #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 Dzend_execute.c729 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 Dmysql_driver.c423 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 Ddblib_driver.c283 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 Dfirebird_driver.c1035 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 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-src/ext/pdo_pgsql/
H A Dpgsql_driver.c1329 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/pdo/
H A Dpdo_dbh.c792 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 Dphp_pdo_driver.h701 PDO_API bool pdo_get_bool_param(bool *bval, zval *value);
/php-src/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()
/php-src/ext/ldap/
H A Dldap.c2397 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()

Completed in 99 milliseconds