VirtualBox

Changeset 80585 in vbox for trunk/src/VBox/VMM/testcase


Ignore:
Timestamp:
Sep 4, 2019 2:05:50 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133105
Message:

Runtime: Some renaming to stay consistent (*Get* always returns what is asked for while *Query* returns a status code and where to store the value on success is given as a pointer)

  • RTVfsFileGetSize -> RTVfsFileQuerySize
  • RTFileQuerySize -> RTFileQuerySizeByPath
  • RTFileGetSize -> RTFileQuerySize
  • RTFileGetSizeMaxEx -> RTFileQuerySizeMaxEx
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstAnimate.cpp

    r76553 r80585  
    197197    RTPrintf("info: running script...\n");
    198198    uint64_t cb;
    199     int rc = RTFileGetSize(File, &cb);
     199    int rc = RTFileQuerySize(File, &cb);
    200200    if (RT_SUCCESS(rc))
    201201    {
     
    804804        if (FileRawMem != NIL_RTFILE)
    805805        {
    806             rc = RTFileGetSize(FileRawMem, &cbMem);
     806            rc = RTFileQuerySize(FileRawMem, &cbMem);
    807807            AssertReleaseRC(rc);
    808808            cbMem -= offRawMem;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette