Searched refs:mapbuf (Results 1 - 4 of 4) sorted by relevance
/macosx-10.9.5/ksh-20/ksh/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);
|
/macosx-10.9.5/rsync-42/rsync/ |
H A D | receiver.c | 141 struct map_struct *mapbuf; local 154 mapbuf = map_file(fd_r, size_r, read_size, sum.blength); 160 mapbuf = NULL; 172 sum_update(map_ptr(mapbuf, offset, CHUNK_SIZE), 180 sum_update(map_ptr(mapbuf, offset, len), len); 225 if (mapbuf) { 226 map = map_ptr(mapbuf,offset2,len); 273 if (mapbuf) 274 unmap_file(mapbuf);
|
H A D | generator.c | 491 struct map_struct *mapbuf; local 502 mapbuf = map_file(fd, len, MAX_MAP_SIZE, sum.blength); 504 mapbuf = NULL; 508 char *map = map_ptr(mapbuf, offset, n1); 534 if (mapbuf) 535 unmap_file(mapbuf);
|
/macosx-10.9.5/bind9-45.100/bind9/contrib/idn/idnkit-1.0-src/util/ |
H A D | generate_nameprep_data.pl | 102 my $mapbuf = "\0"; # dummy 116 register_map($map, \$mapbuf, \%maphash, $_); 119 generate_map($version, $map, \$mapbuf);
|
Completed in 122 milliseconds