Searched refs:patchInput (Results 1 – 3 of 3) sorted by relevance
/external/r8/src/main/java/com/android/tools/r8/ |
D | BSPatch.java | 26 private final ByteBuffer patchInput; field in BSPatch 61 private BSPatch(Path patchInput, Path oldInput, Path output, Path dexPath) throws IOException { in BSPatch() argument 62 this.patchInput = ByteBuffer.wrap(Files.readAllBytes(patchInput)); in BSPatch() 111 if (patchInput.get() != BSDIFF_MAGIC[i]) { in checkHeader() 124 patchInput.array().length - (BSDIFF_HEADER_LENGTH + controlBlockLen + diffBlockLen); in setupSegmentsAndOutput() 128 new ByteArrayInputStream(patchInput.array(), BSDIFF_HEADER_LENGTH, controlBlockLen)); in setupSegmentsAndOutput() 130 new ByteArrayInputStream(patchInput.array(), BSDIFF_HEADER_LENGTH + controlBlockLen, in setupSegmentsAndOutput() 133 new ByteArrayInputStream(patchInput.array(), in setupSegmentsAndOutput() 140 patchInput.get(buffer); in readOffset()
|
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/bsdiff/ |
D | BsPatchTest.java | 81 final byte[] patchInput = "this is a sample string to read".getBytes("US-ASCII"); in testTransformBytes() 82 final ByteArrayInputStream patchInputStream = new ByteArrayInputStream(patchInput); in testTransformBytes() 87 BsPatch.transformBytes(patchInput.length, patchInputStream, oldData, newData, buffer1, buffer2); in testTransformBytes() 109 final byte[] patchInput = "this is a second sample string to read".getBytes("US-ASCII"); in testTransformBytes_Error_JunkPatch() 110 final ByteArrayInputStream patchInputStream = new ByteArrayInputStream(patchInput); in testTransformBytes_Error_JunkPatch() 116 patchInput.length, patchInputStream, oldData, newData, buffer1, buffer2); in testTransformBytes_Error_JunkPatch() 125 final byte[] patchInput = "this is a sample string".getBytes("US-ASCII"); in testTransformBytes_Error_JunkPatch_Underflow() 126 final ByteArrayInputStream patchInputStream = new ByteArrayInputStream(patchInput); in testTransformBytes_Error_JunkPatch_Underflow() 135 patchInput.length + 1, patchInputStream, oldData, newData, buffer1, buffer2); in testTransformBytes_Error_JunkPatch_Underflow()
|
/external/deqp/modules/gles31/functional/ |
D | es31fProgramInterfaceQueryTests.cpp | 5230 …const ResourceDefinition::Node::SharedPtr patchInput(new ResourceDefinition::StorageQualifier(pare… in generateProgramInputBlockContents() local 5243 …const ResourceDefinition::Node::SharedPtr variable (new ResourceDefinition::Variable(patchInput, g… in generateProgramInputBlockContents() 5248 …t ResourceDefinition::Node::SharedPtr structMbr (new ResourceDefinition::StructMember(patchInput)); in generateProgramInputBlockContents() 5254 …t ResourceDefinition::Node::SharedPtr arrayElem (new ResourceDefinition::ArrayElement(patchInput)); in generateProgramInputBlockContents() 5489 …const ResourceDefinition::Node::SharedPtr patchInput(new ResourceDefinition::StorageQualifier(pare… in generateProgramInputLocationBlockContents() local 5509 …const ResourceDefinition::Node::SharedPtr variable (new ResourceDefinition::Variable(patchInput, g… in generateProgramInputLocationBlockContents() 5514 …ition::Node::SharedPtr layout (new ResourceDefinition::LayoutQualifier(patchInput, glu::Layout(2))… in generateProgramInputLocationBlockContents() 5520 …t ResourceDefinition::Node::SharedPtr structMbr (new ResourceDefinition::StructMember(patchInput)); in generateProgramInputLocationBlockContents() 5526 …ition::Node::SharedPtr layout (new ResourceDefinition::LayoutQualifier(patchInput, glu::Layout(2))… in generateProgramInputLocationBlockContents() 5533 …t ResourceDefinition::Node::SharedPtr arrayElem (new ResourceDefinition::ArrayElement(patchInput)); in generateProgramInputLocationBlockContents() [all …]
|