Searched refs:readAmount (Results 1 – 2 of 2) sorted by relevance
101 auto readAmount = adb_read(input, buffer, chunkAmount); in Pipe() local102 if (readAmount < 0) { in Pipe()106 WriteFdExactly(output, buffer, readAmount); in Pipe()107 transferAmount += readAmount; in Pipe()
46 ssize_t readAmount = adb_read(input, buffer, BUFFER_SIZE); in FileMatchesContent() local47 EXPECT_EQ(readAmount, contentsSize); in FileMatchesContent()48 result = memcmp(buffer, contents, readAmount) == 0; in FileMatchesContent()49 for (int i = 0; i < readAmount; i++) { in FileMatchesContent()