Searched refs:papszNames (Results 1 - 8 of 8) sorted by relevance
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTTemp.cpp | 56 char **papszNames = (char **)RTMemTmpAllocZ(cTimes * sizeof(char *)); local 57 RTTESTI_CHECK_RETV(papszNames != NULL); 71 RTTESTI_CHECK(papszNames[i] = RTStrDup(szName)); 72 if (!papszNames[i]) 76 ? RTFileCreateTemp(papszNames[i], fMode) 77 : RTDirCreateTemp(papszNames[i], fMode); 81 RTStrFree(papszNames[i]); 82 papszNames[i] = NULL; 89 RTTESTI_CHECK_RC_OK(rc = RTPathGetMode(papszNames[i], &fModeFinal)); 97 RTTestIPrintf(RTTESTLVL_DEBUG, "%s: %s\n", pcszAPI, papszNames[ 98 RTTESTI_CHECK_MSG(strlen(szName) == strlen(papszNames[i]), ("%s: szName %s\\nReturned %s\\n", pcszAPI, szName, papszNames[i])); local 100 RTTESTI_CHECK_MSG(strchr(RTPathFilename(papszNames[i]), 'X') == NULL, ("%s: szName %s\\nReturned %s\\n", pcszAPI, szName, papszNames[i])); local [all...] |
H A D | tstRTDirCreateUniqueNumbered.cpp | 54 char **papszNames = (char **)RTMemTmpAllocZ(cTimes * sizeof(char *)); local 55 RTTESTI_CHECK_RETV(papszNames != NULL); 74 RTTESTI_CHECK(papszNames[i] = RTStrDup(szName)); 75 if (!papszNames[i]) 78 RTTestIPrintf(RTTESTLVL_DEBUG, "%s\n", papszNames[i]); 93 RTTESTI_CHECK_RC(RTDirRemove(papszNames[i]), VINF_SUCCESS); 94 RTStrFree(papszNames[i]); 96 RTMemTmpFree(papszNames);
|
/vbox/src/VBox/Runtime/common/zip/ |
H A D | unzipcmd.cpp | 223 * Checks if @a pszName is a member of @a papszNames, optionally returning the 228 * @param papszNames The array of names. 231 static bool rtZipUnzipCmdIsNameInArray(const char *pszName, const char * const *papszNames, uint32_t *piName) argument 233 for (uint32_t iName = 0; papszNames[iName]; ++iName) 234 if (!strcmp(papszNames[iName], pszName))
|
H A D | tarcmd.cpp | 155 * Checks if @a pszName is a member of @a papszNames, optionally returning the 160 * @param papszNames The array of names. 163 static bool rtZipTarCmdIsNameInArray(const char *pszName, const char * const *papszNames, uint32_t *piName) argument 165 for (uint32_t iName = 0; papszNames[iName]; iName++) 166 if (!strcmp(papszNames[iName], pszName))
|
/vbox/src/VBox/Runtime/r3/win/ |
H A D | process-win.cpp | 409 * @param papszNames The process candidates, in prioritized order. 418 static bool rtProcWinFindTokenByProcessAndPsApi(const char * const *papszNames, PSID pSid, PHANDLE phToken) argument 467 for (size_t i = 0; papszNames[i] && !fFound; i++) 478 && _stricmp(pszProcName, papszNames[i]) == 0 497 * Finds a one of the processes in @a papszNames running with user @a pSid and 501 * @param papszNames The process candidates, in prioritized order. 506 static bool rtProcWinFindTokenByProcess(const char * const *papszNames, PSID pSid, PHANDLE phToken) argument 508 AssertPtr(papszNames); 529 for (size_t i = 0; papszNames[i] && !fFound; i++) 537 if ( _stricmp(procEntry.szExeFile, papszNames[ [all...] |
/vbox/src/VBox/Main/src-server/ |
H A D | VRDEServerImpl.cpp | 557 const char * const *papszNames = pfn(); local 559 if (papszNames) 562 for (i = 0; papszNames[i] != NULL; ++i) 572 for (size_t i = 0; papszNames[i] != NULL && i < cProperties; ++i) 574 aProperties[i] = papszNames[i];
|
/vbox/src/VBox/HostServices/GuestProperties/ |
H A D | service.cpp | 477 const char **papszNames; local 488 || RT_FAILURE(paParms[0].getPointer((void **)&papszNames, &cbDummy)) 496 for (unsigned i = 0; RT_SUCCESS(rc) && papszNames[i] != NULL; ++i) 498 if ( !RT_VALID_PTR(papszNames[i]) 515 for (unsigned i = 0; papszNames[i] != NULL; ++i) 521 Property *pProp = getPropertyInternal(papszNames[i]); 532 pProp = new Property(papszNames[i], papszValues[i], pau64Timestamps[i], fFlags);
|
/vbox/src/VBox/Main/src-client/ |
H A D | ConsoleImpl2.cpp | 5788 char **papszNames, **papszValues, **papszFlags; local 5791 papszNames = (char **)RTMemTmpAllocZ(sizeof(void *) * cAlloc); 5795 if (papszNames && papszValues && pai64Timestamps && papszFlags) 5800 rc = RTUtf16ToUtf8(namesOut[i], &papszNames[i]); 5817 (void *)papszNames, 5823 RTStrFree(papszNames[i]); 5832 RTMemTmpFree(papszNames);
|
Completed in 59 milliseconds