Home
last modified time | relevance | path

Searched refs:getsize (Results 1 – 24 of 24) sorted by relevance

/OK3568_Linux_fs/u-boot/fs/fat/
H A Dfat_write.c109 int getsize = FATBUFBLOCKS; in flush_dirty_fat_buffer() local
121 if (startblock + getsize > fatlength) in flush_dirty_fat_buffer()
122 getsize = fatlength - startblock; in flush_dirty_fat_buffer()
127 if (disk_write(startblock, getsize, bufptr) < 0) { in flush_dirty_fat_buffer()
135 if (disk_write(startblock, getsize, bufptr) < 0) { in flush_dirty_fat_buffer()
391 int getsize = FATBUFBLOCKS; in set_fatent_value() local
397 if (startblock + getsize > fatlength) in set_fatent_value()
398 getsize = fatlength - startblock; in set_fatent_value()
405 if (disk_read(startblock, getsize, bufptr) < 0) { in set_fatent_value()
H A Dfat.c203 __u32 getsize = FATBUFBLOCKS; in get_fatent() local
209 if (startblock + getsize > fatlength) in get_fatent()
210 getsize = fatlength - startblock; in get_fatent()
218 if (disk_read(startblock, getsize, bufptr) < 0) { in get_fatent()
/OK3568_Linux_fs/external/rknn-toolkit2/examples/functions/hybrid_quant/
H A Dssd_post_process.py157 display_str_height = np.ceil((1 + 2 * 0.05) * font.getsize(display_str)[1]) + 1
164 text_width, text_height = font.getsize(display_str)
/OK3568_Linux_fs/external/rknn-toolkit2/examples/caffe/vgg-ssd/
H A Dtest.py134 display_str_height = np.ceil((1 + 2 * 0.05) * font.getsize(display_str)[1])+1
141 text_width, text_height = font.getsize(display_str)
/OK3568_Linux_fs/yocto/poky/scripts/
H A Drelocate_sdk.py247 old_size = os.path.getsize(e)
262 if old_size != os.path.getsize(e):
H A Dcombo-layer817 if os.path.getsize(patchfile) == 0:
895 if os.path.getsize(patch_filename) == 0 or runcmd("filterdiff %s" % patch_filename) == "":
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/
H A Dutils.py569 def getsize(filename): function
584 total += sum(roundup(getsize(os.path.join(root, name))) for name in files)
585 total += roundup(getsize(root))
H A Dsdk.py150 fsize = int(math.ceil(float(os.path.getsize(os.path.join(root, fn))) / 1024))
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/fetch2/
H A Daz.py89 if os.path.getsize(ud.localpath) == 0:
H A Ds3.py103 if os.path.getsize(ud.localpath) == 0:
H A Dwget.py141 if os.path.getsize(ud.localpath) == 0:
H A Dgit.py822 if not os.path.exists(rev_file) or not os.path.getsize(rev_file):
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/
H A Dfetch.py898 self.assertEqual(os.path.getsize(self.dldir + "/bitbake-1.0.tar.gz"), 57749)
899 self.assertEqual(os.path.getsize(self.dldir + "/bitbake-1.1.tar.gz"), 57892)
912 self.assertEqual(os.path.getsize(self.dldir + "/bitbake-1.0.tar.gz"), 57749)
919 self.assertEqual(os.path.getsize(self.dldir + "/bitbake-1.0.tar.gz"), 57749)
927 self.assertEqual(os.path.getsize(self.dldir + "/bitbake-1.0.tar.gz"), 57749)
934 self.assertEqual(os.path.getsize(self.dldir + "/bitbake-1.0.tar.gz"), 57749)
940 self.assertEqual(os.path.getsize(self.dldir + "/bitbake-v1.0.0.tar.gz"), 57749)
947 self.assertEqual(os.path.getsize(self.dldir + "/bitbake-1.0.tar.gz"), 57749)
955 self.assertEqual(os.path.getsize(self.dldir + "/bitbake-1.0.tar.gz"), 57749)
963 self.assertEqual(os.path.getsize(self.dldir + "/bitbake-1.0.tar.gz"), 57749)
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/classes/
H A Dgitpkgv.bbclass94 if not os.path.exists(rev_file) or os.path.getsize(rev_file)==0:
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/tests/builds/
H A Dtest_core_image_min.py244 if (os.path.getsize(target_file_name) !=
/OK3568_Linux_fs/u-boot/tools/buildman/
H A Dfunc_test.py234 self.assertEqual(len(result.stdout), os.path.getsize(help_file))
/OK3568_Linux_fs/yocto/poky/scripts/lib/wic/
H A Dfilemap.py535 dst_size = os.path.getsize(src_fname) + seek - skip
/OK3568_Linux_fs/kernel/Documentation/admin-guide/device-mapper/
H A Ddm-crypt.rst174 …dmsetup create crypt2 --table "0 `blockdev --getsize $1` crypt aes-cbc-essiv:sha256 :32:logon:my_p…
/OK3568_Linux_fs/yocto/poky/scripts/lib/recipetool/
H A Dcreate_buildsys_python.py176 if os.path.getsize(fn):
/OK3568_Linux_fs/u-boot/tools/binman/
H A Dfunc_test.py273 self.assertEqual(len(result.stdout), os.path.getsize(help_file))
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dexternalsrc.bbclass232 …if os.path.exists(os.path.join(s_dir, ".gitmodules")) and os.path.getsize(os.path.join(s_dir, ".gi…
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/
H A Dbuild.py713 if os.path.exists(logfn) and os.path.getsize(logfn) == 0:
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/
H A Dwic.py750 size = os.path.getsize(wicout[0])
/OK3568_Linux_fs/kernel/tools/power/pm-graph/
H A Dsleepgraph.py360 return (os.path.exists(file) and os.path.getsize(file) > 0)