Home
last modified time | relevance | path

Searched refs:text (Results 1 - 24 of 24) sorted by relevance

/developtools/profiler/device/plugins/memory_plugin/test/unittest/
H A Dbuffer_splitter_unittest.cpp48 char* text = nullptr; in HWTEST_F() local
50 BufferSplitter totalbuffer(text, readsize); in HWTEST_F()
64 char text[] = {'\0'}; in HWTEST_F() local
65 int readsize = sizeof(text); in HWTEST_F()
66 BufferSplitter totalbuffer(text, readsize); in HWTEST_F()
80 char text[] = {'\n'}; in HWTEST_F() local
81 int readsize = sizeof(text); in HWTEST_F()
82 BufferSplitter totalbuffer(text, readsize); in HWTEST_F()
96 char text[] = {'3'}; in HWTEST_F() local
97 int readsize = sizeof(text); in HWTEST_F()
112 char text[] = {'a', 'b', 'c', 'd', '\\0'}; HWTEST_F() local
130 char text[] = {'a', 'b', 'c', 'd', '\\n', '1', '2', '3', '4', '5', '\\0'}; HWTEST_F() local
148 char text[] = {'a', 'b', 'c', 'd', '\\0'}; HWTEST_F() local
170 char text[] = {'a', 'b', 'c', 'd', '\\n', '1', '2', '3', '4', '5', '6', '\\0'}; HWTEST_F() local
192 char text[] = {'a', 'b', ' ', 'c', 'd', '\\0'}; HWTEST_F() local
211 char text[] = {'a', 'b', ' ', 'c', 'd', ' ', '\\0'}; HWTEST_F() local
233 char text[] = {'a', 'b', ' ', 'c', 'd', ' ', '\\0'}; HWTEST_F() local
252 char text[] = {'a', 'b', ' ', 'c', 'd', ' ', '\\0'}; HWTEST_F() local
271 char text[] = {'a', 'b', ' ', 'c', 'd', ' ', '\\n', '1', '2', ' ', '3', '4', '5', ' ', '6', '\\0'}; HWTEST_F() local
295 char text[] = {'a', 'b', ' ', 'c', 'd', ' ', '\\n', '1', '2', ' ', '3', '4', '5', ' ', '6', '\\0'}; HWTEST_F() local
324 char text[] = {'a', 'b', ' ', 'c', 'd', ' ', '\\n', '1', '2', ' ', '3', '4', '5', ' ', '6', '\\0'}; HWTEST_F() local
[all...]
/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/
H A Dfile_utils_test.cpp58 std::string text = FileUtils::ReadFile(fd); in HWTEST_F() local
59 EXPECT_EQ(text, data_); in HWTEST_F()
71 std::string text = FileUtils::ReadFile(fd); in HWTEST_F() local
72 EXPECT_EQ(text, ""); in HWTEST_F()
82 std::string text = FileUtils::ReadFile(path_); in HWTEST_F() local
83 EXPECT_EQ(text, data_); in HWTEST_F()
94 std::string text = FileUtils::ReadFile(path); in HWTEST_F() local
95 EXPECT_EQ(text, ""); in HWTEST_F()
111 std::string text = FileUtils::ReadFile(path); in HWTEST_F() local
112 EXPECT_EQ(text, data in HWTEST_F()
143 std::string text = FileUtils::ReadFile(path); HWTEST_F() local
[all...]
/developtools/integration_verification/cases/smoke/basic/screenshot32/new_script/utils/
H A Dlayout.py25 def get_elements_by_text(self, text):
28 if e.get('text') == text:
32 def get_element_by_text(self, text, index=0):
33 ems = self.get_elements_by_text(text)
38 def assert_text_exist(self, text):
39 element = self.get_elements_by_text(text)
41 logging.info('检查[文本]="{}"是否存在?[{}]'.format(text, rst))
H A Ddevice.py189 allow = self.get_element_by_condition(condition={'text': '允许', 'type': 'Button'})
314 def input_text(self, x, y, text=''):
315 # logging.info(f'向({x, y})坐标处输入“{text}”')
316 return self.hdc_shell(f'uitest uiInput inputText {x} {y} {text}')
469 text = self.dump_windows_manager_service()
470 focus_win = re.findall(r'Focus window: (\d+)', text)[0].strip()
473 for line in text.splitlines():
486 text = self.dump_windows_manager_service()
487 win = re.search(window_name + r'\s*(\d+\s+){3}', text)
502 text
[all...]
/developtools/integration_verification/tools/fotff/rec/
H A Dreport.go24 "github.com/jedib0t/go-pretty/v6/text"
31 <style type="text/css">
71 tb.SetRowPainter(func(row table.Row) text.Colors {
75 return text.Colors{text.BgRed}
77 return text.Colors{text.BgYellow}
/developtools/packing_tool/adapter/ohos/
H A DPackFormatter.java17 import java.text.DateFormat;
18 import java.text.SimpleDateFormat;
H A DScanStatFileSize.java23 import java.text.SimpleDateFormat;
H A DScanStatDuplicate.java29 import java.text.SimpleDateFormat;
H A DScanStatSuffix.java27 import java.text.SimpleDateFormat;
/developtools/profiler/device/plugins/ftrace_plugin/tools/
H A Dftrace_format_parser.py192 self.text = []
213 self.text = []
215 self.text = f.readlines()
222 while cursor_line < len(self.text):
223 self.line = self.text[cursor_line].strip()
264 self.text = None
267 self.text = []
269 self.text = [line.strip() for line in f.readlines()]
270 for i in self.text:
/developtools/integration_verification/cases/smoke/basic/screenshot32/new_script/
H A Dmain.py62 text = f.read() variable
63 passed = int(re.findall(r'<span class="passed">(\d+)\s*passed', text, re.I)[0])
65 # text = text.replace('<meta charset="utf-8"/>', '<meta charset="gbk"/>')
67 # f.write(text)
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/sa/
H A Dsa.py29 return item.text
/developtools/ace_js2bundle/ace-loader/plugin/templater/
H A Dbind.js25 * @param {Object} initValue Hml text token information.
26 * @param {Object} functionFlag Hml text token information.
39 * @param {Object} value Hml text token information.
40 * @param {Object} functionFlag Hml text token information.
82 * @param {String} initValue Hml text token information.
95 * @param {String} value Hml text token information.
111 textArray.forEach(function(text) {
112 const transValue = text.tag ?
113 card ? `{{${text.value}}}` : content.parseExpression(text
[all...]
/developtools/hapsigner/hapsigntool_cpp/utils/include/
H A Dverify_cert_openssl_utils.h39 DLL_EXPORT static void GetTextFromX509Name(X509_NAME* name, int32_t nId, std::string& text);
/developtools/hdc/src/daemon/
H A Dshell.cpp144 string text = "/proc/self/oom_score_adj"; in ChildForkDo() local
146 if ((fd = open(text.c_str(), O_WRONLY)) >= 0) { in ChildForkDo()
/developtools/hapsigner/hapsigntool_cpp/utils/src/
H A Dverify_cert_openssl_utils.cpp282 void VerifyCertOpensslUtils::GetTextFromX509Name(X509_NAME* name, int32_t nId, std::string& text) in GetTextFromX509Name() argument
292 text = std::string(buffer.get()); in GetTextFromX509Name()
/developtools/smartperf_host/trace_streamer/src/parser/ptreader_parser/
H A Dptreader_parser.h120 return buffer.find(R"(<script class="trace-data" type="application/text">)") != std::string::npos; in IsHtmlTraceBegin()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/
H A DHapVerify.java56 import java.text.DateFormat;
57 import java.text.SimpleDateFormat;
/developtools/integration_verification/DeployDevice/src/aw/Download/
H A DDownload.py544 def decrypt(text, key):
548 plain_text = cryptor.decrypt(a2b_hex(text))
H A DDownloadold.py518 def decrypt(text, key):
523 plain_text = cryptor.decrypt(a2b_hex(text))
/developtools/hapsigner/hapsigntool_cpp_test/unittest/signProfile/
H A Dpkcs7_data_test.cpp226 std::string text; in HWTEST_F() local
227 VerifyCertOpensslUtils::GetTextFromX509Name(NULL, 45, text); in HWTEST_F()
228 EXPECT_TRUE(text.empty()); in HWTEST_F()
958 options[Options::IN_FILE] = std::string("text.bin");
/developtools/profiler/hiebpf/src/
H A Dbpf_controller.cpp428 const std::string text {".text"}; in GetSymOffset()
429 CHECK_TRUE(elfFile->shdrs_.find(text) != elfFile->shdrs_.end(), 0, "section text failed to obtain data"); in GetSymOffset()
430 const auto &textPtr = elfFile->shdrs_[text]; in GetSymOffset()
/developtools/smartperf_host/trace_streamer/src/parser/ptreader_parser/bytrace_parser/
H A Dbytrace_event_parser.cpp33 std::string GetFunctionName(const std::string_view &text, const std::string_view &delimiter) in GetFunctionName() argument
40 std::size_t foundIndex = text.find(delimiter); in GetFunctionName()
43 str = std::string(text.substr(funIndex, text.size() - funIndex)); in GetFunctionName()
/developtools/hdc/src/common/
H A Dbase.cpp176 string text(str); in LogToPath()
177 uv_buf_t wbf = uv_buf_init((char *)str, text.size()); in LogToPath()

Completed in 20 milliseconds