Home
last modified time | relevance | path

Searched full:text (Results 1 – 25 of 670) sorted by relevance

12345678910>>...27

/arkcompiler/ets_frontend/ets2panda/bindings/test/expected/
DgetSignatureHelpItems.json7 "text": "(", string
13 "text": ")", string
17 "text": ":", string
21 "text": "void", string
32 "text": "a", string
36 "text": ":", string
40 "text": "double", string
44 "text": ",", string
54 "text": "b", string
58 "text": ":", string
[all …]
DgetQuickInfoAtPosition.json12 "text": "MyStrings", string
16 "text": ".", string
20 "text": "A", string
24 "text": " ", string
28 "text": "=", string
32 "text": " ", string
36 "text": "\"", string
40 "text": "hello", string
41 "kind": "text"
44 "text": "\"", string
[all …]
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DSmartCast_15.ets17 function isEmpty(text?: string): boolean {
18 return text === undefined || text === null || text.length === 0
22 function foo(text?: string): boolean {
23 let a: boolean = (text === undefined || text === null || text.length == 0) ? true : false
24 let b: boolean = text === undefined || text === null || text.length == 0
25 let c: boolean = !(text !== undefined) || text === null || text.length == 0
26 let d: boolean = (text !== undefined && text !== null) ? text.length == 0 : true
27 let e: boolean = (text != undefined && text != null) ? text.length == 0 : true
Dgetter_setter_pos.ets17 get text() : string
18 set text(s: string)
24 get text(): string {
28 set text(s: string) {
36 instance.text = "text";
37 assertEQ( instance.text, "text" )
Dsimple_form_pos.ets17 text: string;
21 text:string = ""
27 instance.text = "text";
28 assertEQ( instance.text, "text" )
Dreadonly_simple_form_pos.ets17 readonly text: string;
21 readonly text: string = ""
23 this.text = "text";
31 assertEQ( instance.text, "text" )
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/buffer/
DBlobTest.ets61 let text = await blob.text()
62 assertEQ(text, "你好世界测试")
71 let text = await blob.text()
72 assertEQ(text, "测试$#c")
80 let text = await blob.text()
81 assertEQ(text, "12345")
92 let text = await blob.text()
93 assertEQ(text, "Hello")
101 let text = await blob.text()
102 assertEQ(text, "abcab")
[all …]
/arkcompiler/ets_frontend/ets2panda/test/unit/public/
Dast_verifier_check_struct_declaration_test.cpp27 char const *text = R"( in TEST_F() local
33 CONTEXT(ES2PANDA_STATE_PARSED, text) in TEST_F()
41 char const *text = R"( in TEST_F() local
51 CONTEXT(ES2PANDA_STATE_PARSED, text) in TEST_F()
59 char const *text = R"( in TEST_F() local
65 CONTEXT(ES2PANDA_STATE_PARSED, text) in TEST_F()
73 char const *text = R"( in TEST_F() local
79 CONTEXT(ES2PANDA_STATE_PARSED, text) in TEST_F()
88 char const *text = R"( in TEST_F() local
94 CONTEXT(ES2PANDA_STATE_PARSED, text) in TEST_F()
[all …]
Dast_verifier_identifier_has_variable_test.cpp29 char const *text = R"( in TEST_F() local
37 CONTEXT(ES2PANDA_STATE_CHECKED, text) in TEST_F()
45 char const *text = R"( in TEST_F() local
60 CONTEXT(ES2PANDA_STATE_CHECKED, text) in TEST_F()
68 char const *text = R"( in TEST_F() local
75 CONTEXT(ES2PANDA_STATE_CHECKED, text) in TEST_F()
83 char const *text = R"( in TEST_F() local
90 CONTEXT(ES2PANDA_STATE_LOWERED, text) in TEST_F()
98 char const *text = R"( in TEST_F() local
106 CONTEXT(ES2PANDA_STATE_CHECKED, text) in TEST_F()
[all …]
Dast_verifier_check_scope_declaration_test.cpp27 char const *text = R"( in TEST_F() local
33 CONTEXT(ES2PANDA_STATE_LOWERED, text) in TEST_F()
41 char const *text = R"( in TEST_F() local
47 CONTEXT(ES2PANDA_STATE_LOWERED, text) in TEST_F()
55 char const *text = R"( in TEST_F() local
65 CONTEXT(ES2PANDA_STATE_LOWERED, text) in TEST_F()
73 char const *text = R"( in TEST_F() local
79 CONTEXT(ES2PANDA_STATE_LOWERED, text) in TEST_F()
87 char const *text = R"( in TEST_F() local
99 CONTEXT(ES2PANDA_STATE_LOWERED, text) in TEST_F()
Dast_verifier_reference_typeannotation_test.cpp29 char const *text = R"( in TEST_F() local
34 CONTEXT(ES2PANDA_STATE_CHECKED, text) in TEST_F()
51 char const *text = R"( in TEST_F() local
61 CONTEXT(ES2PANDA_STATE_CHECKED, text) in TEST_F()
69 char const *text = R"( in TEST_F() local
81 CONTEXT(ES2PANDA_STATE_CHECKED, text) in TEST_F()
89 char const *text = R"( in TEST_F() local
94 CONTEXT(ES2PANDA_STATE_CHECKED, text) in TEST_F()
102 char const *text = R"( in TEST_F() local
106 CONTEXT(ES2PANDA_STATE_CHECKED, text) in TEST_F()
Dast_verifier_variable_has_enclosing_scope_test.cpp26 char const *text = R"( in TEST_F() local
36 CONTEXT(ES2PANDA_STATE_CHECKED, text) in TEST_F()
44 char const *text = R"( in TEST_F() local
55 CONTEXT(ES2PANDA_STATE_CHECKED, text) in TEST_F()
63 char const *text = R"( in TEST_F() local
71 CONTEXT(ES2PANDA_STATE_CHECKED, text) in TEST_F()
79 char const *text = R"( in TEST_F() local
87 CONTEXT(ES2PANDA_STATE_LOWERED, text) in TEST_F()
95 char const *text = R"( in TEST_F() local
102 CONTEXT(ES2PANDA_STATE_LOWERED, text) in TEST_F()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/10.interfaces/05.interface_properties/
Dgetter_setter_form.ets22 get text()
23 set text(s: string)
27 private text : string = "";
29 get text(): string {
30 return this.text;
33 set text(s: string) {
34 this.text = s;
41 instance.text = "text";
42 assertEQ( instance.text, "text" )
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/docs/
Dsampler_start_stop.svg1text/css" height="602px" preserveAspectRatio="none" style="width:1021px;height:602px;background:#F…
Dsampling_process.svg1text/css" height="500px" preserveAspectRatio="none" style="width:879px;height:500px;background:#FF…
Dsampler.svg1text/css" height="543px" preserveAspectRatio="none" style="width:999px;height:543px;background:#FF…
/arkcompiler/runtime_core/static_core/docs/images/
Dinspector-debugger-sequence.svg1text/css" height="758px" preserveAspectRatio="none" style="width:961px;height:758px;background:#FF…
/arkcompiler/ets_frontend/ets2panda/test/unit/lsp/
Dscript_element_kind_test.cpp44 ASSERT_EQ(result, CompletionEntryKind::TEXT); // Literal is VALUE in TEST_F()
46 ASSERT_EQ(result, CompletionEntryKind::TEXT); in TEST_F()
63 ASSERT_EQ(lspApi->getAliasScriptElementKind(context, startOfFile), CompletionEntryKind::TEXT); in TEST_F()
64 …RT_EQ(lspApi->getAliasScriptElementKind(context, firstleftCurlyBrance), CompletionEntryKind::TEXT); in TEST_F()
65 …ERT_EQ(lspApi->getAliasScriptElementKind(context, numberLiteralOffset), CompletionEntryKind::TEXT); in TEST_F()
66 …ERT_EQ(lspApi->getAliasScriptElementKind(context, stringLiteralOffset), CompletionEntryKind::TEXT); in TEST_F()
85 ASSERT_EQ(lspApi->getAliasScriptElementKind(context, nullLiteral), CompletionEntryKind::TEXT); in TEST_F()
86 ASSERT_EQ(lspApi->getAliasScriptElementKind(context, etsNullType), CompletionEntryKind::TEXT); in TEST_F()
87 …ASSERT_EQ(lspApi->getAliasScriptElementKind(context, undefinedLiteral), CompletionEntryKind::TEXT); in TEST_F()
96 const std::string text = R"(class Person { in TEST_F() local
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ets_templates/
Dtemplate.py45 self.text = read_file(test_path)
52 …self.__copyright, out_content = self.__get_in_out_content(self.text, META_START_COMMENT, META_END_…
53 self.text = out_content.strip()
57 return META_COPYRIGHT not in self.text
60 def __replace_symbols(text: str) -> str:
63 text = text.replace(old, new)
64 return text
67 def __get_in_out_content(text: str, meta_start: str, meta_end: str) -> Tuple[str, str]:
68 start, end = text.find(meta_start), text.find(meta_end)
71 inside_content = text[start + len(meta_start):end]
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/extensions/generators/ets_cts/
Dtemplate.py49 self.text = read_file(test_path)
56 …self.__copyright, out_content = self.__get_in_out_content(self.text, META_START_COMMENT, META_END_…
57 self.text = out_content.strip()
61 return META_COPYRIGHT not in self.text
64 def __replace_symbols(text: str) -> str:
67 text = text.replace(old, new)
68 return text
71 def __get_in_out_content(text: str, meta_start: str, meta_end: str) -> tuple[str, str]:
72 start, end = text.find(meta_start), text.find(meta_end)
75 inside_content = text[start + len(meta_start):end]
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dnot_support_decorator.ets94 Text('This is a ComponentGroup')
112 Text('This is the entry component')
120 Text('Parent Component')
129 Text('Child Component')
138 Text('This is a lazy component')
149 Text(this.value)
183 Text(this.data)
208 Text(this.message)
229 Text(this.sharedData)
238 Text('This is the home page')
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/05.implementing_interface_properties/
Dgetter_setter_implementation.ets21 get text(): string
22 set text(s: string)
28 get text(): string {
32 set text(s: string) {
40 instance.text = "text";
41 assertEQ( instance.text, "text" );
/arkcompiler/runtime_core/libark_defect_scan_aux/tests/unittest/across_abc_test/
Duser_input.js18 constructor(text) { argument
19 this.text = text;
23 return this.text;
26 setText(text) { argument
27 this.text = text;
/arkcompiler/runtime_core/taihe/
D.gitattributes18 *.py text eol=lf diff=python whitespace=indent,trail,space
21 *.c text eol=lf whitespace=indent,trail,space
22 *.cpp text eol=lf whitespace=indent,trail,space
25 *.h text eol=lf diff=cpp whitespace=indent,trail,space
26 *.hpp text eol=lf diff=cpp whitespace=indent,trail,space
29 *.ts text eol=lf diff=javascript whitespace=indent,trail,space
30 *.ets text eol=lf diff=javascript whitespace=indent,trail,space
31 *.sts text eol=lf diff=javascript whitespace=indent,trail,space
/arkcompiler/runtime_core/compiler/tests/js/
DregallocTryTest.js40 var text = ""; variable
43 text += car[i] + x + y;
48 var text = "";
50 text = "number is invalid";
52 text = (x < 18) ? "young" : "old";
59 let text = "";
61 text += x;
64 text += "The number is " + i;
68 text += "The number is " + i;

12345678910>>...27