Searched refs:cchInfo (Results 1 - 7 of 7) sorted by relevance

/vbox/src/VBox/Runtime/generic/
H A DRTSystemQueryOSInfo-generic.cpp38 RTDECL(int) RTSystemQueryOSInfo(RTSYSOSINFO enmInfo, char *pszInfo, size_t cchInfo) argument
50 if (!cchInfo)
/vbox/src/VBox/Runtime/r3/posix/
H A DRTSystemQueryOSInfo-posix.cpp39 RTDECL(int) RTSystemQueryOSInfo(RTSYSOSINFO enmInfo, char *pszInfo, size_t cchInfo) argument
46 if (!cchInfo)
70 if (cch < cchInfo)
75 memcpy(pszInfo, pszSrc, cchInfo - 1);
76 pszInfo[cchInfo - 1] = '\0';
/vbox/src/VBox/Runtime/testcase/
H A DtstRTSystemQueryDmi.cpp95 size_t const cchInfo = strlen(szInfo); local
97 for (size_t cch = 1; cch < sizeof(szInfo) && cch < cchInfo; cch++)
116 rc = RTSystemQueryDmiString((RTSYSDMISTR)i, szInfo, cchInfo + 1);
118 RTTestIFailed("level=%d: rc=%Rrc when specifying exactly right buffer length (%zu)\n", i, rc, cchInfo + 1);
H A DtstRTSystemQueryOsInfo.cpp108 size_t const cchInfo = strlen(szInfo); local
110 for (size_t cch = 1; cch < sizeof(szInfo) && cch < cchInfo; cch++)
129 rc = RTSystemQueryOSInfo((RTSYSOSINFO)i, szInfo, cchInfo + 1);
131 RTTestIFailed("level=%d: rc=%Rrc when specifying exactly right buffer length (%zu)\n", i, rc, cchInfo + 1);
/vbox/src/VBox/Runtime/r3/win/
H A DRTSystemQueryOSInfo-win.cpp157 * @param cchInfo See RTSystemQueryOSInfo.
159 static int rtSystemWinQueryOSVersion(RTSYSOSINFO enmInfo, char *pszInfo, size_t cchInfo) argument
295 if (cchTmp < cchInfo)
300 memcpy(pszInfo, szTmp, cchInfo - 1);
301 pszInfo[cchInfo - 1] = '\0';
307 RTDECL(int) RTSystemQueryOSInfo(RTSYSOSINFO enmInfo, char *pszInfo, size_t cchInfo)
314 if (!cchInfo)
326 return rtSystemWinQueryOSVersion(enmInfo, pszInfo, cchInfo);
/vbox/include/iprt/
H A Dsystem.h62 * contain the chopped off result in this case, provided cchInfo isn't 0.
68 * @param cchInfo The size of the output buffer.
70 RTDECL(int) RTSystemQueryOSInfo(RTSYSOSINFO enmInfo, char *pszInfo, size_t cchInfo);
/vbox/src/VBox/Main/src-client/
H A DConsoleVRDPServer.cpp771 size_t cchInfo = 0; local
772 rc = RTStrNLenEx(pFeature->achInfo, cbInfo, &cchInfo);

Completed in 57 milliseconds