Home
last modified time | relevance | path

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

12345678910>>...15

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/10.interfaces/05.interface_properties/
Dgetter_setter_form.sts21 get text()
22 set text(s: string)
26 private text : string = "";
28 get text(): string {
29 return this.text;
32 set text(s: string): void {
33 this.text = s;
40 instance.text = "text";
41 assert instance.text == "text";
Dreadonly_simple_form_0.sts21 readonly text: string;
26 text = "text";
34 assert instance.text == "text";
Dsimple_form.sts21 text: string;
30 instance.text = "text";
31 assert instance.text == "text";
Dreadonly_simple_form_1.sts22 readonly text: string;
27 text = "text";
35 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/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/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/05.implementing_interface_properties/
Dgetter_setter_implementation.sts21 get text(): string
22 set text(s: string): void
28 get text(): string {
32 set text(s: string): void {
40 instance.text = "text";
41 assert 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/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;
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/
Dpgo_method_type_set.cpp157 void PGOMethodTypeSet::ProcessToText(std::string &text) const in ProcessToText()
165 text += DumpUtils::ARRAY_START + DumpUtils::NEW_LINE; in ProcessToText()
166 text += DumpUtils::ALIGN + DumpUtils::ALIGN; in ProcessToText()
169 text += DumpUtils::SPACE + DumpUtils::TYPE_SEPARATOR + DumpUtils::NEW_LINE; in ProcessToText()
170 text += DumpUtils::ALIGN + DumpUtils::ALIGN; in ProcessToText()
172 text += std::to_string(typeInfoIter.GetOffset()); in ProcessToText()
173 text += DumpUtils::BLOCK_START; in ProcessToText()
174 text += typeInfoIter.GetType().GetTypeString(); in ProcessToText()
181 text += DumpUtils::ARRAY_START + DumpUtils::NEW_LINE; in ProcessToText()
182 text += DumpUtils::ALIGN + DumpUtils::ALIGN; in ProcessToText()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/09.field_access_expressions/01.accessing_current_object_fields/
Dincorrect_class_field_access.params.yaml16 …- { init: "let c: A = new A();", check: "c.a1.a2 = 1;", text: "names several accessible member fie…
17 …- { init: "let c: B = new B();", check: "c.i1.a1 = 1;", text: "names several accessible member fie…
18 …- { init: "let c: B = new B();", check: "c.b1.a1 = 1;", text: "names several accessible member fie…
19 …- { init: "let c: A = new A();", check: "c.b1 = 1;", text: "does not name an accessible member fie…
20 …- { init: "let c: A = new A();", check: "c.pb2 = 1;", text: "does not name an accessible member fi…
21 …- { init: "let c: B = new B();", check: "c.pb2 = 1;", text: "does not name an accessible member fi…
22 …- { init: "let c: B = new B();", check: "c.pa3 = 1;", text: "does not name an accessible member fi…
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe91.md16 function drawText({ text = "", location: [x, y] = [0, 0], bold = false }) {
17 console.log(text)
23 drawText({ text: "Hello, world!", location: [100, 50], bold: true })
32 function drawText(text: String, location: number[], bold: boolean) {
35 console.log(text)
Drecipe142.md23 // Type '{ readonly text: "hello" }':
24 let z = { text: "hello" } as const
40 text : string = ""
45 text: "hello"
/arkcompiler/runtime_core/static_core/verification/config/
Dconfig_load.cpp36 bool ProcessConfigFile(ark::verifier::Config *cfg, const char *text) in ProcessConfigFile() argument
47 …ark::verifier::config::ParseConfig(text, section) && ark::verifier::config::ProcessConfig(cfg, sec… in ProcessConfigFile()
80 char *text = new char[1 + *size]; in LoadConfig() local
81 memset_s(text, 1 + *size, 0x00, 1 + *size); in LoadConfig()
82 if (!file.ReadAll(text, *size)) { in LoadConfig()
84 delete[] text; in LoadConfig()
87 text[*size] = 0; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in LoadConfig()
89 result = ProcessConfigFile(cfg, text); in LoadConfig()
90 delete[] text; in LoadConfig()
/arkcompiler/ets_runtime/ecmascript/base/
Djson_parser.h80 using Text = const T *; variable
93 JSHandle<JSTaggedValue> Launch(Text begin, Text end);
159 bool CheckBackslash(Text &text, Text last, bool &isAscii);
168 virtual void ParticalParseString(std::string& str, Text current, Text nextCurrent) = 0;
190 Text AdvanceLastNumberCharacter(Text current);
216 Text end_ {nullptr};
217 Text current_ {nullptr};
218 Text range_ {nullptr};
241 void ParticalParseString(std::string& str, Text current, Text nextCurrent) override;
268 void ParticalParseString(std::string& str, Text current, Text nextCurrent) override;
/arkcompiler/runtime_core/static_core/scripts/code_style/
Ddoxygen_style_check.py50 # Examples of fine comments: /************/, /* ///////TEXT */
60 "'/// TEXT' - used for commenting on an empty line", "or",\
61 "'///< TEXT' - used for commenting after declared/defined variables in the same line",\
63 "\n/**\n * TEXT\n * TEXT\n * TEXT\n */"]
84 text = []
86 text = f.read()
90 line_num = text[:text.find(string)].count('\n') + 1
112 text = []
114 text = f.read()
115 lines = text.splitlines()
[all …]
/arkcompiler/ets_frontend/arkguard/src/utils/
DOhsUtil.ts119 if (isIdentifier(expression) && expression.text === 'ViewPU') {
149 reservedStruct.add(memberName.text);
150 structPropertiesTemp?.add(memberName.text);
154 reservedStruct.add(memberName.expression.text);
155 structPropertiesTemp?.add(memberName.expression.text);
162 propertySet.add(memberName.text);
166 propertySet.add(memberName.text);
167 stringPropsSet.add(memberName.text);
168 stringPropertiesTemp?.add(memberName.text);
172 propertySet.add(memberName.expression.text);
[all …]
/arkcompiler/ets_frontend/ets2panda/test/unit/public/
Dast_verifier_identifier_has_variable_test_2.cpp33 char const *text = R"( in TEST_F() local
41 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F()
59 char const *text = R"( in TEST_F() local
67 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F()
85 char const *text = R"( in TEST_F() local
123 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F()
141 char const *text = R"( in TEST_F() local
145 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F()
163 char const *text = R"( in TEST_F() local
175 es2panda_Context *ctx = impl_->CreateContextFromString(cfg_, text, "dummy.sts"); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/utils/
Dmetainformation.py39 def find_all_metas(text: str) -> List[MetaInText]:
41 Given a text of the whole test, this function:
42 1) Find all metas in this text
45 …where 'start' and 'end' are indices in 'text' such that text[start:end] == "/*---" + strMeta + "--…
52 start_indices = [m.start() for m in re.finditer(META_START_PATTERN, text)]
53 end_indices = [m.end() for m in re.finditer(META_END_PATTERN, text)]
68 meta = __parse_meta(text[start:end])
/arkcompiler/ets_frontend/ets2panda/linter/test/rules/
Drule91.sts16 function drawText({ text = "", location: [x, y] = [0, 0], bold = false }) {
17 console.log(text)
23 drawText({ text: "Hello, world!", location: [100, 50], bold: true })
26 function drawText1(text: String, location: number[], bold: boolean) {
29 console.log(text)
/arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/js/
DRegexTest.js16 const text = 'Hello, World!'; constant
19 if (pattern.test(text)) {
20 console.log('Pattern found in the text.');
22 console.log('Pattern not found in the text.');
/arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/ts/
DRegexTest.ts16 const text: string = 'Hello, World!'; constant
19 if (pattern.test(text)) {
20 console.log('Pattern found in the text.');
22 console.log('Pattern not found in the text.');

12345678910>>...15