/device/google/dragon/recovery/updater/ |
D | flash_device.h | 29 int (*read)(void *hnd, off_t offset, void *buffer, size_t count); 30 int (*write)(void *hnd, off_t offset, void *buffer, size_t count); 31 int (*erase)(void *hnd, off_t offset, size_t count); 35 off_t (*get_fmap_offset)(void *hnd); 44 int flash_read(struct flash_device *dev, off_t off, void *buff, size_t len); 45 int flash_write(struct flash_device *dev, off_t off, void *buff, size_t len); 46 int flash_erase(struct flash_device *dev, off_t off, size_t len);
|
D | vboot_interface.h | 30 off_t fmap_scan_offset(struct flash_device *dev, off_t end); 31 struct fmap *fmap_load(struct flash_device *dev, off_t offset); 33 const char *name, size_t *size, off_t *offset); 35 off_t *offset);
|
D | flash_file.cpp | 105 static int file_read(void *hnd, off_t offset, void *buffer, size_t count) in file_read() 109 if (offset + (off_t)count > dev->info.st_size) { in file_read() 120 static int file_write(void *hnd, off_t offset, void *buffer, size_t count) in file_write() 124 if (offset + (off_t)count > dev->info.st_size) { in file_write() 135 static int file_erase(void *hnd, off_t offset, size_t count) in file_erase() 139 if (offset + (off_t)count > dev->info.st_size) { in file_erase() 171 static off_t file_get_fmap_offset(void *hnd) in file_get_fmap_offset()
|
D | flash_device.c | 97 int flash_read(struct flash_device *dev, off_t off, void *buff, size_t len) in flash_read() 102 int flash_write(struct flash_device *dev, off_t off, void *buff, size_t len) in flash_write() 112 int flash_erase(struct flash_device *dev, off_t off, size_t len) in flash_erase() 131 off_t end = dev->ops->get_fmap_offset(dev->priv_data); in flash_get_fmap() 132 off_t off = fmap_scan_offset(dev, end); in flash_get_fmap()
|
D | flash_mtd.c | 87 static int mtd_read(void *hnd, off_t offset, void *buffer, size_t count) in mtd_read() 111 static int mtd_write(void *hnd, off_t offset, void *buffer, size_t count) in mtd_write() 134 static int mtd_erase(void *hnd, off_t offset, size_t count) in mtd_erase() 183 static off_t mtd_get_fmap_offset(void *hnd __attribute__((unused))) in mtd_get_fmap_offset()
|
D | vboot_interface.c | 132 off_t fmap_scan_offset(struct flash_device *dev, off_t end) in fmap_scan_offset() 154 struct fmap *fmap_load(struct flash_device *dev, off_t offset) in fmap_load() 187 off_t *offset) in fmap_get_section_offset() 213 const char *name, size_t *size, off_t *offset) in fmap_read_section() 218 off_t start_offset; in fmap_read_section() 419 off_t offset; in vbnv_readwrite()
|
D | flash_ec.c | 149 static int ec_read(void *hnd, off_t offset, void *buffer, size_t count) in ec_read() 174 static int ec_write(void *hnd, off_t offset, void *buffer, size_t count) in ec_write() 206 static int ec_erase(void *hnd, off_t offset, size_t count) in ec_erase() 245 static off_t ec_get_fmap_offset(void *hnd) in ec_get_fmap_offset()
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
D | uio.h | 65 #ifndef off_t 66 typedef __off_t off_t; /* file offset */ typedef 67 #define off_t __off_t macro 83 off_t uio_offset; /* offset into file this uio corresponds to */ 114 ssize_t preadv(int, const struct iovec *, int, off_t); 115 ssize_t pwritev(int, const struct iovec *, int, off_t);
|
D | types.h | 179 #ifndef off_t 180 typedef __off_t off_t; /* file offset */ typedef 181 #define off_t __off_t macro 224 extern off_t lseek (int, off_t, int); 225 extern int truncate (const char *, off_t); 226 extern int ftruncate (int, off_t);
|
D | EfiSysCall.h | 294 off_t lseek (int, off_t, int); 295 int truncate (const char *, off_t); 296 int ftruncate (int, off_t); // IEEE Std 1003.1b-93
|
D | stat.h | 55 off_t st_size; ///< file size, in bytes 56 off_t st_physsize; ///< physical space the file consumes 57 off_t st_curpos; ///< current position within the file, or XY coord. for Console
|
D | file.h | 82 off_t f_nextread; /* 85 off_t f_offset;
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
D | fseek.c | 67 off_t offset; in fseek() 70 offset = (off_t)((UINT64)l_offset); // Coerce to unsigned to prevent sign extension in fseek() 72 offset = (off_t)l_offset; // OK for this one to be negative in fseek()
|
D | fgetpos.c | 64 return((*pos = (off_t)ftello(fp)) == (off_t)-1); in fgetpos()
|
D | stdio.c | 95 (void) lseek(fp->_file, (off_t)0, SEEK_END); in __swrite() 104 off_t ret; in __sseek() 112 ret = lseek(fp->_file, (off_t)offset, whence); in __sseek()
|
D | ftello.c | 54 off_t in __weak_alias() 64 return ((off_t)-1); in __weak_alias()
|
D | fsetpos.c | 62 return (fseeko(iop, (off_t)*pos, SEEK_SET)); in fsetpos()
|
/device/linaro/bootloader/edk2/StdLibPrivateInternalFiles/Include/ |
D | kfile.h | 83 off_t f_offset; /* current position in file */ 112 ssize_t (EFIAPI *fo_read) (struct __filedes *filp, off_t *Offset, size_t Len, void *Buf); 113 …ssize_t (EFIAPI *fo_write) (struct __filedes *filp, off_t *Offset, size_t Len, const void *Buf); 129 off_t (EFIAPI *fo_lseek) (struct __filedes *filp, off_t, int); 202 int (*fo_read) (struct file *, off_t *, struct uio *, kauth_cred_t, int); 203 int (*fo_write) (struct file *, off_t *, struct uio *, kauth_cred_t, int); 222 off_t f_offset; /* current position in file */
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
D | unistd.h | 125 ssize_t pread(int, void *, size_t, off_t); 126 ssize_t pwrite(int, const void *, size_t, off_t); 187 int lockf(int, int, off_t); 208 int fsync_range(int, int, off_t, off_t);
|
D | stdio.h | 1505 #ifndef off_t 1506 typedef __off_t off_t; typedef 1507 #define off_t __off_t macro 1511 int fseeko(FILE *, off_t, int); 1512 off_t ftello(FILE *);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_fcntl.py | 37 off_t = 'l' 40 off_t = 'lxxxx' 42 lockdata = struct.pack(off_t + off_t + pid_t + 'hh', 0, 0, 0,
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | SocketInternals.h | 160 off_t * pOffset, 181 off_t * pOffset,
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Console/ |
D | daConsole.c | 121 off_t 125 off_t Position, in da_ConSeek() 176 IN off_t *Position, in da_ConWrite() 318 IN OUT off_t *offset, // Console ignores this in da_ConRead() 436 Buffer->st_size = (off_t)Stream->NumRead; in da_ConStat() 443 Buffer->st_curpos = (off_t)CursorPos.Offset; in da_ConStat() 444 Buffer->st_size = (off_t)Stream->NumWritten; in da_ConStat() 454 Buffer->st_physsize = (off_t)CursorPos.Offset; in da_ConStat()
|
/device/linaro/bootloader/edk2/CryptoPkg/Include/ |
D | OpenSslSupport.h | 109 typedef INT64 off_t; typedef 166 off_t st_size; /* file size, in bytes */ 216 off_t lseek (int, off_t, int);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/ |
D | macconfig.h | 47 #define off_t long macro
|