Searched refs:zcontext (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/hash/
H A Dhash.c455 zval *zhash, *zcontext = NULL; local
462 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|r", &zhash, &filename, &filename_len, &zcontext) == FAILURE) {
467 context = php_stream_context_from_zval(zcontext, 0);
/PHP_TRUNK/ext/spl/
H A Dspl_directory.h89 zval *zcontext; member in struct:_spl_filesystem_object::__anon210::__anon212
H A Dspl_directory.c106 if (intern->u.file.zcontext) {
107 zend_list_delref(Z_RESVAL_P(intern->zcontext));
275 intern->u.file.context = php_stream_context_from_zval(intern->u.file.zcontext, 0);
288 if (intern->u.file.zcontext) {
289 //zend_list_addref(Z_RES_VAL(intern->u.file.zcontext));
290 Z_ADDREF_P(intern->u.file.zcontext);
525 &use_include_path, &intern->u.file.zcontext) == FAILURE) {
2280 &use_include_path, &intern->u.file.zcontext) == FAILURE) {
/PHP_TRUNK/main/streams/
H A Dphp_stream_context.h35 #define php_stream_context_from_zval(zcontext, nocontext) ( \
36 (zcontext) ? zend_fetch_resource(zcontext TSRMLS_CC, -1, "Stream-Context", NULL, 1, php_le_stream_context(TSRMLS_C)) : \
/PHP_TRUNK/ext/fileinfo/
H A Dfileinfo.c419 zval *zfinfo, *zcontext = NULL; local
455 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lr", &buffer, &buffer_len, &options, &zcontext) == FAILURE) {
461 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|lr", &zfinfo, &buffer, &buffer_len, &options, &zcontext) == FAILURE) {
516 php_stream_context *context = php_stream_context_from_zval(zcontext, 0);
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c92 zval *zerrno = NULL, *zerrstr = NULL, *zcontext = NULL; local
105 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z/z/dlr", &host, &host_len, &zerrno, &zerrstr, &timeout, &flags, &zcontext) == FAILURE) {
109 context = php_stream_context_from_zval(zcontext, flags & PHP_FILE_NO_DEFAULT_CONTEXT);
180 zval *zerrno = NULL, *zerrstr = NULL, *zcontext = NULL; local
189 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z/z/lr", &host, &host_len, &zerrno, &zerrstr, &flags, &zcontext) == FAILURE) {
193 context = php_stream_context_from_zval(zcontext, flags & PHP_FILE_NO_DEFAULT_CONTEXT);
947 zval *zcontext; local
950 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &zcontext) == FAILURE) {
953 context = decode_context_param(zcontext TSRMLS_CC);
967 zval *options = NULL, *zcontext local
1003 zval *params, *zcontext; local
1024 zval *zcontext, options; local
[all...]
H A Dfile.c531 zval *zcontext = NULL; local
536 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|br!ll", &filename, &filename_len, &use_include_path, &zcontext, &offset, &maxlen) == FAILURE) {
545 context = php_stream_context_from_zval(zcontext, 0);
584 zval *zcontext = NULL; local
590 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pz/|lr!", &filename, &filename_len, &data, &flags, &zcontext) == FAILURE) {
598 context = php_stream_context_from_zval(zcontext, flags & PHP_FILE_NO_DEFAULT_CONTEXT);
726 zval *zcontext = NULL; local
731 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|lr!", &filename, &filename_len, &flags, &zcontext) == FAILURE) {
743 context = php_stream_context_from_zval(zcontext, flags & PHP_FILE_NO_DEFAULT_CONTEXT);
866 zval *zcontext local
1341 zval *zcontext = NULL; local
1362 zval *zcontext = NULL; local
1383 zval *zcontext = NULL; local
1456 zval *zcontext = NULL; local
1494 zval *zcontext = NULL; local
1642 zval *zcontext = NULL; local
[all...]
H A Ddir.c218 zval *zcontext = NULL; local
222 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|r", &dirname, &dir_len, &zcontext) == FAILURE) {
226 context = php_stream_context_from_zval(zcontext, 0);
561 zval *zcontext = NULL; local
564 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|lr", &dirn, &dirn_len, &flags, &zcontext) == FAILURE) {
573 if (zcontext) {
574 context = php_stream_context_from_zval(zcontext, 0);
/PHP_TRUNK/ext/phar/
H A Dfunc_interceptors.c30 zval *zcontext = NULL; local
41 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|z", &filename, &filename_len, &zcontext) == FAILURE) {
76 if (zcontext) {
77 context = php_stream_context_from_zval(zcontext, 0);
103 zval *zcontext = NULL; local
115 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "p|br!ll", &filename, &filename_len, &use_include_path, &zcontext, &offset, &maxlen) == FAILURE) {
187 if (zcontext) {
188 context = php_stream_context_from_zval(zcontext, 0);
230 zval *zcontext = NULL; local
241 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "p|br!", &filename, &filename_len, &use_include_path, &zcontext)
325 zval *zcontext = NULL; local
[all...]

Completed in 18 milliseconds