Home
last modified time | relevance | path

Searched refs:cu (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_frontend/es2panda/util/
Dustring.h135 static void Utf8Encode(T *str, char32_t cu);
137 static void Mutf8Encode(T *str, char32_t cu);
443 void StringView::Utf8Encode(T *str, char32_t cu) in Utf8Encode() argument
445 if (cu < Constants::UTF8_1BYTE_LIMIT) { in Utf8Encode()
446 str->push_back(static_cast<char>(cu)); in Utf8Encode()
447 } else if (cu < Constants::UTF8_2BYTE_LIMIT) { in Utf8Encode()
448 …str->push_back(static_cast<char>(((cu >> Constants::UTF8_2BYTE_SHIFT) & Constants::UTF8_2BYTE_MASK… in Utf8Encode()
450 … str->push_back(static_cast<char>((cu & Constants::UTF8_CONT_MASK) | Constants::UTF8_CONT_HEADER)); in Utf8Encode()
451 } else if (cu < Constants::UTF8_3BYTE_LIMIT) { in Utf8Encode()
452 …str->push_back(static_cast<char>(((cu >> Constants::UTF8_3BYTE_SHIFT) & Constants::UTF8_3BYTE_MASK… in Utf8Encode()
[all …]
/arkcompiler/runtime_core/libpandabase/os/
Ddebug_info.h97 Range(Dwarf_Addr low_pc, Dwarf_Addr high_pc, CompUnit *cu = nullptr,
99 : low_pc_(low_pc), high_pc_(high_pc), cu_(cu), function_(function) in low_pc_()
157 void TraverseChildren(CompUnit *cu, Dwarf_Die die);
158 void TraverseSiblings(CompUnit *cu, Dwarf_Die die);
160 …void AddFunction(CompUnit *cu, Dwarf_Addr low_pc, Dwarf_Addr high_pc, const std::string &function);
Ddebug_info.cpp256 auto cu = &cu_list_.back(); in GetSrcLocation() local
257 IterateDieRanges(dbg_, cu_die, [ranges, cu](Dwarf_Addr low_pc, Dwarf_Addr high_pc) { in GetSrcLocation()
258 ranges->insert(Range(low_pc, high_pc, cu)); in GetSrcLocation()
261 TraverseChildren(cu, cu_die); in GetSrcLocation()
310 void DebugInfo::TraverseChildren(CompUnit *cu, Dwarf_Die die) in TraverseChildren() argument
316 TraverseSiblings(cu, child_die); in TraverseChildren()
319 void DebugInfo::TraverseSiblings(CompUnit *cu, Dwarf_Die die) in TraverseSiblings() argument
335 AddFunction(cu, low_pc, high_pc, fname); in TraverseSiblings()
338 TraverseChildren(cu, die); in TraverseSiblings()
348 void DebugInfo::AddFunction(CompUnit *cu, Dwarf_Addr low_pc, Dwarf_Addr high_pc, const std::string … in AddFunction() argument
[all …]
/arkcompiler/ets_runtime/ecmascript/regexp/tests/
Dregexp_test.cpp499 for (char cu = 0x41; cu <= 0x5a; ++cu) { in HWTEST_F_L0() local
500 if (!IsValidAlphaEscapeInAtom(cu)) { in HWTEST_F_L0()
502 source += CString(&cu, 1); in HWTEST_F_L0()
510 for (char cu = 0x61; cu <= 0x7a; ++cu) { in HWTEST_F_L0() local
511 if (!IsValidAlphaEscapeInAtom(cu)) { in HWTEST_F_L0()
513 source += CString(&cu, 1); in HWTEST_F_L0()
521 for (char cu = 0x41; cu <= 0x5a; ++cu) { in HWTEST_F_L0() local
523 if (!IsValidAlphaEscapeInAtom(cu)) { in HWTEST_F_L0()
524 source += CString(&cu, 1); in HWTEST_F_L0()
533 for (char cu = 0x61; cu <= 0x7a; ++cu) { in HWTEST_F_L0() local
[all …]
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2cu(c,u);return r&&((_=Dl(_)).pattern=t,_.objectFlags|=262144),_}(t,r,n)}function po(e,t){return fo… function in uc.Zc.tl.wl.Ll
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js24110 const cu = function(t, e) {
24295 s = cu(this, i);