Home
last modified time | relevance | path

Searched refs:buff (Results 1 - 5 of 5) sorted by relevance

/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_file_test.cpp92 vector<char> buff; in HWTEST_F() local
93 bool ret = LoadBufferFromFile(filename, buff); in HWTEST_F()
95 EXPECT_EQ(str2.size(), buff.size()); in HWTEST_F()
457 vector<char> buff; in HWTEST_F() local
459 bool ret = LoadBufferFromFile(filename, buff); in HWTEST_F()
461 EXPECT_EQ(0, static_cast<int>(buff.size())); in HWTEST_F()
470 vector<char> buff; in HWTEST_F() local
474 bool ret = LoadBufferFromFile(filename, buff); in HWTEST_F()
477 EXPECT_EQ(0, static_cast<int>(buff.size())); in HWTEST_F()
486 vector<char> buff; in HWTEST_F() local
505 vector<char> buff; HWTEST_F() local
521 vector<char> buff; HWTEST_F() local
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/file_benchmark_test/
H A Dfile_benchmark_test.cpp130 vector<char> buff; in BENCHMARK_F() local
131 bool ret = LoadBufferFromFile(filename, buff); in BENCHMARK_F()
133 AssertEqual(str2.size(), buff.size(), "str2.size() did not equal buff.size() as expected.", state); in BENCHMARK_F()
546 vector<char> buff; in BENCHMARK_F() local
547 bool ret = LoadBufferFromFile(filename, buff); in BENCHMARK_F()
549 AssertEqual(0, static_cast<int>(buff.size()), in BENCHMARK_F()
550 "static_cast<int>(buff.size()) did not equal 0 as expected.", state); in BENCHMARK_F()
564 vector<char> buff; in BENCHMARK_F() local
567 bool ret = LoadBufferFromFile(filename, buff); in BENCHMARK_F()
586 vector<char> buff; BENCHMARK_F() local
609 vector<char> buff; BENCHMARK_F() local
630 vector<char> buff; BENCHMARK_F() local
[all...]
/commonlibrary/c_utils/base/test/unittest/rust/
H A Drust_utils_file_test.rs60 let mut buff: Vec<c_char> = Vec::new(); in test_load_string_from_file_001() variables
61 let ret = file_ex::ffi::RustLoadBufferFromFile(&filename, &mut buff); in test_load_string_from_file_001()
63 assert_eq!(str2.len(), buff.len()); in test_load_string_from_file_001()
342 let mut buff: Vec<c_char> = Vec::new(); in test_load_buffer_from_file_001() variables
344 let ret = file_ex::ffi::RustLoadBufferFromFile(&filename, &mut buff); in test_load_buffer_from_file_001()
346 assert_eq!(0, buff.len()); in test_load_buffer_from_file_001()
351 let mut buff: Vec<c_char> = Vec::new(); in test_load_buffer_from_file_002() variables
355 let ret = file_ex::ffi::RustLoadBufferFromFile(&filename, &mut buff); in test_load_buffer_from_file_002()
358 assert_eq!(0, buff.len()); in test_load_buffer_from_file_002()
363 let mut buff in test_load_buffer_from_file_003() variables
378 let mut buff: Vec<c_char> = Vec::new(); test_load_buffer_from_file_004() variables
[all...]
/commonlibrary/ets_utils/js_util_module/util/
H A Djs_textdecoder.h54 * @param buff Encoding format.
57 TextDecoder(const std::string &buff, int32_t flags);
H A Djs_textdecoder.cpp34 TextDecoder::TextDecoder(const std::string &buff, int32_t flags) in TextDecoder() argument
35 : encStr_(buff), tranTool_(nullptr, nullptr) in TextDecoder()

Completed in 6 milliseconds