/php-src/ext/zlib/ |
H A D | zlib.stub.php | 275 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 D | gh10495.phpt | 16 $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 D | bug77390.phpt | 16 $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 D | jump_loongarch64_sysv_elf_gas.S | 76 # 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 D | jump_arm64_aapcs_elf_gas.S | 80 # 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 D | jump_mips32_o32_elf_gas.S | 73 # 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 D | make_sparc64_sysv_elf_gas.S | 33 # 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 D | opendir-004.phpt | 18 $context = stream_context_create(array('ssl' => array('cafile' => __DIR__ . '/../../../ftp/tests/c… 20 $ds=opendir($path, $context);
|
H A D | opendir-003.phpt | 18 $context = stream_context_create(array('ssl' => array('cafile' => __DIR__ . '/../../../ftp/tests/c… 20 var_dump(opendir($path, $context));
|
/php-src/main/streams/ |
H A D | userspace.c | 274 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 D | php_stream_transport.h | 30 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 D | bug36214.phpt | 5 class context { 17 $ctx = new context;
|
/php-src/ext/standard/ |
H A D | file.c | 133 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 D | basic_functions.stub.php | 2664 * @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 D | libxml_set_external_entity_loader_basic.phpt | 17 function ($public, $system, $context) use($dtd){ 20 var_dump($context);
|
/php-src/ext/standard/tests/file/ |
H A D | unlink_variation6.phpt | 15 $context = stream_context_create(); 16 var_dump(unlink($testfile, $context));
|
H A D | file_put_contents.phpt | 12 $context = stream_context_create(); 15 var_dump(file_put_contents($file, $context));
|
/php-src/ext/standard/tests/http/ |
H A D | bug79265.phpt | 25 $context = stream_context_create($opts); 26 $fd = fopen($uri, 'rb', false, $context);
|
H A D | bug79265_2.phpt | 24 $context = stream_context_create($opts); 25 $fd = fopen($uri, 'rb', false, $context);
|
/php-src/ext/libxml/ |
H A D | libxml.stub.php | 163 /** @param resource $context */ 164 function libxml_set_streams_context($context): void {} argument
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | plog.h | 19 void *context; member 68 entry->context = ctx; in lexbor_plog_push()
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_auth.c | 531 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 D | mysqlnd_vio.c | 515 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 D | canonicalization.phpt | 24 /* 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 D | bug69655.phpt | 14 $context = stream_context_create(['http' => ['method' => $method]]); 16 file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS, false, $context);
|