| /arkcompiler/ets_frontend/merge_abc/protos/ |
| D | assemblyFunction.proto | 28 bytes wholeLine = 1; 29 bytes exceptionRecord = 2; 30 bytes tryBeginLabel = 3; 31 bytes tryEndLabel = 4; 32 bytes catchBeginLabel = 5; 33 bytes catchEndLabel = 6; 38 bytes key = 1; 42 bytes key = 1; 47 repeated bytes tryCatchOrder = 3; 57 bytes key = 1; [all …]
|
| D | assemblyProgram.proto | 26 bytes key = 1; 30 bytes key = 1; 34 bytes key = 1; 35 repeated bytes value = 2; 38 bytes key = 1; 46 repeated bytes strings = 6;
|
| D | assemblyDebug.proto | 22 bytes wholeLine = 3; 28 bytes name = 1; 29 bytes signature = 2; 30 bytes signatureType = 3;
|
| D | meta.proto | 23 repeated bytes set_attributes = 1; 25 bytes key = 1; 26 repeated bytes value = 2;
|
| D | annotation.proto | 39 bytes valueStr = 5; 57 bytes name = 1; 66 bytes recordName = 1;
|
| /arkcompiler/ets_runtime/ecmascript/extractortool/src/ |
| D | zip_file.h | 38 // local file header signature 4 bytes (0x04034b50) 39 // version needed to extract 2 bytes 40 // general purpose bit flag 2 bytes 41 // compression method 2 bytes 10 42 // last mod file time 2 bytes 43 // last mod file date 2 bytes 44 // crc-32 4 bytes 45 // compressed size 4 bytes 22 46 // uncompressed size 4 bytes 47 // file name length 2 bytes [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/ |
| D | literalstrname.cpp | 28 // Return the hex string of bytes. The result is the combination of prefix "_C_STR_" and hex string… 29 // The upper 4 bits and lower 4 bits of bytes[i] are transformed to hex form and restored separatel… 30 std::string LiteralStrName::GetHexStr(const uint8_t *bytes, uint32_t len) in GetHexStr() argument 32 if (bytes == nullptr) { in GetHexStr() 39 … kMplDigits[(bytes[i] & 0xf0) >> k16BitShift]; // get the hex value of upper 4 bits of bytes[i] in GetHexStr() 41 kMplDigits[bytes[i] & 0x0f]; // get the hex value of lower 4 bits of bytes[i] in GetHexStr() 63 std::string LiteralStrName::GetLiteralStrName(const uint8_t *bytes, uint32_t len) in GetLiteralStrName() argument 66 return GetHexStr(bytes, len); in GetLiteralStrName() 68 return ComputeMuid(bytes, len); in GetLiteralStrName() 71 std::string LiteralStrName::ComputeMuid(const uint8_t *bytes, uint32_t len) in ComputeMuid() argument [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | BigInt.sts | 29 private bytes: Vec; 62 this.bytes = new Vec(1); 63 this.bytes[0] = 0; 68 this.bytes = BigInt.fromLongHelper(d as long, 8) 73 this.bytes = BigInt.fromLongHelper(d as long, 16) 78 this.bytes = BigInt.fromLongHelper(d as long, 32) 83 this.bytes = BigInt.fromLongHelper(d, 64) 89 // i.e. like this: this.bytes = BigInt.fromLongHelper(d as long, 64) 91 this.bytes = bigint.bytes; 96 this.bytes = new Vec(); [all …]
|
| D | DataView.sts | 21 /** Count of bytes in a view */ 54 * @param byteLength lenth of bytes to take 72 * @param byteLength lenth of bytes to take 81 * Read bytes as they represent given type 90 * Sets bytes as they represent given type 98 * Read bytes as they represent given type 107 * Sets bytes as they represent given type 149 * Read bytes as they represent given type 158 * Sets bytes as they represent given type 166 * Read bytes as they represent given type [all …]
|
| /arkcompiler/runtime_core/static_core/libpandafile/ |
| D | file_writer.cpp | 44 bool FileWriter::WriteBytes(const std::vector<uint8_t> &bytes) in WriteBytes() argument 50 if (bytes.empty()) { in WriteBytes() 55 checksum_ = adler32(checksum_, bytes.data(), bytes.size()); in WriteBytes() 58 if (fwrite(bytes.data(), sizeof(decltype(bytes.back())), bytes.size(), file_) != bytes.size()) { in WriteBytes() 62 offset_ += bytes.size(); in WriteBytes()
|
| D | file_writer.h | 36 virtual bool WriteBytes(const std::vector<uint8_t> &bytes) = 0; 111 bool WriteBytes(const std::vector<uint8_t> &bytes) override in WriteBytes() argument 113 data_.insert(data_.end(), bytes.cbegin(), bytes.cend()); in WriteBytes() 146 bool WriteBytes(const std::vector<uint8_t> &bytes) override in WriteBytes() argument 148 if (bytes.empty()) { in WriteBytes() 152 auto subSp = sp_.SubSpan(offset_, bytes.size()); in WriteBytes() 153 if (memcpy_s(subSp.data(), subSp.size(), bytes.data(), bytes.size()) != 0) { in WriteBytes() 156 offset_ += bytes.size(); in WriteBytes() 200 bool WriteBytes(const std::vector<uint8_t> &bytes) override;
|
| /arkcompiler/ets_runtime/test/moduletest/string/ |
| D | string.js | 446 let srcutf8 = "1234567812345678123456781234567812345678123456781234567812345678"; // bytes == 64 447 let srcutf16 = "一二三四五六七八一二三四五六七八一二三四五六七八一二三四五六七八"; // bytes == 64 449 print(srcutf8.slice(0, 0)); // bytes == 0 450 print(srcutf8.slice(64, 64)); // bytes == 0 451 print(srcutf8.slice(0, 6)); // bytes < 8 452 print(srcutf8.slice(0, 8)); // bytes == 8 453 print(srcutf8.slice(0, 14)); // bytes < 16 454 print(srcutf8.slice(0, 16)); // bytes == 16 455 print(srcutf8.slice(0, 21)); // bytes > 16 && bytes % 16 != 0 456 print(srcutf8.slice(0, 24)); // bytes == 3 * 8 [all …]
|
| /arkcompiler/runtime_core/libpandafile/ |
| D | file_writer.cpp | 48 bool FileWriter::WriteBytes(const std::vector<uint8_t> &bytes) in WriteBytes() argument 50 if (UNLIKELY(bytes.empty())) { in WriteBytes() 55 checksum_ = adler32(checksum_, bytes.data(), bytes.size()); in WriteBytes() 58 buffer_.insert(buffer_.end(), bytes.begin(), bytes.end()); in WriteBytes()
|
| D | file_writer.h | 37 virtual bool WriteBytes(const std::vector<uint8_t> &bytes) = 0; 119 bool WriteBytes(const std::vector<uint8_t> &bytes) override in WriteBytes() argument 121 data_.insert(data_.end(), bytes.cbegin(), bytes.cend()); in WriteBytes() 154 bool WriteBytes(const std::vector<uint8_t> &bytes) override in WriteBytes() argument 156 if (bytes.empty()) { in WriteBytes() 160 auto sub_sp = sp_.SubSpan(offset_, bytes.size()); in WriteBytes() 161 if (memcpy_s(sub_sp.data(), sub_sp.size(), bytes.data(), bytes.size()) != 0) { in WriteBytes() 164 offset_ += bytes.size(); in WriteBytes() 211 bool WriteBytes(const std::vector<uint8_t> &bytes) override;
|
| /arkcompiler/runtime_core/static_core/runtime/fibers/arch/amd64/ |
| D | context_layout.h | 24 * GPRs: 9 x 8 = 72 bytes (RBX, RBP, 12, 13, 14, 15, RDI, RIP, RSP) 25 * Padding: 8 bytes 26 * FPENV: 28 bytes 27 * Padding: 4 bytes 28 * MXCSR: 4 bytes 29 * Padding: 12 bytes 30 * == TOTAL: 128 bytes ==
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/ |
| D | muid.h | 47 uint8_t bytes[kDigestHashLength]; member 71 uint8_t bytes[kMuidLength]; member 75 uint8_t bytes[kMuidLength]; 81 return (data.bytes[kMuidLength - 1] & ~kBitMask) == kSystemNamespace; in IsSystemNameSpace() 85 return (data.bytes[kMuidLength - 1] & ~kBitMask) == kApkNamespace; in IsApkNameSpace() 89 data.bytes[kMuidLength - 1] &= kBitMask; in SetSystemNameSpace() 90 data.bytes[kMuidLength - 1] |= kSystemNamespace; in SetSystemNameSpace() 94 data.bytes[kMuidLength - 1] &= kBitMask; in SetApkNameSpace() 95 data.bytes[kMuidLength - 1] |= kApkNamespace; in SetApkNameSpace() 140 DigestHash GetDigestHash(const unsigned char &bytes, uint32_t len);
|
| /arkcompiler/runtime_core/bytecode_optimizer/tests/benchmark/ |
| D | README.md | 53 Average sizes (in bytes): 65 Minimum sizes (in bytes): 77 Maximum sizes (in bytes): 161 Total code_item section size of baseline files: 9201 bytes 162 Total code_item section size of compared files: 9162 bytes 163 Difference: 39 bytes [0.42%] 174 Total code_item section size of baseline files: 8784 bytes 175 Total code_item section size of compared files: 8745 bytes 176 Difference: 39 bytes [0.44%]
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/benchmark/ |
| D | README.md | 53 Average sizes (in bytes): 65 Minimum sizes (in bytes): 77 Maximum sizes (in bytes): 161 Total code_item section size of baseline files: 9201 bytes 162 Total code_item section size of compared files: 9162 bytes 163 Difference: 39 bytes [0.42%] 174 Total code_item section size of baseline files: 8784 bytes 175 Total code_item section size of compared files: 8745 bytes 176 Difference: 39 bytes [0.44%]
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | heap_region_allocator.h | 39 void IncreaseAnnoMemoryUsage(size_t bytes) in IncreaseAnnoMemoryUsage() argument 41 size_t current = annoMemoryUsage_.fetch_add(bytes, std::memory_order_relaxed) + bytes; in IncreaseAnnoMemoryUsage() 47 void DecreaseAnnoMemoryUsage(size_t bytes) in DecreaseAnnoMemoryUsage() argument 49 annoMemoryUsage_.fetch_sub(bytes, std::memory_order_relaxed); in DecreaseAnnoMemoryUsage()
|
| D | machine_code.h | 71 // | MarkWord | 8 bytes 73 // | machine payload size | 4 bytes 75 // | FuncEntryDesc size (0) | 4 bytes 77 // | instructions size | 4 bytes 79 // | instructions addr | 8 bytes (if JitFort enabled) 81 // | nativePcOffsetTable size | 4 bytes 83 // | func addr | 8 bytes 97 // | MarkWord | 8 bytes 99 // | OSR offset | 4 bytes 101 // | OSR mask | 4 bytes [all …]
|
| D | space.h | 158 void IncreaseCommitted(size_t bytes) in IncreaseCommitted() argument 160 committedSize_ += bytes; in IncreaseCommitted() 163 void DecreaseCommitted(size_t bytes) in DecreaseCommitted() argument 165 committedSize_ -= bytes; in DecreaseCommitted() 168 void IncreaseObjectSize(size_t bytes) in IncreaseObjectSize() argument 170 objectSize_ += bytes; in IncreaseObjectSize() 173 void DecreaseObjectSize(size_t bytes) in DecreaseObjectSize() argument 175 objectSize_ -= bytes; in DecreaseObjectSize()
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | mem_pool.h | 73 * Allocates arena with size bytes 75 * @param size - size of buffer in arena in bytes 82 // because we set up arena at the first bytes of the pool 103 * Allocates pool with at least size bytes 104 * @param size - minimal size of a pool in bytes 108 …* If it is not defined, it means that allocator header will be located at the first bytes of the … 120 * @param size - size of the allocated pool in bytes
|
| /arkcompiler/runtime_core/static_core/runtime/fibers/arch/arm/ |
| D | context_layout.h | 24 * GPRs: 9 x 4 = 36 bytes (r0, r4-r11) 25 * Special registers: 4 x 4 = 16 bytes (r12-r15) 27 * == TOTAL: 52 bytes == 30 * FP status and control: 4 bytes (FPSCR) 31 * FP regs: 8 x 8 = 64 bytes (D8-D15) 32 * == TOTAL: 120 bytes ==
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | bytecode_profiling.md | 8 Currently, it has 2 bytes size, but we can reduce it for small methods, where size of a profiling v… 9 than 256 bytes. 15 Profiling vector is a plain data of bytes, which content is determined by the language of a given b…
|
| /arkcompiler/runtime_core/static_core/runtime/fibers/arch/aarch64/ |
| D | context_layout.h | 24 * GPRs: 14 x 8 = 112 bytes (r0, r18-r30) 25 * Special GPRs: 2 x 8 = 16 bytes (PC, SP) 26 * FP status: 4 bytes (FPSR, low 32 bits) 27 * FP control: 4 bytes (FPCR, low 32 bits) 28 * FP regs: 8 x 16 = 128 bytes (Q8-Q15) 29 * == TOTAL: 264 bytes ==
|