/libcore/ojluni/src/main/java/java/io/ |
DataInputStream.java | 317 readFully(readBuffer, 0, 2); 318 return Memory.peekShort(readBuffer, 0, ByteOrder.BIG_ENDIAN); 341 readFully(readBuffer, 0, 2); 342 return Memory.peekShort(readBuffer, 0, ByteOrder.BIG_ENDIAN) & 0xffff; 365 readFully(readBuffer, 0, 2); 366 return (char)Memory.peekShort(readBuffer, 0, ByteOrder.BIG_ENDIAN); 389 readFully(readBuffer, 0, 4); 390 return Memory.peekInt(readBuffer, 0, ByteOrder.BIG_ENDIAN); 393 private byte readBuffer[] = new byte[8]; 413 readFully(readBuffer, 0, 8) [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/I2CLib/ |
I2CLib.c | 56 OUT UINT8 *ReadBuffer
|
/external/mesa3d/src/mesa/main/ |
readpix.c | 108 if (_mesa_get_clamp_read_color(ctx, ctx->ReadBuffer) && 116 if (_mesa_get_clamp_read_color(ctx, ctx->ReadBuffer) || 142 * the readbuffer and the pixel pack buffer into account. 157 return !_mesa_has_depthstencil_combined(ctx->ReadBuffer) || 266 struct gl_framebuffer *fb = ctx->ReadBuffer; 313 struct gl_framebuffer *fb = ctx->ReadBuffer; 377 struct gl_framebuffer *fb = ctx->ReadBuffer; 438 struct gl_framebuffer *fb = ctx->ReadBuffer; 634 struct gl_framebuffer *fb = ctx->ReadBuffer; 678 struct gl_framebuffer *fb = ctx->ReadBuffer; [all...] |
context.c | [all...] |
/frameworks/av/media/libstagefright/ |
MidiExtractor.cpp | 130 buffer = mEngine->readBuffer(); 226 MediaBuffer* MidiEngine::readBuffer() { 235 ALOGE("readBuffer: no buffer"); 256 ALOGV("readBuffer: returning %zd in buffer %p", buffer->range_length(), buffer);
|
FLACExtractor.cpp | 110 MediaBuffer *readBuffer() { 111 return readBuffer(false, 0LL); 113 MediaBuffer *readBuffer(FLAC__uint64 sample) { 114 return readBuffer(true, sample); 152 MediaBuffer *readBuffer(bool doSeek, FLAC__uint64 sample); 651 MediaBuffer *FLACParser::readBuffer(bool doSeek, FLAC__uint64 sample) 658 ALOGE("FLACParser::readBuffer seek to sample %lld failed", (long long)sample); 661 ALOGV("FLACParser::readBuffer seek to sample %lld succeeded", (long long)sample); 664 ALOGE("FLACParser::readBuffer process_single failed"); 669 ALOGV("FLACParser::readBuffer write did not complete") [all...] |
/frameworks/av/services/audioflinger/ |
FastCapture.h | 58 ssize_t mReadBufferState; // number of initialized frames in readBuffer,
|
/packages/services/BuiltInPrintService/src/com/android/bips/jni/ |
PdfRender.java | 156 byte[] readBuffer = new byte[128 * 1024]; 159 while((length = in.read(readBuffer, 0, readBuffer.length)) > 0) { 160 target.put(readBuffer, 0, length);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeSmbusLib/ |
SmbusLib.c | 433 Bytes are written to the SMBUS from WriteBuffer. Bytes are then read from the SMBUS into ReadBuffer.
435 It is the caller's responsibility to make sure ReadBuffer is large enough for the total number of bytes read.
439 If ReadBuffer is NULL, then ASSERT().
445 @param ReadBuffer Pointer to the buffer of bytes to read from the SMBUS.
457 OUT VOID *ReadBuffer,
464 ASSERT (ReadBuffer != NULL);
471 // Assuming that ReadBuffer is large enough to save another memory copy.
473 ReadBuffer = CopyMem (ReadBuffer, WriteBuffer, Length);
474 return InternalSmBusExec (EfiSmbusBWBRProcessCall, SmBusAddress, Length, ReadBuffer, Status); [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiSmbusLib/ |
SmbusLib.c | 433 Bytes are written to the SMBUS from WriteBuffer. Bytes are then read from the SMBUS into ReadBuffer.
435 It is the caller's responsibility to make sure ReadBuffer is large enough for the total number of bytes read.
439 If ReadBuffer is NULL, then ASSERT().
445 @param ReadBuffer Pointer to the buffer of bytes to read from the SMBUS.
457 OUT VOID *ReadBuffer,
464 ASSERT (ReadBuffer != NULL);
471 // Assuming that ReadBuffer is large enough to save another memory copy.
473 ReadBuffer = CopyMem (ReadBuffer, WriteBuffer, Length);
474 return InternalSmBusExec (EfiSmbusBWBRProcessCall, SmBusAddress, Length, ReadBuffer, Status); [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/ |
SmbusLib.c | 428 Bytes are written to the SMBUS from WriteBuffer. Bytes are then read from the SMBUS into ReadBuffer.
430 It is the caller's responsibility to make sure ReadBuffer is large enough for the total number of bytes read.
434 If ReadBuffer is NULL, then ASSERT().
440 @param ReadBuffer Pointer to the buffer of bytes to read from the SMBUS.
452 OUT VOID *ReadBuffer,
459 ASSERT (ReadBuffer != NULL);
466 // Assuming that ReadBuffer is large enough to save another memory copy.
468 ReadBuffer = CopyMem (ReadBuffer, WriteBuffer, Length);
469 return InternalSmBusExec (EfiSmbusBWBRProcessCall, SmBusAddress, Length, ReadBuffer, Status); [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/I2CLibPei/ |
I2CLibPei.c | 431 OUT UINT8 *ReadBuffer,
451 ReceiveDataEnd = &ReadBuffer [ReadBytes];
453 ReceiveRequest = ReadBuffer;
456 while ((ReceiveDataEnd > ReceiveRequest) || (ReceiveDataEnd > ReadBuffer)) {
474 *ReadBuffer++ = (UINT8)ReceiveData;
480 // Waiting the last request to get data and make (ReceiveDataEnd > ReadBuffer) =TRUE.
594 @param *ReadBuffer Address to which the value read has to be stored
605 OUT UINT8 *ReadBuffer
612 Status = ByteReadI2CBasic(I2cControllerIndex, SlaveAddress, ReadBytes, ReadBuffer, TRUE, TRUE);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
FramedStream.java | 319 private final Buffer readBuffer = new Buffer(); 345 if (readBuffer.size() == 0) return -1; // This source is exhausted. 348 read = readBuffer.read(sink, Math.min(byteCount, readBuffer.size())); 376 while (readBuffer.size() == 0 && !finished && !closed && errorCode == null) { 392 flowControlError = byteCount + readBuffer.size() > maxByteCount; 415 boolean wasEmpty = readBuffer.size() == 0; 416 readBuffer.writeAll(receiveBuffer); 431 readBuffer.clear();
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
stream.md | 82 char readBuffer[65536]; 83 FileReadStream is(fp, readBuffer, sizeof(readBuffer)); 148 char readBuffer[256]; 149 FileReadStream bis(fp, readBuffer, sizeof(readBuffer)); 201 char readBuffer[256]; 202 FileReadStream bis(fp, readBuffer, sizeof(readBuffer));
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldFileChannelTest.java | 152 byte[] readBuffer = new byte[CONTENT_AS_BYTES_LENGTH]; 154 fis.read(readBuffer); 155 assertTrue(Arrays.equals(CONTENT_AS_BYTES, readBuffer)); 161 readBuffer = new byte[CONTENT_AS_BYTES_LENGTH]; 163 fis.read(readBuffer); 164 assertTrue(Arrays.equals(CONTENT_AS_BYTES, readBuffer)); 260 ByteBuffer readBuffer = ByteBuffer.allocate(CAPACITY); 263 readOnlyFileChannel.read(readBuffer, -1); 270 writeOnlyFileChannel.read(readBuffer, -1); 277 readWriteFileChannel.read(readBuffer, -1) [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_copytex.c | 57 /* Save current FBO / readbuffer */ 137 /* restore readbuffer */
|
/external/ltp/testcases/kernel/containers/pidns/ |
pidns05.c | 197 char readbuffer[80]; local 245 nbytes = read(fd[0], readbuffer, sizeof(readbuffer)); 248 tst_resm(TINFO, " %d %s", MAX_DEPTH, readbuffer);
|
/frameworks/av/media/libstagefright/include/ |
MidiExtractor.h | 42 MediaBuffer* readBuffer();
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ContextTest.java | 203 byte[] readBuffer = new byte[fileContents.length()]; 204 fileInputStream.read(readBuffer); 205 assertThat(new String(readBuffer), equalTo(fileContents));
|
/frameworks/base/packages/PrintSpooler/jni/ |
com_android_printspooler_util_BitmapSerializeUtils.cpp | 49 char* readBuffer = static_cast<char*>(buffer); 52 ssize_t readByteCount = read(fd, readBuffer, remainingBytes); 55 readBuffer += readByteCount;
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
TimedStatement.java | 87 byte[] readBuffer = new byte[bytes]; 89 input.read(readBuffer); 90 buffer = readBuffer;
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidZipStressTest.java | 41 byte[] readBuffer = new byte[1024]; 47 while (is.read(readBuffer, 0, readBuffer.length) != -1) {
|
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
BerkeleyPacketFilter.c | 41 VOID *ReadBuffer;
290 Private->ReadBuffer = malloc (Private->ReadBufferSize);
291 if (Private->ReadBuffer == NULL) {
295 Private->CurrentReadPointer = Private->EndReadPointer = Private->ReadBuffer;
341 if (Private->ReadBuffer != NULL) {
342 free (Private->ReadBuffer);
343 Private->ReadBuffer = NULL;
388 if (Private->ReadBuffer != NULL) {
389 free (Private->ReadBuffer );
390 Private->CurrentReadPointer = Private->EndReadPointer = Private->ReadBuffer = NULL; [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/SmbusLib/ |
SmbusLib.c | 626 @param ReadBuffer Pointer to the buffer of bytes to read from the SMBUS.
638 OUT UINT8 *ReadBuffer,
711 if (ReadBuffer != NULL) {
721 ReadBuffer[Index] = IoRead8 (IoPortBaseAddress + R_PCH_SMBUS_HBD);
842 Bytes are written to the SMBUS from WriteBuffer. Bytes are then read from the SMBUS into ReadBuffer.
844 It is the caller's responsibility to make sure ReadBuffer is large enough for the total number of bytes read.
848 If ReadBuffer is NULL, then ASSERT().
854 @param ReadBuffer Pointer to the buffer of bytes to read from the SMBUS.
866 OUT VOID *ReadBuffer,
873 ASSERT (ReadBuffer != NULL); [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/DxeSmbusLib/ |
SmbusLib.c | 540 Bytes are written to the SMBUS from WriteBuffer. Bytes are then read from the SMBUS into ReadBuffer.
542 It is the caller's responsibility to make sure ReadBuffer is large enough for the total number of bytes read.
546 If ReadBuffer is NULL, then ASSERT().
552 @param ReadBuffer The pointer to the buffer of bytes to read from the SMBUS.
574 OUT VOID *ReadBuffer,
581 ASSERT (ReadBuffer != NULL);
588 // Assuming that ReadBuffer is large enough to save another memory copy.
590 ReadBuffer = CopyMem (ReadBuffer, WriteBuffer, Length);
591 return InternalSmBusExec (EfiSmbusBWBRProcessCall, SmBusAddress, Length, ReadBuffer, Status); [all...] |