Home
last modified time | relevance | path

Searched refs:ctx (Results 126 – 150 of 215) sorted by relevance

123456789

/php-src/ext/standard/tests/network/
H A Dbindto.phpt5 $ctx = stream_context_create([
12 $errno, $errstr, 30, STREAM_CLIENT_CONNECT, $ctx
/php-src/ext/standard/tests/http/
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 Dbug73297.phpt18 $ctx = stream_context_create($options);
26 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);
28 $fd = fopen($uri, 'rb', false, $ctx);
H A Dbug67430.phpt19 $ctx = stream_context_create($options);
27 $fd = fopen($uri, 'rb', false, $ctx);
/php-src/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()
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 Dbst.h28 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 Dplog.c63 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 Dselector.h213 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 Dphp_sdl.c247 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 Dfetch.php64 $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 Dtokenizer.h29 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 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-src/ext/zip/examples/
H A Dencryption.php42 $ctx = stream_context_create(array( variable
47 $text = file_get_contents("zip://$name#$file", false, $ctx);
/php-src/ext/opcache/jit/ir/
H A Dir_fold.h2449 && !(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 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-src/ext/zlib/tests/
H A Dzlib_wrapper_level.phpt18 $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 Dencoding.c223 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 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-src/ext/opcache/jit/ir/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-src/ext/dom/
H A Dxpath.c130 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 D004.phpt17 foreach ($ctxs as $ctx) {
19 var_dump(libxml_set_streams_context($ctx));
/php-src/ext/libxml/
H A Dphp_libxml.h162 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 Dopenssl.c830 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 …]

Completed in 112 milliseconds

123456789