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()
872 zval args[3]; in php_userstreamop_set_option() local
891 ZVAL_LONG(&args[0], 0); in php_userstreamop_set_option()
894 Z_LVAL_P(&args[0]) |= PHP_LOCK_NB; in php_userstreamop_set_option()
898 Z_LVAL_P(&args[0]) |= PHP_LOCK_SH; in php_userstreamop_set_option()
901 Z_LVAL_P(&args[0]) |= PHP_LOCK_EX; in php_userstreamop_set_option()
904 Z_LVAL_P(&args[0]) |= PHP_LOCK_UN; in php_userstreamop_set_option()
911 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_set_option()
928 zval_ptr_dtor(&args[0]); in php_userstreamop_set_option()
945 ZVAL_LONG(&args[0], (zend_long)new_size); in php_userstreamop_set_option()
946 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_set_option()
962 zval_ptr_dtor(&args[0]); in php_userstreamop_set_option()
979 ZVAL_LONG(&args[0], option); in php_userstreamop_set_option()
980 ZVAL_NULL(&args[1]); in php_userstreamop_set_option()
981 ZVAL_NULL(&args[2]); in php_userstreamop_set_option()
986 ZVAL_LONG(&args[1], value); in php_userstreamop_set_option()
988 ZVAL_LONG(&args[2], *(long *)ptrparam); in php_userstreamop_set_option()
990 ZVAL_LONG(&args[2], BUFSIZ); in php_userstreamop_set_option()
995 ZVAL_LONG(&args[1], tv.tv_sec); in php_userstreamop_set_option()
996 ZVAL_LONG(&args[2], tv.tv_usec); in php_userstreamop_set_option()
1000 ZVAL_LONG(&args[1], value); in php_userstreamop_set_option()
1006 call_result = call_method_if_exists(&us->object, &func_name, &retval, 3, args); in php_userstreamop_set_option()
1019 zval_ptr_dtor(&args[2]); in php_userstreamop_set_option()
1020 zval_ptr_dtor(&args[1]); in php_userstreamop_set_option()
1021 zval_ptr_dtor(&args[0]); in php_userstreamop_set_option()
1036 zval args[1]; in user_wrapper_unlink() local
1048 ZVAL_STRING(&args[0], url); in user_wrapper_unlink()
1052 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 1, args); in user_wrapper_unlink()
1065 zval_ptr_dtor(&args[0]); in user_wrapper_unlink()
1075 zval args[2]; in user_wrapper_rename() local
1087 ZVAL_STRING(&args[0], url_from); in user_wrapper_rename()
1088 ZVAL_STRING(&args[1], url_to); in user_wrapper_rename()
1092 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 2, args); in user_wrapper_rename()
1105 zval_ptr_dtor(&args[1]); in user_wrapper_rename()
1106 zval_ptr_dtor(&args[0]); in user_wrapper_rename()
1116 zval args[3]; in user_wrapper_mkdir() local
1128 ZVAL_STRING(&args[0], url); in user_wrapper_mkdir()
1129 ZVAL_LONG(&args[1], mode); in user_wrapper_mkdir()
1130 ZVAL_LONG(&args[2], options); in user_wrapper_mkdir()
1134 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 3, args); in user_wrapper_mkdir()
1147 zval_ptr_dtor(&args[2]); in user_wrapper_mkdir()
1148 zval_ptr_dtor(&args[1]); in user_wrapper_mkdir()
1149 zval_ptr_dtor(&args[0]); in user_wrapper_mkdir()
1159 zval args[2]; in user_wrapper_rmdir() local
1171 ZVAL_STRING(&args[0], url); in user_wrapper_rmdir()
1172 ZVAL_LONG(&args[1], options); in user_wrapper_rmdir()
1176 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 2, args); in user_wrapper_rmdir()
1189 zval_ptr_dtor(&args[1]); in user_wrapper_rmdir()
1190 zval_ptr_dtor(&args[0]); in user_wrapper_rmdir()
1200 zval args[3]; in user_wrapper_metadata() local
1207 array_init(&args[2]); in user_wrapper_metadata()
1210 add_index_long(&args[2], 0, newtime->modtime); in user_wrapper_metadata()
1211 add_index_long(&args[2], 1, newtime->actime); in user_wrapper_metadata()
1217 ZVAL_LONG(&args[2], *(long *)value); in user_wrapper_metadata()
1221 ZVAL_STRING(&args[2], value); in user_wrapper_metadata()
1225 zval_ptr_dtor(&args[2]); in user_wrapper_metadata()
1232 zval_ptr_dtor(&args[2]); in user_wrapper_metadata()
1237 ZVAL_STRING(&args[0], url); in user_wrapper_metadata()
1238 ZVAL_LONG(&args[1], option); in user_wrapper_metadata()
1242 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 3, args); in user_wrapper_metadata()
1255 zval_ptr_dtor(&args[0]); in user_wrapper_metadata()
1256 zval_ptr_dtor(&args[1]); in user_wrapper_metadata()
1257 zval_ptr_dtor(&args[2]); in user_wrapper_metadata()
1268 zval args[2]; in user_wrapper_stat_url() local
1280 ZVAL_STRING(&args[0], url); in user_wrapper_stat_url()
1281 ZVAL_LONG(&args[1], flags); in user_wrapper_stat_url()
1285 call_result = call_method_if_exists(&object, &zfuncname, &zretval, 2, args); in user_wrapper_stat_url()
1303 zval_ptr_dtor(&args[1]); in user_wrapper_stat_url()
1304 zval_ptr_dtor(&args[0]); in user_wrapper_stat_url()
1388 zval args[1]; in php_userstreamop_cast() local
1399 ZVAL_LONG(&args[0], PHP_STREAM_AS_FD_FOR_SELECT); in php_userstreamop_cast()
1402 ZVAL_LONG(&args[0], PHP_STREAM_AS_STDIO); in php_userstreamop_cast()
1406 call_result = call_method_if_exists(&us->object, &func_name, &retval, 1, args); in php_userstreamop_cast()
1440 zval_ptr_dtor(&args[0]); in php_userstreamop_cast()