/PHP-8.1/ext/standard/tests/network/ |
H A D | bindto.phpt | 5 $ctx = stream_context_create([ 12 $errno, $errstr, 30, STREAM_CLIENT_CONNECT, $ctx
|
/PHP-8.1/ext/standard/tests/http/ |
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);
|
H A D | bug65634.phpt | 22 $ctx = stream_context_create($options); 27 $fd = fopen($uri, 'rb', false, $ctx);
|
/PHP-8.1/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.1/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() 310 php_stream_context_set_option(ctx->context, "http", "header", &ctx->old_header); in sdl_restore_uri_credentials() 314 ctx->context = NULL; in sdl_restore_uri_credentials() 321 sdlPtr tmpsdl = ctx->sdl; in load_wsdl_ex() 352 load_schema(ctx, schema); in load_wsdl_ex() 728 sdlCtx ctx; in load_wsdl() local 731 memset(&ctx,0,sizeof(ctx)); in load_wsdl() 745 schema_pass2(&ctx); in load_wsdl() 1169 if (ctx.sdl->bindings == NULL || ctx.sdl->bindings->nNumOfElements == 0) { in load_wsdl() [all …]
|
/PHP-8.1/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.1/Zend/Optimizer/ |
H A D | nop_removal.c | 33 void zend_optimizer_nop_removal(zend_op_array *op_array, zend_optimizer_ctx *ctx) in zend_optimizer_nop_removal() argument 95 uint32_t *opline_num = &ctx->script->first_early_binding_opline; in zend_optimizer_nop_removal() 97 ZEND_ASSERT(op_array == &ctx->script->main_op_array); in zend_optimizer_nop_removal()
|
H A D | dfa_pass.c | 66 if (ctx->debug_level & ZEND_DUMP_DFA_CFG) { in zend_dfa_analyze_op_array() 80 if (ctx->debug_level & ZEND_DUMP_DFA_DOMINATORS) { in zend_dfa_analyze_op_array() 85 if (ctx->debug_level & ZEND_DUMP_DFA_LIVENESS) { in zend_dfa_analyze_op_array() 88 if (ctx->debug_level & ZEND_DUMP_DFA_PHI) { in zend_dfa_analyze_op_array() 91 if (zend_build_ssa(&ctx->arena, ctx->script, op_array, build_flags, ssa) != SUCCESS) { in zend_dfa_analyze_op_array() 95 if (ctx->debug_level & ZEND_DUMP_DFA_SSA) { in zend_dfa_analyze_op_array() 112 …if (zend_ssa_inference(&ctx->arena, op_array, ctx->script, ssa, ctx->optimization_level) != SUCCES… in zend_dfa_analyze_op_array() 120 if (ctx->debug_level & ZEND_DUMP_DFA_SSA_VARS) { in zend_dfa_analyze_op_array() 1734 zend_ssa_remove_nops(op_array, ssa, ctx); in zend_dfa_optimize_op_array() 1752 zend_arena_release(&ctx->arena, checkpoint); in zend_optimize_dfa() [all …]
|
H A D | optimize_func_calls.c | 167 void zend_optimize_func_calls(zend_op_array *op_array, zend_optimizer_ctx *ctx) in zend_optimize_func_calls() argument 179 checkpoint = zend_arena_checkpoint(ctx->arena); in zend_optimize_func_calls() 180 call_stack = zend_arena_calloc(&ctx->arena, op_array->last / 2, sizeof(optimizer_call_info)); in zend_optimize_func_calls() 192 ctx->script, op_array, opline, &call_stack[call].is_prototype); in zend_optimize_func_calls() 238 if ((ZEND_OPTIMIZER_PASS_16 & ctx->optimization_level) in zend_optimize_func_calls() 374 zend_arena_release(&ctx->arena, checkpoint); in zend_optimize_func_calls()
|
H A D | pass1.c | 39 void zend_optimizer_pass1(zend_op_array *op_array, zend_optimizer_ctx *ctx) in zend_optimizer_pass1() argument 43 bool collect_constants = (ZEND_OPTIMIZER_PASS_15 & ctx->optimization_level)? in zend_optimizer_pass1() 44 (op_array == &ctx->script->main_op_array) : 0; in zend_optimizer_pass1() 185 …if (!ctx->constants || !zend_optimizer_get_collected_constant(ctx->constants, &ZEND_OP2_LITERAL(op… in zend_optimizer_pass1() 218 ctx->script, Z_STR(op_array->literals[opline->op1.constant + 1])); in zend_optimizer_pass1() 324 …zend_optimizer_collect_constant(ctx, &ZEND_OP1_LITERAL(send1_opline), &ZEND_OP1_LITERAL(send2_opli… in zend_optimizer_pass1() 518 zend_optimizer_collect_constant(ctx, &ZEND_OP1_LITERAL(opline), &ZEND_OP2_LITERAL(opline)); in zend_optimizer_pass1()
|
/PHP-8.1/ext/tokenizer/ |
H A D | tokenizer.c | 421 struct event_context *ctx = context; in on_event() local 433 ctx->tokens, token, (unsigned char *) text, length, line, ctx->token_class, NULL); in on_event() 436 HashTable *tokens_ht = Z_ARRVAL_P(ctx->tokens); in on_event() 450 add_token(ctx->tokens, T_INLINE_HTML, LANG_SCNG(yy_cursor), in on_event() 452 ctx->token_class, NULL); in on_event() 462 struct event_context ctx; in tokenize_parse() local 477 ctx.tokens = &token_stream; in tokenize_parse() 478 ctx.token_class = token_class; in tokenize_parse() 484 LANG_SCNG(on_event_context) = &ctx; in tokenize_parse()
|
/PHP-8.1/ext/dom/ |
H A D | xpath.c | 216 xmlXPathContextPtr ctx, oldctx; in PHP_METHOD() local 224 ctx = xmlXPathNewContext(docp); in PHP_METHOD() 225 if (ctx == NULL) { in PHP_METHOD() 238 xmlXPathRegisterFuncNS (ctx, (const xmlChar *) "functionString", in PHP_METHOD() 241 xmlXPathRegisterFuncNS (ctx, (const xmlChar *) "function", in PHP_METHOD() 245 intern->dom.ptr = ctx; in PHP_METHOD() 246 ctx->userData = (void *)intern; in PHP_METHOD() 258 xmlXPathContextPtr ctx = (xmlXPathContextPtr) obj->ptr; in dom_xpath_document_read() local 260 if (ctx) { in dom_xpath_document_read() 261 docp = (xmlDocPtr) ctx->doc; in dom_xpath_document_read()
|
/PHP-8.1/ext/gd/ |
H A D | gd.c | 1470 i = (ctx->getC)(ctx); in _php_ctx_getmbi() 2009 ctx->gd_free(ctx); in PHP_FUNCTION() 2096 ctx->gd_free(ctx); in PHP_FUNCTION() 2143 ctx->gd_free(ctx); in PHP_FUNCTION() 4119 #define CTX_PUTC(c,ctx) ctx->putC(ctx, c) argument 4138 if(ctx) { in _php_image_output_ctxfree() 4160 if(ctx) { in _php_image_stream_ctxfree() 4172 if(ctx) { in _php_image_stream_ctxfreeandclose() 4217 return ctx; in create_stream_context() 4227 return ctx; in create_output_context() [all …]
|
/PHP-8.1/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.1/ext/openssl/ |
H A D | openssl.c | 813 X509V3_CTX ctx; in php_openssl_config_check_syntax() local 3374 X509V3_CTX ctx; in PHP_FUNCTION() local 3804 if (!ctx) { in php_openssl_generate_private_key() 3856 if (!ctx) { in php_openssl_generate_private_key() 4171 BN_CTX *ctx; in php_openssl_dh_pub_from_priv() local 5093 if (!ctx) { in php_openssl_pkey_derive() 6611 if (!ctx || EVP_PKEY_sign_init(ctx) <= 0 || in PHP_FUNCTION() 6660 if (!ctx || EVP_PKEY_decrypt_init(ctx) <= 0 || in PHP_FUNCTION() 6710 if (!ctx || EVP_PKEY_encrypt_init(ctx) <= 0 || in PHP_FUNCTION() 6759 if (!ctx || EVP_PKEY_verify_recover_init(ctx) <= 0 || in PHP_FUNCTION() [all …]
|
/PHP-8.1/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.1/ext/libxml/tests/ |
H A D | 004.phpt | 17 foreach ($ctxs as $ctx) { 19 var_dump(libxml_set_streams_context($ctx));
|
/PHP-8.1/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.1/ext/libxml/ |
H A D | php_libxml.h | 104 PHP_LIBXML_API void php_libxml_error_handler(void *ctx, const char *msg, ...); 105 PHP_LIBXML_API void php_libxml_ctx_warning(void *ctx, const char *msg, ...); 106 PHP_LIBXML_API void php_libxml_ctx_error(void *ctx, const char *msg, ...);
|
/PHP-8.1/ext/sockets/ |
H A D | sendrecvmsg.h | 24 typedef size_t (calculate_req_space)(const zval *value, ser_context *ctx);
|
/PHP-8.1/sapi/litespeed/ |
H A D | lsapilib.c | 4186 ctx->bits[0] = 0; in lsapi_MD5Init() 4187 ctx->bits[1] = 0; in lsapi_MD5Init() 4200 t = ctx->bits[0]; in lsapi_MD5Update() 4219 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Update() 4228 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Update() 4253 p = ctx->in + count; in lsapi_MD5Final() 4264 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Final() 4275 ((uint32 *) ctx->in)[14] = ctx->bits[0]; in lsapi_MD5Final() 4276 ((uint32 *) ctx->in)[15] = ctx->bits[1]; in lsapi_MD5Final() 4278 lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in); in lsapi_MD5Final() [all …]
|