Home
last modified time | relevance | path

Searched refs:lseek (Results 1 – 25 of 46) sorted by relevance

12

/AliOS-Things-master/hardware/chip/rtl872xd/aos/
A Dota_port.c65 lseek(fd, 0 ,SEEK_SET); in ota_set_user_bootinfo()
91 lseek(fd, 0 ,SEEK_SET); in ota_set_user_bootinfo()
96 lseek(fd, 0, SEEK_SET); in ota_set_user_bootinfo()
119 lseek(fd, 0 ,SEEK_SET); in ota_set_user_bootinfo()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/examples/
A Dgzlog.c415 if (lseek(log->fd, 0, SEEK_SET) < 0 || in log_head()
451 ret = lseek(log->fd, HEAD, SEEK_SET) < 0 || in log_mark()
476 if (back != 8 && (lseek(log->fd, log->last - len, SEEK_SET) < 0 || in log_last()
491 return lseek(log->fd, log->last - len, SEEK_SET) < 0 || in log_last()
493 lseek(log->fd, log->stored, SEEK_CUR) < 0 ? -1 : 0; in log_last()
553 (end = lseek(log->fd, 0, SEEK_CUR)) < 0 || ftruncate(log->fd, end)) in log_append()
644 if (lseek(log->fd, log->first - (log->back > 8 ? 2 : 1), in log_compress()
677 if ((log->first = lseek(log->fd, -1, SEEK_CUR)) < 0 || in log_compress()
836 if (lseek(log->fd, 0, SEEK_END) == 0) { in log_open()
935 if (lseek(log->fd, log->first - 1, SEEK_SET) < 0) in gzlog_compress()
[all …]
A Dgzappend.c210 if (lseek(in->fd, (off_t)bypass, SEEK_CUR) == -1) in skip()
291 lastoff = lseek(gz.fd, 0L, SEEK_CUR) - gz.left; in gzscan()
331 lastoff = lseek(gz.fd, 0L, SEEK_CUR) - strm->avail_in; in gzscan()
340 end = lseek(gz.fd, 0L, SEEK_CUR) - gz.left; in gzscan()
355 lseek(gz.fd, lastoff - (lastbit != 0), SEEK_SET); in gzscan()
358 lseek(gz.fd, -1L, SEEK_CUR); in gzscan()
374 lseek(gz.fd, --end, SEEK_SET); in gzscan()
378 lseek(gz.fd, end, SEEK_SET); in gzscan()
A Dgzjoin.c182 lseek(in->fd, skip - 1, SEEK_CUR); in bskip()
189 lseek(in->fd, skip - left, SEEK_CUR); in bskip()
/AliOS-Things-master/components/ota/hal/
A Dota_hal_vfs_param.c97 ret = lseek(temp_fd, (off_t)offset, SEEK_SET); in ota_update_parameter()
110 ret = lseek(temp_fd, (off_t)offset, SEEK_SET); in ota_update_parameter()
121 ret = lseek(temp_fd, (off_t)offset, SEEK_SET); in ota_update_parameter()
184 ret = lseek(temp_fd, (off_t)offset, SEEK_SET); in ota_clear_paramters()
A Dota_hal_vfs_plat.c73 ret = lseek(ota_fd, (off_t)off, SEEK_SET); in ota_hal_init()
130 ret = lseek(ota_fd, (off_t)*off, SEEK_SET); in ota_hal_write()
151 ret = lseek(ota_fd, (off_t)*off, SEEK_SET); in ota_hal_write()
329 ret = lseek(temp_fd, (off_t)*off, SEEK_SET); in ota_hal_read()
/AliOS-Things-master/components/drivers/peripheral/flash/example/
A Dflash_example.c53 ret = lseek(fd, 0, SEEK_SET); in vfs_flash_test()
58 ret = lseek(fd, 0, SEEK_SET); in vfs_flash_test()
67 ret = lseek(fd,0,SEEK_SET); in vfs_flash_test()
/AliOS-Things-master/components/kv/src/
A Dkv_adapt.c51 ret = lseek(fd, offset, SEEK_SET); in kv_flash_read()
71 ret = lseek(fd, offset, SEEK_SET); in kv_flash_write()
95 ret = lseek(fd, offset, SEEK_SET); in kv_flash_erase()
/AliOS-Things-master/components/drivers/core/base/include/drivers/char/
A Du_cdev_msg.h82 } lseek; member
129 } lseek; member
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/wifi_app/audio_dec/
A Dfs_adapt.h16 int lseek(int fildes, int offset, int whence);
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/fs/fat/
A DFATFileHandle.h37 virtual off_t lseek(off_t position, int whence);
/AliOS-Things-master/components/ramfs/example/
A Dramfs_example.c35 lseek(fd, 0, SEEK_SET); in ramfs_example_fn()
/AliOS-Things-master/components/libc_stub/example/
A Dlibc_stub_example.c48 lseek(fd, 0, SEEK_SET); in libc_stub_example()
/AliOS-Things-master/components/vfs/include/
A Dvfs_types.h97 uint32_t (*lseek) (vfs_file_t *fp, int64_t off, int32_t whence); member
110 uint32_t (*lseek) (vfs_file_t *fp, int64_t off, int32_t whence); member
/AliOS-Things-master/components/ulog/internal/
A Dulog_session_file.h80 #define aos_lseek lseek
/AliOS-Things-master/components/drivers/core/base/devicevfs/src/
A Ddevice_vfs_core.c224 ret = fops->lseek(fp, fops_arg->lseek.off, fops_arg->lseek.whence); in _cdev_fops_handler()
228 res.lseek.off = ret; in _cdev_fops_handler()
229 res.lseek.status = 0; in _cdev_fops_handler()
230 ddkc_dbg("FOPS_LSEEK, status:%d, offset:%lld\r\n", res.lseek.status, res.lseek.off); in _cdev_fops_handler()
/AliOS-Things-master/components/vfs/include/aos/
A Dvfs.h101 uint32_t (*lseek)(file_t *fp, int64_t off, int32_t whence); member
115 off_t (*lseek)(file_t *fp, off_t off, int whence); member
/AliOS-Things-master/components/amp_adapter/portfiles/aos/
A Dvfs.h101 uint32_t (*lseek)(file_t *fp, int64_t off, int32_t whence); member
115 off_t (*lseek)(file_t *fp, off_t off, int whence); member
/AliOS-Things-master/components/amp_adapter/
A Dvfs.h101 uint32_t (*lseek)(file_t *fp, int64_t off, int32_t whence); member
115 off_t (*lseek)(file_t *fp, off_t off, int whence); member
/AliOS-Things-master/components/vfs/example/
A Dvfs_example.c61 .lseek = &driver_vfs_lseek,
/AliOS-Things-master/components/amp_adapter/platform/linux/
A Daos_fs.c30 return lseek(fd, offset, whence); in aos_lseek()
/AliOS-Things-master/components/drivers/core/base/device/
A Dvfs_adapter.c159 .lseek = _device_lseek,
/AliOS-Things-master/components/cli/src/iobox/
A Dhexdump.c121 ret = lseek(fd, skip, SEEK_SET); in hexdump_do()
/AliOS-Things-master/components/drivers/peripheral/gpio/src/
A Dgpio_dev.c253 .lseek = NULL,
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dvfs_posix_file.c190 off_t off = lseek(o->fd, s->offset, s->whence); in vfs_posix_file_ioctl()

Completed in 31 milliseconds

12