Searched refs:cbNameLen (Results 1 - 3 of 3) sorted by relevance
/vbox/src/VBox/Main/src-server/freebsd/ |
H A D | NetIf-freebsd.cpp | 237 size_t cbNameLen = pSdl->sdl_nlen + 1; local 238 PNETIFINFO pNew = (PNETIFINFO)RTMemAllocZ(RT_OFFSETOF(NETIFINFO, szName[cbNameLen])); 246 Assert(sizeof(pNew->szShortName) >= cbNameLen); 247 strlcpy(pNew->szShortName, pSdl->sdl_data, cbNameLen); 248 strlcpy(pNew->szName, pSdl->sdl_data, cbNameLen); 252 memcpy(&uuid, pNew->szShortName, RT_MIN(cbNameLen, sizeof(uuid))); 381 size_t cbNameLen = pSdl->sdl_nlen + 1; local 387 memcpy(&uuid, pInfo->szShortName, RT_MIN(cbNameLen, sizeof(uuid)));
|
/vbox/src/VBox/Main/src-server/darwin/ |
H A D | NetIf-darwin.cpp | 77 size_t cbNameLen = strlen(pEtherNICs->szName) + 1; 78 PNETIFINFO pNew = (PNETIFINFO)RTMemAllocZ(RT_OFFSETOF(NETIFINFO, szName[cbNameLen])); 85 memcpy(pNew->szName, pEtherNICs->szName, cbNameLen); 335 size_t cbNameLen = pSdl->sdl_nlen + 1; local 341 cbNameLen = strlen(pNIC->szName) + 1; 344 PNETIFINFO pNew = (PNETIFINFO)RTMemAllocZ(RT_OFFSETOF(NETIFINFO, szName[cbNameLen])); 361 memcpy(pNew->szName, pNIC->szName, cbNameLen); 370 memcpy(&uuid, pNew->szShortName, RT_MIN(cbNameLen, sizeof(uuid))); 503 size_t cbNameLen = pSdl->sdl_nlen + 1; local 509 memcpy(&uuid, pInfo->szShortName, RT_MIN(cbNameLen, sizeo [all...] |
/vbox/src/VBox/Main/src-server/generic/ |
H A D | NetIf-generic.cpp | 246 size_t cbNameLen = strlen(szBuf) + 1; local 247 PNETIFINFO pInfo = (PNETIFINFO)RTMemAllocZ(RT_OFFSETOF(NETIFINFO, szName[cbNameLen]));
|
Completed in 373 milliseconds