/php-src/ext/standard/tests/network/ |
H A D | bindto.phpt | 5 $ctx = stream_context_create([ 12 $errno, $errstr, 30, STREAM_CLIENT_CONNECT, $ctx
|
/php-src/ext/standard/tests/http/ |
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 | bug73297.phpt | 18 $ctx = stream_context_create($options); 26 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); 28 $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-src/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() 160 …const zend_class_constant *cc = zend_fetch_class_const_info(ctx->script, op_array, opline, &is_pro… in zend_optimizer_pass1() 224 …zend_optimizer_collect_constant(ctx, &ZEND_OP1_LITERAL(send1_opline), &ZEND_OP1_LITERAL(send2_opli… in zend_optimizer_pass1() 279 zend_optimizer_collect_constant(ctx, &ZEND_OP1_LITERAL(opline), &ZEND_OP2_LITERAL(opline)); in zend_optimizer_pass1()
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | bst.h | 28 lexbor_bst_entry_t *entry, void *ctx); 94 lexbor_bst_serialize(lexbor_bst_t *bst, lexbor_callback_f callback, void *ctx); 98 lexbor_callback_f callback, void *ctx, size_t tabs);
|
H A D | plog.c | 63 lexbor_plog_push_noi(lexbor_plog_t *plog, const lxb_char_t *data, void *ctx, in lexbor_plog_push_noi() argument 66 return lexbor_plog_push(plog, data, ctx, id); in lexbor_plog_push_noi()
|
/php-src/ext/dom/lexbor/lexbor/css/selectors/ |
H A D | selector.h | 213 lexbor_serialize_cb_f cb, void *ctx); 217 lexbor_serialize_cb_f cb, void *ctx); 225 lexbor_serialize_cb_f cb, void *ctx); 229 lexbor_serialize_cb_f cb, void *ctx); 237 lexbor_serialize_cb_f cb, void *ctx);
|
/php-src/ext/soap/ |
H A D | php_sdl.c | 247 l1 = s ? (size_t)(s - ctx->sdl->source) : strlen(ctx->sdl->source); in sdl_set_uri_credentials() 294 if (ctx->context && in sdl_set_uri_credentials() 319 php_stream_context_set_option(ctx->context, "http", "header", &ctx->old_header); in sdl_restore_uri_credentials() 323 ctx->context = NULL; in sdl_restore_uri_credentials() 330 sdlPtr tmpsdl = ctx->sdl; in load_wsdl_ex() 361 load_schema(ctx, schema); in load_wsdl_ex() 737 sdlCtx ctx; in load_wsdl() local 740 memset(&ctx,0,sizeof(ctx)); in load_wsdl() 754 schema_pass2(&ctx); in load_wsdl() 1178 if (ctx.sdl->bindings == NULL || ctx.sdl->bindings->nNumOfElements == 0) { in load_wsdl() [all …]
|
/php-src/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-src/ext/dom/lexbor/lexbor/css/syntax/ |
H A D | tokenizer.h | 29 const lxb_char_t **end, void *ctx); 118 void *ctx) in lxb_css_syntax_tokenizer_chunk_cb_set() argument 121 tkz->chunk_ctx = ctx; in lxb_css_syntax_tokenizer_chunk_cb_set()
|
/php-src/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-src/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-src/ext/opcache/jit/ir/ |
H A D | ir_fold.h | 2449 && !(ctx->ir_base[op1_insn->op2].val.u64 in IR_FOLD() 2516 op2 = ir_const(ctx, val, IR_OPT_TYPE(opt)); in IR_FOLD() 2531 op2 = ir_const(ctx, val, IR_OPT_TYPE(opt)); in IR_FOLD() 2547 op2 = ir_const(ctx, val, IR_OPT_TYPE(opt)); in IR_FOLD() 2553 op1 = ir_const(ctx, val, IR_OPT_TYPE(opt)); in IR_FOLD() 2573 op2 = ir_const(ctx, val, IR_OPT_TYPE(opt)); in IR_FOLD() 2579 op1 = ir_const(ctx, val, IR_OPT_TYPE(opt)); in IR_FOLD() 2597 op2 = ir_const(ctx, val, IR_OPT_TYPE(opt)); in IR_FOLD() 2617 op2 = ir_const(ctx, val, IR_OPT_TYPE(opt)); in IR_FOLD() 2632 op1 = ir_const(ctx, val, IR_OPT_TYPE(opt)); in IR_FOLD() [all …]
|
/php-src/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-src/ext/zlib/tests/ |
H A D | zlib_wrapper_level.phpt | 18 $ctx = stream_context_create(['zlib' => ['level' => $level] ]); 19 $fp = fopen("compress.zlib://$filename", 'w', false, $ctx);
|
/php-src/ext/dom/lexbor/lexbor/encoding/ |
H A D | encoding.c | 223 lxb_encoding_data_call_encode_noi(lxb_encoding_data_t *encoding_data, lxb_encoding_encode_t *ctx, in lxb_encoding_data_call_encode_noi() argument 226 return lxb_encoding_data_call_encode(encoding_data, ctx, cp, end); in lxb_encoding_data_call_encode_noi() 230 lxb_encoding_data_call_decode_noi(lxb_encoding_data_t *encoding_data, lxb_encoding_decode_t *ctx, in lxb_encoding_data_call_decode_noi() argument 233 return lxb_encoding_data_call_decode(encoding_data, ctx, data, end); in lxb_encoding_data_call_decode_noi()
|
/php-src/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-src/ext/opcache/jit/ir/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-src/ext/dom/ |
H A D | xpath.c | 130 xmlXPathContextPtr ctx = xmlXPathNewContext(docp); in dom_xpath_construct() local 131 if (ctx == NULL) { in dom_xpath_construct() 145 xmlXPathRegisterFuncNS (ctx, (const xmlChar *) "functionString", in dom_xpath_construct() 148 xmlXPathRegisterFuncNS (ctx, (const xmlChar *) "function", in dom_xpath_construct() 152 intern->dom.ptr = ctx; in dom_xpath_construct() 153 ctx->userData = (void *)intern; in dom_xpath_construct() 174 xmlXPathContextPtr ctx = (xmlXPathContextPtr) obj->ptr; in dom_xpath_document_read() local 176 if (ctx) { in dom_xpath_document_read() 177 docp = (xmlDocPtr) ctx->doc; in dom_xpath_document_read()
|
/php-src/ext/libxml/tests/ |
H A D | 004.phpt | 17 foreach ($ctxs as $ctx) { 19 var_dump(libxml_set_streams_context($ctx));
|
/php-src/ext/libxml/ |
H A D | php_libxml.h | 162 PHP_LIBXML_API void php_libxml_error_handler(void *ctx, const char *msg, ...); 163 PHP_LIBXML_API void php_libxml_ctx_warning(void *ctx, const char *msg, ...); 165 PHP_LIBXML_API void php_libxml_ctx_error(void *ctx, const char *msg, ...); 166 PHP_LIBXML_API void php_libxml_error_handler_va(php_libxml_error_level error_type, void *ctx, const…
|
/php-src/ext/openssl/ |
H A D | openssl.c | 830 X509V3_CTX ctx; in php_openssl_config_check_syntax() local 3769 if (!ctx) { in php_openssl_generate_private_key() 3821 if (!ctx) { in php_openssl_generate_private_key() 4136 BN_CTX *ctx; in php_openssl_dh_pub_from_priv() local 4614 if (EVP_PKEY_check(ctx) || EVP_PKEY_public_check_quick(ctx)) { in php_openssl_pkey_init_ec() 5218 if (!ctx) { in php_openssl_pkey_derive() 6736 if (!ctx || EVP_PKEY_sign_init(ctx) <= 0 || in PHP_FUNCTION() 6785 if (!ctx || EVP_PKEY_decrypt_init(ctx) <= 0 || in PHP_FUNCTION() 6835 if (!ctx || EVP_PKEY_encrypt_init(ctx) <= 0 || in PHP_FUNCTION() 6884 if (!ctx || EVP_PKEY_verify_recover_init(ctx) <= 0 || in PHP_FUNCTION() [all …]
|