/PHP-8.3/ext/standard/tests/http/ |
H A D | bug75981.phpt | 18 $ctx = stream_context_create($options); 25 echo @file_get_contents($uri, false, $ctx);
|
H A D | bug73297.phpt | 18 $ctx = stream_context_create($options); 26 echo file_get_contents($uri, false, $ctx);
|
H A D | bug47021.phpt | 33 $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 D | bug76342.phpt | 18 $ctx = stream_context_create($options); 23 file_get_contents($uri, false, $ctx);
|
H A D | bug80838.phpt | 24 $ctx = stream_context_create($options); 26 $fd = fopen($uri, 'rb', false, $ctx);
|
H A D | bug67430.phpt | 19 $ctx = stream_context_create($options); 27 $fd = fopen($uri, 'rb', false, $ctx);
|
/PHP-8.3/ext/gd/libgd/ |
H A D | gd_tga.h | 48 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 D | bindto.phpt | 5 $ctx = stream_context_create([ 12 $errno, $errstr, 30, STREAM_CLIENT_CONNECT, $ctx
|
/PHP-8.3/Zend/Optimizer/ |
H A D | pass1.c | 54 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 D | optimize_func_calls.c | 150 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 D | dfa_pass.c | 62 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 D | fetch.php | 64 $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 D | php_sdl.c | 238 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 D | gd.c | 1319 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 D | encryption.php | 42 $ctx = stream_context_create(array( variable 47 $text = file_get_contents("zip://$name#$file", false, $ctx);
|
/PHP-8.3/ext/tokenizer/ |
H A D | tokenizer.c | 417 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 D | xpath.c | 219 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 D | zlib_wrapper_level.phpt | 16 $ctx = stream_context_create(['zlib' => ['level' => $level] ]); 17 $fp = fopen("compress.zlib://$filename", 'w', false, $ctx);
|
/PHP-8.3/ext/openssl/tests/ |
H A D | gh9310.phpt | 62 $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 D | dasm_proto.h | 29 #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 D | 004.phpt | 17 foreach ($ctxs as $ctx) { 19 var_dump(libxml_set_streams_context($ctx));
|
/PHP-8.3/ext/openssl/ |
H A D | openssl.c | 829 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 D | hash_whirlpool.c | 434 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 D | php_libxml.h | 133 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 D | zend_ast.c | 504 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 …]
|