Lines Matching refs:args
299 zval args[4]; in user_wrapper_opener() local
336 ZVAL_STRING(&args[0], filename); in user_wrapper_opener()
337 ZVAL_STRING(&args[1], mode); in user_wrapper_opener()
338 ZVAL_LONG(&args[2], options); in user_wrapper_opener()
339 ZVAL_NEW_REF(&args[3], &EG(uninitialized_zval)); in user_wrapper_opener()
344 call_result = call_method_if_exists(&us->object, &zfuncname, &zretval, 4, args); in user_wrapper_opener()
355 if (Z_ISREF(args[3]) && Z_TYPE_P(Z_REFVAL(args[3])) == IS_STRING && opened_path) { in user_wrapper_opener()
356 *opened_path = zend_string_copy(Z_STR_P(Z_REFVAL(args[3]))); in user_wrapper_opener()
375 zval_ptr_dtor(&args[3]); in user_wrapper_opener()
376 zval_ptr_dtor(&args[2]); in user_wrapper_opener()
377 zval_ptr_dtor(&args[1]); in user_wrapper_opener()
378 zval_ptr_dtor(&args[0]); in user_wrapper_opener()
400 zval args[2]; in user_wrapper_opendir() local
424 ZVAL_STRING(&args[0], filename); in user_wrapper_opendir()
425 ZVAL_LONG(&args[1], options); in user_wrapper_opendir()
429 call_result = call_method_if_exists(&us->object, &zfuncname, &zretval, 2, args); in user_wrapper_opendir()
452 zval_ptr_dtor(&args[1]); in user_wrapper_opendir()
453 zval_ptr_dtor(&args[0]); in user_wrapper_opendir()
569 zval args[1]; in php_userstreamop_write() local
576 ZVAL_STRINGL(&args[0], (char*)buf, count); in php_userstreamop_write()
578 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_write()
579 zval_ptr_dtor(&args[0]); in php_userstreamop_write()
616 zval args[1]; in php_userstreamop_read() local
625 ZVAL_LONG(&args[0], count); in php_userstreamop_read()
627 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_read()
629 zval_ptr_dtor(&args[0]); in php_userstreamop_read()
743 zval args[2]; in php_userstreamop_seek() local
749 ZVAL_LONG(&args[0], offset); in php_userstreamop_seek()
750 ZVAL_LONG(&args[1], whence); in php_userstreamop_seek()
752 call_result = call_method_if_exists(&us->object, &func_name, &retval, 2, args); in php_userstreamop_seek()
754 zval_ptr_dtor(&args[0]); in php_userstreamop_seek()
755 zval_ptr_dtor(&args[1]); in php_userstreamop_seek()
873 zval args[3]; in php_userstreamop_set_option() local
892 ZVAL_LONG(&args[0], 0); in php_userstreamop_set_option()
895 Z_LVAL_P(&args[0]) |= PHP_LOCK_NB; in php_userstreamop_set_option()
899 Z_LVAL_P(&args[0]) |= PHP_LOCK_SH; in php_userstreamop_set_option()
902 Z_LVAL_P(&args[0]) |= PHP_LOCK_EX; in php_userstreamop_set_option()
905 Z_LVAL_P(&args[0]) |= PHP_LOCK_UN; in php_userstreamop_set_option()
912 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_set_option()
929 zval_ptr_dtor(&args[0]); in php_userstreamop_set_option()
946 ZVAL_LONG(&args[0], (zend_long)new_size); in php_userstreamop_set_option()
947 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_set_option()
963 zval_ptr_dtor(&args[0]); in php_userstreamop_set_option()
980 ZVAL_LONG(&args[0], option); in php_userstreamop_set_option()
981 ZVAL_NULL(&args[1]); in php_userstreamop_set_option()
982 ZVAL_NULL(&args[2]); in php_userstreamop_set_option()
987 ZVAL_LONG(&args[1], value); in php_userstreamop_set_option()
989 ZVAL_LONG(&args[2], *(long *)ptrparam); in php_userstreamop_set_option()
991 ZVAL_LONG(&args[2], BUFSIZ); in php_userstreamop_set_option()
996 ZVAL_LONG(&args[1], tv.tv_sec); in php_userstreamop_set_option()
997 ZVAL_LONG(&args[2], tv.tv_usec); in php_userstreamop_set_option()
1001 ZVAL_LONG(&args[1], value); in php_userstreamop_set_option()
1007 call_result = call_method_if_exists(&us->object, &func_name, &retval, 3, args); in php_userstreamop_set_option()
1020 zval_ptr_dtor(&args[2]); in php_userstreamop_set_option()
1021 zval_ptr_dtor(&args[1]); in php_userstreamop_set_option()
1022 zval_ptr_dtor(&args[0]); in php_userstreamop_set_option()
1037 zval args[1]; in user_wrapper_unlink() local
1049 ZVAL_STRING(&args[0], url); in user_wrapper_unlink()
1053 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 1, args); in user_wrapper_unlink()
1066 zval_ptr_dtor(&args[0]); in user_wrapper_unlink()
1076 zval args[2]; in user_wrapper_rename() local
1088 ZVAL_STRING(&args[0], url_from); in user_wrapper_rename()
1089 ZVAL_STRING(&args[1], url_to); in user_wrapper_rename()
1093 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 2, args); in user_wrapper_rename()
1106 zval_ptr_dtor(&args[1]); in user_wrapper_rename()
1107 zval_ptr_dtor(&args[0]); in user_wrapper_rename()
1117 zval args[3]; in user_wrapper_mkdir() local
1129 ZVAL_STRING(&args[0], url); in user_wrapper_mkdir()
1130 ZVAL_LONG(&args[1], mode); in user_wrapper_mkdir()
1131 ZVAL_LONG(&args[2], options); in user_wrapper_mkdir()
1135 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 3, args); in user_wrapper_mkdir()
1148 zval_ptr_dtor(&args[2]); in user_wrapper_mkdir()
1149 zval_ptr_dtor(&args[1]); in user_wrapper_mkdir()
1150 zval_ptr_dtor(&args[0]); in user_wrapper_mkdir()
1160 zval args[2]; in user_wrapper_rmdir() local
1172 ZVAL_STRING(&args[0], url); in user_wrapper_rmdir()
1173 ZVAL_LONG(&args[1], options); in user_wrapper_rmdir()
1177 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 2, args); in user_wrapper_rmdir()
1190 zval_ptr_dtor(&args[1]); in user_wrapper_rmdir()
1191 zval_ptr_dtor(&args[0]); in user_wrapper_rmdir()
1201 zval args[3]; in user_wrapper_metadata() local
1208 array_init(&args[2]); in user_wrapper_metadata()
1211 add_index_long(&args[2], 0, newtime->modtime); in user_wrapper_metadata()
1212 add_index_long(&args[2], 1, newtime->actime); in user_wrapper_metadata()
1218 ZVAL_LONG(&args[2], *(long *)value); in user_wrapper_metadata()
1222 ZVAL_STRING(&args[2], value); in user_wrapper_metadata()
1226 zval_ptr_dtor(&args[2]); in user_wrapper_metadata()
1233 zval_ptr_dtor(&args[2]); in user_wrapper_metadata()
1238 ZVAL_STRING(&args[0], url); in user_wrapper_metadata()
1239 ZVAL_LONG(&args[1], option); in user_wrapper_metadata()
1243 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 3, args); in user_wrapper_metadata()
1256 zval_ptr_dtor(&args[0]); in user_wrapper_metadata()
1257 zval_ptr_dtor(&args[1]); in user_wrapper_metadata()
1258 zval_ptr_dtor(&args[2]); in user_wrapper_metadata()
1269 zval args[2]; in user_wrapper_stat_url() local
1281 ZVAL_STRING(&args[0], url); in user_wrapper_stat_url()
1282 ZVAL_LONG(&args[1], flags); in user_wrapper_stat_url()
1286 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 2, args); in user_wrapper_stat_url()
1304 zval_ptr_dtor(&args[1]); in user_wrapper_stat_url()
1305 zval_ptr_dtor(&args[0]); in user_wrapper_stat_url()
1389 zval args[1]; in php_userstreamop_cast() local
1400 ZVAL_LONG(&args[0], PHP_STREAM_AS_FD_FOR_SELECT); in php_userstreamop_cast()
1403 ZVAL_LONG(&args[0], PHP_STREAM_AS_STDIO); in php_userstreamop_cast()
1407 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_cast()
1441 zval_ptr_dtor(&args[0]); in php_userstreamop_cast()