/external/skia/src/core/ |
D | SkMMapStream.cpp | 12 int fildes = open(filename, O_RDONLY); in SkMMAPStream() local 13 if (fildes < 0) in SkMMAPStream() 19 off_t offset = lseek(fildes, 0, SEEK_END); // find the file size in SkMMAPStream() 23 close(fildes); in SkMMAPStream() 26 (void)lseek(fildes, 0, SEEK_SET); // restore file offset to beginning in SkMMAPStream() 31 void* addr = mmap(NULL, size, PROT_READ, MAP_SHARED, fildes, 0); in SkMMAPStream() 35 close(fildes); in SkMMAPStream() 41 fFildes = fildes; in SkMMAPStream()
|
/external/elfutils/libelf/ |
D | elf_begin.c | 40 file_read_ar (int fildes, void *map_address, off_t offset, size_t maxsize, in file_read_ar() argument 46 elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent, in file_read_ar() 62 get_shnum (void *map_address, unsigned char *e_ident, int fildes, off_t offset, in get_shnum() argument 88 if ((size_t) pread (fildes, ehdr.p, len, offset) != len) in get_shnum() 130 if (pread (fildes, &size, sizeof (Elf32_Word), in get_shnum() 166 if (pread (fildes, &size, sizeof (Elf64_Word), in get_shnum() 186 file_read_elf (int fildes, void *map_address, off_t offset, size_t maxsize, in file_read_elf() argument 202 if (pread (fildes, e_ident, EI_NIDENT, offset) != EI_NIDENT) in file_read_elf() 222 scncnt = get_shnum (map_address, e_ident, fildes, offset, maxsize); in file_read_elf() 228 elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent, in file_read_elf() [all …]
|
D | elf_update.c | 41 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file() 51 MAP_SHARED, elf->fildes, 0); in write_file() 79 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file() 151 else if (unlikely (elf->fildes == -1))
|
D | elf_getarsym.c | 80 assert (elf->fildes != -1); 81 if (pread (elf->fildes, &elf->state.ar.ar_hdr, 131 if (pread (elf->fildes, &n, sizeof (n), 192 if ((size_t) pread (elf->fildes, file_data, 196 || ((size_t) pread (elf->fildes, new_str,
|
D | common.h | 56 allocate_elf (int fildes, void *map_address, off_t offset, size_t maxsize, in allocate_elf() argument 67 result->fildes = fildes; in allocate_elf()
|
D | elf_cntl.c | 37 if (elf->fildes == -1) 59 elf->fildes = -1;
|
D | elf_readall.c | 60 if (elf->map_address == NULL && unlikely (elf->fildes == -1)) 81 if ((size_t) pread (elf->fildes, mem, elf->maximum_size,
|
D | elf32_updatefile.c | 391 if (unlikely (pwrite (elf->fildes, out_ehdr, in __elfw2() 418 && unlikely (fill (elf->fildes, ehdr->e_ehsize, in __elfw2() 451 if (unlikely ((size_t) pwrite (elf->fildes, out_phdr, in __elfw2() 527 if (unlikely (fill (elf->fildes, last_offset, in __elfw2() 560 if (unlikely ((size_t) pwrite (elf->fildes, buf, in __elfw2() 602 && unlikely (fill (elf->fildes, last_offset, in __elfw2() 609 && unlikely ((size_t) pwrite (elf->fildes, shdr_data, in __elfw2()
|
D | elf_getshstrndx.c | 103 if (pread (elf->fildes, &shdr_mem, sizeof (Elf32_Shdr), 142 if (pread (elf->fildes, &shdr_mem, sizeof (Elf64_Shdr),
|
D | elf32_getshdr.c | 128 else if (elf->fildes != -1) 131 if ((size_t) pread (elf->fildes,
|
D | gelf_rawchunk.c | 62 if ((size_t) pread (elf->fildes, result, size, elf->start_offset + offset)
|
D | elf32_getphdr.c | 140 else if (likely (elf->fildes != -1)) 154 if ((size_t) pread (elf->fildes,
|
D | elf_clone.c | 44 retval = allocate_elf (elf->fildes, elf->map_address, elf->start_offset, in elf_clone()
|
D | libelfP.h | 237 int fildes; member 405 extern Elf *__libelf_read_mmaped_file (int fildes, void *map_address,
|
D | elf_getdata.c | 263 else if (elf->fildes != -1) in __libelf_set_rawdata() 275 if ((size_t) pread (elf->fildes, scn->rawdata.d.d_buf, size, in __libelf_set_rawdata()
|
/external/netperf/ |
D | netlib.c | 1526 int fildes; in alloc_sendfile_buf_ring() local 1547 fildes = open(temp_file,O_RDWR | O_EXCL | O_CREAT,0600); in alloc_sendfile_buf_ring() 1548 if (-1 != fildes) { in alloc_sendfile_buf_ring() 1571 if (write(fildes,temp_buffer,buffer_size+sizeof(int)) != in alloc_sendfile_buf_ring() 1595 fildes = open(fill_file , O_RDONLY); in alloc_sendfile_buf_ring() 1596 if (fildes == -1){ in alloc_sendfile_buf_ring() 1645 temp_link->fildes = fildes; /* from which file do we send? */ in alloc_sendfile_buf_ring()
|
D | netlib.h | 365 int fildes; /* the file descriptor of the source member
|
D | nettest_bsd.c | 3839 send_ring->fildes, 3846 sv.sfv_fd = send_ring->fildes; 3853 if ((sendfile(send_ring->fildes, 3863 if ((sendfile(send_ring->fildes, 3872 send_ring->fildes,
|
/external/elfutils/libelf-po/ |
D | libelf.pot | 124 msgid "archive/member fildes mismatch"
|
/external/elfutils/libdw/ |
D | libdw.h | 164 extern Dwarf *dwarf_begin (int fildes, Dwarf_Cmd cmd);
|
/external/strace/ |
D | stream.c | 1222 tprintf(", filedes=%d, offset=%d}", sfi.fildes, sfi.offset);
|