Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 25 of 67) sorted by relevance

123

/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtiffiop.h222 #define TIFFSeekFile(tif, off, whence) \ argument
223 ((*(tif)->tif_seekproc)((tif)->tif_clientdata,(off),(whence)))
289 # define fseek(stream,offset,whence) fseeko(stream,offset,whence) argument
290 # define ftell(stream,offset,whence) ftello(stream,offset,whence) argument
297 #define _TIFF_lseek_f(fildes,offset,whence) _lseeki64(fildes,/* __int64 */ offset,whence) argument
299 #define _TIFF_fseek_f(stream,offset,whence) _fseeki64(stream,/* __int64 */ offset,whence) argument
307 #define _TIFF_lseek_f(fildes,offset,whence) lseek(fildes,offset,whence) argument
309 #define _TIFF_fseek_f(stream,offset,whence) fseek(stream,offset,whence) argument
A Dtif_stream.cxx87 static uint64 _tiffosSeekProc(thandle_t fd, uint64 off, int whence);
88 static uint64 _tiffisSeekProc(thandle_t fd, uint64 off, int whence);
154 _tiffosSeekProc(thandle_t fd, uint64 off, int whence) in _tiffosSeekProc() argument
163 switch(whence) { in _tiffosSeekProc()
214 switch( whence ) { in _tiffosSeekProc()
252 _tiffisSeekProc(thandle_t fd, uint64 off, int whence) in _tiffisSeekProc() argument
256 switch(whence) { in _tiffisSeekProc()
/AliOS-Things-master/components/py_engine/external/unzip/src/
A Dgzlib.c275 z_off64_t ZEXPORT gzseek64(file, offset, whence) in gzseek64() argument
278 int whence;
296 if (whence != SEEK_SET && whence != SEEK_CUR)
300 if (whence == SEEK_SET)
351 z_off_t ZEXPORT gzseek(file, offset, whence) in gzseek() argument
354 int whence;
358 ret = gzseek64(file, (z_off64_t)offset, whence);
/AliOS-Things-master/components/vfs/example/
A Dvfs_example.c49 static uint32_t driver_vfs_lseek(vfs_file_t *fp, int64_t off, int32_t whence) in driver_vfs_lseek() argument
74 int32_t whence = 0; in driver_vfs_example() local
93 vfs_lseek(fd, off, whence); in driver_vfs_example()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/
A Dgzlib.c366 z_off64_t ZEXPORT gzseek64(file, offset, whence) in gzseek64() argument
369 int whence;
387 if (whence != SEEK_SET && whence != SEEK_CUR)
391 if (whence == SEEK_SET)
443 z_off_t ZEXPORT gzseek(file, offset, whence) in gzseek() argument
446 int whence;
450 ret = gzseek64(file, (z_off64_t)offset, whence);
/AliOS-Things-master/components/py_engine/engine/py/
A Dstream.c434 seek_s.whence = SEEK_SET; in stream_seek()
436 seek_s.whence = mp_obj_get_int(args[2]); in stream_seek()
440 if (seek_s.whence == SEEK_SET && seek_s.offset < 0) { in stream_seek()
458 mp_obj_t whence = MP_OBJ_NEW_SMALL_INT(SEEK_CUR); in stream_tell() local
459 const mp_obj_t args[3] = {self, offset, whence}; in stream_tell()
530 off_t mp_stream_posix_lseek(void *stream, off_t offset, int whence) { in mp_stream_posix_lseek() argument
535 seek_s.whence = whence; in mp_stream_posix_lseek()
A Dstream.h60 int whence; member
125 off_t mp_stream_posix_lseek(void *stream, off_t offset, int whence);
/AliOS-Things-master/components/vfs/
A DREADME.md176 off_t aos_lseek(int fd, off_t offset, int whence);
181 * offset: 根据参数`whence`来移动读写位置的位移数
182 * whence: SEEK_SET 参数`offset` 即为新的读写位置
184 * SEEK_END 将读写位置指向文件尾后再增加`offset`个位移量. 当whence 值为SEEK_CUR 或SEEK_END 时, 参数`offet`允许负值的出现.
A Dvfs_aos.c76 off_t aos_lseek(int fd, off_t offset, int whence) in aos_lseek() argument
78 return _vfs_to_aos_res(vfs_lseek(fd, offset, whence)); in aos_lseek()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/mfs/
A Dmfs_file.c80 int mfs_lseek (int fd, int offset, int whence);
242 int mfs_lseek (int fd, int offset, int whence) in mfs_lseek() argument
252 else if (offset < 0 && whence == SEEK_SET) in mfs_lseek()
259 switch (whence) in mfs_lseek()
/AliOS-Things-master/components/SDL2/src/file/
A DSDL_rwops.c162 windows_file_seek(SDL_RWops * context, Sint64 offset, int whence) in windows_file_seek() argument
172 if (whence == RW_SEEK_CUR && context->hidden.windowsio.buffer.left) { in windows_file_seek()
177 switch (whence) { in windows_file_seek()
366 stdio_seek(SDL_RWops * context, Sint64 offset, int whence) in stdio_seek() argument
370 switch (whence) { in stdio_seek()
450 mem_seek(SDL_RWops * context, Sint64 offset, int whence) in mem_seek() argument
454 switch (whence) { in mem_seek()
790 SDL_RWseek(SDL_RWops *context, Sint64 offset, int whence) in SDL_RWseek() argument
792 return context->seek(context, offset, whence); in SDL_RWseek()
/AliOS-Things-master/components/vfs/include/aos/
A Dvfs.h101 uint32_t (*lseek)(file_t *fp, int64_t off, int32_t whence);
115 off_t (*lseek)(file_t *fp, off_t off, int whence);
257 off_t aos_lseek(int fd, off_t offset, int whence);
/AliOS-Things-master/components/amp_adapter/portfiles/aos/
A Dvfs.h101 uint32_t (*lseek)(file_t *fp, int64_t off, int32_t whence);
115 off_t (*lseek)(file_t *fp, off_t off, int whence);
257 off_t aos_lseek(int fd, off_t offset, int whence);
/AliOS-Things-master/components/amp_adapter/
A Dvfs.h101 uint32_t (*lseek)(file_t *fp, int64_t off, int32_t whence);
115 off_t (*lseek)(file_t *fp, off_t off, int whence);
257 off_t aos_lseek(int fd, off_t offset, int whence);
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/third_party/
A DCMakeLists.txt1 # This file is generated (whence no license header). Do not edit!
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/imageio/
A Dtiffdec.c86 static toff_t MySeek(thandle_t opaque, toff_t offset, int whence) { in MySeek() argument
88 offset += (whence == SEEK_CUR) ? my_data->pos in MySeek()
89 : (whence == SEEK_SET) ? 0 in MySeek()
/AliOS-Things-master/components/amp_adapter/platform/linux/
A Daos_fs.c29 off_t aos_lseek(int fd, off_t offset, int whence) { in aos_lseek() argument
30 return lseek(fd, offset, whence); in aos_lseek()
/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/components/ai_agent/src/engine/tflite-micro/third_party/ruy/example/
A DCMakeLists.txt1 # This file is generated (whence no license header). Do not edit!
/AliOS-Things-master/components/drivers/peripheral/flash/src/
A Dflash_dev.c87 static uint32_t flash_device_lseek(file_t *f, int64_t off, int32_t whence){ in flash_device_lseek() argument
88 ddkc_dbg("f->offset:%x, off:%llx, whence:%d\r\n", f->offset, off, whence); in flash_device_lseek()
89 switch (whence) { in flash_device_lseek()
/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/src/
A Dramfs_vfs.c139 static uint32_t ramfs_vfs_lseek(vfs_file_t *fp, int64_t off, int32_t whence) in ramfs_vfs_lseek() argument
151 if (whence == SEEK_SET) { in ramfs_vfs_lseek()
153 } else if (whence == SEEK_CUR) { in ramfs_vfs_lseek()
155 } else if (whence == SEEK_END) { in ramfs_vfs_lseek()
/AliOS-Things-master/components/SDL2/include/
A DSDL_rwops.h66 int whence);
190 Sint64 offset, int whence);
/AliOS-Things-master/components/vfs/include/
A Dvfs_types.h97 uint32_t (*lseek) (vfs_file_t *fp, int64_t off, int32_t whence);
110 uint32_t (*lseek) (vfs_file_t *fp, int64_t off, int32_t whence);
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/fs/mem/
A Dmem_file.h62 int (*fseek)(mem_file_cb_t *stream, long offset, int whence);

Completed in 32 milliseconds

123