Searched refs:code_buffer (Results 1 – 2 of 2) sorted by relevance
36 CodeBuffer code_buffer(2); in TEST() local37 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 …]
318 void UpdateValue(T new_value, uint8_t* code_buffer = NULL) {322 VIXL_ASSERT(code_buffer != NULL);323 RewriteValueInCode(code_buffer);327 void UpdateValue(T high64, T low64, uint8_t* code_buffer = NULL) {332 VIXL_ASSERT(code_buffer != NULL);333 RewriteValueInCode(code_buffer);341 void RewriteValueInCode(uint8_t* code_buffer) { in RewriteValueInCode() argument346 *reinterpret_cast<uint32_t*>(code_buffer + GetOffset()) = in RewriteValueInCode()350 *reinterpret_cast<uint64_t*>(code_buffer + GetOffset()) = in RewriteValueInCode()356 reinterpret_cast<uint64_t*>(code_buffer + GetOffset()); in RewriteValueInCode()