Searched refs:expectedLength (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | encodedstreamtest.cpp | 230 size_t actualLength, expectedLength; in CompareFile() local 232 char* expectedBuffer = ReadFile(expectedFilename, true, &expectedLength); in CompareFile() 233 …bool ret = (expectedLength == actualLength) && memcmp(expectedBuffer, actualBuffer, actualLength) … in CompareFile() 240 size_t expectedLength; in CompareBufferFile() local 241 char* expectedBuffer = ReadFile(expectedFilename, true, &expectedLength); in CompareBufferFile() 242 …bool ret = (expectedLength == actualLength) && memcmp(expectedBuffer, actualBuffer, actualLength) … in CompareBufferFile()
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
D | RoutineWatchEvaluatorTest.java | 251 int expectedLength, String text1, String text2) { in assertMaximumMatchedWordSequenceLength() argument 256 expectedLength, in assertMaximumMatchedWordSequenceLength() 261 expectedLength, in assertMaximumMatchedWordSequenceLength()
|
/packages/modules/NeuralNetworks/common/ |
D | ValidateHal.cpp | 418 uint32_t expectedLength = nonExtensionOperandSizeOfData(operand); in validateOperands() local 419 if (location.length != expectedLength) { in validateOperands() 421 << " expected a size of " << expectedLength << " but got " in validateOperands()
|
D | Validation.cpp | 683 const auto expectedLength = getNonExtensionSize(operand).value(); in validateOperand() local 684 NN_VALIDATE_EQ(operand.location.length, expectedLength) in validateOperand() 685 << "For operand " << operand.type << " expected a size of " << expectedLength in validateOperand() 1239 const size_t expectedLength = getNonExtensionSize(operand.type, dimensions).value(); in validateRequestArgumentsForModel() local 1240 if (expectedLength != 0) { in validateRequestArgumentsForModel() 1241 NN_VALIDATE_EQ(requestArgument.location.length, expectedLength) in validateRequestArgumentsForModel() 1243 << " expected a size of " << expectedLength << " but got " in validateRequestArgumentsForModel()
|