Home
last modified time | relevance | path

Searched refs:st_size (Results 1 – 25 of 36) sorted by relevance

12

/AliOS-Things-master/components/amp/engine/duktape_engine/
A Dbe.c112 char *pkg_data = aos_malloc(sb.st_size + 1); in resolve_path()
120 aos_read(fp, pkg_data, sb.st_size); in resolve_path()
122 pkg_data[sb.st_size] = '\0'; in resolve_path()
550 amp_debug(MOD_STR, "%s %d", "file size: ", sb.st_size); in jsengine_eval_file()
551 file_data = (char *)aos_malloc(sb.st_size + 1); in jsengine_eval_file()
556 file_data[sb.st_size] = 0; in jsengine_eval_file()
559 aos_read(fp, file_data, sb.st_size); in jsengine_eval_file()
562 duk_push_uint(duk_ctx, (duk_uint_t)sb.st_size); in jsengine_eval_file()
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/sendfile/
A Dsendfile.c317 snprintf(buf, sizeof(buf), "mode=%d size=%ld\n", stat_buf.st_mode, stat_buf.st_size); in sendfile_server_thread()
328 ret = sendfile(connfd, fd, &offset, stat_buf.st_size); in sendfile_server_thread()
342 if (ret != stat_buf.st_size) { in sendfile_server_thread()
344 ret, (int)stat_buf.st_size)); in sendfile_server_thread()
/AliOS-Things-master/components/libc_stub/
A Dnewlib_stub.c262 pstat->st_size = stat.st_size; in _stat_r()
283 buf->st_size = stat_temp.st_size; in _fstat_r()
/AliOS-Things-master/components/amp_adapter/platform/linux/
A Daos_fs.c61 st->st_size = info.st_size; in aos_stat()
/AliOS-Things-master/components/cli/src/iobox/
A Dls.c79 if (s.st_size > 1024) { in ls_show()
93 (flags & SZ_KB) ? s.st_size / 1024 : s.st_size, in ls_show()
A Dcat.c46 fsize = s.st_size; in cat_main()
/AliOS-Things-master/components/ramfs/src/
A Dramfs_vfs.c235 st->st_size = ramfs_st.st_size; in ramfs_vfs_stat()
278 st->st_size = ramfs_st.st_size; in ramfs_vfs_fstat()
/AliOS-Things-master/components/libc_stub/compilers/armlibc/sys/
A Dstat.h51 uint32_t st_size; member
/AliOS-Things-master/components/libc_stub/compilers/iar/sys/
A Dstat.h51 uint32_t st_size; member
/AliOS-Things-master/components/py_engine/engine/tools/
A Dmake-frozen.py51 print("%d," % st.st_size)
/AliOS-Things-master/components/ramfs/internal/
A Dramfs_api.h16 uint32_t st_size; member
/AliOS-Things-master/components/oss/src/utils/
A DFileSystemUtils.cc116 size = static_cast<std::streamsize>(buf.st_size); in GetPathInfo()
196 size = static_cast<std::streamsize>(buf.st_size); in GetPathInfo()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/examples/
A Dgzlog.c751 if (stat(log->path, &st) == 0 && st.st_size) { in log_recover()
752 len = (size_t)(st.st_size); in log_recover()
753 if ((off_t)len != st.st_size || in log_recover()
754 (data = malloc(st.st_size)) == NULL) { in log_recover()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/
A Draw2tiff.c383 if (filestat.st_size < hdr_size) { in guessSize()
388 imagesize = (filestat.st_size - hdr_size) / nbands / depth; in guessSize()
472 if (filestat.st_size<(_TIFF_off_t)(hdr_size+(*width)*(*length)*nbands*depth)) { in guessSize()
/AliOS-Things-master/components/vfs/include/
A Dvfs_types.h18 uint32_t st_size; /* bytes of file */ member
/AliOS-Things-master/components/vfs/include/aos/
A Dvfs.h50 uint32_t st_size; /**< bytes of file */ member
/AliOS-Things-master/components/amp_adapter/portfiles/aos/
A Dvfs.h50 uint32_t st_size; /**< bytes of file */ member
/AliOS-Things-master/components/amp_adapter/
A Dvfs.h50 uint32_t st_size; /**< bytes of file */ member
/AliOS-Things-master/components/fatfs/src/
A Dfatfs_vfs.c294 st->st_size = 0; in fatfs_vfs_stat()
300 st->st_size = info.fsize; in fatfs_vfs_stat()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_unix.c156 return((uint64)sb.st_size); in _tiffSizeProc()
/AliOS-Things-master/components/freetype/src/tools/ftrandom/
A Dftrandom.c375 fontlist[fcnt].len = statb.st_size; in FindFonts()
/AliOS-Things-master/components/py_engine/engine/tools/mpremote/mpremote/
A Dpyboardextended.py391 self.wr_u32(stat.st_size)
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dvfs_posix.c303 t->items[6] = mp_obj_new_int_from_uint(sb.st_size); in vfs_posix_stat()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/test/
A Dminigzip.c408 buf_len = sb.st_size;
/AliOS-Things-master/components/ulog/src/
A Dulog_session_file.c516 operating_file_offset += st_logstat.st_size; in reload_log_argu()

Completed in 29 milliseconds

12