Home
last modified time | relevance | path

Searched full:hex (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/04.casting_contexts_and_conversions/04.casting_conversions_from_type_parameter/
Dobjectto_number_5.ets17 desc: Convert to number-hex type.
21 let hex: number = 0xA; // 10
22 const obj1: object = hex;
23 assertTrue(obj1 == hex);
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Dgetter_setter_access_modifiers_2.ets29 class Hex extends Core {
42 /* @@? 33:22 Error TypeError: size(s: int): void in Hex cannot override size(s: int): void in Core …
43 /* @@? 33:22 Error TypeError: Method size(s: int): void in Hex not overriding any method */
44 /* @@? 37:22 Error TypeError: size(): int in Hex cannot override size(): int in Core because overri…
45 /* @@? 37:22 Error TypeError: Method size(): int in Hex not overriding any method */
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/
Dbaseline_compiler.cpp119 …LOG_INST() << " Created Code Signer for baseline compilation: " << std::hex << (uintptr_t)jitSign… in SetupCodeSigner()
140 LOG_INST() << " ID_CallArg1AndCheckToBaseline Address: " << std::hex << bcAddr; in Compile()
280 …LOG_INST() << " ldundefined " << std::hex << Immediate(JSTaggedValue::VALUE_UNDEFINED).GetValue… in BYTECODE_BASELINE_HANDLER_IMPLEMENT()
288 LOG_INST() << " ldnan " << std::hex << base::NAN_VALUE; in BYTECODE_BASELINE_HANDLER_IMPLEMENT()
297 LOG_INST() << " ldinfinity " << std::hex << base::POSITIVE_INFINITY; in BYTECODE_BASELINE_HANDLER_IMPLEMENT()
306 LOG_INST() << " ldnull " << std::hex << Immediate(JSTaggedValue::VALUE_NULL).GetValue(); in BYTECODE_BASELINE_HANDLER_IMPLEMENT()
314 LOG_INST() << " ldtrue " << std::hex << Immediate(JSTaggedValue::VALUE_TRUE).GetValue(); in BYTECODE_BASELINE_HANDLER_IMPLEMENT()
322 LOG_INST() << " ldfalse " << std::hex << Immediate(JSTaggedValue::VALUE_FALSE).GetValue(); in BYTECODE_BASELINE_HANDLER_IMPLEMENT()
330 LOG_INST() << " ldhole " << std::hex << Immediate(JSTaggedValue::VALUE_HOLE).GetValue(); in BYTECODE_BASELINE_HANDLER_IMPLEMENT()
341 LOG_INST() << " BaselineNewlexenvImm8 Address: " << std::hex << builtinAddress; in BYTECODE_BASELINE_HANDLER_IMPLEMENT()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/buffer/
DBufferImpl.ets46 suite.addTest("Test buffer.from with invalid hex chars", testFromStringWithInvalidHexChars)
66 suite.addTest("Test fill hex", testFillHex);
71 suite.addTest("Test includes hex", testIncludesHex);
72 suite.addTest("Test from hex", testFromHex);
263 const buf = buffer.from("ffffhj", "hex")
264 const buf2 = buffer.from("hjffff", "hex")
266 arktest.assertEQ(buf.toString("hex"), "ffff")
268 arktest.assertEQ(buf2.toString("hex"), "")
301 arktest.assertEQ(asciiBuffer.toString('hex'), '48656c6c6f2c20576f726c6421')
330 arktest.assertEQ(numbersBuffer.toString('hex'), '3132333435')
[all …]
DBufferEncoding.ets20 'base64' |'base64url' | 'latin1' | 'binary' | 'hex';
26 …ii', 'utf8', 'utf-8', 'utf16le', 'ucs2', 'ucs-2', 'base64', 'base64url', 'latin1', 'binary', 'hex']
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/
Dshared_reference_storage_verifier.cpp95 …_VERIFIER << "Shared reference corruption found! ETS object address does not alive at " << std::hex in CheckJEtsObjectAlive()
106 …F_VERIFIER << "Shared Reference corruption found! JS object address does not alive at " << std::hex in CheckJsObjectAlive()
133 …F_VERIFIER << "Shared Reference corruption found! JS object address cannot reindex at " << std::hex in CheckJsObjectReindex()
145 …_VERIFIER << "Shared Reference corruption found! Ets object address cannot reindex at " << std::hex in CheckEtsObjectReindex()
163 …RIFIER << "Shared Reference corruption found! Js object address is invalid at " << std::hex << item in CheckJsObjectAddress()
175 …IFIER << "Shared Reference corruption found! Ets object address is invalid at " << std::hex << item in CheckEtsObjectAddress()
186 …IFIER << "Shared Reference corruption found! Js Type is not JSType::JS_XREF_OBJECT at " << std::hex in CheckJsObjectType()
191 …IFIER << "Shared Reference corruption found! Js Type is not JSType::JS_XREF_OBJECT at " << std::hex in CheckJsObjectType()
210 …ERIFIER << "Shared Reference corruption found! Xgc finished but not marked at " << std::hex << item in IsAllItemsMarked()
/arkcompiler/ets_runtime/test/moduletest/container/
Dcontainer_buffer.js19 'utf16le', 'utf-16le', 'base64', 'base64url', 'hex'];
40 let str = buf2.toString("hex");
45 str = buf3.toString("hex");
50 str = buf4.toString("hex");
55 str = buf5.toString("hex");
60 str = buf6.toString("hex");
65 str = buf7.toString("hex");
511 let res = buf.toString('hex');
729 let str = buf1.toString("hex");
916 let str = buf.toString("hex");
[all …]
/arkcompiler/ets_runtime/test/aottest/js_string_add/
Djs_string_add.js46 var hex = "0123456789ABCDEF"; variable
47 print("%" + hex[(0xF0 >> 4) & 0xf] + hex[0xF0 & 0xf]);
/arkcompiler/runtime_core/static_core/compiler/code_info/
Dcode_info.cpp35 …stream << "Stackmap #" << stackMap.GetRow() << ": npc=0x" << std::hex << stackMap.GetNativePcUnpac… in Dump()
36 << ", bpc=0x" << std::hex << stackMap.GetBytecodePc(); in Dump()
44 stream << "r:0x" << std::hex << GetRootsRegMask(stackMap); in Dump()
61 stream << "InlineInfo #" << depth << ": bpc=0x" << std::hex << ii.GetBytecodePc() << std::dec in DumpInlineInfo()
/arkcompiler/runtime_core/compiler/tests/
Dasm_caller.cpp74 std::cerr << "ui8 result:" << std::hex << static_cast<uint64_t>(test_##opc##_8(ui8)) \ in EMITED_TWO_PARAM_INST_LIST()
76 std::cerr << "ui16 result:" << std::hex << static_cast<uint64_t>(test_##opc##_16(ui16)) \ in EMITED_TWO_PARAM_INST_LIST()
78 std::cerr << "ui32 result:" << std::hex << static_cast<uint64_t>(test_##opc##_32(ui32)) \ in EMITED_TWO_PARAM_INST_LIST()
80 std::cerr << "ui64 result:" << std::hex << static_cast<uint64_t>(test_##opc##_64(ui64)) \ in EMITED_TWO_PARAM_INST_LIST()
95 …std::cerr << "ui8 result:" << std::hex << static_cast<uint64_t>(test_##opc##_8(ui8, ui8_2)) … in EMITED_TWO_PARAM_INST_LIST()
97 …std::cerr << "ui16 result:" << std::hex << static_cast<uint64_t>(test_##opc##_16(ui16, ui16_2)) … in EMITED_TWO_PARAM_INST_LIST()
99 …std::cerr << "ui32 result:" << std::hex << static_cast<uint64_t>(test_##opc##_32(ui32, ui32_2)) … in EMITED_TWO_PARAM_INST_LIST()
101 …std::cerr << "ui64 result:" << std::hex << static_cast<uint64_t>(test_##opc##_64(ui64, ui64_2)) … in EMITED_TWO_PARAM_INST_LIST()
/arkcompiler/runtime_core/static_core/runtime/mem/
Dheap_verifier.cpp56 LOG_HEAP_VERIFIER << "Heap corruption found! Heap object " << std::hex << objectHeader in operator ()()
60 LOG_HEAP_VERIFIER << "Heap corruption found! Heap object " << std::hex << objectHeader in operator ()()
79 …LOG_HEAP_VERIFIER << "Heap corruption found! Root references a dead object at " << std::hex << ref… in operator ()()
82 …ERIFIER << "Heap corruption found! Root references a forwarded object at " << std::hex << referent; in operator ()()
114 LOG_HEAP_VERIFIER << "Heap corruption found! Class address for root " << std::hex in VerifyRoot()
145 LOG_HEAP_VERIFIER << "Heap object " << std::hex << objectCache.heapObject << " (" in CheckHeap()
169 … LOG_HEAP_VERIFIER << "Heap object " << std::hex << objectHeader << " is forwarded object"; in VerifyAll()
174 LOG_HEAP_VERIFIER << "Heap object " << std::hex << objectHeader in VerifyAll()
200 LOG_HEAP_VERIFIER << "Class address for root " << std::hex << rootObjHeader in VerifyAll()
205 … LOG_HEAP_VERIFIER << "Root references a dead object at " << std::hex << rootObjHeader; in VerifyAll()
[all …]
Dhumongous_obj_allocator-inl.h90 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Allocated memory at addr " << std::hex << mem; in Alloc()
112 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Try to free memory at addr " << std::hex << mem; in FreeUnsafe()
122 …LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "It is a MemoryPoolHeader with addr " << std::hex << memHead… in FreeUnsafe()
128 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Freed memory at addr " << std::hex << mem; in FreeUnsafe()
156 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << " check pool at addr " << std::hex << currentPool; in IterateOverObjects()
169 …ONGOUS_OBJ_ALLOCATOR(DEBUG) << "Add memory pool to HumongousObjAllocator from " << std::hex << mem in AddMemoryPool()
241 …_OBJ_ALLOCATOR(DEBUG) << "HumongousObjAllocator::IterateOverObjectsInRange for range [" << std::hex in IterateOverObjectsInRange()
276 … << "HumongousObjAllocator: It is a MemoryPoolHeader with addr " << std::hex << discoveredPool in IterateOverObjectsInRange()
351 …LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Pop a pool with addr " << std::hex << pool << " from the po… in Pop()
355 …GOUS_OBJ_ALLOCATOR(DEBUG) << "It was a pointer to list head. Change head to " << std::hex << head_; in Pop()
[all …]
Dtlab.cpp31 …LOG_TLAB_ALLOCATOR(DEBUG) << "Construct a new TLAB at addr " << std::hex << address << " with size… in TLAB()
42 …LOG_TLAB_ALLOCATOR(DEBUG) << "Fill a TLAB with buffer at addr " << std::hex << address << " with s… in Fill()
48 …LOG_TLAB_ALLOCATOR(DEBUG) << "Destroy a TLAB at addr " << std::hex << memoryStartAddr_ << " with s… in ~TLAB()
54 LOG_TLAB_ALLOCATOR(DEBUG) << "Destroy the TLAB at addr " << std::hex << this; in Destroy()
Drunslots.cpp49 LOG_RUNSLOTS(DEBUG) << "- Memory started from = 0x" << std::hex << ToUintPtr(this); in Initialize()
52 LOG_RUNSLOTS(DEBUG) << "- First free slot = " << std::hex << static_cast<void *>(nextFree_); in Initialize()
53 LOG_RUNSLOTS(DEBUG) << "- First uninitialized slot offset = " << std::hex in Initialize()
55 …LOG_RUNSLOTS(DEBUG) << "- Pool pointer = " << std::hex << static_cast<void *>(ToVoidPtr(poolPointe… in Initialize()
81 … LOG_RUNSLOTS(DEBUG) << "Successfully get free slot " << std::hex << static_cast<void *>(freeSlot) in PopFreeSlot()
91 …LOG_RUNSLOTS(DEBUG) << "Free slot in RunSlots at addr " << std::hex << static_cast<void *>(memSlot… in PushFreeSlot()
Drunslots_allocator-inl.h111 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Used runslots with addr " << std::hex << runslots; in Alloc()
116 … LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Allocate a memory at address " << std::hex << allocatedMem; in Alloc()
213 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Try to free object at address " << std::hex << mem; in FreeUnsafe()
225 …LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "It is RunSlots with addr " << std::hex << static_cast<void *>(ru… in FreeUnsafe()
243 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Freed object at address " << std::hex << mem; in FreeUnsafe()
251 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << " iterate over " << std::hex << objectHeader; in Collect()
291 << std::hex << runslots; in CreateNewRunSlotsFromMemory()
302 …OCATOR(DEBUG) << "Get new memory pool with size " << size << " bytes, at addr " << std::hex << mem; in AddMemoryPool()
349 …LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "IterateOverObjectsInRange for range [" << std::hex << leftBorder… in IterateOverObjectsInRange()
367 …LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "IterateOverObjectsInRange, It is RunSlots with addr " << std::hex in IterateOverObjectsInRange()
[all …]
/arkcompiler/runtime_core/static_core/compiler/tests/
Dasm_caller.cpp95 std::cerr << "ui8 result:" << std::hex << static_cast<uint64_t>(test_##opc##_8(ui8)) \ in TEST_F()
97 std::cerr << "ui16 result:" << std::hex << static_cast<uint64_t>(test_##opc##_16(ui16)) \ in TEST_F()
99 std::cerr << "ui32 result:" << std::hex << static_cast<uint64_t>(test_##opc##_32(ui32)) \ in TEST_F()
101 std::cerr << "ui64 result:" << std::hex << static_cast<uint64_t>(test_##opc##_64(ui64)) \ in TEST_F()
121 …std::cerr << "ui8 result:" << std::hex << static_cast<uint64_t>(test_##opc##_8(ui8, ui8_2)) … in TEST_F()
123 …std::cerr << "ui16 result:" << std::hex << static_cast<uint64_t>(test_##opc##_16(ui16, ui16_2)) … in TEST_F()
125 …std::cerr << "ui32 result:" << std::hex << static_cast<uint64_t>(test_##opc##_32(ui32, ui32_2)) … in TEST_F()
127 …std::cerr << "ui64 result:" << std::hex << static_cast<uint64_t>(test_##opc##_64(ui64, ui64_2)) … in TEST_F()
/arkcompiler/runtime_core/taihe/compiler/taihe/codegen/abi/
Dmangle.py107 """Decodes a single ULEB8 value from a hex string.
110 encoded: Hex string containing ULEB8 encoded values
111 start_pos: Starting position in the hex string
117 ValueError: If invalid hex characters are encountered
127 raise ValueError(f"Invalid hex character at position {pos}") from None
177 # Convert to hex string
/arkcompiler/ets_runtime/ecmascript/stackmap/llvm/
Dllvm_stackmap_type.h139 LOG_COMPILER(DEBUG) << " functionAddress:0x" << std::hex << functionAddress; in Print()
140 LOG_COMPILER(DEBUG) << " stackSize:0x" << std::hex << stackSize; in Print()
141 LOG_COMPILER(DEBUG) << " recordCount:" << std::hex << recordCount; in Print()
150 LOG_COMPILER(DEBUG) << " LargeConstant:0x" << std::hex << largeConstant; in Print()
161 LOG_COMPILER(DEBUG) << " PatchPointID:0x" << std::hex << patchPointID; in Print()
162 … LOG_COMPILER(DEBUG) << " instructionOffset:0x" << std::hex << instructionOffset; in Print()
163 LOG_COMPILER(DEBUG) << " Reserved:0x" << std::hex << reserved; in Print()
164 LOG_COMPILER(DEBUG) << " NumLocations:0x" << std::hex << numLocations; in Print()
/arkcompiler/runtime_core/static_core/verification/
Dmessages.yaml85 …${std::hex << std::setw(sizeof(uint32_t) * 2) << std::setfill('0') << address << std::dec << std::…
93 ${std::hex << std::setw(sizeof(uint32_t) * 2) << std::setfill('0')}
137 …ABSINT: ${std::hex << std::setw(sizeof(uint32_t) * 2) << std::setfill('0') << instruction.GetOffse…
149 message: Cannot resolve ${#kind} with id=${std::hex << id << std::dec}.
478 Class id: ${std::hex << class_id << std::dec}.
483 message: Class is not found in cache for offset 0x${std::hex << offset}
489 Cannot resolve class id 0x${std::hex << class_id}
494 message: Method is not found in cache for offset 0x${std::hex << offset}
500 Cannot resolve method id 0x${std::hex << method_id}
505 message: Field is not found in cache for offset 0x${std::hex << offset}
[all …]
/arkcompiler/runtime_core/static_core/runtime/mem/gc/heap-space-misc/
Dcrossing_map.cpp33 LOG_CROSSING_MAP(DEBUG) << "Create CrossingMap with start_addr 0x" << std::hex << startAddr_; in CrossingMap()
69 …LOG_CROSSING_MAP(DEBUG) << "Try to AddObject with addr " << std::hex << objAddr << " and size " <<… in AddObject()
148 …LOG_CROSSING_MAP(DEBUG) << "Try to RemoveObject with addr " << std::hex << objAddr << " and size "… in RemoveObject()
182 … << std::hex << nextObjAddr << " as INITIALIZED with offset " << std::dec in RemoveObject()
238 …LOG_CROSSING_MAP(DEBUG) << "FindFirstObject for interval [" << std::hex << startAddr << ", " << en… in FindFirstObject()
245 …LOG_CROSSING_MAP(DEBUG) << "Found first object in this interval with addr " << std::hex << objOffs… in FindFirstObject()
255 …LOG_CROSSING_MAP(DEBUG) << "InitializeCrossingMapForMemory for addr " << std::hex << startAddr << … in InitializeCrossingMapForMemory()
272 …LOG_CROSSING_MAP(DEBUG) << "RemoveCrossingMapForMemory for addr " << std::hex << startAddr << " wi… in RemoveCrossingMapForMemory()
292 LOG_CROSSING_MAP(DEBUG) << "STATE_INITIALIZED, obj addr = " << std::hex in FindObjInMap()
305 …G_CROSSING_MAP(DEBUG) << "Found object in map " << currentMap << " with object addr = " << std::hex in FindObjInMap()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/04.widening_union_conversions/
Dnouniontounion4.ets21 let hex: number = 0xA;
23 let unionValue: StringOrNumber = hex;
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/
Dasm_printer.cpp38 *str_ << "blx " << std::hex << entryPoint << "\n"; in MakeCall()
60 *str_ << "bl " << std::hex << entryPoint << "\n"; in MakeCall()
82 *str_ << "callq " << std::hex << entryPoint << "@plt\n"; in MakeCall()
/arkcompiler/runtime_core/libpandabase/mem/
Dmalloc_mem_pool-inl.h58 … << " at addr = " << std::hex << buff << " for " << SpaceTypeToString(space_type); in AllocArenaImpl()
66 << " at addr = " << std::hex << arena; in FreeArenaImpl()
80 …MEM_POOL(DEBUG) << "Allocated new pool with size " << std::dec << size << " at addr = " << std::hex in AllocPoolImpl()
88 …OL(DEBUG) << "Try to free pool with size " << std::dec << size << " at addr = " << std::hex << mem; in FreePoolImpl()
/arkcompiler/runtime_core/static_core/libpandabase/mem/
Dmalloc_mem_pool-inl.h60 … << " at addr = " << std::hex << buff << " for " << SpaceTypeToString(spaceType); in AllocArenaImpl()
71 << " at addr = " << std::hex << arena; in FreeArenaImpl()
86 …MEM_POOL(DEBUG) << "Allocated new pool with size " << std::dec << size << " at addr = " << std::hex in AllocPoolImpl()
98 …OL(DEBUG) << "Try to free pool with size " << std::dec << size << " at addr = " << std::hex << mem; in FreePoolImpl()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/
Dpgo_file_info.cpp88 … LOG_ECMA(ERROR) << "Verify ap file's file size failed. size: " << std::hex << bufferSize << " vs " in VerifyFileSize()
104 …LOG_ECMA(ERROR) << "Verify ap file's consistency failed. checksum: " << std::hex << checksum << " … in VerifyConsistency()
105 << std::hex << GetChecksum(); in VerifyConsistency()
133 … "FileSize: " << GetFileSize() << ", HeaderSize: " << GetHeaderSize() << ", Checksum: " << std::hex in ProcessToText()

12345678910>>...12