Home
last modified time | relevance | path

Searched refs:Z_TYPE (Results 1 – 25 of 131) sorted by relevance

123456

/php-src/main/streams/
H A Duserspace.c642 if (Z_TYPE(retval) == IS_FALSE) { in php_userstreamop_read()
878 if (call_result == SUCCESS && (Z_TYPE(retval) == IS_FALSE || Z_TYPE(retval) == IS_TRUE)) { in php_userstreamop_set_option()
913 if (call_result == SUCCESS && (Z_TYPE(retval) == IS_FALSE || Z_TYPE(retval) == IS_TRUE)) { in php_userstreamop_set_option()
948 if (Z_TYPE(retval) == IS_FALSE || Z_TYPE(retval) == IS_TRUE) { in php_userstreamop_set_option()
1043 if (Z_TYPE(object) == IS_UNDEF) { in user_wrapper_unlink()
1054 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_unlink()
1094 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_rename()
1136 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_mkdir()
1178 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_rmdir()
1244 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_metadata()
[all …]
/php-src/Zend/Optimizer/
H A Dpass1.c72 if (opline->op1_type == IS_CONST && Z_TYPE(ZEND_OP1_LITERAL(opline)) != IS_STRING) { in zend_optimizer_pass1()
108 && Z_TYPE(ZEND_OP2_LITERAL(opline)) != IS_STRING) { in zend_optimizer_pass1()
130 Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_STRING && in zend_optimizer_pass1()
150 Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_STRING) { in zend_optimizer_pass1()
157 if (Z_TYPE(result) == IS_CONSTANT_AST) { in zend_optimizer_pass1()
175 || Z_TYPE(result) == IS_CONSTANT_AST) { in zend_optimizer_pass1()
218 Z_TYPE(ZEND_OP2_LITERAL(init_opline)) != IS_STRING) { in zend_optimizer_pass1()
227 if (Z_TYPE(ZEND_OP1_LITERAL(send1_opline)) == IS_STRING && send2_opline) { in zend_optimizer_pass1()
253 if (!send2_opline && Z_TYPE(ZEND_OP1_LITERAL(send1_opline)) == IS_STRING && in zend_optimizer_pass1()
283 Z_TYPE(ZEND_OP1_LITERAL(opline)) == IS_STRING && in zend_optimizer_pass1()
[all …]
H A Dblock_pass.c229 Z_TYPE(ZEND_OP1_LITERAL(opline)) != IS_DOUBLE) { in zend_optimize_block()
237 if (Z_TYPE(ZEND_OP1_LITERAL(opline)) != IS_STRING) { in zend_optimize_block()
240 if (Z_TYPE(ZEND_OP1_LITERAL(last_op)) != IS_STRING) { in zend_optimize_block()
445 (Z_TYPE(ZEND_OP1_LITERAL(opline)) == IS_FALSE || in zend_optimize_block()
446 Z_TYPE(ZEND_OP1_LITERAL(opline)) == IS_TRUE)) { in zend_optimize_block()
458 (Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_FALSE || in zend_optimize_block()
459 Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_TRUE)) { in zend_optimize_block()
698 if (Z_TYPE(ZEND_OP2_LITERAL(opline)) != IS_STRING) { in zend_optimize_block()
701 if (Z_TYPE(ZEND_OP2_LITERAL(src)) != IS_STRING) { in zend_optimize_block()
755 Z_TYPE(ZEND_OP1_LITERAL(opline)) == IS_STRING && in zend_optimize_block()
[all …]
/php-src/ext/standard/
H A Dassert.c51 if (Z_TYPE(ASSERTG(callback)) != IS_UNDEF) { in PHP_INI_MH()
55 if (new_value && (Z_TYPE(ASSERTG(callback)) != IS_UNDEF || ZSTR_LEN(new_value))) { in PHP_INI_MH()
159 if (Z_TYPE(ASSERTG(callback)) != IS_UNDEF) { in PHP_RSHUTDOWN_FUNCTION()
201 if (Z_TYPE(ASSERTG(callback)) == IS_UNDEF && ASSERTG(cb)) { in PHP_FUNCTION()
205 if (Z_TYPE(ASSERTG(callback)) != IS_UNDEF) { in PHP_FUNCTION()
319 if (Z_TYPE(ASSERTG(callback)) != IS_UNDEF) { in PHP_FUNCTION()
H A Darray.c679 if (Z_TYPE(retval) != IS_UNDEF) { in PHP_FUNCTION()
829 if (UNEXPECTED(Z_TYPE(retval) == IS_FALSE || Z_TYPE(retval) == IS_TRUE)) { in php_array_user_compare_unstable()
837 if (Z_TYPE(retval) == IS_FALSE) { in php_array_user_compare_unstable()
955 if (UNEXPECTED(Z_TYPE(retval) == IS_FALSE || Z_TYPE(retval) == IS_TRUE)) { in php_array_user_key_compare_unstable()
963 if (Z_TYPE(retval) == IS_FALSE) { in php_array_user_key_compare_unstable()
1209 if (Z_TYPE(args[0]) != IS_ARRAY) { in PHP_FUNCTION()
1337 if (Z_TYPE(args[0]) != IS_ARRAY) { in PHP_FUNCTION()
1562 if (Z_TYPE(args[1]) != IS_UNDEF) { in php_array_walk()
6391 if (status == FAILURE || (Z_TYPE(dst) != IS_LONG && Z_TYPE(dst) != IS_DOUBLE)) {
7003 if (Z_TYPE(chunk) == IS_UNDEF) {
[all …]
H A Duser_filters.c182 if (call_result == SUCCESS && Z_TYPE(retval) != IS_UNDEF) { in userfilter_filter()
306 if (Z_TYPE(retval) != IS_UNDEF) { in user_filter_factory_create()
307 if (Z_TYPE(retval) == IS_FALSE) { in user_filter_factory_create()
/php-src/Zend/
H A Dzend_highlight.c121 if (Z_TYPE(token) == IS_UNDEF) { in zend_highlight()
141 if (Z_TYPE(token) == IS_STRING) { in zend_highlight()
202 if (Z_TYPE(token) == IS_STRING) { in zend_strip()
H A Dzend_property_hooks.c213 if (UNEXPECTED(Z_TYPE(bucket->val) == IS_UNDEF)) { in zho_dynamic_it_fetch_current()
222 if (hooked_iter->by_ref && Z_TYPE(bucket->val) != IS_REFERENCE) { in zho_dynamic_it_fetch_current()
237 if (Z_TYPE(hooked_iter->current_data) != IS_UNDEF) { in zho_it_fetch_current()
249 if (Z_TYPE(hooked_iter->current_data) != IS_UNDEF || EG(exception)) { in zho_it_fetch_current()
270 return Z_TYPE(hooked_iter->current_data) != IS_UNDEF ? SUCCESS : FAILURE; in zho_it_valid()
H A Dzend_closures.c212 if (Z_TYPE(closure_result) != IS_UNDEF) { in ZEND_METHOD()
434 if (Z_TYPE(lhs->this_ptr) != Z_TYPE(rhs->this_ptr)) { in zend_closure_compare()
438 if (Z_TYPE(lhs->this_ptr) == IS_OBJECT && Z_OBJ(lhs->this_ptr) != Z_OBJ(rhs->this_ptr)) { in zend_closure_compare()
532 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) { in zend_closure_free_storage()
569 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) { in zend_closure_get_closure()
642 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) { in zend_closure_get_debug_info()
687 *table = Z_TYPE(closure->this_ptr) != IS_NULL ? &closure->this_ptr : NULL; in zend_closure_get_gc()
688 *n = Z_TYPE(closure->this_ptr) != IS_NULL ? 1 : 0; in zend_closure_get_gc()
H A Dzend_hash.c1368 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) { in zend_hash_rehash()
1587 if (Z_TYPE(p->val) == IS_INDIRECT) { in zend_hash_del_ind()
1636 if (Z_TYPE(p->val) == IS_INDIRECT) { in zend_hash_str_del_ind()
1781 if (EXPECTED(Z_TYPE(p->val) != IS_UNDEF)) { in zend_hash_destroy()
1850 if (EXPECTED(Z_TYPE(p->val) != IS_UNDEF)) { in zend_array_destroy()
1920 if (EXPECTED(Z_TYPE(p->val) != IS_UNDEF)) { in zend_hash_clean()
1970 if (EXPECTED(Z_TYPE(p->val) != IS_UNDEF)) { in zend_symtable_clean()
2755 if (Z_TYPE(ht->arPacked[idx]) != IS_UNDEF) { in zend_hash_internal_pointer_end_ex()
2763 if (Z_TYPE(ht->arData[idx].val) != IS_UNDEF) { in zend_hash_internal_pointer_end_ex()
2789 if (Z_TYPE(ht->arPacked[idx]) != IS_UNDEF) { in zend_hash_move_forward_ex()
[all …]
H A Dzend_generators.c267 if (UNEXPECTED(Z_TYPE(generator->values) != IS_UNDEF)) { in zend_generator_dtor_storage()
484 if (!ptr->func && Z_TYPE(ptr->This) == IS_OBJECT) { in zend_generator_check_placeholder_frame()
517 if (UNEXPECTED(Z_TYPE(generator->values) != IS_UNDEF)) { in zend_generator_throw_exception()
650 if (Z_TYPE(generator->values) == IS_ARRAY) { in zend_generator_get_next_delegated_value()
877 …if (UNEXPECTED(Z_TYPE(generator->value) == IS_UNDEF) && EXPECTED(generator->execute_data) && EXPEC… in zend_generator_ensure_initialized()
936 if (EXPECTED(generator->execute_data != NULL && Z_TYPE(root->value) != IS_UNDEF)) { in ZEND_METHOD()
954 if (EXPECTED(generator->execute_data != NULL && Z_TYPE(root->key) != IS_UNDEF)) { in ZEND_METHOD()
1138 if (EXPECTED(Z_TYPE(root->key) != IS_UNDEF)) { in zend_generator_iterator_get_key()
/php-src/ext/session/
H A Dmod_user.c156 if (Z_TYPE(retval) == IS_STRING) { in PS_READ_FUNC()
212 if (Z_TYPE(retval) == IS_LONG) { in PS_GC_FUNC()
214 } else if (Z_TYPE(retval) == IS_TRUE) { in PS_GC_FUNC()
234 if (Z_TYPE(retval) == IS_STRING) { in PS_CREATE_SID_FUNC()
/php-src/win32/
H A Dsignal.c31 if (IS_UNDEF != Z_TYPE(ctrl_handler)) { in php_win32_signal_ctrl_interrupt_function()
152 if (IS_UNDEF != Z_TYPE(ctrl_handler)) { in PHP_FUNCTION()
/php-src/ext/mysqli/
H A Dmysqli_result_iterator.c80 return Z_TYPE(iterator->current_row) == IS_ARRAY ? SUCCESS : FAILURE; in php_mysqli_result_iterator_valid()
105 if (Z_TYPE(iterator->current_row) == IS_ARRAY) { in php_mysqli_result_iterator_move_forward()
H A Dmysqli_warning.c79 if (Z_TYPE(row) != IS_ARRAY) { in php_get_warnings()
/php-src/ext/readline/
H A Dreadline.c101 if (Z_TYPE(_prepped_callback) != IS_UNDEF) { in PHP_RSHUTDOWN_FUNCTION()
466 if (Z_TYPE(_readline_array) == IS_ARRAY) { in php_readline_completion_cb()
538 if (Z_TYPE(_prepped_callback) != IS_UNDEF) { in PHP_FUNCTION()
558 if (Z_TYPE(_prepped_callback) != IS_UNDEF) { in PHP_FUNCTION()
571 if (Z_TYPE(_prepped_callback) != IS_UNDEF) { in PHP_FUNCTION()
/php-src/ext/dom/
H A Dxpath_callbacks.c427 if (Z_TYPE(callback_retval) != IS_UNDEF) { in php_dom_xpath_callback_dispatch()
428 …if (Z_TYPE(callback_retval) == IS_OBJECT && instanceof_function(Z_OBJCE(callback_retval), dom_node… in php_dom_xpath_callback_dispatch()
439 } else if (Z_TYPE(callback_retval) == IS_FALSE || Z_TYPE(callback_retval) == IS_TRUE) { in php_dom_xpath_callback_dispatch()
440 valuePush(ctxt, xmlXPathNewBoolean(Z_TYPE(callback_retval) == IS_TRUE)); in php_dom_xpath_callback_dispatch()
441 } else if (Z_TYPE(callback_retval) == IS_OBJECT) { in php_dom_xpath_callback_dispatch()
/php-src/sapi/fuzzer/
H A Dfuzzer-unserializehash.c58 if (Z_TYPE(result) == IS_OBJECT in LLVMFuzzerTestOneInput()
H A Dfuzzer-execute-common.h131 ZEND_ASSERT(Z_TYPE(retval) == IS_TRUE); in opcache_invalidate()
/php-src/ext/spl/
H A Dspl_iterators.c303 if (Z_TYPE(retval) != IS_UNDEF) { in spl_recursive_it_move_forward_ex()
371 if (Z_TYPE(child) == IS_UNDEF || Z_TYPE(child) != IS_OBJECT || in spl_recursive_it_move_forward_ex()
1002 if (Z_TYPE(has_next) != IS_UNDEF) { in spl_recursive_tree_iterator_get_prefix()
1003 if (Z_TYPE(has_next) == IS_TRUE) { in spl_recursive_tree_iterator_get_prefix()
1012 if (Z_TYPE(has_next) != IS_UNDEF) { in spl_recursive_tree_iterator_get_prefix()
1013 if (Z_TYPE(has_next) == IS_TRUE) { in spl_recursive_tree_iterator_get_prefix()
1450 if (Z_TYPE(intern->current.key) != IS_UNDEF) { in spl_dual_it_free()
1597 if (Z_TYPE(retval) != IS_UNDEF) { in spl_filter_it_fetch()
1682 if (Z_TYPE(childrens) == IS_UNDEF) { in PHP_METHOD()
1704 if (Z_TYPE(params[0]) == IS_UNDEF) { in PHP_METHOD()
[all …]
/php-src/ext/com_dotnet/
H A Dcom_iterator.c56 if (Z_TYPE(I->zdata) != IS_UNDEF) { in com_iter_valid()
90 if (Z_TYPE(I->zdata) != IS_UNDEF) { in com_iter_move_forwards()
/php-src/sapi/phpdbg/
H A Dphpdbg_info.c128 zend_get_type_by_const(Z_TYPE(data->value)), \ in PHPDBG_INFO()
131 switch (Z_TYPE(data->value)) { in PHPDBG_INFO()
327 if (Z_TYPE(ops->literals[literal]) != IS_NULL) { in PHPDBG_INFO()
/php-src/ext/opcache/
H A Dzend_accelerator_util_funcs.c106 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_accel_move_user_functions()
137 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_accel_move_user_classes()
158 ZEND_ASSERT(Z_TYPE(p->val) != IS_UNDEF); in _zend_accel_function_hash_copy()
209 ZEND_ASSERT(Z_TYPE(p->val) != IS_UNDEF); in _zend_accel_class_hash_copy()
/php-src/ext/dom/parentnode/
H A Dtree.c99 if (Z_TYPE(nodes[i]) == IS_OBJECT) { in dom_is_node_in_list()
381 if (Z_TYPE(nodes[i]) == IS_OBJECT) { in dom_zvals_to_single_node()
414 ZEND_ASSERT(Z_TYPE(nodes[i]) == IS_STRING); in dom_zvals_to_single_node()
440 zend_uchar type = Z_TYPE(nodes[i]); in dom_sanity_check_node_list_types()
/php-src/ext/pdo/
H A Dpdo_stmt.c811 if (Z_TYPE(val) != IS_NULL) { in do_fetch()
920 if (Z_TYPE(val) == IS_LONG) { in do_fetch()
996 …>unserialize(return_value, ce, (unsigned char *)(Z_TYPE(val) == IS_STRING ? Z_STRVAL(val) : ""), Z… in do_fetch()
1744 if (Z_TYPE(args[0]) != IS_LONG) { in pdo_stmt_setup_fetch_mode()
1786 if (Z_TYPE(args[0]) != IS_STRING) { in pdo_stmt_setup_fetch_mode()
1798 if (Z_TYPE(args[1]) != IS_NULL && Z_TYPE(args[1]) != IS_ARRAY) { in pdo_stmt_setup_fetch_mode()
1803 if (Z_TYPE(args[1]) == IS_ARRAY && zend_hash_num_elements(Z_ARRVAL(args[1]))) { in pdo_stmt_setup_fetch_mode()
1826 if (Z_TYPE(args[0]) != IS_OBJECT) { in pdo_stmt_setup_fetch_mode()
2379 bool res = check_empty ? i_zend_is_true(retval) : Z_TYPE(tmp_val) != IS_NULL; in row_prop_exists()
2405 bool res = check_empty ? i_zend_is_true(retval) : Z_TYPE(tmp_val) != IS_NULL; in row_dim_exists()

Completed in 115 milliseconds

123456