Home
last modified time | relevance | path

Searched refs:ctx (Results 76 – 100 of 145) sorted by relevance

123456

/PHP-8.3/ext/standard/tests/http/
H A Dbug75981.phpt18 $ctx = stream_context_create($options);
25 echo @file_get_contents($uri, false, $ctx);
H A Dbug73297.phpt18 $ctx = stream_context_create($options);
26 echo file_get_contents($uri, false, $ctx);
H A Dbug47021.phpt33 $ctx = stream_context_create($options);
34 stream_context_set_params($ctx, array("notification" => "stream_notification_callback"));
50 echo file_get_contents($uri, false, $ctx);
52 echo file_get_contents($uri, false, $ctx);
H A Dbug76342.phpt18 $ctx = stream_context_create($options);
23 file_get_contents($uri, false, $ctx);
H A Dbug80838.phpt24 $ctx = stream_context_create($options);
26 $fd = fopen($uri, 'rb', false, $ctx);
H A Dbug67430.phpt19 $ctx = stream_context_create($options);
27 $fd = fopen($uri, 'rb', false, $ctx);
/PHP-8.3/ext/gd/libgd/
H A Dgd_tga.h48 int read_header_tga(gdIOCtx *ctx, oTga *tga);
49 int read_image_tga(gdIOCtx *ctx, oTga *tga);
/PHP-8.3/ext/standard/tests/network/
H A Dbindto.phpt5 $ctx = stream_context_create([
12 $errno, $errstr, 30, STREAM_CLIENT_CONNECT, $ctx
/PHP-8.3/Zend/Optimizer/
H A Dpass1.c54 void zend_optimizer_pass1(zend_op_array *op_array, zend_optimizer_ctx *ctx) in zend_optimizer_pass1() argument
58 bool collect_constants = (ZEND_OPTIMIZER_PASS_15 & ctx->optimization_level)? in zend_optimizer_pass1()
59 (op_array == &ctx->script->main_op_array) : 0; in zend_optimizer_pass1()
147 …if (!ctx->constants || !zend_optimizer_get_collected_constant(ctx->constants, &ZEND_OP2_LITERAL(op… in zend_optimizer_pass1()
163 ctx->script, op_array, opline); in zend_optimizer_pass1()
231 …zend_optimizer_collect_constant(ctx, &ZEND_OP1_LITERAL(send1_opline), &ZEND_OP1_LITERAL(send2_opli… in zend_optimizer_pass1()
286 zend_optimizer_collect_constant(ctx, &ZEND_OP1_LITERAL(opline), &ZEND_OP2_LITERAL(opline)); in zend_optimizer_pass1()
H A Doptimize_func_calls.c150 void zend_optimize_func_calls(zend_op_array *op_array, zend_optimizer_ctx *ctx) in zend_optimize_func_calls() argument
162 checkpoint = zend_arena_checkpoint(ctx->arena); in zend_optimize_func_calls()
163 call_stack = zend_arena_calloc(&ctx->arena, op_array->last / 2, sizeof(optimizer_call_info)); in zend_optimize_func_calls()
175 ctx->script, op_array, opline, &call_stack[call].is_prototype); in zend_optimize_func_calls()
221 if ((ZEND_OPTIMIZER_PASS_16 & ctx->optimization_level) in zend_optimize_func_calls()
354 zend_arena_release(&ctx->arena, checkpoint); in zend_optimize_func_calls()
H A Ddfa_pass.c62 if (ctx->debug_level & ZEND_DUMP_DFA_CFG) { in zend_dfa_analyze_op_array()
72 if (ctx->debug_level & ZEND_DUMP_DFA_DOMINATORS) { in zend_dfa_analyze_op_array()
77 if (ctx->debug_level & ZEND_DUMP_DFA_LIVENESS) { in zend_dfa_analyze_op_array()
80 if (ctx->debug_level & ZEND_DUMP_DFA_PHI) { in zend_dfa_analyze_op_array()
83 if (zend_build_ssa(&ctx->arena, ctx->script, op_array, build_flags, ssa) == FAILURE) { in zend_dfa_analyze_op_array()
87 if (ctx->debug_level & ZEND_DUMP_DFA_SSA) { in zend_dfa_analyze_op_array()
98 …if (zend_ssa_inference(&ctx->arena, op_array, ctx->script, ssa, ctx->optimization_level) == FAILUR… in zend_dfa_analyze_op_array()
106 if (ctx->debug_level & ZEND_DUMP_DFA_SSA_VARS) { in zend_dfa_analyze_op_array()
1695 zend_ssa_remove_nops(op_array, ssa, ctx); in zend_dfa_optimize_op_array()
1713 zend_arena_release(&ctx->arena, checkpoint); in zend_optimize_dfa()
[all …]
/PHP-8.3/pear/
H A Dfetch.php64 $ctx = stream_context_create($copt, array("notification" => "stream_notification_callback")); variable
66 $fp = fopen($argv[1], "r", false, $ctx);
/PHP-8.3/ext/soap/
H A Dphp_sdl.c238 l1 = s ? (size_t)(s - ctx->sdl->source) : strlen(ctx->sdl->source); in sdl_set_uri_credentials()
285 if (ctx->context && in sdl_set_uri_credentials()
312 php_stream_context_set_option(ctx->context, "http", "header", &ctx->old_header); in sdl_restore_uri_credentials()
316 ctx->context = NULL; in sdl_restore_uri_credentials()
323 sdlPtr tmpsdl = ctx->sdl; in load_wsdl_ex()
354 load_schema(ctx, schema); in load_wsdl_ex()
730 sdlCtx ctx; in load_wsdl() local
733 memset(&ctx,0,sizeof(ctx)); in load_wsdl()
747 schema_pass2(&ctx); in load_wsdl()
1171 if (ctx.sdl->bindings == NULL || ctx.sdl->bindings->nNumOfElements == 0) { in load_wsdl()
[all …]
/PHP-8.3/ext/gd/
H A Dgd.c1319 i = (ctx->getC)(ctx); in _php_ctx_getmbi()
1855 ctx->gd_free(ctx); in PHP_FUNCTION()
1942 ctx->gd_free(ctx); in PHP_FUNCTION()
1989 ctx->gd_free(ctx); in PHP_FUNCTION()
3966 #define CTX_PUTC(c,ctx) ctx->putC(ctx, c) argument
3985 efree(ctx); in _php_image_output_ctxfree()
4005 efree(ctx); in _php_image_stream_ctxfree()
4014 efree(ctx); in _php_image_stream_ctxfreeandclose()
4057 return ctx; in create_stream_context()
4067 return ctx; in create_output_context()
[all …]
/PHP-8.3/ext/zip/examples/
H A Dencryption.php42 $ctx = stream_context_create(array( variable
47 $text = file_get_contents("zip://$name#$file", false, $ctx);
/PHP-8.3/ext/tokenizer/
H A Dtokenizer.c417 struct event_context *ctx = context; in on_event() local
429 ctx->tokens, token, (unsigned char *) text, length, line, ctx->token_class, NULL); in on_event()
432 HashTable *tokens_ht = Z_ARRVAL_P(ctx->tokens); in on_event()
446 add_token(ctx->tokens, T_INLINE_HTML, LANG_SCNG(yy_cursor), in on_event()
448 ctx->token_class, NULL); in on_event()
458 struct event_context ctx; in tokenize_parse() local
473 ctx.tokens = &token_stream; in tokenize_parse()
474 ctx.token_class = token_class; in tokenize_parse()
480 LANG_SCNG(on_event_context) = &ctx; in tokenize_parse()
/PHP-8.3/ext/dom/
H A Dxpath.c219 xmlXPathContextPtr ctx, oldctx; in PHP_METHOD() local
227 ctx = xmlXPathNewContext(docp); in PHP_METHOD()
228 if (ctx == NULL) { in PHP_METHOD()
241 xmlXPathRegisterFuncNS (ctx, (const xmlChar *) "functionString", in PHP_METHOD()
244 xmlXPathRegisterFuncNS (ctx, (const xmlChar *) "function", in PHP_METHOD()
248 intern->dom.ptr = ctx; in PHP_METHOD()
249 ctx->userData = (void *)intern; in PHP_METHOD()
261 xmlXPathContextPtr ctx = (xmlXPathContextPtr) obj->ptr; in dom_xpath_document_read() local
263 if (ctx) { in dom_xpath_document_read()
264 docp = (xmlDocPtr) ctx->doc; in dom_xpath_document_read()
/PHP-8.3/ext/zlib/tests/
H A Dzlib_wrapper_level.phpt16 $ctx = stream_context_create(['zlib' => ['level' => $level] ]);
17 $fp = fopen("compress.zlib://$filename", 'w', false, $ctx);
/PHP-8.3/ext/openssl/tests/
H A Dgh9310.phpt62 $ctx = stream_context_create(['ssl' => [
68 $server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx);
78 $ctx = stream_context_create(['ssl' => [
87 $server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx);
97 $ctx = stream_context_create(['ssl' => [
106 $server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx);
121 $ctx = stream_context_create(['ssl' => $ctxArr]);
122 @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx);
/PHP-8.3/ext/opcache/jit/dynasm/
H A Ddasm_proto.h29 #define DASM_M_GROW(ctx, t, p, sz, need) \ argument
43 #define DASM_M_FREE(ctx, p, sz) free(p) argument
/PHP-8.3/ext/libxml/tests/
H A D004.phpt17 foreach ($ctxs as $ctx) {
19 var_dump(libxml_set_streams_context($ctx));
/PHP-8.3/ext/openssl/
H A Dopenssl.c829 X509V3_CTX ctx; in php_openssl_config_check_syntax() local
3732 if (!ctx) { in php_openssl_generate_private_key()
3784 if (!ctx) { in php_openssl_generate_private_key()
4099 BN_CTX *ctx; in php_openssl_dh_pub_from_priv() local
4577 if (EVP_PKEY_check(ctx) || EVP_PKEY_public_check_quick(ctx)) { in php_openssl_pkey_init_ec()
5181 if (!ctx) { in php_openssl_pkey_derive()
6699 if (!ctx || EVP_PKEY_sign_init(ctx) <= 0 || in PHP_FUNCTION()
6748 if (!ctx || EVP_PKEY_decrypt_init(ctx) <= 0 || in PHP_FUNCTION()
6798 if (!ctx || EVP_PKEY_encrypt_init(ctx) <= 0 || in PHP_FUNCTION()
6847 if (!ctx || EVP_PKEY_verify_recover_init(ctx) <= 0 || in PHP_FUNCTION()
[all …]
/PHP-8.3/ext/hash/
H A Dhash_whirlpool.c434 PHP_WHIRLPOOL_CTX *ctx = (PHP_WHIRLPOOL_CTX *) hash->context; in php_whirlpool_unserialize() local
438 && ctx->buffer.pos >= 0 in php_whirlpool_unserialize()
439 && ctx->buffer.pos < (int) sizeof(ctx->buffer.data) in php_whirlpool_unserialize()
440 && ctx->buffer.bits >= ctx->buffer.pos * 8 in php_whirlpool_unserialize()
441 && ctx->buffer.bits < ctx->buffer.pos * 8 + 8) { in php_whirlpool_unserialize()
/PHP-8.3/ext/libxml/
H A Dphp_libxml.h133 PHP_LIBXML_API void php_libxml_error_handler(void *ctx, const char *msg, ...);
134 PHP_LIBXML_API void php_libxml_ctx_warning(void *ctx, const char *msg, ...);
135 PHP_LIBXML_API void php_libxml_ctx_error(void *ctx, const char *msg, ...);
/PHP-8.3/Zend/
H A Dzend_ast.c504 zend_ast_evaluate_ctx *ctx
512 zend_ast_evaluate_ctx *ctx in zend_ast_evaluate_ex() argument
522 zend_result r = zend_ast_evaluate_inner(result, ast, scope, short_circuited_ptr, ctx); in zend_ast_evaluate_ex()
535 zend_ast_evaluate_ctx *ctx in zend_ast_evaluate_inner() argument
544 …if (UNEXPECTED(zend_ast_evaluate_ex(&op1, ast->child[0], scope, &short_circuited, ctx) != SUCCESS)… in zend_ast_evaluate_inner()
558 …if (UNEXPECTED(zend_ast_evaluate_ex(&op1, ast->child[0], scope, &short_circuited, ctx) != SUCCESS)… in zend_ast_evaluate_inner()
573 …if (UNEXPECTED(zend_ast_evaluate_ex(&op1, ast->child[0], scope, &short_circuited, ctx) != SUCCESS)… in zend_ast_evaluate_inner()
882 ctx->had_side_effects = true; in zend_ast_evaluate_inner()
896 if (zend_ast_evaluate_ex(&arg, arg_ast, scope, &short_circuited, ctx) == FAILURE) { in zend_ast_evaluate_inner()
1025 zend_ast_evaluate_ctx ctx = {0}; in zend_ast_evaluate() local
[all …]

Completed in 178 milliseconds

123456