Home
last modified time | relevance | path

Searched refs:SEEK_SET (Results 1 – 25 of 98) sorted by relevance

1234

/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/jpeg-9b/unused/
A Djmemansi.c25 #ifndef SEEK_SET /* pre-ANSI systems may not define this; */
26 #define SEEK_SET 0 /* if not, assume 0 is correct */ macro
101 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
114 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
A Djmem-android.c28 #ifndef SEEK_SET /* pre-ANSI systems may not define this; */
29 #define SEEK_SET 0 /* if not, assume 0 is correct */ macro
104 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
117 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
A Djmemname.c25 #ifndef SEEK_SET /* pre-ANSI systems may not define this; */
26 #define SEEK_SET 0 /* if not, assume 0 is correct */ macro
208 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
221 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
/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/amp/engine/quickjs_engine/quickjs/tests/
A Dtest_std.js45 f.seek(0, std.SEEK_SET);
53 f.seek(0, std.SEEK_SET);
72 f.seek(0, std.SEEK_SET);
90 f.seek(0, std.SEEK_SET);
168 assert(os.seek(fd, 0, std.SEEK_SET) === 0);
176 assert(os.seek(fd, BigInt(6), std.SEEK_SET), BigInt(6));
/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/py_engine/external/unzip/src/
A Dioapi.c26 #ifndef SEEK_SET
27 #define SEEK_SET 0 macro
131 fseek_origin = SEEK_SET;
A Dgzlib.c268 if (LSEEK(state->fd, state->start, SEEK_SET) == -1)
296 if (whence != SEEK_SET && whence != SEEK_CUR)
300 if (whence == SEEK_SET)
/AliOS-Things-master/components/freetype/src/base/
A Dftsystem.c215 ft_fseek( file, offset, SEEK_SET ); in ft_ansi_stream_io()
258 ft_fseek( file, 0, SEEK_SET ); in FT_Stream_Open()
/AliOS-Things-master/components/SDL2/src/image/
A DIMG_UIImage.m240 SDL_RWseek(src, start, SEEK_SET);
270 SDL_RWseek(src, start, SEEK_SET);
291 SDL_RWseek(src, start, SEEK_SET);
355 SDL_RWseek(src, start, SEEK_SET);
377 SDL_RWseek(src, start, SEEK_SET);
403 SDL_RWseek(src, start, SEEK_SET);
/AliOS-Things-master/components/ramfs/example/
A Dramfs_example.c35 lseek(fd, 0, SEEK_SET); in ramfs_example_fn()
/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()
645 SEEK_SET) < 0 || in log_compress()
935 if (lseek(log->fd, log->first - 1, SEEK_SET) < 0) in gzlog_compress()
A Dgzappend.c355 lseek(gz.fd, lastoff - (lastbit != 0), SEEK_SET); in gzscan()
374 lseek(gz.fd, --end, SEEK_SET); in gzscan()
378 lseek(gz.fd, end, SEEK_SET); in gzscan()
/AliOS-Things-master/components/py_engine/external/unzip/internal/
A Dzconf.in.h295 #ifndef SEEK_SET
296 # define SEEK_SET 0 /* Seek from beginning of file. */ macro
A Dzconf.h388 #ifndef SEEK_SET
389 # define SEEK_SET 0 /* Seek from beginning of file. */ macro
/AliOS-Things-master/components/freetype/src/gzip/
A Dzconf.h248 #ifndef SEEK_SET
249 # define SEEK_SET 0 /* Seek from beginning of file. */ macro
/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/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_stream.cxx164 case SEEK_SET: in _tiffosSeekProc()
215 case SEEK_SET: in _tiffosSeekProc()
257 case SEEK_SET: in _tiffisSeekProc()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/microfrontend/lib/
A Dfrontend_memmap_main.c31 fseek(fp, 0L, SEEK_SET); in main()
A Dfrontend_main.c41 fseek(fp, 0L, SEEK_SET); in main()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/utils/builtin/
A Dmodule_builtin.c54 aos_lseek(json_fd, 0, SEEK_SET); in native_add_global_appconfig()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/mfs/
A Dmfs_file.c252 else if (offset < 0 && whence == SEEK_SET) in mfs_lseek()
261 case SEEK_SET: in mfs_lseek()

Completed in 30 milliseconds

1234