HomeSort by relevance Sort by last modified time
    Searched refs:actualLength (Results 1 - 25 of 58) sorted by null

1 2 3

  /frameworks/layoutlib/remote/common/src/com/android/layout/remote/util/
StreamUtil.java 49 int actualLength = Math.min(len, read.length);
50 System.arraycopy(read, 0, b, off, actualLength);
51 return actualLength;
  /frameworks/base/core/java/android/hardware/camera2/marshal/impl/
MarshalQueryableParcelable.java 135 int actualLength = parcel.dataPosition();
137 if (actualLength == 0) {
143 buffer.position(buffer.position() + actualLength);
146 Log.v(TAG, "unmarshal, parcel length was " + actualLength);
  /packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
encodedstreamtest.cpp 230 size_t actualLength, expectedLength;
231 char* actualBuffer = ReadFile(filename, false, &actualLength);
233 bool ret = (expectedLength == actualLength) && memcmp(expectedBuffer, actualBuffer, actualLength) == 0;
239 bool CompareBufferFile(const char* actualBuffer, size_t actualLength, const char* expectedFilename) {
242 bool ret = (expectedLength == actualLength) && memcmp(expectedBuffer, actualBuffer, actualLength) == 0;
  /dalvik/libdex/
SysUtil.cpp 198 size_t actualLength;
208 actualLength = length + adjust;
210 memPtr = mmap(NULL, actualLength, PROT_READ, MAP_FILE | MAP_SHARED,
214 (int) actualLength, fd, (int) actualStart, strerror(errno));
219 pMap->baseLength = actualLength;
  /external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/
FileRetrCommandHandlerTest.java 88 int actualLength = ((Integer) actual[1]).intValue();
89 LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLength);
94 //assertEquals("length for invocation #" + counter, expectedLength, actualLength);
  /external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/
FileRetrCommandHandlerTest.java 89 int actualLength = ((Integer)actual[1]).intValue();
90 LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLength);
96 //assertEquals("length for invocation #" + counter, expectedLength, actualLength);
  /external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/bsdiff/
BsPatchTest.java 595 int actualLength = outputStream.toByteArray().length;
596 Assert.assertEquals(0, actualLength);
600 actualLength = outputStream.toByteArray().length;
601 Assert.assertEquals(1, actualLength);
608 actualLength = outputStream.toByteArray().length;
609 Assert.assertEquals(5, actualLength);
617 actualLength = outputStream.toByteArray().length;
618 Assert.assertEquals(input.length, actualLength);
642 int actualLength = out.toByteArray().length;
643 Assert.assertEquals(0, actualLength);
    [all...]
  /external/skia/src/core/
SkData.cpp 66 const size_t actualLength = length + sizeof(SkData);
67 SkASSERT_RELEASE(length < actualLength); // Check for overflow.
69 void* storage = ::operator new (actualLength);
  /external/skqp/src/core/
SkData.cpp 66 const size_t actualLength = length + sizeof(SkData);
67 SkASSERT_RELEASE(length < actualLength); // Check for overflow.
69 void* storage = ::operator new (actualLength);
SkString.cpp 229 const size_t actualLength = SizeOfRec() + SkAlign4(len + 1);
230 SkASSERT_RELEASE(len < actualLength); // Check for overflow.
232 void* storage = ::operator new (actualLength);
  /external/icu/icu4c/source/common/
utrie2.cpp 135 int32_t actualLength;
184 actualLength=(int32_t)sizeof(UTrie2Header)+tempTrie.indexLength*2;
186 actualLength+=tempTrie.dataLength*2;
188 actualLength+=tempTrie.dataLength*4;
190 if(length<actualLength) {
203 trie->length=actualLength;
231 *pActualLength=actualLength;
utrie.cpp 938 int32_t actualLength, latin1Length, i, limit;
956 actualLength=trie->indexLength*2;
958 actualLength+=trie->dataLength*2;
960 actualLength+=trie->dataLength*4;
964 if(length<actualLength) {
966 return actualLength;
1043 return actualLength;
    [all...]
  /hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
Gralloc1On0Adapter.cpp 190 size_t actualLength = std::strlen(buffer);
191 mCachedDump.resize(actualLength);
192 std::copy_n(buffer, actualLength, mCachedDump.begin());
193 *outSize = static_cast<uint32_t>(actualLength);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
RichInputConnection.java 172 final int actualLength = Math.min(beforeCursor.length(), internal.length());
173 if (internal.length() > actualLength) {
174 internal.delete(0, internal.length() - actualLength);
176 final String reference = (beforeCursor.length() <= actualLength) ? beforeCursor.toString()
177 : beforeCursor.subSequence(beforeCursor.length() - actualLength,
    [all...]
  /external/icu/icu4c/source/test/cintltst/
spooftest.c 193 int32_t actualLength = 0;
213 sc2 = uspoof_openFromSerialized(buf, serializedSize+10, &actualLength, &status);
216 TEST_ASSERT_EQ(serializedSize, actualLength);
  /external/protobuf/java/core/src/main/java/com/google/protobuf/
CodedOutputStream.java     [all...]
  /external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
PhoneNumberUtil.java     [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
StaticMetadata.java     [all...]
  /cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
StaticMetadata.java     [all...]
  /external/deqp/modules/gles3/functional/
es3fShaderApiTests.cpp 1159 GLsizei actualLength;
1165 GLU_CHECK_CALL(glGetProgramBinary(program, (GLsizei)out.data.size(), &actualLength, &format, &(out.data[0])));
1167 TCU_CHECK(actualLength == binaryLength);
    [all...]
  /external/mdnsresponder/mDNSCore/
DNSCommon.c     [all...]
  /prebuilts/tools/common/m2/repository/com/google/truth/truth/0.31/
truth-0.31.jar 
  /prebuilts/tools/common/m2/repository/com/google/truth/truth/0.34/
truth-0.34.jar 
  /prebuilts/tools/common/m2/repository/com/google/truth/truth/0.36/
truth-0.36.jar 
  /prebuilts/misc/common/truth/
truth-0.28.jar 

Completed in 1268 milliseconds

1 2 3