Lines Matching defs:fd
30 * Copy the given number of bytes from one fd to another, first
31 * seeking the source fd to the start of the file.
44 * Get the modification time and size in bytes for the given fd.
46 static int getModTimeAndSize(int fd, u4* modTime, size_t* size)
49 int result = fstat(fd, &buf);
65 * of the given fd, which is presumed to be a reference to a dex file
66 * with the cursor at the start of the file. The fd's cursor is
69 static int verifyMagicAndGetAdler32(int fd, u4 *adler32)
76 ssize_t amt = read(fd, headerStart, sizeof(headerStart));
131 /* If we fork/exec into dexopt, don't let it inherit the open fd. */
209 * Map the cached version. This immediately rewinds the fd, so it
218 /* unlock the fd */