/vbox/src/VBox/Installer/linux/install_service/ |
H A D | generate_service_file.cpp | 105 const char *pcszName = strrchr(pcszArgv0, '/'); local 106 if (!pcszName) 107 pcszName = pcszArgv0; 208 static bool errorIfSet(const char *pcszName, bool isSet); 209 static enum ENMFORMAT getFormat(const char *pcszName, const char *pcszValue); 210 static bool checkAbsoluteFilePath(const char *pcszName, const char *pcszValue); 211 static bool checkPrintable(const char *pcszName, const char *pcszValue); 212 static bool checkGraphic(const char *pcszName, const char *pcszValue); 396 bool errorIfSet(const char *pcszName, bool isSet) argument 399 RTStrmPrintf(g_pStdErr, "%s may only be specified once.\n", pcszName); 405 getFormat(const char *pcszName, const char *pcszValue) argument 414 checkAbsoluteFilePath(const char *pcszName, const char *pcszValue) argument 423 checkPrintable(const char *pcszName, const char *pcszValue) argument 439 checkGraphic(const char *pcszName, const char *pcszValue) argument [all...] |
/vbox/src/VBox/Main/src-server/generic/ |
H A D | NetIf-generic.cpp | 90 int NetIfAdpCtlOut(const char * pcszName, const char * pcszCmd, char *pszBuffer, size_t cBufSize) argument 100 if (pcszName && strlen(pcszName) <= RTPATH_MAX - strlen(szAdpCtl) - 1 - strlen(pcszCmd)) 102 strcat(szAdpCtl, pcszName); 108 LogRel(("NetIfAdpCtlOut: Command line is too long: %s%s %s\n", szAdpCtl, pcszName, pcszCmd)); 186 const char *pcszName) 215 if (pcszName && strlen(pcszName) <= RTPATH_MAX - strlen(szAdpCtl) - sizeof(" add")) 217 strcat(szAdpCtl, pcszName); 307 NOREF(pcszName); 183 NetIfCreateHostOnlyNetworkInterface(VirtualBox *pVirtualBox, IHostNetworkInterface **aHostNetworkInterface, IProgress **aProgress, const char *pcszName) argument [all...] |
/vbox/src/VBox/HostServices/GuestProperties/testcase/ |
H A D | tstGuestPropSvc.cpp | 381 * @param pcszName the name of the property to set 390 int doSetProperty(VBOXHGCMSVCFNTABLE *pTable, const char *pcszName, argument 411 RTStrPrintf(szName, sizeof(szName), "%s", pcszName); 440 const char *pcszName; member in struct:__anon16433 467 s_aSetProperties[i].pcszName, 474 s_aSetProperties[i].pcszName, rc); 478 s_aSetProperties[i].pcszName, rc); 487 * @param pcszName the name of the property to delete 491 static int doDelProp(VBOXHGCMSVCFNTABLE *pTable, const char *pcszName, bool isHost) argument 498 aParms[0].setString(pcszName); 519 const char *pcszName; member in struct:__anon16434 564 const char *pcszName; member in struct:__anon16435 848 const char *pcszName; member in struct:__anon16437 918 const char *pcszName; member in struct:__anon16438 [all...] |
/vbox/src/VBox/Main/include/ |
H A D | PCIRawDevImpl.h | 46 static DECLCALLBACK(int) drvDeviceConstructComplete(PPDMIPCIRAWCONNECTOR pInterface, const char *pcszName,
|
H A D | netif.h | 90 int NetIfCreateHostOnlyNetworkInterface (VirtualBox *pVBox, IHostNetworkInterface **aHostNetworkInterface, IProgress **aProgress, const char *pcszName = NULL); 97 int NetIfAdpCtlOut(const char * pcszName, const char * pcszCmd, char *pszBuffer, size_t cBufSize);
|
/vbox/include/VBox/HostServices/ |
H A D | GuestPropertySvc.h | 107 const char *pcszName = flagName(fFlag); local 108 return RT_LIKELY(pcszName != NULL) ? strlen(pcszName) : 0; 299 const char *pcszName; member in struct:guestProp::_HOSTCALLBACKDATA
|
/vbox/src/VBox/HostServices/GuestProperties/ |
H A D | service.cpp | 84 Property(const char *pcszName, const char *pcszValue, argument 86 : mName(pcszName), mValue(pcszValue), mTimestamp(u64Timestamp), 568 const char *pcszName = NULL; /* shut up gcc */ local 577 || RT_FAILURE(paParms[0].getString(&pcszName, &cbName)) /* name */ 582 rc = validateName(pcszName, cbName); 594 Property *pProp = getPropertyInternal(pcszName); 618 pcszName, pProp->mValue.c_str(), pProp->mTimestamp, szFlags)); 627 LogFlowThisFunc(("rc = %Rrc (%s)\n", rc, pcszName)); 645 const char *pcszName = NULL; /* shut up gcc */ local 661 || RT_FAILURE(paParms[0].getString(&pcszName, 759 const char *pcszName = NULL; /* shut up gcc */ local [all...] |
/vbox/include/iprt/cpp/ |
H A D | xml.h | 675 * @param pcszName The element name to match. 680 const ElementNode *findPrevSibilingElement(const char *pcszName, const char *pcszNamespace = NULL) const; 685 * @param pcszName The element name to match. 690 const ElementNode *findNextSibilingElement(const char *pcszName, const char *pcszNamespace = NULL) const; 697 * @param pcszName The attribute name. 702 const char *findAttributeValue(const char *pcszName, const char *pcszNamespace = NULL) const argument 704 const AttributeNode *pAttr = findAttribute(pcszName, pcszNamespace); 833 AttributeNode *setAttribute(const char *pcszName, const char *pcszValue); 834 AttributeNode *setAttribute(const char *pcszName, const RTCString &strValue) argument 836 return setAttribute(pcszName, strValu [all...] |
/vbox/src/VBox/Additions/common/VBoxService/ |
H A D | VBoxServiceCpuHotPlug.cpp | 54 const char *pcszName; member in struct:SYSFSCPUPATHCOMP 172 char *pszPathTmp = RTPathJoinA(pszPath, pPathComponent->pcszName); 184 size_t cchName = strlen(pPathComponent->pcszName); 195 && !strncmp(DirFolderContent.szName, pPathComponent->pcszName, cchName)) 255 pszPath = RTPathJoinA(SYSFS_ACPI_CPU_PATH, pAcpiCpuPathLvl->aComponentsPossible[pAcpiCpuPathLvl->uId].pcszName); 343 pszPathDir = RTPathJoinA(pszPathCurr, pPathComponent->pcszName);
|
/vbox/src/VBox/Runtime/r3/ |
H A D | xml.cpp | 1289 * @param pcszName The attribute name. 1293 AttributeNode *ElementNode::setAttribute(const char *pcszName, const char *pcszValue) argument 1301 if (pAttr->nameEquals(pcszName)) 1304 xmlAttrPtr pLibAttr = xmlSetProp(m_pLibNode, (xmlChar *)pcszName, (xmlChar *)pcszValue); 1316 xmlAttr *pLibAttr = xmlNewProp(m_pLibNode, (xmlChar *)pcszName, (xmlChar *)pcszValue); 1328 * @param pcszName 1332 AttributeNode* ElementNode::setAttributePath(const char *pcszName, const RTCString &strValue) argument 1336 return setAttribute(pcszName, strTemp.c_str()); 1346 * @param pcszName 1350 AttributeNode* ElementNode::setAttribute(const char *pcszName, int32_ argument 1369 setAttribute(const char *pcszName, uint32_t u) argument 1388 setAttribute(const char *pcszName, int64_t i) argument 1407 setAttribute(const char *pcszName, uint64_t u) argument 1426 setAttributeHex(const char *pcszName, uint32_t u) argument 1445 setAttribute(const char *pcszName, bool f) argument [all...] |
/vbox/src/VBox/Main/src-client/ |
H A D | PCIRawDevImpl.cpp | 71 DECLCALLBACK(int) PCIRawDev::drvDeviceConstructComplete(PPDMIPCIRAWCONNECTOR pInterface, const char *pcszName, argument 92 BstrFmt bstrName(pcszName);
|
H A D | ConsoleImpl2.cpp | 344 const char *pcszName) 345 : RTCError(Utf8StrFmt("%s failed: rc=%Rrc, pcszName=%s", pcszFunction, vrc, pcszName)), 363 const char *pcszName, 367 pcszName, 370 throw ConfigError("CFGMR3InsertString", vrc, pcszName); 381 const char *pcszName, 385 pcszName, 389 throw ConfigError("CFGMR3InsertStringLengthKnown", vrc, pcszName); 401 const char *pcszName, 342 ConfigError(const char *pcszFunction, int vrc, const char *pcszName) argument 362 InsertConfigString(PCFGMNODE pNode, const char *pcszName, const char *pcszValue) argument 380 InsertConfigString(PCFGMNODE pNode, const char *pcszName, const Utf8Str &rStrValue) argument 400 InsertConfigString(PCFGMNODE pNode, const char *pcszName, const Bstr &rBstrValue) argument 415 InsertConfigBytes(PCFGMNODE pNode, const char *pcszName, const void *pvBytes, size_t cbBytes) argument 436 InsertConfigInteger(PCFGMNODE pNode, const char *pcszName, uint64_t u64Integer) argument 454 InsertConfigNode(PCFGMNODE pNode, const char *pcszName, PCFGMNODE *ppChild) argument 469 RemoveConfigValue(PCFGMNODE pNode, const char *pcszName) argument [all...] |
H A D | ConsoleImpl.cpp | 1756 LogFlow(("Console::doGuestPropNotification: pCBData={.pcszName=%s, .pcszValue=%s, .pcszFlags=%s}\n", 1757 pCBData->pcszName, pCBData->pcszValue, pCBData->pcszFlags)); 1760 Bstr name(pCBData->pcszName); 1772 LogFlow(("Console::doGuestPropNotification: hrc=%Rhrc pCBData={.pcszName=%s, .pcszValue=%s, .pcszFlags=%s}\n", 1773 hrc, pCBData->pcszName, pCBData->pcszValue, pCBData->pcszFlags));
|
/vbox/src/VBox/HostDrivers/VBoxNetAdp/ |
H A D | VBoxNetAdpInternal.h | 142 DECLHIDDEN(int) vboxNetAdpCreate(PVBOXNETADP *ppNew, const char *pcszName);
|
H A D | VBoxNetAdp.c | 1052 DECLINLINE(int) vboxNetAdpGetUnitByName(const char *pcszName) argument 1054 uint32_t iUnit = RTStrToUInt32(pcszName + sizeof(VBOXNETADP_NAME) - 1); 1104 int vboxNetAdpCreate(PVBOXNETADP *ppNew, const char *pcszName) argument 1117 if (pcszName) 1119 Log(("vboxNetAdpCreate: using name: %s\n", pcszName)); 1120 pThis->iUnit = vboxNetAdpGetUnitByName(pcszName); 1121 strncpy(pThis->szName, pcszName, sizeof(pThis->szName));
|
/vbox/src/VBox/Devices/VirtIO/ |
H A D | Virtio.h | 128 R3PTRTYPE(const char *) pcszName; member in struct:VQueue 267 PVQUEUE vpciAddQueue(VPCISTATE* pState, unsigned uSize, PFNVPCIQUEUECALLBACK pfnCallback, const char *pcszName);
|
H A D | Virtio.cpp | 33 # define QUEUENAME(s, q) (q->pcszName) 659 pState->Queues[i].pcszName, 921 PVQUEUE vpciAddQueue(VPCISTATE* pState, unsigned uSize, PFNVPCIQUEUECALLBACK pfnCallback, const char *pcszName) argument 944 pQueue->pcszName = pcszName;
|
/vbox/src/VBox/Storage/testcase/ |
H A D | tstVDIo.cpp | 540 static PVDPATTERN tstVDIoGetPatternByName(PVDTESTGLOB pGlob, const char *pcszName); 541 static PVDPATTERN tstVDIoPatternCreate(const char *pcszName, size_t cbPattern); 1623 const char *pcszName = NULL; local 1626 pcszName = paScriptArgs[0].psz; 1630 PVDPATTERN pPattern = tstVDIoGetPatternByName(pGlob, pcszName); 1633 pPattern = tstVDIoPatternCreate(pcszName, RT_ALIGN_Z(cbPattern, sizeof(uint64_t))); 1662 const char *pcszName = NULL; local 1665 pcszName = paScriptArgs[0].psz; 1668 PVDPATTERN pPattern = tstVDIoGetPatternByName(pGlob, pcszName); 1680 pPattern = tstVDIoPatternCreate(pcszName, (size_ 1709 const char *pcszName = NULL; local 2623 tstVDIoGetPatternByName(PVDTESTGLOB pGlob, const char *pcszName) argument 2651 tstVDIoPatternCreate(const char *pcszName, size_t cbPattern) argument [all...] |
/vbox/src/VBox/Main/src-server/linux/ |
H A D | HostHardwareLinux.cpp | 139 * @param pcszName the floppy driver name for the device (optional) 147 static void floppyCreateDeviceStrings(const floppy_drive_name pcszName, argument 152 AssertPtrNullReturnVoid(pcszName); 158 if (pcszName) 161 switch(pcszName[0]) 173 RTStrPrintf(pszDesc, cchDesc, "%s %s K%s", pcszSize, &pcszName[1], 571 sysfsBlockDev(const char *pcszName, bool wantDVD) argument 572 : mpcszName(pcszName), mwantDVD(wantDVD), misConsistent(true),
|
/vbox/src/VBox/HostServices/SharedOpenGL/render/ |
H A D | renderspu_cocoa.c | 209 static SPUNamedFunctionTable * renderspuFindEntry(SPUNamedFunctionTable *aFunctions, const char *pcszName) argument 215 if (!crStrcmp( pcszName, pCur->name ) )
|
/vbox/src/VBox/GuestHost/SharedClipboard/ |
H A D | x11-clipboard.cpp | 1989 const char *pcszName = NULL; local 1996 pcszName = g_aFormats[index].pcszAtom; 2002 pcszName = g_apszSupAtoms[index]; 2004 return (char *)RTMemDup(pcszName, sizeof(pcszName) + 1);
|
/vbox/include/VBox/vmm/ |
H A D | pdmifs.h | 3392 DECLR3CALLBACKMEMBER(int, pfnDeviceConstructComplete, (PPDMIPCIRAWCONNECTOR pInterface, const char *pcszName,
|
/vbox/src/VBox/Main/src-server/win/ |
H A D | NetIf-win.cpp | 1116 const char *pcszName) 1113 NetIfCreateHostOnlyNetworkInterface(VirtualBox *pVirtualBox, IHostNetworkInterface **aHostNetworkInterface, IProgress **aProgress, const char *pcszName) argument
|
/vbox/src/VBox/Devices/Network/ |
H A D | DevE1000.cpp | 230 const char *pcszName; member in struct:E1kChips 6995 &pThis->macConfigured, g_Chips[pThis->eChip].pcszName, 7529 g_Chips[pThis->eChip].pcszName, pThis->cMsLinkUpDelay,
|