Home
last modified time | relevance | path

Searched refs:RETURN_BOOL (Results 1 – 25 of 59) sorted by relevance

123

/PHP-7.2/ext/standard/
H A Dversioning.c229 RETURN_BOOL(compare == -1); in PHP_FUNCTION()
232 RETURN_BOOL(compare != 1); in PHP_FUNCTION()
235 RETURN_BOOL(compare == 1); in PHP_FUNCTION()
238 RETURN_BOOL(compare != -1); in PHP_FUNCTION()
241 RETURN_BOOL(compare == 0); in PHP_FUNCTION()
244 RETURN_BOOL(compare != 0); in PHP_FUNCTION()
H A Dtype.c175 RETURN_BOOL(zend_is_true(val)); in PHP_FUNCTION()
244 RETURN_BOOL(Z_TYPE_P(arg) == IS_FALSE || Z_TYPE_P(arg) == IS_TRUE); in PHP_FUNCTION()
383 RETURN_BOOL(retval); in PHP_FUNCTION()
397 RETURN_BOOL(zend_is_iterable(var)); in PHP_FUNCTION()
H A Dfilestat.c790 RETURN_BOOL(VCWD_ACCESS(local, F_OK) == 0); in php_stat()
795 RETURN_BOOL(VCWD_ACCESS(local, W_OK) == 0); in php_stat()
800 RETURN_BOOL(VCWD_ACCESS(local, R_OK) == 0); in php_stat()
805 RETURN_BOOL(VCWD_ACCESS(local, X_OK) == 0); in php_stat()
904 RETURN_BOOL((ssb.sb.st_mode & wmask) != 0); in php_stat()
906 RETURN_BOOL((ssb.sb.st_mode&rmask)!=0); in php_stat()
908 RETURN_BOOL((ssb.sb.st_mode&xmask)!=0 && !S_ISDIR(ssb.sb.st_mode)); in php_stat()
910 RETURN_BOOL(S_ISREG(ssb.sb.st_mode)); in php_stat()
912 RETURN_BOOL(S_ISDIR(ssb.sb.st_mode)); in php_stat()
914 RETURN_BOOL(S_ISLNK(ssb.sb.st_mode)); in php_stat()
H A Dpassword.c306RETURN_BOOL(ARGON2_OK == argon2_verify(ZSTR_VAL(hash), ZSTR_VAL(password), ZSTR_LEN(password), Arg… in PHP_FUNCTION()
336 RETURN_BOOL(status == 0); in PHP_FUNCTION()
H A Dmath.c593 RETURN_BOOL(zend_finite(dval)); in PHP_FUNCTION()
606 RETURN_BOOL(zend_isinf(dval)); in PHP_FUNCTION()
619 RETURN_BOOL(zend_isnan(dval)); in PHP_FUNCTION()
H A Dfile.c1352RETURN_BOOL(php_stream_mkdir(dir, (int)mode, (recursive ? PHP_STREAM_MKDIR_RECURSIVE : 0) | REPORT… in PHP_FUNCTION()
1373 RETURN_BOOL(php_stream_rmdir(dir, REPORT_ERRORS, context)); in PHP_FUNCTION()
1492 RETURN_BOOL(wrapper->wops->rename(wrapper, old_name, new_name, 0, context)); in PHP_FUNCTION()
1525 RETURN_BOOL(wrapper->wops->unlink(wrapper, filename, REPORT_ERRORS, context)); in PHP_FUNCTION()
1554 RETURN_BOOL(0 == php_stream_truncate_set_size(stream, size)); in PHP_NAMED_FUNCTION()
2510 RETURN_BOOL( ! fnmatch( pattern, filename, (int)flags )); in PHP_FUNCTION()
H A Dstreamsfuncs.c1019 RETURN_BOOL(parse_context_options(context, options) == SUCCESS); in PHP_FUNCTION()
1038 RETURN_BOOL(php_stream_context_set_option(context, wrappername, optionname, zvalue) == SUCCESS); in PHP_FUNCTION()
1603 RETURN_BOOL(wrapper->is_url==0); in PHP_FUNCTION()
1754 RETURN_BOOL(php_stream_xport_shutdown(stream, (stream_shutdown_t)how) == 0); in PHP_FUNCTION()
/PHP-7.2/ext/session/
H A Dmod_user_class.c126 RETURN_BOOL(SUCCESS == PS(default_mod)->s_write(&PS(mod_data), key, val, PS(gc_maxlifetime))); in PHP_METHOD()
142 RETURN_BOOL(SUCCESS == PS(default_mod)->s_destroy(&PS(mod_data), key)); in PHP_METHOD()
/PHP-7.2/ext/ctype/
H A Dctype.c152 RETURN_BOOL(iswhat((int)Z_LVAL_P(c))); \
154 RETURN_BOOL(iswhat((int)Z_LVAL_P(c) + 256)); \
/PHP-7.2/ext/simplexml/
H A Dsxe.c65 RETURN_BOOL(!Z_ISUNDEF(sxe->iter.data)); in PHP_METHOD()
155 RETURN_BOOL(node ? 1 : 0); in PHP_METHOD()
/PHP-7.2/ext/intl/calendar/
H A Dcalendar_methods.cpp387 RETURN_BOOL((int)res); in _php_intlcal_before_after()
834 RETURN_BOOL((int)ret); in PHP_FUNCTION()
860 RETURN_BOOL((int)co->ucal->isEquivalentTo(*other_co->ucal)); in PHP_FUNCTION()
876 RETURN_BOOL((int)co->ucal->isLenient()); in PHP_FUNCTION()
899 RETURN_BOOL((int)co->ucal->isSet((UCalendarDateFields)field)); in PHP_FUNCTION()
919 RETURN_BOOL((int)co->ucal->isWeekend()); in PHP_FUNCTION()
924 RETURN_BOOL((int)ret); in PHP_FUNCTION()
1025 RETURN_BOOL((int)result); in PHP_FUNCTION()
H A Dgregoriancalendar_methods.cpp283 RETURN_BOOL((int)fetch_greg(co)->isLeapYear((int32_t)year)); in PHP_FUNCTION()
/PHP-7.2/ext/phar/
H A Dfunc_interceptors.c507 RETURN_BOOL((stat_sb->st_mode & wmask) != 0); in phar_fancy_stat()
509 RETURN_BOOL((stat_sb->st_mode&rmask)!=0); in phar_fancy_stat()
511 RETURN_BOOL((stat_sb->st_mode&xmask)!=0 && !S_ISDIR(stat_sb->st_mode)); in phar_fancy_stat()
513 RETURN_BOOL(S_ISREG(stat_sb->st_mode)); in phar_fancy_stat()
515 RETURN_BOOL(S_ISDIR(stat_sb->st_mode)); in phar_fancy_stat()
517 RETURN_BOOL(S_ISLNK(stat_sb->st_mode)); in phar_fancy_stat()
894 RETURN_BOOL(!etemp->is_dir); in PharFileFunction()
961 RETURN_BOOL(etemp->link); in PHAR_FUNC()
/PHP-7.2/ext/mysqli/
H A Dmysqli_api.c380 RETURN_BOOL(!rc); in PHP_FUNCTION()
605 RETURN_BOOL(!rc); in PHP_FUNCTION()
821 RETURN_BOOL(!mysql_dump_debug_info(mysql->mysql))
1130 RETURN_BOOL(FALSE);
1132 RETURN_BOOL(TRUE);
1596 RETURN_BOOL(mysql_more_results(mysql->mysql));
1617 RETURN_BOOL(!mysql_next_result(mysql->mysql));
1655 RETURN_BOOL(!mysql_stmt_next_result(stmt->stmt));
1814 RETURN_BOOL(!ret);
1833 RETURN_BOOL(!rc);
[all …]
/PHP-7.2/ext/sysvshm/
H A Dsysvshm.c219 RETURN_BOOL(SUCCESS == zend_list_close(Z_RES_P(shm_id))); in PHP_FUNCTION()
333 RETURN_BOOL(php_check_shm_data(shm_list_ptr->ptr, shm_key) >= 0); in PHP_FUNCTION()
/PHP-7.2/ext/enchant/
H A Denchant.c658 RETURN_BOOL(enchant_broker_dict_exists(pbroker->pbroker, tag)); in PHP_FUNCTION()
769 RETURN_BOOL(!enchant_dict_check(pdict->pdict, word, wordlen)); in PHP_FUNCTION()
859 RETURN_BOOL(enchant_dict_is_in_session(pdict->pdict, word, wordlen)); in PHP_FUNCTION()
/PHP-7.2/ext/intl/common/
H A Dcommon_error.c63 RETURN_BOOL( U_FAILURE( err_code ) ); in PHP_FUNCTION()
H A Dcommon_enum.cpp293 RETURN_BOOL(ii->iterator->funcs->valid(ii->iterator) == SUCCESS); in PHP_METHOD()
/PHP-7.2/ext/reflection/
H A Dphp_reflection.c1114 RETURN_BOOL(mptr->common.fn_flags & mask); in _function_check_flag()
1731 RETURN_BOOL(fptr->type == ZEND_INTERNAL_FUNCTION); in ZEND_METHOD()
1746 RETURN_BOOL(fptr->type == ZEND_USER_FUNCTION); in ZEND_METHOD()
3480 RETURN_BOOL(mptr->common.fn_flags & ZEND_ACC_DTOR); in ZEND_METHOD()
3654 RETURN_BOOL(Z_ACCESS_FLAGS(ref->value) & mask); in _class_constant_check_flag()
4003 RETURN_BOOL(ce->type == ZEND_INTERNAL_CLASS); in ZEND_METHOD()
4018 RETURN_BOOL(ce->type == ZEND_USER_CLASS); in ZEND_METHOD()
4033 RETURN_BOOL(ce->ce_flags & ZEND_ACC_ANON_CLASS); in ZEND_METHOD()
5449 RETURN_BOOL(ref->prop.flags & mask); in _property_check_flag()
6050 RETURN_BOOL(module->type == MODULE_PERSISTENT); in ZEND_METHOD()
[all …]
/PHP-7.2/win32/
H A Dcodepage.c554 RETURN_BOOL(cp->id == id); in PHP_FUNCTION()
589 RETURN_BOOL(php_win32_cp_use_unicode()); in PHP_FUNCTION()
/PHP-7.2/ext/spl/
H A Dspl_observer.c558 RETURN_BOOL(spl_object_storage_contains(intern, getThis(), obj)); in SPL_METHOD()
611 RETURN_BOOL(zend_hash_has_more_elements_ex(&intern->storage, &intern->pos) == SUCCESS); in SPL_METHOD()
1104 RETURN_BOOL(!expect); in SPL_METHOD()
1110 RETURN_BOOL(expect); in SPL_METHOD()
H A Dspl_heap.c572 RETURN_BOOL(spl_ptr_heap_count(intern->heap) == 0); in SPL_METHOD()
800 RETURN_BOOL(intern->heap->flags & SPL_HEAP_CORRUPTED); in SPL_METHOD()
1003 RETURN_BOOL(intern->heap->count != 0); in SPL_METHOD()
/PHP-7.2/ext/intl/timezone/
H A Dtimezone_methods.cpp438 RETURN_BOOL(to->utimezone->useDaylightTime()); in PHP_FUNCTION()
513 RETURN_BOOL(to->utimezone->hasSameRules(*other_to->utimezone)); in PHP_FUNCTION()
/PHP-7.2/Zend/
H A Dzend_builtin_functions.c364 RETURN_BOOL(GC_G(gc_enabled)); in ZEND_FUNCTION()
1016 RETURN_BOOL(retval); in is_a_impl()
1397 RETURN_BOOL((ce->ce_flags & (ZEND_ACC_INTERFACE | ZEND_ACC_TRAIT)) == 0); in ZEND_FUNCTION()
1428 RETURN_BOOL(ce && ce->ce_flags & ZEND_ACC_INTERFACE); in ZEND_FUNCTION()
1433 RETURN_BOOL((ce->ce_flags & ZEND_ACC_INTERFACE) > 0); in ZEND_FUNCTION()
1470 RETURN_BOOL((ce->ce_flags & ZEND_ACC_TRAIT) != 0); in ZEND_FUNCTION()
1504 RETURN_BOOL(func && (func->type != ZEND_INTERNAL_FUNCTION || in ZEND_FUNCTION()
/PHP-7.2/ext/intl/breakiterator/
H A Dbreakiterator_methods.cpp342 RETURN_BOOL((zend_long)res); in PHP_FUNCTION()

Completed in 142 milliseconds

123