| /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/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/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | BigInt.sts | 44 private bytes: Vec; 77 this.bytes = new Vec(1); 78 this.bytes[0] = 0; 83 this.bytes = BigInt.fromLongHelper(d as long, 8) 88 this.bytes = BigInt.fromLongHelper(d as long, 16) 93 this.bytes = BigInt.fromLongHelper(d as long, 32) 98 this.bytes = BigInt.fromLongHelper(d, 64) 104 // i.e. like this: this.bytes = BigInt.fromLongHelper(d as long, 64) 106 this.bytes = bigint.bytes; 111 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/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/static_core/plugins/ets/tests/debugger/src/overwrites/ |
| D | wsproto_handshake.py | 35 item: Union[Tuple[bytes, bytes], Tuple[str, str]], argument 36 ) -> Union[Tuple[bytes, bytes], Tuple[str, str]]: 42 … headers: Union[List[Tuple[bytes, bytes]], List[Tuple[str, str]]] = kwargs.get("headers", None)
|
| /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/mem/ |
| D | machine_code.h | 78 // | MarkWord | 8 bytes 80 // | machine payload size | 4 bytes 82 // | instructions size | 4 bytes 84 // | instructions addr | 8 bytes (if JitFort enabled) 86 // | nativePcOffsetTable size | 4 bytes 88 // | func addr | 8 bytes 90 // | fp deltaprevframe sp | 8 bytes 92 // | func size | 4 bytes 94 // | callee register num | 4 bytes 96 // | | 64 * 4 bytes (AMD64 or ARM64) [all …]
|
| 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 | space.h | 155 void IncreaseCommitted(size_t bytes) in IncreaseCommitted() argument 157 committedSize_ += bytes; in IncreaseCommitted() 160 void DecreaseCommitted(size_t bytes) in DecreaseCommitted() argument 162 committedSize_ -= bytes; in DecreaseCommitted() 165 void IncreaseObjectSize(size_t bytes) in IncreaseObjectSize() argument 167 objectSize_ += bytes; in IncreaseObjectSize() 170 void DecreaseObjectSize(size_t bytes) in DecreaseObjectSize() argument 172 objectSize_ -= bytes; in DecreaseObjectSize()
|
| /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/runtime_core/static_core/plugins/ets/playground/backend/tests/fixtures/ |
| D | mock_subprocess.py | 48 stdout: bytes = b"" 49 stderr: bytes = b"" 57 def create_fake_process(command: FakeCommand, program: str, *args: str | bytes | PathLike): 74 … async def mock_subproc(program: str | bytes | PathLike, *args: str | bytes | PathLike, **kwargs):
|
| /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 ==
|