Searched refs:buffer_2 (Results 1 – 6 of 6) sorted by relevance
163 auto buffer_2 = compare->GetBuffer2(); in ExecuteCommand() local166 return buffer_1->CompareRMSE(buffer_2, compare->GetTolerance()); in ExecuteCommand()168 return buffer_1->CompareHistogramEMD(buffer_2, compare->GetTolerance()); in ExecuteCommand()170 return buffer_1->IsEqual(buffer_2); in ExecuteCommand()
109 CompareBufferCommand::CompareBufferCommand(Buffer* buffer_1, Buffer* buffer_2) in CompareBufferCommand() argument110 : Command(Type::kCompareBuffer), buffer_1_(buffer_1), buffer_2_(buffer_2) {} in CompareBufferCommand()
271 CompareBufferCommand(Buffer* buffer_1, Buffer* buffer_2);
820 # Checks that |buffer_1| contents are equal to those of |buffer_2|821 EXPECT {buffer_1} EQ_BUFFER {buffer_2}824 # |buffer_2| is less than or equal to |tolerance|. Note, |tolerance| is a826 EXPECT {buffer_1} RMSE_BUFFER {buffer_2} TOLERANCE _value_829 # |buffer_1| to |buffer_2| is less than or equal to |tolerance|.831 EXPECT {buffer_1} EQ_HISTOGRAM_EMD_BUFFER {buffer_2} TOLERANCE _value_
965 void* buffer_2 = malloc (buffer_size); in test_serialize() local966 hb_serialize_context_t c2 (buffer_2, buffer_size); in test_serialize()977 free (buffer_2); in test_serialize()
3111 auto* buffer_2 = script_->GetBuffer(token->AsString()); in ParseExpect() local3112 if (!buffer_2) { in ParseExpect()3117 if (!buffer->GetFormat()->Equal(buffer_2->GetFormat())) { in ParseExpect()3121 if (buffer->ElementCount() != buffer_2->ElementCount()) { in ParseExpect()3125 std::to_string(buffer_2->ElementCount())); in ParseExpect()3127 if (buffer->GetWidth() != buffer_2->GetWidth()) { in ParseExpect()3131 if (buffer->GetHeight() != buffer_2->GetHeight()) { in ParseExpect()3136 auto cmd = MakeUnique<CompareBufferCommand>(buffer, buffer_2); in ParseExpect()