Searched refs:actualLength (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | encodedstreamtest.cpp | 230 size_t actualLength, expectedLength; in CompareFile() local 231 char* actualBuffer = ReadFile(filename, false, &actualLength); in CompareFile() 233 …bool ret = (expectedLength == actualLength) && memcmp(expectedBuffer, actualBuffer, actualLength) … in CompareFile() 239 …bool CompareBufferFile(const char* actualBuffer, size_t actualLength, const char* expectedFilename… in CompareBufferFile() argument 242 …bool ret = (expectedLength == actualLength) && memcmp(expectedBuffer, actualBuffer, actualLength) … in CompareBufferFile()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputConnection.java | 172 final int actualLength = Math.min(beforeCursor.length(), internal.length()); in checkConsistencyForDebug() local 173 if (internal.length() > actualLength) { in checkConsistencyForDebug() 174 internal.delete(0, internal.length() - actualLength); in checkConsistencyForDebug() 176 final String reference = (beforeCursor.length() <= actualLength) ? beforeCursor.toString() in checkConsistencyForDebug() 177 : beforeCursor.subSequence(beforeCursor.length() - actualLength, in checkConsistencyForDebug()
|