Home
last modified time | relevance | path

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

123

/php-src/ext/ctype/
H A Dctype.c71 RETURN_BOOL(iswhat((int)Z_LVAL_P(c))); in ctype_fallback()
73 RETURN_BOOL(iswhat((int)Z_LVAL_P(c) + 256)); in ctype_fallback()
75 RETURN_BOOL(allow_digits); in ctype_fallback()
77 RETURN_BOOL(allow_minus); in ctype_fallback()
/php-src/ext/standard/
H A Dversioning.c223 RETURN_BOOL(compare == -1); in PHP_FUNCTION()
226 RETURN_BOOL(compare != 1); in PHP_FUNCTION()
229 RETURN_BOOL(compare == 1); in PHP_FUNCTION()
232 RETURN_BOOL(compare != -1); in PHP_FUNCTION()
235 RETURN_BOOL(compare == 0); in PHP_FUNCTION()
238 RETURN_BOOL(compare != 0); in PHP_FUNCTION()
H A Dtype.c223 RETURN_BOOL(zend_is_true(value)); in PHP_FUNCTION()
288 RETURN_BOOL(Z_TYPE_P(arg) == IS_FALSE || Z_TYPE_P(arg) == IS_TRUE); in PHP_FUNCTION()
333 RETURN_BOOL(zend_array_is_list(array)); in PHP_FUNCTION()
440 RETURN_BOOL(retval); in PHP_FUNCTION()
453 RETURN_BOOL(zend_is_iterable(var)); in PHP_FUNCTION()
466 RETURN_BOOL(zend_is_countable(var)); in PHP_FUNCTION()
H A Dfilestat.c740 RETURN_BOOL(VCWD_ACCESS(file_path_to_check, F_OK) == 0); in php_stat()
745 RETURN_BOOL(VCWD_ACCESS(file_path_to_check, W_OK) == 0); in php_stat()
750 RETURN_BOOL(VCWD_ACCESS(file_path_to_check, R_OK) == 0); in php_stat()
755 RETURN_BOOL(VCWD_ACCESS(file_path_to_check, X_OK) == 0); in php_stat()
905 RETURN_BOOL((stat_sb->st_mode & wmask) != 0); in php_stat()
907 RETURN_BOOL((stat_sb->st_mode & rmask) != 0); in php_stat()
909 RETURN_BOOL((stat_sb->st_mode & xmask) != 0); in php_stat()
911 RETURN_BOOL(S_ISREG(stat_sb->st_mode)); in php_stat()
913 RETURN_BOOL(S_ISDIR(stat_sb->st_mode)); in php_stat()
915 RETURN_BOOL(S_ISLNK(stat_sb->st_mode)); in php_stat()
H A Dfile.c1164RETURN_BOOL(php_stream_mkdir(dir, (int)mode, (recursive ? PHP_STREAM_MKDIR_RECURSIVE : 0) | REPORT… in PHP_FUNCTION()
1184 RETURN_BOOL(php_stream_rmdir(dir, REPORT_ERRORS, context)); in PHP_FUNCTION()
1300 RETURN_BOOL(wrapper->wops->rename(wrapper, old_name, new_name, 0, context)); in PHP_FUNCTION()
1332 RETURN_BOOL(wrapper->wops->unlink(wrapper, filename, REPORT_ERRORS, context)); in PHP_FUNCTION()
1352 RETURN_BOOL(php_stream_sync(stream, /* data_only */ 0) == 0); in PHP_FUNCTION()
1371 RETURN_BOOL(php_stream_sync(stream, /* data_only */ 1) == 0); in PHP_FUNCTION()
1398 RETURN_BOOL(0 == php_stream_truncate_set_size(stream, size)); in PHP_FUNCTION()
2355 RETURN_BOOL( ! fnmatch( pattern, filename, (int)flags )); in PHP_FUNCTION()
H A Dpassword.c609 RETURN_BOOL(old_algo->needs_rehash(hash, options)); in PHP_FUNCTION()
625 RETURN_BOOL(algo && (!algo->verify || algo->verify(password, hash))); in PHP_FUNCTION()
H A Dmath.c532 RETURN_BOOL(zend_finite(dval)); in PHP_FUNCTION()
544 RETURN_BOOL(zend_isinf(dval)); in PHP_FUNCTION()
556 RETURN_BOOL(zend_isnan(dval)); in PHP_FUNCTION()
/php-src/ext/xmlwriter/
H A Dphp_xmlwriter.c223 RETURN_BOOL(retval != -1); in ZEND_GET_MODULE()
239 RETURN_BOOL(retval != -1); in php_xmlwriter_end()
257 RETURN_BOOL(retval == 0); in PHP_FUNCTION()
301 RETURN_BOOL(retval != -1); in PHP_FUNCTION()
324 RETURN_BOOL(retval != -1); in PHP_FUNCTION()
347 RETURN_BOOL(retval != -1); in PHP_FUNCTION()
377 RETURN_BOOL(retval != -1); in PHP_FUNCTION()
422 RETURN_BOOL(retval != -1); in PHP_FUNCTION()
453 RETURN_BOOL(retval != -1); in PHP_FUNCTION()
490 RETURN_BOOL(retval != -1); in PHP_FUNCTION()
[all …]
/php-src/ext/session/
H A Dmod_user_class.c61 RETURN_BOOL(SUCCESS == ret); in PHP_METHOD()
85 RETURN_BOOL(SUCCESS == ret); in PHP_METHOD()
120 RETURN_BOOL(SUCCESS == PS(default_mod)->s_write(&PS(mod_data), key, val, PS(gc_maxlifetime))); in PHP_METHOD()
135 RETURN_BOOL(SUCCESS == PS(default_mod)->s_destroy(&PS(mod_data), key)); in PHP_METHOD()
/php-src/ext/odbc/
H A Dodbc_utils.c38 RETURN_BOOL(is_quoted); in PHP_FUNCTION()
51 RETURN_BOOL(should_quote); in PHP_FUNCTION()
/php-src/ext/intl/common/
H A Dcommon_error.c60 RETURN_BOOL( U_FAILURE( err_code ) ); in PHP_FUNCTION()
H A Dcommon_enum.cpp280 RETURN_BOOL(ii->iterator->funcs->valid(ii->iterator) == SUCCESS); in PHP_METHOD()
/php-src/ext/intl/calendar/
H A Dcalendar_methods.cpp357 RETURN_BOOL((int)res); in _php_intlcal_before_after()
760 RETURN_BOOL((int)ret); in PHP_FUNCTION()
783 RETURN_BOOL((int)co->ucal->isEquivalentTo(*other_co->ucal)); in PHP_FUNCTION()
797 RETURN_BOOL((int)co->ucal->isLenient()); in PHP_FUNCTION()
814 RETURN_BOOL((int)co->ucal->isSet((UCalendarDateFields)field)); in PHP_FUNCTION()
831 RETURN_BOOL((int)co->ucal->isWeekend()); in PHP_FUNCTION()
836 RETURN_BOOL((int)ret); in PHP_FUNCTION()
922 RETURN_BOOL((int)result); in PHP_FUNCTION()
/php-src/ext/phar/
H A Dfunc_interceptors.c401 RETURN_BOOL((stat_sb->st_mode & wmask) != 0); in phar_fancy_stat()
403 RETURN_BOOL((stat_sb->st_mode&rmask)!=0); in phar_fancy_stat()
405 RETURN_BOOL((stat_sb->st_mode&xmask)!=0 && !S_ISDIR(stat_sb->st_mode)); in phar_fancy_stat()
407 RETURN_BOOL(S_ISREG(stat_sb->st_mode)); in phar_fancy_stat()
409 RETURN_BOOL(S_ISDIR(stat_sb->st_mode)); in phar_fancy_stat()
411 RETURN_BOOL(S_ISLNK(stat_sb->st_mode)); in phar_fancy_stat()
773 RETURN_BOOL(!etemp->is_dir); in PharFileFunction()
839 RETURN_BOOL(etemp->link); in PHAR_FUNC()
/php-src/win32/
H A Dsignal.c156 RETURN_BOOL(ret); in PHP_FUNCTION()
H A Dcodepage.c617 RETURN_BOOL(cp->id == id); in PHP_FUNCTION()
653 RETURN_BOOL(php_win32_cp_use_unicode()); in PHP_FUNCTION()
/php-src/ext/tokenizer/
H A Dtokenizer.c156 RETURN_BOOL(Z_LVAL_P(id_zval) == Z_LVAL_P(kind)); in PHP_METHOD()
163 RETURN_BOOL(zend_string_equals(text, Z_STR_P(kind))); in PHP_METHOD()
211 RETURN_BOOL(id == T_WHITESPACE || id == T_COMMENT || id == T_DOC_COMMENT || id == T_OPEN_TAG); in PHP_METHOD()
/php-src/ext/reflection/
H A Dphp_reflection.c1292 RETURN_BOOL(mptr->common.fn_flags & mask); in _function_check_flag()
2919 RETURN_BOOL(default_value != NULL); in ZEND_METHOD()
3574 RETURN_BOOL(backslash); in ZEND_METHOD()
3722 RETURN_BOOL(zend_string_equals_literal_ci( in ZEND_METHOD()
4354 RETURN_BOOL(ce->type == ZEND_INTERNAL_CLASS); in ZEND_METHOD()
4368 RETURN_BOOL(ce->type == ZEND_USER_CLASS); in ZEND_METHOD()
5488 RETURN_BOOL(backslash); in ZEND_METHOD()
5643 RETURN_BOOL(prop_get_flags(ref) & mask); in _property_check_flag()
5690 RETURN_BOOL(ref->prop != NULL); in ZEND_METHOD()
5825 RETURN_BOOL(!Z_ISUNDEF_P(member_p)); in ZEND_METHOD()
[all …]
/php-src/ext/enchant/
H A Denchant.c543 RETURN_BOOL(enchant_broker_dict_exists(pbroker->pbroker, tag)); in PHP_FUNCTION()
651 RETURN_BOOL(!enchant_dict_check(pdict->pdict, word, wordlen)); in PHP_FUNCTION()
735 RETURN_BOOL(enchant_dict_is_added(pdict->pdict, word, wordlen)); in PHP_FUNCTION()
/php-src/ext/mysqli/
H A Dmysqli_api.c202 RETURN_BOOL(!rc); in PHP_FUNCTION()
386 RETURN_BOOL(!mysql_dump_debug_info(mysql->mysql)); in PHP_FUNCTION()
1077 RETURN_BOOL(mysql_more_results(mysql->mysql)); in PHP_FUNCTION()
1111 RETURN_BOOL(mysqlnd_stmt_more_results(stmt->stmt)); in PHP_FUNCTION()
1273 RETURN_BOOL(!ret); in PHP_FUNCTION()
1291 RETURN_BOOL(!rc); in PHP_FUNCTION()
1712 RETURN_BOOL(!mysql_refresh(mysql->mysql, (uint8_t) options)); in PHP_FUNCTION()
2002 RETURN_BOOL(mysql_thread_safe()); in PHP_FUNCTION()
/php-src/Zend/
H A Dzend_fibers.c944 RETURN_BOOL(fiber->context.status != ZEND_FIBER_STATUS_INIT); in ZEND_METHOD()
955 RETURN_BOOL(fiber->context.status == ZEND_FIBER_STATUS_SUSPENDED && fiber->caller == NULL); in ZEND_METHOD()
966 RETURN_BOOL(fiber->context.status == ZEND_FIBER_STATUS_RUNNING || fiber->caller != NULL); in ZEND_METHOD()
977 RETURN_BOOL(fiber->context.status == ZEND_FIBER_STATUS_DEAD); in ZEND_METHOD()
H A Dzend_builtin_functions.c106 RETURN_BOOL(gc_enabled()); in ZEND_FUNCTION()
670 RETURN_BOOL(retval); in is_a_impl()
914 RETURN_BOOL(Z_TYPE_P(klass) == IS_OBJECT in ZEND_FUNCTION()
1013 RETURN_BOOL(((ce->ce_flags & flags) == flags) && !(ce->ce_flags & skip_flags)); in _class_exists_impl()
1033 RETURN_BOOL(((ce->ce_flags & flags) == flags) && !(ce->ce_flags & skip_flags)); in _class_exists_impl()
1130 RETURN_BOOL(exists); in ZEND_FUNCTION()
/php-src/ext/spl/
H A Dspl_observer.c640 RETURN_BOOL(spl_object_storage_contains(intern, obj)); in PHP_METHOD()
682 RETURN_BOOL(zend_hash_has_more_elements_ex(&intern->storage, &intern->pos) == SUCCESS); in PHP_METHOD()
1126 RETURN_BOOL(spl_object_storage_contains(intern, Z_OBJ_P(iterator))); in PHP_METHOD()
1215 RETURN_BOOL(!expect); in PHP_METHOD()
1221 RETURN_BOOL(expect); in PHP_METHOD()
/php-src/ext/json/
H A Djson.c351 RETURN_BOOL(php_json_validate_ex(str, str_len, options, depth)); in PHP_FUNCTION()
/php-src/ext/intl/uchar/
H A Duchar.c100 RETURN_BOOL(u_hasBinaryProperty(cp, (UProperty)prop)); in IC_METHOD()
532 RETURN_BOOL(u_##name(cp)); \

Completed in 92 milliseconds

123