Home
last modified time | relevance | path

Searched full:bytes (Results 1 – 25 of 169) sorted by relevance

1234567

/arkcompiler/ets_frontend/merge_abc/protos/
DassemblyFunction.proto28 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 …]
DassemblyProgram.proto26 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;
DassemblyDebug.proto22 bytes wholeLine = 3;
28 bytes name = 1;
29 bytes signature = 2;
30 bytes signatureType = 3;
Dmeta.proto23 repeated bytes set_attributes = 1;
25 bytes key = 1;
26 repeated bytes value = 2;
Dannotation.proto39 bytes valueStr = 5;
57 bytes name = 1;
66 bytes recordName = 1;
DassemblyType.proto20 bytes componentName = 1;
22 bytes name = 3;
DassemblyField.proto24 bytes name = 2;
27 bytes wholeLine = 5;
DassemblyRecord.proto25 bytes name = 1;
33 bytes sourceFile = 9;
/arkcompiler/runtime_core/libpandafile/
Dfile_writer.h36 virtual bool WriteBytes(const std::vector<uint8_t> &bytes) = 0;
118 bool WriteBytes(const std::vector<uint8_t> &bytes) override in WriteBytes() argument
120 data_.insert(data_.end(), bytes.cbegin(), bytes.cend()); in WriteBytes()
153 bool WriteBytes(const std::vector<uint8_t> &bytes) override in WriteBytes() argument
155 if (bytes.empty()) { in WriteBytes()
159 auto sub_sp = sp_.SubSpan(offset_, bytes.size()); in WriteBytes()
160 if (memcpy_s(sub_sp.data(), sub_sp.size(), bytes.data(), bytes.size()) != 0) { in WriteBytes()
163 offset_ += bytes.size(); in WriteBytes()
210 bool WriteBytes(const std::vector<uint8_t> &bytes) override;
Dfile_writer.cpp48 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()
/arkcompiler/runtime_core/bytecode_optimizer/tests/benchmark/
DREADME.md53 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%]
Dcompare.py107 \n Total code_item section size of baseline files: {:d} bytes\
108 \n Total code_item section size of compared files: {:d} bytes\
109 \n Difference: {:d} bytes [{:3.2f}%]\
122 \n Total code_item section size of baseline files: {:d} bytes\
123 \n Total code_item section size of compared files: {:d} bytes\
124 \n Difference: {:d} bytes [{:3.2f}%]\
Drun_benchmark.py96 print("\nAverage sizes (in bytes):")
98 print("\nMinimum sizes (in bytes):")
100 print("\nMaximum sizes (in bytes):")
103 return {"Average sizes (in bytes)": avgs,
104 "Minimum sizes (in bytes)": mins,
105 "Maximum sizes (in bytes)": maxs}
/arkcompiler/ets_runtime/ecmascript/mem/
Dspace.h110 void IncreaseCommitted(size_t bytes) in IncreaseCommitted() argument
112 committedSize_ += bytes; in IncreaseCommitted()
115 void DecreaseCommitted(size_t bytes) in DecreaseCommitted() argument
117 committedSize_ -= bytes; in DecreaseCommitted()
120 void IncreaseObjectSize(size_t bytes) in IncreaseObjectSize() argument
122 objectSize_ += bytes; in IncreaseObjectSize()
125 void DecreaseObjectSize(size_t bytes) in DecreaseObjectSize() argument
127 objectSize_ -= bytes; in DecreaseObjectSize()
Dheap_region_allocator.h36 void IncreaseAnnoMemoryUsage(size_t bytes) in IncreaseAnnoMemoryUsage() argument
38 size_t current = annoMemoryUsage_.fetch_add(bytes, std::memory_order_relaxed) + bytes; in IncreaseAnnoMemoryUsage()
44 void DecreaseAnnoMemoryUsage(size_t bytes) in DecreaseAnnoMemoryUsage() argument
46 annoMemoryUsage_.fetch_sub(bytes, std::memory_order_relaxed); in DecreaseAnnoMemoryUsage()
Dnative_area_allocator.h82 void IncreaseNativeMemoryUsage(size_t bytes) in IncreaseNativeMemoryUsage() argument
84 size_t current = nativeMemoryUsage_.fetch_add(bytes, std::memory_order_relaxed) + bytes; in IncreaseNativeMemoryUsage()
90 void DecreaseNativeMemoryUsage(size_t bytes) in DecreaseNativeMemoryUsage() argument
92 nativeMemoryUsage_.fetch_sub(bytes, std::memory_order_relaxed); in DecreaseNativeMemoryUsage()
/arkcompiler/runtime_core/libpandabase/mem/
Dmem_pool.h73 * 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/runtime/mem/
Dheap_space.cpp47 inline void HeapSpace::ObjectMemorySpace::IncreaseBy(uint64_t bytes) in IncreaseBy() argument
50 …std::min(AlignUp(current_size_ + bytes, DEFAULT_ALIGNMENT_IN_BYTES), static_cast<uint64_t>(max_siz… in IncreaseBy()
53 inline void HeapSpace::ObjectMemorySpace::ReduceBy(size_t bytes) in ReduceBy() argument
55 ASSERT(current_size_ >= bytes); in ReduceBy()
56 current_size_ = AlignUp(current_size_ - bytes, DEFAULT_ALIGNMENT_IN_BYTES); in ReduceBy()
64 // How many bytes are used in space now in ComputeNewSize()
93 // Get current free bytes count after computing new size in ComputeNewSize()
100 // Free bytes after increase space for new pool will = 0, so yet increase space in ComputeNewSize()
123 …// if requested pool size greater free bytes in current heap space and non occupied memory then we… in WillAlloc()
262 // Get free bytes count after computing new young size in ComputeNewYoung()
[all …]
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Djnez.obj.yaml24 …Transfer execution to an instruction at offset bytes from the beginning of the current instruction…
389 …Transfer execution to an instruction at offset bytes from the beginning of the current instruction…
409 …Transfer execution to an instruction at offset bytes from the beginning of the current instruction…
430 …Transfer execution to an instruction at offset bytes from the beginning of the current instruction…
495 …Transfer execution to an instruction at offset bytes from the beginning of the current instruction…
562 …Transfer execution to an instruction at offset bytes from the beginning of the current instruction…
576 - description: Same instruction jump, offset imm8, 0 bytes
585 - description: Max forward jump for imm8, 2 + 120 + 2 + 3 = 127 bytes
594 - description: Max backward jump for imm8, 3 + 120 + 5 = 128 bytes
607 - description: Max forward jump for imm16, 3 + 32760 + 1 + 3 = 32767 bytes
[all …]
Djeqz.obj.yaml24 …Transfer execution to an instruction at offset bytes from the beginning of the current instruction…
389 …Transfer execution to an instruction at offset bytes from the beginning of the current instruction…
408 …Transfer execution to an instruction at offset bytes from the beginning of the current instruction…
428 …Transfer execution to an instruction at offset bytes from the beginning of the current instruction…
495 …Transfer execution to an instruction at offset bytes from the beginning of the current instruction…
564 …Transfer execution to an instruction at offset bytes from the beginning of the current instruction…
578 - description: Same instruction jump, offset imm8, 0 bytes
587 - description: Max forward jump for imm8, 2 + 120 + 2 + 3 = 127 bytes
595 - description: Max backward jump for imm8, 3 + 120 + 5 = 128 bytes
609 - description: Max forward jump for imm16, 3 + 32760 + 1 + 3 = 32767 bytes
[all …]
Djlez.yaml20 Transfer execution to an instruction at offset bytes
94 # Max forward jump for imm8, 2 + 124 + 1 = 127 bytes
104 # Max backward jump for imm8, 1 + 2 + 2*61 + 1 + 2 = 128 bytes
118 # Max forward jump for imm16, 3 + 32760 + 4 = 32767 bytes
130 # Max backward jump for imm16, 1 + 4 + 32760 + 1 + 2 = 32768 bytes
160 # Max forward jump for imm8, 2 + 124 + 1 = 127 bytes
169 # Max backward jump for imm8, 1 + 2 + 61*2 + 1 + 2 = 128 bytes
183 # Max forward jump for imm16, 3 + 32760 + 4 = 32767 bytes
193 # Max backward jump for imm16, 1 + 4 + 32760 + 1 + 2 = 32768 bytes
Djgez.yaml20 Transfer execution to an instruction at offset bytes
94 # Max forward jump for imm8, 2 + 124 + 1 = 127 bytes
104 # Max backward jump for imm8, 2 + 61*2 + 1 + 1 + 2 = 128 bytes
117 # Max forward jump for imm16, 3 + 32760 + 4 = 32767 bytes
129 # Max backward jump for imm16, 1 + 4 + 32760 + 1 + 2 = 32768 bytes
158 # Max forward jump for imm8, 2 + 124 + 1 = 127 bytes
167 # Max backward jump for imm8, 1 + 2 + 61*2 + 1 + 2 = 128 bytes
181 # Max forward jump for imm16, 3 + 32760 + 4 = 32767 bytes
191 # Max backward jump for imm16, 1 + 4 + 32760 + 1 + 2 = 32768 bytes
/arkcompiler/runtime_core/docs/
Dfile_format.md18 To achieve this, all references in the binary file are 4 bytes long. It allows to have 4Gb for
47 To improve data access speed most data structures have 4 bytes alignment.
65 The version field in the header is 4 bytes long and is encoded as byte array to
202 Alignment: 4 bytes
211 | `file_size` | `uint32_t` | Size of the file in bytes. |
213 | `foreign_size` | `uint32_t` | Size of the foreign region in bytes. |
223 Constraint: size of header must be > 16 bytes. [FieldType](#fieldType) uses this fact.
229 Alignment: 4 bytes
255 Alignment: 4 bytes
303 Since the first bytes of the file contain the header and size of the header > 16 bytes, any offset …
[all …]
/arkcompiler/runtime_core/scripts/
Dmemdump.py28 * total number of bytes allocated (not considering free)
68 """Handles allocation of size bytes"""
74 """Handles deallocation of size bytes"""
132 return 'all {} bytes'.format(min_size)
134 return 'from {} to {} bytes'.format(min_size, max_size)
233 print("Allocated: {} bytes. {} allocs {} from:\n{}".format(
/arkcompiler/runtime_core/libpandabase/tests/
Dtype_converter_tests.cpp79 uint64_t bytes = left_part_bytes * 1024 + right_part_bytes; variable
80 ASSERT_EQ(MemoryConverter(bytes), ValueUnit(expected, "KB"));
81 ASSERT_EQ(MemoryConverter(bytes * (1UL << 10)), ValueUnit(expected, "MB"));
82 ASSERT_EQ(MemoryConverter(bytes * (1UL << 20)), ValueUnit(expected, "GB"));
83 ASSERT_EQ(MemoryConverter(bytes * (1UL << 30)), ValueUnit(expected, "TB"));

1234567