Searched refs:inputfile (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/build/ohos/images/mkimage/ |
H A D | imkcovert.py | 32 def get_fill_cnt(inputfile: str, blocksize: int) -> int: 35 size = os.path.getsize(inputfile) 39 indata = os.fdopen(os.open(inputfile, flags, modes), 'a') 56 def get_block_cnt(inputfile: str, blocksize: int) -> int: 57 size = os.path.getsize(inputfile) 67 def get_crc_value(inputfile: str, blocksize: int): 68 totalblocks = get_block_cnt(inputfile, blocksize) 69 with open(inputfile, 'rb') as indata:
|
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_unique_fd_test.cpp | 51 ifstream inputfile; in TearDownTestCase() local 52 inputfile.open(testfilename, ios::in); in TearDownTestCase() 54 inputfile >> testStr; in TearDownTestCase() 55 inputfile.close(); in TearDownTestCase()
|
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/unique_fd_benchmark_test/ |
H A D | unique_fd_benchmark_test.cpp | 53 ifstream inputfile; in TearDown() local 54 inputfile.open(TEST_FILE_NAME, ios::in); in TearDown() 56 inputfile >> testStr; in TearDown() 57 inputfile.close(); in TearDown()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/sysevent_source/test/unittest/common/ |
H A D | sys_event_stat_test.cpp | 50 std::ifstream inputfile(filename); in GetFileContent() local 53 while (inputfile >> temp) { in GetFileContent()
|