Searched refs:cchInfo (Results 1 - 7 of 7) sorted by relevance
/vbox/src/VBox/Runtime/generic/ |
H A D | RTSystemQueryOSInfo-generic.cpp | 38 RTDECL(int) RTSystemQueryOSInfo(RTSYSOSINFO enmInfo, char *pszInfo, size_t cchInfo) argument 50 if (!cchInfo)
|
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | RTSystemQueryOSInfo-posix.cpp | 39 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 D | tstRTSystemQueryDmi.cpp | 95 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 D | tstRTSystemQueryOsInfo.cpp | 108 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 D | RTSystemQueryOSInfo-win.cpp | 157 * @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 D | system.h | 62 * 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 D | ConsoleVRDPServer.cpp | 771 size_t cchInfo = 0; local 772 rc = RTStrNLenEx(pFeature->achInfo, cbInfo, &cchInfo);
|
Completed in 57 milliseconds