Home
last modified time | relevance | path

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

1234

/arkcompiler/ets_frontend/ts2panda/src/expression/
DtemplateExpression.ts21 let text = ""
23 text = expr.head.rawText!;
25 text = expr.rawText!;
28 text = text.replace(/(\r?\n|\r)/gm, "\n");
29 pandaGen.loadAccumulatorString(expr, text);
33 let text = ""
35 text = expr.head.text;
37 text = expr.text;
40 if (text.indexOf("\\u{") != -1) {
41 text = eval("'" + text + "'");
[all …]
DbigIntLiteral.ts21 let text = jshelpers.getTextOfIdentifierOrLiteral(lit);
22 text = text.substring(0, text.length-1);
23 pandaGen.loadAccumulatorBigInt(lit, text);
DstringLiteral.ts21 let text = jshelpers.getTextOfIdentifierOrLiteral(lit);
22 pandaGen.loadAccumulatorString(lit, text);
DnumericLiteral.ts39 let text = jshelpers.getTextOfIdentifierOrLiteral(lit);
40 let value = Number.parseFloat(text);
/arkcompiler/runtime_core/libark_defect_scan_aux/tests/across_abc_test/
Duser_input.js17 constructor(text) { argument
18 this.text = text;
22 return this.text;
25 setText(text) { argument
26 this.text = text;
/arkcompiler/runtime_core/libark_defect_scan_aux/tests/across_function_test/
Dacross_function_test.js35 constructor(text) { argument
36 this.text = text;
40 return this.text;
43 setText(text) { argument
44 this.text = text;
/arkcompiler/runtime_core/verification/config/
Dconfig_load.cpp37 bool ProcessConfigFile(const char *text) in ProcessConfigFile() argument
47 …bool result = panda::verifier::config::ParseConfig(text, config) && panda::verifier::config::Proce… in ProcessConfigFile()
81 char *text = new char[1 + *size]; in LoadConfig() local
82 memset_s(text, 1 + *size, 0x00, 1 + *size); in LoadConfig()
83 if (!file.ReadAll(text, *size)) { in LoadConfig()
85 delete[] text; in LoadConfig()
88 text[*size] = 0; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in LoadConfig()
90 result = ProcessConfigFile(text); in LoadConfig()
91 delete[] text; in LoadConfig()
/arkcompiler/ets_frontend/ts2panda/src/
DsyntaxCheckHelper.ts51 export function isIncludeOctalEscapeSequence(text: string): boolean {
53 if (!text.match(reg)) {
59 while (index < text.length) {
60 if (text[index] == '\\' && index != text.length - 1) {
61 if (text[index + 1] == "\\") {
63 } else if (text[index + 1] >= '0' && text[index + 1] <= '7') {
237 export function isIncludeBackslash8Or9InString(text: string): boolean {
241 while (index < text.length) {
242 if (text[index] == '\\' && index != text.length - 1) {
243 if (text[index + 1] == "\\") {
[all …]
DsyntaxCheckerForStrcitMode.ts51 function checkString(node: ts.Node, text: string) {
53 if (isIncludeOctalEscapeSequence(text)) {
57 if (isIncludeOctalEscapeSequence(text)) {
68 let text = jshelpers.getTextOfNode(node);
69 checkString(node, text);
171 let text = jshelpers.getTextOfNode(expr);
172 checkString(expr, text.substring(1, text.length - 1));
/arkcompiler/ets_runtime/ecmascript/base/
Djson_parser.h56 using Text = const T *;
62 JSHandle<JSTaggedValue> Parse(Text begin, Text end) in Parse()
85 Text begin = buf.data(); in ParseUtf8()
95 Text begin = buf.data(); in ParseUtf16()
121 … THROW_SYNTAX_ERROR_AND_RETURN(thread_, "Unexpected Text in JSON", JSTaggedValue::Exception()); in ParseJSONText()
142 Text current = current_; in ParseNumber()
274 … THROW_SYNTAX_ERROR_AND_RETURN(thread_, "Unexpected end Text in JSON", JSTaggedValue::Exception()); in ParseString()
292 … THROW_SYNTAX_ERROR_AND_RETURN(thread_, "Unexpected end Text in JSON", JSTaggedValue::Exception()); in ParseString()
296 … THROW_SYNTAX_ERROR_AND_RETURN(thread_, "Unexpected end Text in JSON", JSTaggedValue::Exception()); in ParseString()
463 … THROW_SYNTAX_ERROR_AND_RETURN(thread_, "Unexpected Text in JSON", JSTaggedValue::Exception()); in ParseLiteral()
[all …]
/arkcompiler/ets_frontend/ts2panda/tests/expression/
DtemplateExpression.test.ts99 it("`string text line 1`", function () {
100 let insns = compileMainSnippet("`string text line 1`;");
101 IRNode.pg = new PandaGen("", creatAstFromSnippet("`string text line 1`;"), 0, undefined);
103 new LdaStr("string text line 1"),
129 it("String.raw`string text line 1`", function () {
130 let insns = compileMainSnippet("String.raw`string text line 1`;");
131 …IRNode.pg = new PandaGen("", creatAstFromSnippet("String.raw`string text line 1`;"), 0, undefined);
156 new LdaStr("string text line 1"),
159 new LdaStr("string text line 1"),
188 it("String.raw`string text line 1\\nstring text line 2`", function () {
[all …]
/arkcompiler/runtime_core/docs/
Daot.md18 | LAOD | R-E | .text |
23 - `.text` - Contains compiled native code. Code of each compiled method is placed sequentially into…
25 …- Contains table of the runtime's entrypoint handlers. Must be placed right before `.text` section.
29 To access to the `.text` and `.aot` sections from AOT loader following symbols are defined:
30 - `code` - points to the start of `.text` section
31 - `code_end` - points to the end of `.text` section
51 There is one strict rule: `.text` section must be placed right after `.aot_got` section, and this s…
68 ========== .text ==========
86 ========== .text ========== |
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/prof_dump/
Dmain.cpp62 {"text", required_argument, nullptr, 't'}, in ParseCommand()
112 "-t, --text binary to text.\n" in GetHelper()
113 "-b, --binary text to binary.\n" in GetHelper()
146 LOG_NO_TAG(ERROR) << "profiler dump to text success!"; in Main()
148 LOG_NO_TAG(ERROR) << "profiler dump to text failed!"; in Main()
/arkcompiler/runtime_core/ldscripts/
Dpanda_test_asan.ld142 *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
171 .text :
173 *(.text.unlikely .text.*_unlikely .text.unlikely.*)
174 *(.text.exit .text.exit.*)
175 *(.text.startup .text.startup.*)
176 *(.text.hot .text.hot.*)
177 *(.text .stub .text.* .gnu.linkonce.t.*)
Dpanda.ld24 *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
50 .text : { *(.text .stub .text.*) }
/arkcompiler/runtime_core/
DREADME.md26 ├── assembler # Assembler that converts an ARK bytecode file in text format (*.pa) in…
31 …erts an ARK bytecode file in binary format (*.abc) into an ARK bytecode file in text format (*.pa).
75 The ark\_asm assembler converts the text ARK bytecode file into a bytecode file in binary format.
95 Input file: ARK bytecodes in text format
101 The ark\_disasm disassembler converts binary ARK bytecodes into readable text ARK bytecodes.
123 Output file: ARK bytecodes in text format
D.gitattributes2 * text eol=lf
/arkcompiler/ets_runtime/ecmascript/compiler/
Dbinary_section.h32 TEXT, enumerator
75 } else if (str.compare(".text") == 0) { in ElfSection()
76 value_ = ElfSecName::TEXT; in ElfSection()
81 } else if (str.compare(".rela.text") == 0) { in ElfSection()
Dfile_generators.h54 auto codeBuff = assembler_->GetSectionAddr(ElfSecName::TEXT); in CollectFuncEntryInfo()
68 funcSize = codeBuff + assembler_->GetSectionSize(ElfSecName::TEXT) - entrys[j]; in CollectFuncEntryInfo()
96 auto codeBuff = assembler_->GetSectionAddr(ElfSecName::TEXT); in CollectFuncEntryInfo()
109 funcSize = codeBuff + assembler_->GetSectionSize(ElfSecName::TEXT) - funcEntry; in CollectFuncEntryInfo()
/arkcompiler/runtime_core/tests/fuzztest/jsonobjectctor1_fuzzer/
Djsonobjectctor1_fuzzer.cpp23 std::string text(data, data + size); in JsonObjectCtor1FuzzTest() local
24 panda::JsonObject json_object(text); in JsonObjectCtor1FuzzTest()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/
Dpgo_profiler_test.cpp416 "ark-profiler7/modules.ap", "ark-profiler7/modules.text", 2)); in HWTEST_F_L0()
419 unlink("ark-profiler7/modules.text"); in HWTEST_F_L0()
427 std::ofstream file("ark-profiler10/modules.text"); in HWTEST_F_L0()
436 …ASSERT_TRUE(PGOProfilerManager::GetInstance()->TextToBinary("ark-profiler10/modules.text", "ark-pr… in HWTEST_F_L0()
442 unlink("ark-profiler10/modules.text"); in HWTEST_F_L0()
450 std::ofstream file("ark-profiler11/modules.text"); in HWTEST_F_L0()
461 …ASSERT_TRUE(PGOProfilerManager::GetInstance()->TextToBinary("ark-profiler11/modules.text", "ark-pr… in HWTEST_F_L0()
464 "ark-profiler11/modules.ap", "ark-profiler11/modules_recover.text", 2)); in HWTEST_F_L0()
466 std::ifstream fileOrigin("ark-profiler11/modules.text"); in HWTEST_F_L0()
467 std::ifstream fileRecover("ark-profiler11/modules_recover.text"); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_frontend/ts2panda/src/base/
Dutil.ts99 export function addUnicodeEscape(text: string) {
102 let len = text.length;
105 if (text[secondIdx] == '\\' && secondIdx + 1 != len && text[secondIdx + 1] == 'u') {
106 if (secondIdx != 0 && text[secondIdx - 1] == '\\') {
107 newText += text.substr(firstIdx, secondIdx - firstIdx) + "\\\\" + "\\u";
109 newText += text.substr(firstIdx, secondIdx - firstIdx) + "\\" + "\\u";
119 newText += text.substr(firstIdx);
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_info.cpp163 void PGOMethodInfo::ProcessToText(std::string &text) const in ProcessToText()
165 text += std::to_string(GetMethodId().GetOffset()); in ProcessToText()
166 text += ELEMENT_SEPARATOR; in ProcessToText()
167 text += std::to_string(GetCount()); in ProcessToText()
168 text += ELEMENT_SEPARATOR; in ProcessToText()
169 text += GetSampleModeToString(); in ProcessToText()
170 text += ELEMENT_SEPARATOR; in ProcessToText()
171 text += GetMethodName(); in ProcessToText()
/arkcompiler/runtime_core/libpandabase/utils/
Djson_parser.h84 bool Parse(const std::string &text);
124 explicit JsonObject(const std::string &text) in JsonObject() argument
126 Parser(this).Parse(text); in JsonObject()
/arkcompiler/ets_frontend/
D.gitattributes1 as2panda/bin/* text eol=lf

1234