Home
last modified time | relevance | path

Searched refs:dataToWrite (Results 1 – 6 of 6) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowParcelFileDescriptorTest.java122 byte[] dataToWrite = new byte[] {0, 1, 2, 3, 4}; in testCreatePipe()
127 outputStream.write(dataToWrite); in testCreatePipe()
128 byte[] read = new byte[dataToWrite.length]; in testCreatePipe()
132 assertThat(byteCount).isEqualTo(dataToWrite.length); in testCreatePipe()
133 assertThat(read).isEqualTo(dataToWrite); in testCreatePipe()
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/
DMatchingOutputStream.java72 public void write(byte[] dataToWrite, int offset, int length) throws IOException { in write() argument
81 if (buffer[matchCount] != dataToWrite[offset + numReadSoFar + matchCount]) { in write()
/external/protobuf/objectivec/Tests/
DGPBTestUtilities.h93 - (NSData *)getDataFileNamed:(NSString *)name dataToWrite:(NSData *)dataToWrite;
DGPBUtilitiesTests.m124 [self getDataFileNamed:fileName dataToWrite:resultData];
164 [self getDataFileNamed:fileName dataToWrite:resultData];
DGPBCodedOuputStreamTests.m314 [self getDataFileNamed:@"golden_message" dataToWrite:rawBytes];
336 dataToWrite:rawBytes];
DGPBTestUtilities.m67 // Return data for name. Optionally (based on #if setting) write out dataToWrite
70 dataToWrite:(NSData *)dataToWrite {
83 BOOL wrote = [dataToWrite writeToFile:path options:NSDataWritingAtomic error:&error];
88 dataToWrite = dataToWrite;