Searched refs:expectedBuffer (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | encodedstreamtest.cpp | 232 char* expectedBuffer = ReadFile(expectedFilename, true, &expectedLength); in CompareFile() local 233 …bool ret = (expectedLength == actualLength) && memcmp(expectedBuffer, actualBuffer, actualLength) … in CompareFile() 235 free(expectedBuffer); in CompareFile() 241 char* expectedBuffer = ReadFile(expectedFilename, true, &expectedLength); in CompareBufferFile() local 242 …bool ret = (expectedLength == actualLength) && memcmp(expectedBuffer, actualBuffer, actualLength) … in CompareBufferFile() 243 free(expectedBuffer); in CompareBufferFile()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeUdpEncapSocketTest.java | 162 ByteBuffer expectedBuffer = in disableTestSendIkePacket() local 165 expectedBuffer.put(IkeUdpEncapPortPacketHandler.NON_ESP_MARKER).put(mDataOne); in disableTestSendIkePacket() 167 assertArrayEquals(expectedBuffer.array(), receivedData); in disableTestSendIkePacket()
|
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/ |
D | TestHarness.cpp | 72 const T* expectedBuffer = op.data.get<T>(); in expectNear() local 78 double expected = static_cast<double>(expectedBuffer[i]); in expectNear() 118 const bool8* expectedBuffer = op.data.get<bool8>(); in expectBooleanNearlyEqual() local 122 if (expectedBuffer[i] != actualBuffer[i]) { in expectBooleanNearlyEqual() 124 errorMsg << " Expected: " << expectedBuffer[i] << ", actual: " << actualBuffer[i] in expectBooleanNearlyEqual()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeMessageTest.java | 616 ByteBuffer expectedBuffer = in testReassembleAllFrags() local 620 expectedBuffer.put(FRAGMENT_ONE_UNENCRYPTED_DATA).put(FRAGMENT_TWO_UNENCRYPTED_DATA); in testReassembleAllFrags() 623 assertArrayEquals(expectedBuffer.array(), reassembledBytes); in testReassembleAllFrags()
|