Home
last modified time | relevance | path

Searched refs:zend_is_true (Results 1 – 25 of 40) sorted by relevance

12

/PHP-7.3/ext/opcache/Optimizer/
H A Dpass2.c145 int should_jmp = zend_is_true(&ZEND_OP1_LITERAL(opline)); in zend_optimizer_pass2()
159 int should_jmp = zend_is_true(&ZEND_OP1_LITERAL(opline)); in zend_optimizer_pass2()
204 if (zend_is_true(&ZEND_OP1_LITERAL(opline))) { in zend_optimizer_pass2()
H A Ddfa_pass.c411 … if (zend_is_true(CT_CONSTANT_EX(op_array, (call_info->caller_call_opline - 1)->op1.constant))) { in zend_dfa_optimize_calls()
722 if (zend_is_true(CT_CONSTANT_EX(op_array, opline->op1.constant))) { in zend_dfa_optimize_jmps()
753 if (zend_is_true(CT_CONSTANT_EX(op_array, opline->op1.constant))) { in zend_dfa_optimize_jmps()
783 if (zend_is_true(CT_CONSTANT_EX(op_array, opline->op1.constant))) { in zend_dfa_optimize_jmps()
832 if (zend_is_true(CT_CONSTANT_EX(op_array, opline->op1.constant))) { in zend_dfa_optimize_jmps()
846 if (!zend_is_true(CT_CONSTANT_EX(op_array, opline->op1.constant))) { in zend_dfa_optimize_jmps()
860 if (!zend_is_true(CT_CONSTANT_EX(op_array, opline->op1.constant))) { in zend_dfa_optimize_jmps()
H A Dblock_pass.c204 if (zend_is_true(&ZEND_OP1_LITERAL(opline))) { in zend_optimize_block()
217 if (zend_is_true(&ZEND_OP1_LITERAL(opline))) { in zend_optimize_block()
230 if (zend_is_true(&ZEND_OP1_LITERAL(opline))) { in zend_optimize_block()
1259 int should_jmp = zend_is_true(&ZEND_OP1_LITERAL(last_op)); in zend_jmp_optimization()
1420 int should_jmp = zend_is_true(&ZEND_OP1_LITERAL(last_op)); in zend_jmp_optimization()
1533 if (!zend_is_true(&ZEND_OP1_LITERAL(last_op))) { in zend_jmp_optimization()
/PHP-7.3/ext/openssl/
H A Dxp_ssl.c296 zend_is_true(val) in verify_callback()
504 ? zend_is_true(val) in php_openssl_apply_peer_verification_policy()
508 ? zend_is_true(val) in php_openssl_apply_peer_verification_policy()
1326 if (zv == NULL || zend_is_true(zv)) { in php_openssl_set_server_specific_opts()
1331 if (zv == NULL || zend_is_true(zv)) { in php_openssl_set_server_specific_opts()
1412 if (GET_VER_OPT("SNI_enabled") && !zend_is_true(val)) { in php_openssl_enable_server_sni()
1638 if (GET_VER_OPT("no_ticket") && zend_is_true(val)) { in php_openssl_setup_crypto()
1833 zend_is_true(val) in php_openssl_capture_peer_certs()
1843 zend_is_true(val) in php_openssl_capture_peer_certs()
1987 if (val && zend_is_true(val)) { in php_openssl_enable_crypto()
[all …]
/PHP-7.3/main/streams/
H A Dxp_socket.c658 sockopts |= STREAM_SOCKOP_IPV6_V6ONLY_ENABLED * zend_is_true(tmpzval); in php_tcp_sockop_bind()
665 && zend_is_true(tmpzval) in php_tcp_sockop_bind()
675 && zend_is_true(tmpzval) in php_tcp_sockop_bind()
753 && zend_is_true(tmpzval) in php_tcp_sockop_connect()
766 && zend_is_true(tmpzval) in php_tcp_sockop_connect()
819 zend_is_true(tmpzval)) { in php_tcp_sockop_accept()
H A Duserspace.c1074 } else if (zend_is_true(&retval)) { in php_userstreamop_set_option()
1519 if (!zend_is_true(&retval)) { in php_userstreamop_cast()
/PHP-7.3/ext/bz2/
H A Dbz2_filter.c337 data->expect_concatenated = zend_is_true(tmpzval); in php_bz2_filter_create()
347 data->small_footprint = zend_is_true(tmpzval); in php_bz2_filter_create()
/PHP-7.3/ext/dom/
H A Ddocument.c469 doc_prop->stricterror = zend_is_true(newval); in dom_document_strict_error_checking_write()
495 doc_prop->formatoutput = zend_is_true(newval); in dom_document_format_output_write()
520 doc_prop->validateonparse = zend_is_true(newval); in dom_document_validate_on_parse_write()
545 doc_prop->resolveexternals = zend_is_true(newval); in dom_document_resolve_externals_write()
570 doc_prop->preservewhitespace = zend_is_true(newval); in dom_document_preserve_whitespace_write()
595 doc_prop->recover = zend_is_true(newval); in dom_document_recover_write()
620 doc_prop->substituteentities = zend_is_true(newval); in dom_document_substitue_entities_write()
/PHP-7.3/ext/standard/
H A Dtype.c170 RETURN_BOOL(zend_is_true(val)); in PHP_FUNCTION()
H A Dhttp_fopen_wrapper.c392 request_fulluri = zend_is_true(tmpzval); in php_stream_url_wrap_http_ex()
674 ignore_errors = zend_is_true(tmpzval); in php_stream_url_wrap_http_ex()
818 decode = zend_is_true(tmpzval); in php_stream_url_wrap_http_ex()
H A Dassert.c205 val = zend_is_true(assertion); in PHP_FUNCTION()
H A Dvar.c1120 if(classes && (Z_TYPE_P(classes) == IS_ARRAY || !zend_is_true(classes))) { in PHP_FUNCTION()
/PHP-7.3/Zend/
H A Dzend_ast.c516 if (zend_is_true(&op1)) { in zend_ast_evaluate()
522 ZVAL_BOOL(result, zend_is_true(&op2)); in zend_ast_evaluate()
534 if (zend_is_true(&op1)) { in zend_ast_evaluate()
542 ZVAL_BOOL(result, zend_is_true(&op2)); in zend_ast_evaluate()
552 if (zend_is_true(&op1)) { in zend_ast_evaluate()
H A Dzend_operators.h301 ZEND_API int ZEND_FASTCALL zend_is_true(zval *op);
305 zend_is_true(op)
H A Dzend_object_handlers.c687 if (!zend_is_true(&tmp_result)) { in zend_std_read_property()
1634 result = zend_is_true(value); in zend_std_has_property()
1665 result = zend_is_true(&rv); in zend_std_has_property()
H A Dzend_compile.c3719 strict = zend_is_true(zend_ast_get_zval(args->child[2])); in zend_compile_func_in_array()
3733 strict = zend_is_true(&value); in zend_compile_func_in_array()
7275 if ((ast->kind == ZEND_AST_AND && !zend_is_true(&left_node.u.constant)) in zend_compile_short_circuiting()
7276 || (ast->kind == ZEND_AST_OR && zend_is_true(&left_node.u.constant))) { in zend_compile_short_circuiting()
7278 ZVAL_BOOL(&result->u.constant, zend_is_true(&left_node.u.constant)); in zend_compile_short_circuiting()
7284 ZVAL_BOOL(&result->u.constant, zend_is_true(&right_node.u.constant)); in zend_compile_short_circuiting()
8559 child0_is_true = zend_is_true(zend_ast_get_zval(ast->child[0])); in zend_eval_const_expr()
8569 child1_is_true = zend_is_true(zend_ast_get_zval(ast->child[1])); in zend_eval_const_expr()
8633 child = &ast->child[2 - zend_is_true(zend_ast_get_zval(ast->child[0]))]; in zend_eval_const_expr()
/PHP-7.3/ext/readline/
H A Dreadline.c316 rl_completion_suppress_append = zend_is_true(value); in PHP_FUNCTION()
/PHP-7.3/ext/spl/
H A Dspl_fixedarray.c479 if (zend_is_true(&intern->array.elements[index])) { in spl_fixedarray_object_has_dimension_helper()
506 result = zend_is_true(&rv); in spl_fixedarray_object_has_dimension()
H A Dspl_iterators.c283 has_children = zend_is_true(&retval); in spl_recursive_it_move_forward_ex()
1835 if (zend_is_true(&retval)) { in spl_filter_it_fetch()
2657 if (zend_is_true(&retval)) { in spl_caching_it_next()
3647 result = zend_is_true(&retval) ? ZEND_HASH_APPLY_KEEP : ZEND_HASH_APPLY_STOP; in spl_iterator_func_apply()
H A Dspl_array.c620 if (zend_is_true(&rv)) { in spl_array_has_dimension_ex()
687 zend_bool result = check_empty ? zend_is_true(value) : Z_TYPE_P(value) != IS_NULL; in spl_array_has_dimension_ex()
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg.c556 by_function = zend_is_true(option_buffer); in PHP_FUNCTION()
561 by_opcode = zend_is_true(option_buffer); in PHP_FUNCTION()
661 by_function = zend_is_true(option_buffer); in PHP_FUNCTION()
666 by_opcode = zend_is_true(option_buffer); in PHP_FUNCTION()
/PHP-7.3/ext/pdo/
H A Dpdo_sql_parser.c565 plc->quoted = zend_is_true(parameter) ? "1" : "0"; in pdo_parse_params()
H A Dpdo_sql_parser.re251 plc->quoted = zend_is_true(parameter) ? "1" : "0";
/PHP-7.3/ext/pdo_pgsql/
H A Dpgsql_statement.c406 const char *s = zend_is_true(&param->parameter) ? "t" : "f"; in pgsql_stmt_param_hook()
/PHP-7.3/ext/curl/
H A Dinterface.c2391 if (!zend_is_true(zvalue)) { in _php_curl_setopt()
2751 lval = zend_is_true(zvalue); in _php_curl_setopt()
2960 if (zend_is_true(zvalue)) { in _php_curl_setopt()
3028 if (zend_is_true(zvalue)) { in _php_curl_setopt()

Completed in 144 milliseconds

12