Searched refs:mapbuf (Results 1 - 3 of 3) sorted by relevance
/ast/src/cmd/3d/ |
H A D | copy.c | 66 char* mapbuf; local 75 if ((filesize > COPYBUF) && ((mapbuf = mmap((caddr_t)0, mapsize, PROT_READ, MAP_SHARED, rfd, 0)) != ((caddr_t)-1))) 81 if (write(wfd, mapbuf, mapsize) != mapsize) 83 munmap(mapbuf, munmapsize); 90 if (mmap(mapbuf, mapsize, PROT_READ, MAP_SHARED|MAP_FIXED, rfd, offset) == (caddr_t)-1) 92 munmap(mapbuf, munmapsize); 96 munmap(mapbuf, munmapsize);
|
/ast/src/lib/libast/port/ |
H A D | astcopy.c | 57 char* mapbuf; local 72 if (mapsize >= BUFSIZ * 2 && (mapbuf = (char*)mmap(NiL, mapsize, PROT_READ, MAP_SHARED, rfd, pos)) != ((caddr_t)-1)) 74 if (write(wfd, mapbuf, mapsize) != mapsize || lseek(rfd, mapsize, 1) == ((off_t)-1)) return(-1); 75 munmap((caddr_t)mapbuf, mapsize);
|
/ast/src/lib/libcodex/ |
H A D | code-uu.c | 67 unsigned char mapbuf[UCHAR_MAX + 2]; member in struct:State_s 215 q = state->mapbuf; 216 memset(q, n, sizeof(state->mapbuf));
|
Completed in 18 milliseconds