Home
last modified time | relevance | path

Searched refs:context (Results 76 – 100 of 417) sorted by relevance

12345678910>>...17

/PHP-5.5/ext/standard/tests/file/
H A Dfile_put_contents.phpt12 $context = stream_context_create();
14 var_dump(file_put_contents($file, $context));
H A Dfile_put_contents_variation3.phpt2 Test file_put_contents() function : usage variation - different types for context.
7 /* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]])
110 //non context resource
113 //valid stream context
114 'stream context' => $strContext,
117 // loop through each element of the array for context
248 --stream context--
H A Dfile_get_contents_variation4.phpt2 Test file_get_contents() function : usage variation - different types for context.
7 …g file_get_contents(string filename [, bool use_include_path [, resource context [, long offset [,…
111 //non context resource
114 //valid stream context
115 'stream context' => $strContext,
118 // loop through each element of the array for context
249 --stream context--
H A Dfopen_variation6.phpt2 Test fopen() function : variation: use include path and stream context relative/absolute file
7 …type : resource fopen(string filename, string mode [, bool use_include_path [, resource context]])
H A Dfile_get_contents_file_put_contents_basic.phpt7 * resource $context[, int $offset[, int $maxlen]]]] )
11 …rototype: int file_put_contents( string $filename, mixed $data[, int $flags[, resource $context]] )
/PHP-5.5/ext/libxml/tests/
H A Dlibxml_set_external_entity_loader_basic.phpt17 function ($public, $system, $context) use($dtd){
20 var_dump($context);
H A Dlibxml_set_external_entity_loader_variation1.phpt26 function ($public, $system, $context) use($dtd,$entity){
30 var_dump($context);
/PHP-5.5/ext/standard/
H A Ddir.c219 php_stream_context *context = NULL; in _php_do_opendir() local
226 context = php_stream_context_from_zval(zcontext, 0); in _php_do_opendir()
228 dirp = php_stream_opendir(dirname, REPORT_ERRORS, context); in _php_do_opendir()
560 php_stream_context *context = NULL; in PHP_FUNCTION() local
572 context = php_stream_context_from_zval(zcontext, 0); in PHP_FUNCTION()
576 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasort); in PHP_FUNCTION()
578 n = php_stream_scandir(dirn, &namelist, context, NULL); in PHP_FUNCTION()
580 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasortr); in PHP_FUNCTION()
H A Dfile.c152 if (context->options) { in ZEND_RSRC_DTOR_FUNC()
153 zval_ptr_dtor(&context->options); in ZEND_RSRC_DTOR_FUNC()
154 context->options = NULL; in ZEND_RSRC_DTOR_FUNC()
156 php_stream_context_free(context); in ZEND_RSRC_DTOR_FUNC()
526 php_stream_context *context = NULL; in PHP_FUNCTION() local
542 NULL, context); in PHP_FUNCTION()
580 php_stream_context *context = NULL; in PHP_FUNCTION() local
1325 php_stream_context *context; in PHP_FUNCTION() local
1344 php_stream_context *context; in PHP_FUNCTION() local
1439 php_stream_context *context; in PHP_FUNCTION() local
[all …]
/PHP-5.5/main/streams/
H A Duserspace.c293 if (context) { in user_stream_create_object()
294 add_property_resource(object, "context", context->rsrc_id); in user_stream_create_object()
295 zend_list_addref(context->rsrc_id); in user_stream_create_object()
366 us->object = user_stream_create_object(uwrap, context TSRMLS_CC); in user_wrapper_opener()
460 us->object = user_stream_create_object(uwrap, context TSRMLS_CC); in user_wrapper_opendir()
1174 object = user_stream_create_object(uwrap, context TSRMLS_CC); in user_wrapper_unlink()
1221 object = user_stream_create_object(uwrap, context TSRMLS_CC); in user_wrapper_rename()
1273 object = user_stream_create_object(uwrap, context TSRMLS_CC); in user_wrapper_mkdir()
1331 object = user_stream_create_object(uwrap, context TSRMLS_CC); in user_wrapper_rmdir()
1409 object = user_stream_create_object(uwrap, context TSRMLS_CC); in user_wrapper_metadata()
[all …]
/PHP-5.5/Zend/tests/
H A Dbug36214.phpt7 class context {
19 $ctx = new context;
/PHP-5.5/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-5.5/ext/mysqlnd/
H A Dmysqlnd_auth.c330 PHP_SHA1_CTX context; in php_mysqlnd_scramble() local
335 PHP_SHA1Init(&context); in php_mysqlnd_scramble()
336 PHP_SHA1Update(&context, password, password_len); in php_mysqlnd_scramble()
337 PHP_SHA1Final(sha1, &context); in php_mysqlnd_scramble()
340 PHP_SHA1Init(&context); in php_mysqlnd_scramble()
341 PHP_SHA1Update(&context, (zend_uchar*)sha1, SHA1_MAX_LENGTH); in php_mysqlnd_scramble()
342 PHP_SHA1Final(sha2, &context); in php_mysqlnd_scramble()
345 PHP_SHA1Init(&context); in php_mysqlnd_scramble()
346 PHP_SHA1Update(&context, scramble, SCRAMBLE_LENGTH); in php_mysqlnd_scramble()
347 PHP_SHA1Update(&context, (zend_uchar*)sha2, SHA1_MAX_LENGTH); in php_mysqlnd_scramble()
[all …]
/PHP-5.5/ext/openssl/tests/
H A Dbug46127.phpt20 $context = stream_context_create(array('ssl' => $ssl));
21 …er('ssl://127.0.0.1:'.$port, $errno, $errstr, STREAM_SERVER_BIND | STREAM_SERVER_LISTEN, $context);
/PHP-5.5/ext/fileinfo/
H A Dfileinfo.c141 ZEND_ARG_INFO(0, context)
147 ZEND_ARG_INFO(0, context)
154 ZEND_ARG_INFO(0, context)
160 ZEND_ARG_INFO(0, context)
519 php_stream_context *context = php_stream_context_from_zval(zcontext, 0); local
522 if (php_stream_stat_path_ex(buffer, 0, &ssb, context) == SUCCESS) {
531 …tream = php_stream_open_wrapper_ex(buffer, "rb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, context);
533 stream = php_stream_open_wrapper_ex(buffer, "rb", REPORT_ERRORS, NULL, context);
/PHP-5.5/ext/openssl/
H A Dxp_ssl.c525 stream->context, "ssl", "no_ticket", &val) && in php_openssl_setup_crypto()
537 stream->context, "ssl", "disable_compression", &val) && in php_openssl_setup_crypto()
664 if (stream->context) { in php_openssl_enable_crypto()
668 stream->context, "ssl", in php_openssl_enable_crypto()
674 php_stream_context_set_option(stream->context, in php_openssl_enable_crypto()
682 stream->context, "ssl", in php_openssl_enable_crypto()
710 php_stream_context_set_option(stream->context, in php_openssl_enable_crypto()
770 xparam->outputs.client->context = stream->context; in php_openssl_tcp_sockop_accept()
771 if (stream->context) { in php_openssl_tcp_sockop_accept()
772 zend_list_addref(stream->context->rsrc_id); in php_openssl_tcp_sockop_accept()
[all …]
/PHP-5.5/ext/phar/
H A Dutil.c1658 PHP_SHA512_CTX context; local
1691 PHP_SHA256_CTX context; local
1732 PHP_SHA1_CTX context; local
1734 PHP_SHA1Init(&context);
1765 PHP_MD5_CTX context; local
1767 PHP_MD5Init(&context);
1822 PHP_SHA512_CTX context; local
1939 PHP_SHA1_CTX context; local
1941 PHP_SHA1Init(&context);
1954 PHP_MD5_CTX context; local
[all …]
/PHP-5.5/Zend/
H A Dzend_signal.h47 void* context; member
85 void zend_signal_handler_defer(int signo, siginfo_t *siginfo, void *context);
/PHP-5.5/ext/phar/tests/
H A Dphar_ctx_001.phpt2 Phar context
31 $context = stream_context_create(array('phar'=> array('compress'=>Phar::GZ, 'metadata' => array(2, …
35 file_put_contents($pname . '/b', b'new b', 0, $context);
H A Dopendir_edgecases.phpt34 $context = stream_context_create();
35 $a = opendir(".", $context);
/PHP-5.5/ext/standard/tests/http/
H A Dbug48929.phpt13 $context = stream_context_create(array('http' => $context_options));
23 $fd = fopen('http://127.0.0.1:12342/', 'rb', false, $context);
/PHP-5.5/ext/reflection/tests/
H A Dbug38465.phpt31 echo "\nFrom class context:\n";
58 From class context:
/PHP-5.5/ext/gd/libgd/
H A Dgd_io_ss.c86 res = ((lctx->src->source) (lctx->src->context, buf, size)); in sourceGetbuf()
123 res = (lctx->snk->sink) (lctx->snk->context, buf, size); in sinkPutbuf()
/PHP-5.5/ext/interbase/tests/
H A D005.phpt42 /* in default transaction context */
67 parameters run in this context
82 /* specify transaction context... */
119 /* insert in first transaction context... */
122 /* specify context */
/PHP-5.5/
H A DREADME.NEW-OUTPUT-API21 Starting an internal handler whithout context:
25 Starting an internal handler with context:
92 Facilitating a context from within an output handler callable with ob_start():
118 context:
121 pointer to the opaque field of the output handler context

Completed in 74 milliseconds

12345678910>>...17