/external/skia/legacy/src/core/ |
SkMMapStream.cpp | 19 int fildes = open(filename, O_RDONLY); local 20 if (fildes < 0) 26 off_t offset = lseek(fildes, 0, SEEK_END); // find the file size 30 close(fildes); 33 (void)lseek(fildes, 0, SEEK_SET); // restore file offset to beginning 38 void* addr = mmap(NULL, size, PROT_READ, MAP_SHARED, fildes, 0); 41 // to the file associated with the fildes which is not removed by a 42 // subsequent close() on that fildes. This reference is removed when there 44 close(fildes);
|
/external/skia/src/core/ |
SkMMapStream.cpp | 20 int fildes = open(filename, O_RDONLY); local 21 if (fildes < 0) 27 off_t offset = lseek(fildes, 0, SEEK_END); // find the file size 31 close(fildes); 34 (void)lseek(fildes, 0, SEEK_SET); // restore file offset to beginning 39 void* addr = mmap(NULL, size, PROT_READ, MAP_SHARED, fildes, 0); 42 // to the file associated with the fildes which is not removed by a 43 // subsequent close() on that fildes. This reference is removed when there 45 close(fildes);
|
/external/elfutils/libelf/ |
elf_cntl.c | 70 if (elf->fildes == -1) 92 elf->fildes = -1;
|
elf_begin.c | 73 file_read_ar (int fildes, void *map_address, off_t offset, size_t maxsize, 79 elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent, 95 get_shnum (void *map_address, unsigned char *e_ident, int fildes, off_t offset, 190 if (unlikely (pread_retry (fildes, &size, sizeof (Elf32_Word), 237 if (unlikely (pread_retry (fildes, &size, sizeof (Elf64_Word), 266 file_read_elf (int fildes, void *map_address, unsigned char *e_ident, 282 size_t scncnt = get_shnum (map_address, e_ident, fildes, offset, maxsize); 288 Elf *elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent, 483 __libelf_read_mmaped_file (int fildes, void *map_address, off_t offset, 498 return file_read_elf (fildes, map_address, e_ident, offset, maxsize [all...] |
elf_update.c | 70 if (unlikely (fstat (elf->fildes, &st) != 0)) 84 && unlikely (ftruncate (elf->fildes, size) != 0)) 97 MAP_SHARED, elf->fildes, 0); 126 && unlikely (ftruncate (elf->fildes, size) != 0)) 138 && unlikely (fchmod (elf->fildes, st.st_mode) != 0)) 210 else if (unlikely (elf->fildes == -1))
|
/bionic/libc/include/ |
pathconf.h | 58 extern long fpathconf(int fildes, int name);
|
/development/ndk/platforms/android-3/include/ |
pathconf.h | 58 extern long fpathconf(int fildes, int name);
|
/external/stlport/test/eh/ |
mwerks_console_OS_X.c | 163 char *__ttyname(long fildes) 165 #pragma unused (fildes) 169 if (fildes >= 0 && fildes <= 2)
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/ |
pathconf.h | 54 extern long fpathconf(int fildes, int name);
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/ |
pathconf.h | 54 extern long fpathconf(int fildes, int name);
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/ |
pathconf.h | 54 extern long fpathconf(int fildes, int name);
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/ |
pathconf.h | 54 extern long fpathconf(int fildes, int name);
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/ |
pathconf.h | 54 extern long fpathconf(int fildes, int name);
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/ |
pathconf.h | 54 extern long fpathconf(int fildes, int name);
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/ |
pathconf.h | 58 extern long fpathconf(int fildes, int name);
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/ |
pathconf.h | 58 extern long fpathconf(int fildes, int name);
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/ |
pathconf.h | 58 extern long fpathconf(int fildes, int name);
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/ |
pathconf.h | 58 extern long fpathconf(int fildes, int name);
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/ |
pathconf.h | 58 extern long fpathconf(int fildes, int name);
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/ |
pathconf.h | 58 extern long fpathconf(int fildes, int name);
|
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/ |
pathconf.h | 58 extern long fpathconf(int fildes, int name);
|
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/ |
pathconf.h | 58 extern long fpathconf(int fildes, int name);
|
/prebuilts/ndk/7/platforms/android-4/arch-x86/usr/include/ |
pathconf.h | 58 extern long fpathconf(int fildes, int name);
|
/prebuilts/ndk/7/platforms/android-5/arch-arm/usr/include/ |
pathconf.h | 58 extern long fpathconf(int fildes, int name);
|
/prebuilts/ndk/7/platforms/android-5/arch-x86/usr/include/ |
pathconf.h | 58 extern long fpathconf(int fildes, int name);
|