Lines Matching refs:args
325 zval args[4]; in user_wrapper_opener() local
362 ZVAL_STRING(&args[0], filename); in user_wrapper_opener()
363 ZVAL_STRING(&args[1], mode); in user_wrapper_opener()
364 ZVAL_LONG(&args[2], options); in user_wrapper_opener()
365 ZVAL_NEW_REF(&args[3], &EG(uninitialized_zval)); in user_wrapper_opener()
370 call_result = call_method_if_exists(&us->object, &zfuncname, &zretval, 4, args); in user_wrapper_opener()
381 if (Z_ISREF(args[3]) && Z_TYPE_P(Z_REFVAL(args[3])) == IS_STRING && opened_path) { in user_wrapper_opener()
382 *opened_path = zend_string_copy(Z_STR_P(Z_REFVAL(args[3]))); in user_wrapper_opener()
401 zval_ptr_dtor(&args[3]); in user_wrapper_opener()
402 zval_ptr_dtor(&args[2]); in user_wrapper_opener()
403 zval_ptr_dtor(&args[1]); in user_wrapper_opener()
404 zval_ptr_dtor(&args[0]); in user_wrapper_opener()
426 zval args[2]; in user_wrapper_opendir() local
450 ZVAL_STRING(&args[0], filename); in user_wrapper_opendir()
451 ZVAL_LONG(&args[1], options); in user_wrapper_opendir()
455 call_result = call_method_if_exists(&us->object, &zfuncname, &zretval, 2, args); in user_wrapper_opendir()
478 zval_ptr_dtor(&args[1]); in user_wrapper_opendir()
479 zval_ptr_dtor(&args[0]); in user_wrapper_opendir()
596 zval args[1]; in php_userstreamop_write() local
603 ZVAL_STRINGL(&args[0], (char*)buf, count); in php_userstreamop_write()
605 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_write()
606 zval_ptr_dtor(&args[0]); in php_userstreamop_write()
643 zval args[1]; in php_userstreamop_read() local
652 ZVAL_LONG(&args[0], count); in php_userstreamop_read()
654 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_read()
656 zval_ptr_dtor(&args[0]); in php_userstreamop_read()
770 zval args[2]; in php_userstreamop_seek() local
776 ZVAL_LONG(&args[0], offset); in php_userstreamop_seek()
777 ZVAL_LONG(&args[1], whence); in php_userstreamop_seek()
779 call_result = call_method_if_exists(&us->object, &func_name, &retval, 2, args); in php_userstreamop_seek()
781 zval_ptr_dtor(&args[0]); in php_userstreamop_seek()
782 zval_ptr_dtor(&args[1]); in php_userstreamop_seek()
900 zval args[3]; in php_userstreamop_set_option() local
919 ZVAL_LONG(&args[0], 0); in php_userstreamop_set_option()
922 Z_LVAL_P(&args[0]) |= PHP_LOCK_NB; in php_userstreamop_set_option()
926 Z_LVAL_P(&args[0]) |= PHP_LOCK_SH; in php_userstreamop_set_option()
929 Z_LVAL_P(&args[0]) |= PHP_LOCK_EX; in php_userstreamop_set_option()
932 Z_LVAL_P(&args[0]) |= PHP_LOCK_UN; in php_userstreamop_set_option()
939 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_set_option()
956 zval_ptr_dtor(&args[0]); in php_userstreamop_set_option()
973 ZVAL_LONG(&args[0], (zend_long)new_size); in php_userstreamop_set_option()
974 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_set_option()
990 zval_ptr_dtor(&args[0]); in php_userstreamop_set_option()
1007 ZVAL_LONG(&args[0], option); in php_userstreamop_set_option()
1008 ZVAL_NULL(&args[1]); in php_userstreamop_set_option()
1009 ZVAL_NULL(&args[2]); in php_userstreamop_set_option()
1014 ZVAL_LONG(&args[1], value); in php_userstreamop_set_option()
1016 ZVAL_LONG(&args[2], *(long *)ptrparam); in php_userstreamop_set_option()
1018 ZVAL_LONG(&args[2], BUFSIZ); in php_userstreamop_set_option()
1023 ZVAL_LONG(&args[1], tv.tv_sec); in php_userstreamop_set_option()
1024 ZVAL_LONG(&args[2], tv.tv_usec); in php_userstreamop_set_option()
1028 ZVAL_LONG(&args[1], value); in php_userstreamop_set_option()
1034 call_result = call_method_if_exists(&us->object, &func_name, &retval, 3, args); in php_userstreamop_set_option()
1047 zval_ptr_dtor(&args[2]); in php_userstreamop_set_option()
1048 zval_ptr_dtor(&args[1]); in php_userstreamop_set_option()
1049 zval_ptr_dtor(&args[0]); in php_userstreamop_set_option()
1064 zval args[1]; in user_wrapper_unlink() local
1076 ZVAL_STRING(&args[0], url); in user_wrapper_unlink()
1080 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 1, args); in user_wrapper_unlink()
1093 zval_ptr_dtor(&args[0]); in user_wrapper_unlink()
1103 zval args[2]; in user_wrapper_rename() local
1115 ZVAL_STRING(&args[0], url_from); in user_wrapper_rename()
1116 ZVAL_STRING(&args[1], url_to); in user_wrapper_rename()
1120 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 2, args); in user_wrapper_rename()
1133 zval_ptr_dtor(&args[1]); in user_wrapper_rename()
1134 zval_ptr_dtor(&args[0]); in user_wrapper_rename()
1144 zval args[3]; in user_wrapper_mkdir() local
1156 ZVAL_STRING(&args[0], url); in user_wrapper_mkdir()
1157 ZVAL_LONG(&args[1], mode); in user_wrapper_mkdir()
1158 ZVAL_LONG(&args[2], options); in user_wrapper_mkdir()
1162 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 3, args); in user_wrapper_mkdir()
1175 zval_ptr_dtor(&args[2]); in user_wrapper_mkdir()
1176 zval_ptr_dtor(&args[1]); in user_wrapper_mkdir()
1177 zval_ptr_dtor(&args[0]); in user_wrapper_mkdir()
1187 zval args[2]; in user_wrapper_rmdir() local
1199 ZVAL_STRING(&args[0], url); in user_wrapper_rmdir()
1200 ZVAL_LONG(&args[1], options); in user_wrapper_rmdir()
1204 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 2, args); in user_wrapper_rmdir()
1217 zval_ptr_dtor(&args[1]); in user_wrapper_rmdir()
1218 zval_ptr_dtor(&args[0]); in user_wrapper_rmdir()
1228 zval args[3]; in user_wrapper_metadata() local
1235 array_init(&args[2]); in user_wrapper_metadata()
1238 add_index_long(&args[2], 0, newtime->modtime); in user_wrapper_metadata()
1239 add_index_long(&args[2], 1, newtime->actime); in user_wrapper_metadata()
1245 ZVAL_LONG(&args[2], *(long *)value); in user_wrapper_metadata()
1249 ZVAL_STRING(&args[2], value); in user_wrapper_metadata()
1253 zval_ptr_dtor(&args[2]); in user_wrapper_metadata()
1260 zval_ptr_dtor(&args[2]); in user_wrapper_metadata()
1265 ZVAL_STRING(&args[0], url); in user_wrapper_metadata()
1266 ZVAL_LONG(&args[1], option); in user_wrapper_metadata()
1270 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 3, args); in user_wrapper_metadata()
1283 zval_ptr_dtor(&args[0]); in user_wrapper_metadata()
1284 zval_ptr_dtor(&args[1]); in user_wrapper_metadata()
1285 zval_ptr_dtor(&args[2]); in user_wrapper_metadata()
1296 zval args[2]; in user_wrapper_stat_url() local
1308 ZVAL_STRING(&args[0], url); in user_wrapper_stat_url()
1309 ZVAL_LONG(&args[1], flags); in user_wrapper_stat_url()
1313 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 2, args); in user_wrapper_stat_url()
1331 zval_ptr_dtor(&args[1]); in user_wrapper_stat_url()
1332 zval_ptr_dtor(&args[0]); in user_wrapper_stat_url()
1415 zval args[1]; in php_userstreamop_cast() local
1424 ZVAL_LONG(&args[0], PHP_STREAM_AS_FD_FOR_SELECT); in php_userstreamop_cast()
1427 ZVAL_LONG(&args[0], PHP_STREAM_AS_STDIO); in php_userstreamop_cast()
1431 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_cast()
1459 zval_ptr_dtor(&args[0]); in php_userstreamop_cast()