Home
last modified time | relevance | path

Searched refs:word (Results 1 – 25 of 52) sorted by relevance

123

/arkcompiler/runtime_core/static_core/irtoc/scripts/
Dtests.irt159 ares := Call(a0).Method("IncrementInt").word
160 ares := Add(ares, Call(a1).Method("IncrementInt").word).word
161 ares := Add(ares, Call(a2).Method("IncrementInt").word).word
162 ares := Add(ares, Call(a3).Method("IncrementInt").word).word
163 ares := Add(ares, Call(a4).Method("IncrementInt").word).word
164 ares := Add(ares, Call(a5).Method("IncrementInt").word).word
165 ares := Add(ares, Call(a6).Method("IncrementInt").word).word
166 ares := Add(ares, Call(a7).Method("IncrementInt").word).word
167 ares := Add(ares, Call(a8).Method("IncrementInt").word).word
168 ares := Add(ares, Call(a9).Method("IncrementInt").word).word
[all …]
Dallocation.irt61 tls_size := Sub(tls_end, start).word
93 elements_num := And(elements_num, "0x00000000ffffffff").word
97 size := Shl(elements_num, 1).word
99 size := Shl(elements_num, 2).word
101 size := Shl(elements_num, 3).word
106 size := Add(size, "DEFAULT_ALIGNMENT_IN_BYTES - 1 + CORETYPES_ARRAY_CLASS_SIZE").word
107 size := And(size, "(~(DEFAULT_ALIGNMENT_IN_BYTES - 1))").word
118 tls_size := Sub(tls_end, start).word
130 StoreI(start, elements_num).Imm(Constants::ARRAY_LENGTH_OFFSET).word
Dgc.irt54 min_addr := LoadI(%tr).Imm(Constants::TLS_CARD_TABLE_MIN_ADDR_OFFSET).word
57 mem_word := Cast(mem).SrcType(Constants::REF_UINT).word
58 card_offset := ShrI(Sub(mem_word, min_addr).word).Imm(Constants::CARD_TABLE_CARD_BITS).word
161 mem_word := Cast(mem).SrcType(Constants::REF_UINT).word
162 card_offset := ShrI(Sub(mem_word, min_addr).word).Imm(Constants::CARD_TABLE_CARD_BITS).word
174 tail_index := LoadI(buffer).Imm(Constants::G1_LOCK_BUFFER_TAIL_OFFSET).word
175 tail_offset := ShlI(tail_index).Imm(Constants::POINTER_LOG_SIZE).word
176 …next_tail_index := AndI(AddI(tail_index).Imm(1).word).Imm(Constants::G1_LOCK_BUFFER_SIZE_MASK).word
179 head_index := LoadI(buffer).Imm(Constants::G1_LOCK_BUFFER_HEAD_OFFSET).Volatile.word
185 StoreI(buffer, next_tail_index).Imm(Constants::G1_LOCK_BUFFER_TAIL_OFFSET).Volatile.word
[all …]
Dcheck_cast.irt36 size := LoadI(klass).Imm(Constants::CLASS_ITABLE_ENTRIES_SIZE_OFFSET).word
41 i_phi := Phi(i0, i1).word
50 i1 := Add(i_phi, 1).word
Dinterpreter.irt246 Sub(%pc, instructions_offset).word
256 …ffset := AddI(Mul(vreg_idx, Constants::VREGISTER_SIZE).word).Imm(Constants::VREGISTERS_OFFSET).word
275 Mul(u32toword(vreg_num), Constants::VREGISTER_SIZE).word
404 offset := Mul(u8toword(opc), "WordSize()").word
457 …I(ShrI(Bitcast(%pc).SrcType("DataType::POINTER").word).Imm(2).word).Imm("InterpreterCache::N - 1")…
458 Add(cache, Mul(idx, "sizeof(InterpreterCache::Entry)").word).ptr
525 LiveOut(moffset).DstReg(regmap[:moffset]).word
543 LiveOut(moffset).DstReg(regmap[:moffset]).word
626 tmp_moffset := Phi(%moffset, fake_moffset, %moffset).word
636 moffset_sf := Phi(%moffset, tmp_moffset).word
[all …]
Darray_helpers.irt59 src_right := Add(src_data, Cast(len_bytes).word).ptr
60 dst_right := Add(dst_data, Cast(len_bytes).word).ptr
93 src_data := Add(src_data, Cast(src_from_bytes).word).ptr
96 dst_data := Add(dst_data, Cast(dst_from_bytes).word).ptr
Dstring_helpers.irt200 …ta_size).Imm(Constants::STRING_CLASS_SIZE_WITH_ALIGNMENT).word).Imm(Constants::ALIGNMENT_MASK).word
208 If(Sub(_end, _start).word, _size).B.Unlikely.b {
235 elements_num := And(char_count, "0x00000000ffffffff").word
237 _size := Shl(elements_num, 1).word
239 …dI(_size).Imm(Constants::ARRAY_CLASS_SIZE_WITH_ALIGNMENT).word).Imm(Constants::ALIGNMENT_MASK).word
247 If(Sub(_end, _start).word, _size).B.Unlikely.b {
259 StoreI(_start, elements_num).Imm(Constants::ARRAY_LENGTH_OFFSET).word
289 new_str := allocate_string_tlab(klass, Cast(data_size).word)
596 data_size1 := Cast(char_count).word
598 data_size2 := Cast(ShlI(char_count).Imm(1).u32).word
[all …]
/arkcompiler/ets_runtime/test/moduletest/arrayFilterCase/
DarrayFilterCase.js18 const result = words.filter((word) => word.length > 6);
23 const modifiedWords = wordss.filter((word, index, arr) => {
25 return word.length < 6;
31 const appendedWords = words1.filter((word, index, arr) => {
33 return word.length < 6;
37 const deleteWords = words2.filter((word, index, arr) => {
39 return word.length < 6;
/arkcompiler/ets_runtime/ecmascript/mem/
Dgc_bitset.h127 uint32_t word = words[i]; in IterateMarkedBits() local
128 while (word != 0) { in IterateMarkedBits()
129 index = static_cast<uint32_t>(__builtin_ctz(word)); in IterateMarkedBits()
134 word &= ~(1u << index); in IterateMarkedBits()
147 uint32_t word = words[i]; in IterateMarkedBitsConst() local
148 while (word != 0) { in IterateMarkedBitsConst()
149 index = static_cast<uint32_t>(__builtin_ctz(word)); in IterateMarkedBitsConst()
152 word &= ~(1u << index); in IterateMarkedBitsConst()
204 … volatile auto word = reinterpret_cast<volatile std::atomic<GCBitsetWord> *>(&Words()[index]);
205 auto oldValue = word->load(std::memory_order_relaxed);
[all …]
/arkcompiler/ets_runtime/test/moduletest/arrayfind/
Darrayfind.js67 const deleteWords = words.find((word, index, arr) => {
69 word="asd"
70 return word == "asd"
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/13.modules_and_compilation_units/03.import_declarations/
Dimport_as.ets17 {% for word in words %}
21 params: imported logic = {{class}}, identifier = {{word}}
24 import { {{class}} as {{word}} } from "std/math";
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/13.modules_and_compilation_units/03.import_declarations/02.bind_all_with_qualified_access/
Dimport_all_as.ets17 {% for word in words %}
21 params: imported logic = {{class}}, identifier = {{word}}
24 import * as {{word}} from "std/math";
/arkcompiler/runtime_core/templates/
Dmessages.rb59 word = scanner.scan(/[A-Z0-9][a-z0-9]*/)
60 if word.empty?
63 words << word
/arkcompiler/runtime_core/static_core/templates/
Dmessages.rb59 word = scanner.scan(/[A-Z0-9][a-z0-9]*/)
60 if word.empty?
63 words << word
/arkcompiler/ets_runtime/test/moduletest/arrayFindIndexCase/
DfindIndex.js50 const deleteWords = words.findIndex((word, index, arr) => {
52 return word == "limits"
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Ddatainfo.h184 uint64 word = info[i]; in GetBitsOfInfo() local
188 while (word) { in GetBitsOfInfo()
189 int32 index = __builtin_ffsll(static_cast<int64>(word)); in GetBitsOfInfo()
209 word = word >> static_cast<uint64>(index); in GetBitsOfInfo()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/algorithms/
DStringsTest.ets52 let word = "a" + random_string(60) + "z";
53 failures += test(!is_palindrom(word), word + " is not a palindrom");
/arkcompiler/runtime_core/static_core/runtime/include/
Dobject_header.h158 MarkWord word = AtomicGetMark(); in SetMarkedForGC() local
160 res = AtomicSetMark<false>(word, word.SetMarkedForGC()); in SetMarkedForGC()
171 MarkWord word = AtomicGetMark(); in SetUnMarkedForGC() local
173 res = AtomicSetMark<false>(word, word.SetUnMarkedForGC()); in SetUnMarkedForGC()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dbitmap.cpp93 BitmapWordType word = wordAddr->load(std::memory_order_acquire); in AtomicTestBit() local
94 return (word & mask) != 0; in AtomicTestBit()
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-toplevel-await2-expected.txt1 SyntaxError: Unexpected reserved word [test-toplevel-await2.ts:19:10]
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dfunction-declaration-arguments-expected.txt1 SyntaxError: Unexpected reserved word in strict mode. [function-declaration-arguments.js:18:10]
Dfunction-expression-arguments-expected.txt1 SyntaxError: Unexpected reserved word in strict mode. [function-expression-arguments.js:18:20]
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/compiler/
Dtest-ts-index-signature-2.ts25 print(foo.word)
/arkcompiler/runtime_core/libpandabase/utils/
Dmurmur3_hash.h73 static uint32_t Rotl(uint32_t word, uint8_t shift) in Rotl() argument
75 return (word << shift) | (word >> (MAX_BITS - shift)); in Rotl()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dmurmur3_hash.h72 static uint32_t Rotl(uint32_t word, uint8_t shift) in Rotl() argument
74 return (word << shift) | (word >> (MAX_BITS - shift)); in Rotl()

123