Searched refs:off_t (Results 1 - 25 of 91) sorted by relevance

1234

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Stdio/
H A Dfseek.c67 off_t offset;
70 offset = (off_t)((UINT64)l_offset); // Coerce to unsigned to prevent sign extension
72 offset = (off_t)l_offset; // OK for this one to be negative
H A Dfgetpos.c64 return((*pos = (off_t)ftello(fp)) == (off_t)-1);
H A Dfsetpos.c62 return (fseeko(iop, (off_t)*pos, SEEK_SET));
H A Dftello.c54 off_t
64 return ((off_t)-1);
H A Dstdio.c95 (void) lseek(fp->_file, (off_t)0, SEEK_END);
104 off_t ret;
112 ret = lseek(fp->_file, (off_t)offset, whence);
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Duaccess.h69 trivial_user_to_virt ( userptr_t userptr, off_t offset ) {
81 trivial_userptr_add ( userptr_t userptr, off_t offset ) {
95 trivial_memcpy_user ( userptr_t dest, off_t dest_off,
96 userptr_t src, off_t src_off, size_t len ) {
111 trivial_memmove_user ( userptr_t dest, off_t dest_off,
112 userptr_t src, off_t src_off, size_t len ) {
126 trivial_memset_user ( userptr_t buffer, off_t offset, int c, size_t len ) {
138 trivial_strlen_user ( userptr_t buffer, off_t offset ) {
151 static inline __always_inline off_t
152 trivial_memchr_user ( userptr_t buffer, off_t offse
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/efi/
H A Defi_uaccess.h40 UACCESS_INLINE ( efi, user_to_phys ) ( userptr_t userptr, off_t offset ) {
50 UACCESS_INLINE ( efi, user_to_virt ) ( userptr_t userptr, off_t offset ) {
55 UACCESS_INLINE ( efi, userptr_add ) ( userptr_t userptr, off_t offset ) {
60 UACCESS_INLINE ( efi, memcpy_user ) ( userptr_t dest, off_t dest_off,
61 userptr_t src, off_t src_off,
67 UACCESS_INLINE ( efi, memmove_user ) ( userptr_t dest, off_t dest_off,
68 userptr_t src, off_t src_off,
74 UACCESS_INLINE ( efi, memset_user ) ( userptr_t buffer, off_t offset,
80 UACCESS_INLINE ( efi, strlen_user ) ( userptr_t buffer, off_t offset ) {
84 static inline __always_inline off_t
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/linux/
H A Dlinux_uaccess.h51 UACCESS_INLINE(linux, user_to_phys)(userptr_t userptr, off_t offset)
63 UACCESS_INLINE(linux, user_to_virt)(userptr_t userptr, off_t offset)
69 UACCESS_INLINE(linux, userptr_add)(userptr_t userptr, off_t offset)
75 UACCESS_INLINE(linux, memcpy_user)(userptr_t dest, off_t dest_off, userptr_t src, off_t src_off, size_t len)
81 UACCESS_INLINE(linux, memmove_user)(userptr_t dest, off_t dest_off, userptr_t src, off_t src_off, size_t len)
87 UACCESS_INLINE(linux, memset_user)(userptr_t buffer, off_t offset, int c, size_t len)
93 UACCESS_INLINE(linux, strlen_user)(userptr_t buffer, off_t offset)
98 static inline __always_inline off_t
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dwrite.c33 off_t * pOffset,
H A Dread.c38 off_t * pOffset,
H A DSocketInternals.h157 off_t * pOffset,
177 off_t * pOffset,
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/include/bits/
H A Dstdint.h8 typedef signed long off_t; typedef
/vbox/src/VBox/Devices/PC/ipxe/src/arch/x86_64/include/bits/
H A Dstdint.h6 typedef signed long off_t; typedef
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/sys/
H A Duio.h65 #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);
H A DEfiSysCall.h46 off_t lseek (int, off_t, int);
47 int truncate (const char *, off_t);
48 int ftruncate (int, off_t); // IEEE Std 1003.1b-93
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
H A Dtypes.h179 #ifndef off_t
180 typedef __off_t off_t; /* file offset */ typedef
181 #define off_t __off_t macro
218 * long arguments will be promoted to off_t if the program fails to
219 * include that header or explicitly cast them to off_t.
224 extern off_t lseek (int, off_t, int);
225 extern int truncate (const char *, off_t);
226 extern int ftruncate (int, off_t);
H A Dfile.h82 off_t f_nextread; /*
85 off_t f_offset;
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/include/
H A Dlibrm.h52 UACCESS_INLINE ( librm, user_to_phys ) ( userptr_t userptr, off_t offset ) {
62 UACCESS_INLINE ( librm, user_to_virt ) ( userptr_t userptr, off_t offset ) {
67 UACCESS_INLINE ( librm, userptr_add ) ( userptr_t userptr, off_t offset ) {
72 UACCESS_INLINE ( librm, memcpy_user ) ( userptr_t dest, off_t dest_off,
73 userptr_t src, off_t src_off,
79 UACCESS_INLINE ( librm, memmove_user ) ( userptr_t dest, off_t dest_off,
80 userptr_t src, off_t src_off,
86 UACCESS_INLINE ( librm, memset_user ) ( userptr_t buffer, off_t offset,
92 UACCESS_INLINE ( librm, strlen_user ) ( userptr_t buffer, off_t offset ) {
96 static inline __always_inline off_t
[all...]
/vbox/src/VBox/Runtime/r3/darwin/
H A Dfilelock-darwin.cpp66 if ( sizeof(off_t) < sizeof(cbLock)
80 fl.l_start = (off_t)offLock;
81 fl.l_len = (off_t)cbLock;
133 if ( sizeof(off_t) < sizeof(cbLock)
146 fl.l_start = (off_t)offLock;
147 fl.l_len = (off_t)cbLock;
/vbox/src/VBox/Runtime/r3/os2/
H A Dfilelock-os2.cpp66 if ( sizeof(off_t) < sizeof(cbLock)
80 fl.l_start = (off_t)offLock;
81 fl.l_len = (off_t)cbLock;
148 if ( sizeof(off_t) < sizeof(cbLock)
161 fl.l_start = (off_t)offLock;
162 fl.l_len = (off_t)cbLock;
/vbox/src/VBox/Runtime/r3/posix/
H A Dfilelock-posix.cpp65 if ( sizeof(off_t) < sizeof(cbLock)
79 fl.l_start = (off_t)offLock;
80 fl.l_len = (off_t)cbLock;
110 if ( sizeof(off_t) < sizeof(cbLock)
123 fl.l_start = (off_t)offLock;
124 fl.l_len = (off_t)cbLock;
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/test/
H A Dfsw_posix.h89 off_t fsw_posix_lseek(struct fsw_posix_file *file, off_t offset, int whence);
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/msvcrt/sys/
H A Dtypes.h66 #define off_t _off_t macro
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/msvcrt/sys/
H A Dtypes.h66 #define off_t _off_t macro
/vbox/src/VBox/Devices/EFI/Firmware/StdLibPrivateInternalFiles/Include/
H A Dkfile.h83 off_t f_offset; /* current position in file */
98 ssize_t (EFIAPI *fo_read) (struct __filedes *filp, off_t *Offset, size_t Len, void *Buf);
99 ssize_t (EFIAPI *fo_write) (struct __filedes *filp, off_t *Offset, size_t Len, const void *Buf);
115 off_t (EFIAPI *fo_lseek) (struct __filedes *filp, off_t, int);
188 int (*fo_read) (struct file *, off_t *, struct uio *, kauth_cred_t, int);
189 int (*fo_write) (struct file *, off_t *, struct uio *, kauth_cred_t, int);
208 off_t f_offset; /* current position in file */
265 //int dofileread (struct lwp *, int, struct file *, void *, size_t, off_t *, int, register_t *);
266 //int dofilewrite (struct lwp *, int, struct file *, const void *, size_t, off_t *, in
[all...]

Completed in 111 milliseconds

1234