/vbox/src/VBox/Runtime/common/path/ |
H A D | RTPathCountComponents.cpp | 40 size_t off = rtPathRootSpecLen(pszPath); local 41 size_t c = off != 0; 42 while (pszPath[off]) 45 while (!RTPATH_IS_SLASH(pszPath[off]) && pszPath[off]) 46 off++; 47 while (RTPATH_IS_SLASH(pszPath[off])) 48 off++;
|
H A D | RTPathStripTrailingSlash.cpp | 40 size_t off = strlen(pszPath); local 41 while (off > 1) 43 off--; 44 switch (pszPath[off]) 49 if ( off == 2 52 return off + 1; 54 pszPath[off] = '\0'; 58 return off + 1;
|
H A D | rtPathRootSpecLen.cpp | 54 size_t off = 0; local 63 off = 2; 64 while (!RTPATH_IS_SLASH(pszPath[off]) && pszPath[off]) 65 off++; 66 while (RTPATH_IS_SLASH(pszPath[off])) 67 off++; 70 while (!RTPATH_IS_SLASH(pszPath[off]) && pszPath[off]) 71 off [all...] |
H A D | RTPathCopyComponents.cpp | 63 size_t off = rtPathRootSpecLen(pszSrc); local 64 size_t c = off != 0; 65 while (c < cComponents && pszSrc[off]) 68 while (!RTPATH_IS_SLASH(pszSrc[off]) && pszSrc[off]) 69 off++; 70 while (RTPATH_IS_SLASH(pszSrc[off])) 71 off++; 75 * Copy up to but not including 'off'. 77 if (off > [all...] |
H A D | RTPathParseSimple.cpp | 104 ssize_t off = offName - 1; local 105 while (off >= offRoot && RTPATH_IS_SLASH(pszPath[off])) 106 off--; 107 *pcchDir = RT_MAX(off, offRoot) + 1;
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ |
H A D | ath_main.c | 29 u32 off; local 47 off = ((unsigned long) iob->data) % common->cachelsz; 48 if (off != 0) 50 iob_reserve(iob, common->cachelsz - off); 51 *iob_addr += common->cachelsz - off;
|
/vbox/src/VBox/Runtime/generic/ |
H A D | RTPathGetCurrentDrive-generic.cpp | 51 * Drive letter? Chop off at root slash. 60 * UNC? Chop off after share. 68 size_t off = 3; local 69 while (!RTPATH_IS_SLASH(pszPath[off]) && pszPath[off]) 70 off++; 71 size_t offServerSlash = off; 74 if (RTPATH_IS_SLASH(pszPath[off])) 76 while (RTPATH_IS_SLASH(pszPath[off])) 77 off [all...] |
H A D | RTFileReadAllEx-generic.cpp | 38 RTDECL(int) RTFileReadAllEx(const char *pszFilename, RTFOFF off, RTFOFF cbMax, uint32_t fFlags, void **ppvFile, size_t *pcbFile) argument 46 rc = RTFileReadAllByHandleEx(File, off, cbMax, fFlags, ppvFile, pcbFile);
|
H A D | RTFileReadAllByHandleEx-generic.cpp | 40 RTDECL(int) RTFileReadAllByHandleEx(RTFILE File, RTFOFF off, RTFOFF cbMax, uint32_t fFlags, void **ppvFile, size_t *pcbFile) argument 58 RTFOFF cbAllocFile = cbFile > off ? cbFile - off : 0; 76 rc = RTFileSeek(File, off, RTFILE_SEEK_BEGIN, NULL);
|
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTFileAppend-1.cpp | 58 uint64_t off = 0; local 59 RTTESTI_CHECK_RC(rc = RTFileSeek(hFile, off, RTFILE_SEEK_CURRENT, &offActual), VINF_SUCCESS); 65 off = 0; 66 RTTESTI_CHECK_RC(rc = RTFileSeek(hFile, off, RTFILE_SEEK_CURRENT, &offActual), VINF_SUCCESS); 68 RTTestIPrintf(RTTESTLVL_INFO, "off=%llu after first write\n", offActual); 76 off = 5; 77 RTTESTI_CHECK_RC(rc = RTFileSeek(hFile, off, RTFILE_SEEK_BEGIN, &offActual), VINF_SUCCESS); 98 off = 0; 99 RTTESTI_CHECK_RC(rc = RTFileSeek(hFile, off, RTFILE_SEEK_CURRENT, &offActual), VINF_SUCCESS); 101 RTTestIPrintf(RTTESTLVL_INFO, "off [all...] |
H A D | tstFileAppendWin-1.cpp | 71 LARGE_INTEGER off; local 93 off.QuadPart = 0; 94 if (!SetFilePointerEx(hFile, off, &off, FILE_CURRENT)) 96 else if (off.QuadPart != 0) 97 MyError("unexpected position on open: %ld - expected 0\n", (long)off.QuadPart); 102 off.QuadPart = 0; 103 if (!SetFilePointerEx(hFile, off, &off, FILE_CURRENT)) 105 else if (off [all...] |
H A D | tstRTFilesystem.cpp | 58 uint64_t off = 0; local 70 while (off < cbFs) 74 rc = RTVfsIsRangeInUse(hVfs, off, 1024, &fUsed); 86 off += 1024;
|
H A D | tstRTFileAio.cpp | 94 RTFOFF off = 0; local 109 rc = RTFileAioReqPrepareWrite(paReqs[i], File, off, papvBuf[i], 112 rc = RTFileAioReqPrepareRead(paReqs[i], File, off, papvBuf[i], 117 off += cbTransfer;
|
H A D | tstRTR0Common.h | 203 size_t off = RTStrNLen(g_szErr, sizeof(g_szErr) - 1); local 204 size_t cbLeft = sizeof(g_szErr) - off; 207 char *psz = &g_szErr[off]; 208 if (off) 231 size_t off = RTStrNLen(g_szErr, sizeof(g_szErr) - 1); local 234 RTStrPrintfV(&g_szErr[off], sizeof(g_szErr) - off, pszFormat, va); 244 size_t off = RTStrNLen(g_szErr, sizeof(g_szErr) - 1); local 245 size_t cbLeft = sizeof(g_szErr) - off; 248 char *psz = &g_szErr[off]; 271 size_t off = RTStrNLen(g_szErr, sizeof(g_szErr) - 1); local [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Stdio/ |
H A D | fgetstr.c | 102 size_t off; local 137 * As a bonus, though, we can leave off the __SMOD. 145 for (len = fp->_r, off = 0;; len += fp->_r) { 155 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p, 156 len - off); 157 off = len; 169 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p,
|
/vbox/src/VBox/Runtime/common/vfs/ |
H A D | vfsiosmisc.cpp | 84 size_t off; local 85 while ((off = (pszCur - &achBuf[0])) < offEnd) 109 if (off < cbUsed) 111 cbUsed -= off;
|
/vbox/src/VBox/ValidationKit/bootsectors/ |
H A D | VBoxBs2Linker.cpp | 144 size_t off = 0; local 178 off += cbRead;
|
/vbox/src/VBox/VMM/VMMAll/ |
H A D | VMMAll.cpp | 49 unsigned off = 0; local 55 pszBuf[off++] = ((uNumber / 1000) % 10) + '0'; 56 pszBuf[off++] = ((uNumber / 100) % 10) + '0'; 58 pszBuf[off++] = ((uNumber / 10) % 10) + '0'; 60 pszBuf[off++] = (uNumber % 10) + '0'; 61 pszBuf[off] = '\0'; 62 return off; 115 int off = 0; variable 117 szTmp[off++] = ','; 118 off [all...] |
/vbox/src/bldprogs/ |
H A D | preload.cpp | 110 size_t off = 0; local 112 while (off < cbFile) 113 uCrc += puchFile[off++]; 177 size_t off = strlen(psz); local 178 while ( off > 0 179 && ( psz[off - 1] == ' ' 180 || psz[off - 1] == '\t' 181 || psz[off - 1] == '\n' 182 || psz[off - 1] == '\r') 184 psz[--off] [all...] |
/vbox/src/VBox/Devices/Network/slirp/ |
H A D | ip_output.c | 106 * header (with len, off, ttl, proto, tos, src, dst). 123 int len, off, error = 0; local 226 for (off = hlen + len; off < (u_int16_t)ip->ip_len; off += len) 249 mhip->ip_off = ((off - mhlen) >> 3) + (ip->ip_off & ~IP_MF); 252 if (off + len >= (u_int16_t)ip->ip_len) 253 len = (u_int16_t)ip->ip_len - off; 260 m_copydata(m0, off, len, buf); /* copy to buffer */ 261 Log(("NAT:ip:frag: m_copydata(m0 = %p,off [all...] |
H A D | sbuf.c | 257 sbcopy(struct sbuf *sb, int off, int len, char *to) argument 261 from = sb->sb_rptr + off; 273 /* re-use off */ 274 off = (sb->sb_data + sb->sb_datalen) - from; 275 if (off > len) 276 off = len; 277 memcpy(to, from, off); 278 len -= off; 280 memcpy(to+off, sb->sb_data, len);
|
H A D | tcp_output.c | 96 int off, flags, error; local 123 off = tp->snd_nxt - tp->snd_una; 156 if (off < SBUF_LEN(&so->so_snd)) 167 len = min(SBUF_LEN(&so->so_snd), win) - off; 212 len + off >= SBUF_LEN(&so->so_snd)) 424 sbcopy(&so->so_snd, off, (int) len, mtod(m, caddr_t) + hdrlen); 430 m->m_next = m_copy(so->so_snd.sb_mb, off, (int) len); 441 if (off + len == SBUF_LEN(&so->so_snd))
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath9k/ |
H A D | ath9k.c | 58 static int ath_pci_eeprom_read(struct ath_common *common, u32 off, u16 *data) argument 63 (off << AR5416_EEPROM_S));
|
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/ |
H A D | dt_buf.c | 92 size_t off = (size_t)(bp->dbu_ptr - bp->dbu_buf); local 93 size_t adj = roundup(off, align) - off; 115 bcopy(bp->dbu_buf, new_buf, off); 119 bp->dbu_ptr = new_buf + off; 145 size_t off = (size_t)(bp->dbu_ptr - bp->dbu_buf); local 146 return (roundup(off, align));
|
/vbox/src/VBox/NetworkServices/NAT/ |
H A D | proxy.h | 40 uint32_t off; member in struct:ip4_lomap
|