Home
last modified time | relevance | path

Searched refs:code_buffer (Results 1 – 3 of 3) sorted by relevance

/external/vixl/test/
Dtest-code-buffer.cc36 CodeBuffer code_buffer(2); in TEST() local
37 VIXL_CHECK(code_buffer.GetCapacity() == 2); in TEST()
38 VIXL_CHECK(code_buffer.GetRemainingBytes() == 2); in TEST()
40 code_buffer.Emit16(0); in TEST()
41 VIXL_CHECK(code_buffer.GetCapacity() == 2); in TEST()
42 VIXL_CHECK(code_buffer.GetRemainingBytes() == 0); in TEST()
45 VIXL_CHECK(IsAligned<2>(code_buffer.GetCursorOffset())); in TEST()
46 code_buffer.Align(); in TEST()
47 VIXL_CHECK(IsWordAligned(code_buffer.GetCursorOffset())); in TEST()
48 VIXL_CHECK(code_buffer.GetCapacity() > 2); in TEST()
[all …]
/external/vixl/src/aarch64/
Dassembler-aarch64.h319 void UpdateValue(T new_value, uint8_t* code_buffer = NULL) {
323 VIXL_ASSERT(code_buffer != NULL);
324 RewriteValueInCode(code_buffer);
328 void UpdateValue(T high64, T low64, uint8_t* code_buffer = NULL) {
333 VIXL_ASSERT(code_buffer != NULL);
334 RewriteValueInCode(code_buffer);
342 void RewriteValueInCode(uint8_t* code_buffer) { in RewriteValueInCode() argument
347 *reinterpret_cast<uint32_t*>(code_buffer + GetOffset()) = in RewriteValueInCode()
351 *reinterpret_cast<uint64_t*>(code_buffer + GetOffset()) = in RewriteValueInCode()
357 reinterpret_cast<uint64_t*>(code_buffer + GetOffset()); in RewriteValueInCode()
/external/v8/src/wasm/
Dwasm-serialization.cc465 Vector<const byte> code_buffer = {reader->current_location(), code_size}; in ReadCode() local
478 fn_index, code_buffer, stack_slot_count, safepoint_table_offset, in ReadCode()