HomeSort by relevance Sort by last modified time
    Searched refs:oldBytes (Results 1 - 6 of 6) sorted by null

  /external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/gdiff/
GdiffTest.java 41 byte[] oldBytes = new byte[] {
57 writeInputFile.write(oldBytes);
82 byte[] oldBytes = new byte[] {
106 writeInputFile.write(oldBytes);
181 byte[] oldBytes = new byte[] {
191 checkExpectedIOException(oldBytes, -1, patch, 3, -1); // Short magic bytes
192 checkExpectedIOException(oldBytes, -1, patch, 4, -1); // No version
193 checkExpectedIOException(oldBytes, -1, patch, 6, -1); // After an opcode
194 checkExpectedIOException(oldBytes, -1, patch, 11, -1); // During inline data
195 checkExpectedIOException(oldBytes, -1, patch, 20, -1); // Missing EO
    [all...]
  /external/archive-patcher/explainer/src/test/java/com/google/archivepatcher/explainer/
PatchExplainerTest.java 176 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A1_LEVEL_6));
178 save(oldBytes, oldFile);
193 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A1_LEVEL_6));
195 save(oldBytes, oldFile);
221 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A1_LEVEL_6));
223 save(oldBytes, oldFile);
248 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A1_STORED));
250 save(oldBytes, oldFile);
265 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A1_STORED));
267 save(oldBytes, oldFile)
    [all...]
  /external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/
PreDiffPlannerTest.java 306 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A_LEVEL_6));
308 File oldFile = storeAndMapArchive(oldBytes);
332 byte[] oldBytes =
336 File oldFile = storeAndMapArchive(oldBytes);
360 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A_STORED));
362 File oldFile = storeAndMapArchive(oldBytes);
379 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A_LEVEL_9));
381 File oldFile = storeAndMapArchive(oldBytes);
402 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_A_STORED));
404 File oldFile = storeAndMapArchive(oldBytes);
    [all...]
PreDiffExecutorTest.java 145 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_LEVEL_6));
146 File oldFile = store(oldBytes);
177 oldBytes, 0, (int) oldEntry.getFileOffsetOfCompressedData());
181 int oldRemainderLength = oldBytes.length - oldRemainderOffset;
182 expectedDeltaFriendlyOldFileBytes.write(oldBytes, oldRemainderOffset, oldRemainderLength);
209 byte[] oldBytes = UnitTestZipArchive.makeTestZip(Collections.singletonList(ENTRY_LEVEL_6));
210 File oldFile = store(oldBytes);
  /external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/bsdiff/
BsDiffTest.java 496 byte[] oldBytes = oldData.getBytes(Charset.forName("US-ASCII"));
498 RandomAccessObject oldBytesRo = new RandomAccessObject.RandomAccessByteArrayObject(oldBytes);
501 oldBytesRo, newBytesRo, new NaiveMatcher(oldBytes, newBytes), outputStream);
  /external/fonttools/Lib/fontTools/ttLib/tables/
_g_l_y_f.py 309 oldBytes = _flagSignBytes[oldFlag & mask]
310 return newBytes == oldBytes or abs(newBytes) > abs(oldBytes)
    [all...]

Completed in 813 milliseconds