Home
last modified time | relevance | path

Searched refs:filesize (Results 1 – 12 of 12) sorted by relevance

/AliOS-Things-master/components/mbedtls/programs/aes/
A Daescrypt2.c118 long filesize, offset; in main() local
121 __int64 filesize, offset; in main() local
123 off_t filesize, offset; in main() local
215 filesize = fseek( fin, 0L, SEEK_END ); in main()
232 filesize = li_size.QuadPart; in main()
270 lastn = (int)( filesize & 0x0F ); in main()
307 n = ( filesize - offset > 16 ) ? 16 : (int) in main()
308 ( filesize - offset ); in main()
354 if( filesize < 48 ) in main()
360 if( ( filesize & 0x0F ) != 0 ) in main()
[all …]
A Dcrypt_and_hash.c118 long filesize, offset; in main() local
121 __int64 filesize, offset; in main() local
123 off_t filesize, offset; in main() local
252 filesize = fseek( fin, 0L, SEEK_END ); in main()
269 filesize = li_size.QuadPart; in main()
271 if( ( filesize = lseek( fileno( fin ), 0, SEEK_END ) ) < 0 ) in main()
292 buffer[i] = (unsigned char)( filesize >> ( i << 3 ) ); in main()
350 for( offset = 0; offset < filesize; offset += mbedtls_cipher_get_block_size( &cipher_ctx ) ) in main()
412 if( filesize < 16 + mbedtls_md_get_size( md_info ) ) in main()
428 ( ( filesize - mbedtls_md_get_size( md_info ) ) % in main()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/
A Dpad.sh20 filesize=$(stat -c "%s" $IMAGE_FILENAME)
21 newsize=$((((($filesize - 1) >> 12) + 1) << 12))
22 padcount=$(($newsize - $filesize))
/AliOS-Things-master/components/py_engine/modules/ulog/
A Dmodlog.c75 unsigned int filesize = 0; in set_log_file_size() local
77 filesize = mp_obj_get_int(logsize); in set_log_file_size()
79 ret = ulog_fs_log_file_size(filesize); in set_log_file_size()
81 amp_warn(MOD_STR, "fail to set log file size %d\n", filesize); in set_log_file_size()
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/utils/log/
A Dmodule_log.c151 unsigned int filesize = 0; in native_set_log_file_size() local
158 filesize = duk_get_number(ctx, 0); in native_set_log_file_size()
161 ret = ulog_fs_log_file_size(filesize); in native_set_log_file_size()
163 amp_warn(MOD_STR, "fail to set log file size %d\n", filesize); in native_set_log_file_size()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/utils/log/
A Dmodule_log.c140 unsigned int filesize = 0; in native_set_log_file_size() local
147 JS_ToInt32(ctx, &filesize, argv[0]); in native_set_log_file_size()
150 ret = ulog_fs_log_file_size(filesize); in native_set_log_file_size()
152 amp_warn(MOD_STR, "fail to set log file size %d\n", filesize); in native_set_log_file_size()
/AliOS-Things-master/components/linkkit/http2/
A Dhttp2_upload_api.c275 int filesize = 0; in _http2_fs_node_handle() local
290 filesize = http2_stream_get_file_size(fs_node->file_path); in _http2_fs_node_handle()
291 if (filesize <= 0) { in _http2_fs_node_handle()
299 h2_info("filesize = %d", filesize); in _http2_fs_node_handle()
324 (fs_node->spec_len + rsp_data.fs_offset < filesize)) { in _http2_fs_node_handle()
327 upload_len = filesize; in _http2_fs_node_handle()
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/wifi_app/audio_dec/
A Dfs_adapt.h11 int filesize(int fd);
/AliOS-Things-master/components/ulog/include/ulog/
A Dulog.h168 int ulog_fs_log_file_size(unsigned int filesize);
/AliOS-Things-master/components/ulog/src/
A Dulog_session_file.c718 int ulog_fs_log_file_size(unsigned int filesize) in ulog_fs_log_file_size() argument
720 if (filesize < ULOG_SIZE) { in ulog_fs_log_file_size()
724 gu32_log_file_size = filesize; in ulog_fs_log_file_size()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/pds/
A Dtif_pdsdirread.c304 toff_t filesize = TIFFGetFileSize(tif); in EstimateStripByteCounts() local
313 space = (filesize - space) / td->td_samplesperpixel; in EstimateStripByteCounts()
324 if (td->td_stripoffset[i] + td->td_stripbytecount[i] > filesize) in EstimateStripByteCounts()
326 filesize - td->td_stripoffset[i]; in EstimateStripByteCounts()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_dirread.c4502 uint64 filesize; in EstimateStripByteCounts() local
4504 filesize = TIFFGetFileSize(tif); in EstimateStripByteCounts()
4534 if( filesize < space ) in EstimateStripByteCounts()
4536 space = filesize; in EstimateStripByteCounts()
4538 space = filesize - space; in EstimateStripByteCounts()
4551 if (td->td_stripoffset[strip]+td->td_stripbytecount[strip] > filesize) in EstimateStripByteCounts()
4552 td->td_stripbytecount[strip] = filesize - td->td_stripoffset[strip]; in EstimateStripByteCounts()

Completed in 43 milliseconds