Home
last modified time | relevance | path

Searched refs:context (Results 126 – 150 of 449) sorted by relevance

12345678910>>...18

/php-src/ext/zlib/
H A Dzlib.stub.php275 function deflate_add(DeflateContext $context, string $data, int $flush_mode = ZLIB_SYNC_FLUSH): str… argument
279 function inflate_add(InflateContext $context, string $data, int $flush_mode = ZLIB_SYNC_FLUSH): str… argument
281 function inflate_get_status(InflateContext $context): int {} argument
283 function inflate_get_read_len(InflateContext $context): int {} argument
/php-src/ext/openssl/tests/
H A Dgh10495.phpt16 $context = stream_context_create(['ssl' => ['verify_peer' => false, 'peer_name' => '%s']]);
22 …cket_client("tlsv1.2://127.0.0.1:10012", $errornum, $errorstr, 1, STREAM_CLIENT_CONNECT, $context);
38 $context = stream_context_create(['ssl' => ['local_cert' => '%s']]);
41 $fp = stream_socket_server("tlsv1.2://127.0.0.1:10011", $errornum, $errorstr, $flags, $context);
H A Dbug77390.phpt16 $context = stream_context_create(['ssl' => ['verify_peer' => false, 'peer_name' => '%s']]);
22 …ocket_client("ssl://127.0.0.1:10012", $errornum, $errorstr, 3000, STREAM_CLIENT_CONNECT, $context);
57 $context = stream_context_create(['ssl' => ['local_cert' => '%s']]);
60 $fp = stream_socket_server("ssl://127.0.0.1:10011", $errornum, $errorstr, $flags, $context);
/php-src/Zend/asm/
H A Djump_loongarch64_sysv_elf_gas.S76 # store SP (pointing to context-data) in A2
79 # restore SP (pointing to context-data) from A0
106 # pass transfer_t as first arg in context function
116 # jump to context
H A Djump_arm64_aapcs_elf_gas.S80 # store RSP (pointing to context-data) in X0
83 # restore RSP (pointing to context-data) from X1
101 # pass transfer_t as first arg in context function
H A Djump_mips32_o32_elf_gas.S73 # store SP (pointing to context-data) in A0
76 # restore SP (pointing to context-data) from A1
109 # pass transfer_t as first arg in context function
113 # jump to context
H A Dmake_sparc64_sysv_elf_gas.S33 # third argument of make_fcontext() is the context-function to call
41 # to call the context-function and then do the _exit(0) dance.
52 # Return context-data which is also includes the BIAS
/php-src/ext/standard/tests/streams/
H A Dopendir-004.phpt18 $context = stream_context_create(array('ssl' => array('cafile' => __DIR__ . '/../../../ftp/tests/c…
20 $ds=opendir($path, $context);
H A Dopendir-003.phpt18 $context = stream_context_create(array('ssl' => array('cafile' => __DIR__ . '/../../../ftp/tests/c…
20 var_dump(opendir($path, $context));
/php-src/main/streams/
H A Duserspace.c274 if (context) { in user_stream_create_object()
275 GC_ADDREF(context->res); in user_stream_create_object()
1043 user_stream_create_object(uwrap, context, &object); in user_wrapper_unlink()
1072 int options, php_stream_context *context) in user_wrapper_rename() argument
1082 user_stream_create_object(uwrap, context, &object); in user_wrapper_rename()
1113 int options, php_stream_context *context) in user_wrapper_mkdir() argument
1123 user_stream_create_object(uwrap, context, &object); in user_wrapper_mkdir()
1156 int options, php_stream_context *context) in user_wrapper_rmdir() argument
1166 user_stream_create_object(uwrap, context, &object); in user_wrapper_rmdir()
1197 void *value, php_stream_context *context) in user_wrapper_metadata() argument
[all …]
H A Dphp_stream_transport.h30 php_stream_context *context STREAMS_DC);
49 php_stream_context *context,
54 #define php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, est… argument
55 …_php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, estr, eco…
/php-src/Zend/tests/
H A Dbug36214.phpt5 class context {
17 $ctx = new context;
/php-src/ext/standard/
H A Dfile.c133 zval_ptr_dtor(&context->options); in ZEND_RSRC_DTOR_FUNC()
134 ZVAL_UNDEF(&context->options); in ZEND_RSRC_DTOR_FUNC()
136 php_stream_context_free(context); in ZEND_RSRC_DTOR_FUNC()
400 php_stream_context *context = NULL; in PHP_FUNCTION() local
424 NULL, context); in PHP_FUNCTION()
461 php_stream_context *context = NULL; in PHP_FUNCTION() local
607 php_stream_context *context = NULL; in PHP_FUNCTION() local
1152 php_stream_context *context; in PHP_FUNCTION() local
1174 php_stream_context *context; in PHP_FUNCTION() local
1272 php_stream_context *context; in PHP_FUNCTION() local
[all …]
H A Dbasic_functions.stub.php2664 * @param resource|null $context
2670 * @param resource|null $context
2697 * @param resource|null $context
2798 * @param resource|null $context
2867 * @param resource|null $context
2874 * @param resource|null $context
3388 /** @param resource $context */
3392 * @param resource $context
3398 /** @param resource $context */
3401 /** @param resource $context */
[all …]
/php-src/ext/libxml/tests/
H A Dlibxml_set_external_entity_loader_basic.phpt17 function ($public, $system, $context) use($dtd){
20 var_dump($context);
/php-src/ext/standard/tests/file/
H A Dunlink_variation6.phpt15 $context = stream_context_create();
16 var_dump(unlink($testfile, $context));
H A Dfile_put_contents.phpt12 $context = stream_context_create();
15 var_dump(file_put_contents($file, $context));
/php-src/ext/standard/tests/http/
H A Dbug79265.phpt25 $context = stream_context_create($opts);
26 $fd = fopen($uri, 'rb', false, $context);
H A Dbug79265_2.phpt24 $context = stream_context_create($opts);
25 $fd = fopen($uri, 'rb', false, $context);
/php-src/ext/libxml/
H A Dlibxml.stub.php163 /** @param resource $context */
164 function libxml_set_streams_context($context): void {} argument
/php-src/ext/dom/lexbor/lexbor/core/
H A Dplog.h19 void *context; member
68 entry->context = ctx; in lexbor_plog_push()
/php-src/ext/mysqlnd/
H A Dmysqlnd_auth.c531 PHP_SHA1_CTX context; in php_mysqlnd_scramble() local
536 PHP_SHA1Init(&context); in php_mysqlnd_scramble()
538 PHP_SHA1Final(sha1, &context); in php_mysqlnd_scramble()
541 PHP_SHA1Init(&context); in php_mysqlnd_scramble()
543 PHP_SHA1Final(sha2, &context); in php_mysqlnd_scramble()
546 PHP_SHA1Init(&context); in php_mysqlnd_scramble()
549 PHP_SHA1Final(buffer, &context); in php_mysqlnd_scramble()
981 PHP_SHA256_CTX context; in php_mysqlnd_scramble_sha2() local
986 PHP_SHA256Init(&context); in php_mysqlnd_scramble_sha2()
991 PHP_SHA256Init(&context); in php_mysqlnd_scramble_sha2()
[all …]
H A Dmysqlnd_vio.c515 php_stream_context * context = php_stream_context_alloc(); in MYSQLND_METHOD() local
524 php_stream_context_set_option(context, "ssl", "local_pk", &key_zval); in MYSQLND_METHOD()
531 php_stream_context_set_option(context, "ssl", "local_cert", &cert_zval); in MYSQLND_METHOD()
533 php_stream_context_set_option(context, "ssl", "local_pk", &cert_zval); in MYSQLND_METHOD()
541 php_stream_context_set_option(context, "ssl", "cafile", &cafile_zval); in MYSQLND_METHOD()
548 php_stream_context_set_option(context, "ssl", "capath", &capath_zval); in MYSQLND_METHOD()
555 php_stream_context_set_option(context, "ssl", "passphrase", &passphrase_zval); in MYSQLND_METHOD()
562 php_stream_context_set_option(context, "ssl", "ciphers", &cipher_zval); in MYSQLND_METHOD()
585 php_stream_context_set(net_stream, context); in MYSQLND_METHOD()
588 ZEND_ASSERT(GC_REFCOUNT(context->res) == 2); in MYSQLND_METHOD()
[all …]
/php-src/ext/dom/tests/
H A Dcanonicalization.phpt24 /* inclusive/without comments first child element of doc element is context. */
27 /* exclusive/without comments first child element of doc element is context. */
30 /* inclusive/with comments first child element of doc element is context. */
33 /* exclusive/with comments first child element of doc element is context. */
39 /* exclusive/without comments first child element of doc element is context.
47 /* exclusive/without comments first child element of doc element is context.
/php-src/sapi/cli/tests/
H A Dbug69655.phpt14 $context = stream_context_create(['http' => ['method' => $method]]);
16 file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS, false, $context);

Completed in 68 milliseconds

12345678910>>...18