| /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/ |
| FvbSmmDxe.c | 463 when *NumBytes of data have been read, or when a block boundary is
464 reached. *NumBytes is updated to reflect the actual number of bytes
472 @param[in,out] NumBytes On input, indicates the requested write size. On
479 NumBytes contains the total number of bytes returned
484 @retval EFI_INVALID_PARAMETER NumBytes or Buffer are NULL.
493 IN OUT UINTN *NumBytes,
504 if ((NumBytes == NULL) || (Buffer == NULL)) {
514 PayloadSize = sizeof (SMM_FVB_READ_WRITE_HEADER) + *NumBytes;
527 SmmFvbReadWriteHeader->NumBytes = *NumBytes;
[all...] |
| /external/deqp/executor/ |
| xeBatchExecutor.hpp | 83 void onTestLogData (const deUint8* bytes, size_t numBytes); 84 void onInfoLogData (const deUint8* bytes, size_t numBytes); 90 static void enqueueTestLogData (void* userPtr, const deUint8* bytes, size_t numBytes); 91 static void enqueueInfoLogData (void* userPtr, const deUint8* bytes, size_t numBytes);
|
| xeBatchResult.cpp | 40 void InfoLog::append (const deUint8* bytes, size_t numBytes) 42 DE_ASSERT(numBytes > 0); 44 m_data.resize(oldSize+numBytes); 45 deMemcpy(&m_data[oldSize], bytes, numBytes);
|
| xeContainerFormatParser.cpp | 65 void ContainerFormatParser::feed (const deUint8* bytes, size_t numBytes) 68 if (m_buf.getNumFree() < (int)numBytes) 69 m_buf.resize(getNextBufferSize(m_buf.getSize(), m_buf.getNumElements()+(int)numBytes)); 72 m_buf.pushFront(bytes, (int)numBytes); 109 void ContainerFormatParser::getData (deUint8* dst, int numBytes, int offset) 111 DE_ASSERT(de::inBounds(offset, 0, m_elementLen) && numBytes > 0 && de::inRange(numBytes+offset, 0, m_elementLen)); 113 for (int ndx = 0; ndx < numBytes; ndx++)
|
| /external/dng_sdk/source/ |
| dng_memory_stream.cpp | 132 uint32 numBytes; 134 &numBytes)) 139 dng_memory_block **list = (dng_memory_block **) malloc (numBytes); 153 // overflow because the computation of numBytes above would fail
|
| /external/libmojo/mojo/public/java/system/src/org/chromium/mojo/system/ |
| InvalidHandle.java | 132 public ByteBuffer map(long offset, long numBytes, MapFlags flags) { 156 public ByteBuffer beginWriteData(int numBytes, 173 public int discardData(int numBytes, DataPipe.ReadFlags flags) { 189 public ByteBuffer beginReadData(int numBytes,
|
| /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
| FileRetrCommandHandler.java | 88 int numBytes;
89 while ((numBytes = inputStream.read(buffer)) != -1) {
90 LOG.trace("Sending " + numBytes + " bytes...");
91 session.sendData(buffer, numBytes);
|
| /external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
| FileRetrCommandHandler.java | 91 int numBytes = 0;
92 while ((numBytes = inputStream.read(buffer)) != -1) {
93 LOG.trace("Sending " + numBytes + " bytes...");
94 session.sendData(buffer, numBytes);
|
| /external/skia/src/codec/ |
| SkJpegUtility.cpp | 60 static void sk_skip_buffered_input_data(j_decompress_ptr dinfo, long numBytes) { 62 size_t bytes = (size_t) numBytes; 75 src->next_input_byte += numBytes; 76 src->bytes_in_buffer -= numBytes;
|
| /external/skqp/src/codec/ |
| SkJpegUtility.cpp | 60 static void sk_skip_buffered_input_data(j_decompress_ptr dinfo, long numBytes) { 62 size_t bytes = (size_t) numBytes; 75 src->next_input_byte += numBytes; 76 src->bytes_in_buffer -= numBytes;
|
| /external/swiftshader/third_party/subzero/src/ |
| IceFixups.h | 102 AssemblerTextFixup(const std::string &Message, size_t NumBytes) 103 : AssemblerFixup(), Message(Message), NumBytes(NumBytes) {} 109 const size_t NumBytes;
|
| /frameworks/av/media/libaaudio/tests/ |
| test_block_adapter.cpp | 74 int32_t onProcessFixedBlock(uint8_t *buffer, int32_t numBytes) override { 75 int32_t frameCount = numBytes / sizeof(int32_t); 101 int32_t onProcessFixedBlock(uint8_t *buffer, int32_t numBytes) override { 102 int32_t frameCount = numBytes / sizeof(int32_t);
|
| /system/media/audio_utils/include/audio_utils/spdif/ |
| SPDIFEncoder.h | 48 ssize_t write( const void* buffer, size_t numBytes ); 55 virtual ssize_t writeOutput( const void* buffer, size_t numBytes ) = 0; 86 void writeBurstBufferShorts(const uint16_t* buffer, size_t numBytes); 87 void writeBurstBufferBytes(const uint8_t* buffer, size_t numBytes);
|
| /device/linaro/bootloader/edk2/OvmfPkg/EmuVariableFvbRuntimeDxe/ |
| Fvb.h | 116 IN OUT UINTN *NumBytes,
127 IN OUT UINTN *NumBytes,
|
| /external/swiftshader/src/OpenGL/compiler/ |
| PoolAlloc.cpp | 239 void* TPoolAllocator::allocate(size_t numBytes) 246 totalBytes += numBytes; 249 // them: [guardblock][allocation][guardblock]. numBytes is how 253 size_t allocationSize = TAllocation::allocationSize(numBytes); 255 if (allocationSize < numBytes) 270 return initializeAllocation(inUseList, memory, numBytes); 317 return initializeAllocation(inUseList, ret, numBytes); 319 void *alloc = malloc(numBytes + alignmentMask);
|
| /device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/ |
| NorFlashFvbDxe.c | 387 beyond. The output parameter NumBytes must be set to correctly
397 @param NumBytes Pointer to a UINTN.
398 At entry, *NumBytes contains the total size of the buffer.
399 At exit, *NumBytes contains the total number of bytes read.
408 On output, NumBytes contains the total number of bytes
422 IN OUT UINTN *NumBytes,
432 DEBUG ((DEBUG_BLKIO, "FvbRead(Parameters: Lba=%ld, Offset=0x%x, *NumBytes=0x%x, Buffer @ 0x%08x)\n", Instance->StartLba + Lba, Offset, *NumBytes, Buffer));
443 DEBUG ((DEBUG_BLKIO, "FvbRead: Check if (Offset=0x%x + NumBytes=0x%x) <= BlockSize=0x%x\n", Offset, *NumBytes, BlockSize )); [all...] |
| /device/linaro/bootloader/edk2/QuarkPlatformPkg/Feature/Capsule/Library/PlatformFlashAccessLib/ |
| PlatformFlashAccessLibDxe.c | 46 @param[in, out] NumBytes The number of bytes.
54 IN OUT UINTN *NumBytes,
70 (UINT32) (*NumBytes), // Data Number
141 UINTN NumBytes;
168 NumBytes = SPI_ERASE_SECTOR_SIZE;
171 &NumBytes,
|
| /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/Library/ |
| FlashDeviceLib.h | 48 Read NumBytes bytes of data from the address specified by
52 @param[in,out] NumBytes On input, the number of bytes to read. On output, the number
64 IN OUT UINTN *NumBytes,
69 Write NumBytes bytes of data from Buffer to the address specified by
73 @param[in,out] NumBytes On input, the number of bytes to write. On output,
85 IN OUT UINTN *NumBytes,
|
| /external/lzma/CPP/Common/ |
| UTFConvert.cpp | 29 #define _UTF8_HEAD_PARSE2(n) if (c < _UTF8_START((n) + 1)) { numBytes = (n); c -= _UTF8_START(n); }
53 unsigned numBytes;
68 while (--numBytes);
104 unsigned numBytes;
123 while (--numBytes);
125 if (numBytes != 0)
|
| /external/protobuf/conformance/ |
| conformance_objc.m | 50 static NSData *CheckedReadDataOfLength(NSFileHandle *handle, NSUInteger numBytes) { 51 NSData *data = [handle readDataOfLength:numBytes]; 56 if (dataLen != numBytes) { 58 numBytes, data); 133 uint32_t numBytes = UInt32FromLittleEndianData(data); 134 data = CheckedReadDataOfLength(input, numBytes);
|
| /external/gptfdisk/ |
| diskio-unix.cc | 297 int DiskIO::Read(void* buffer, int numBytes) { 309 if (numBytes <= blockSize) { 313 numBlocks = numBytes / blockSize; 314 if ((numBytes % blockSize) != 0) 325 memcpy(buffer, tempSpace, numBytes); 328 if (((numBlocks * blockSize) != numBytes) && (retval > 0)) 329 retval = numBytes; 340 int DiskIO::Write(void* buffer, int numBytes) { 352 if (numBytes <= blockSize) { 356 numBlocks = numBytes / blockSize [all...] |
| /external/libmojo/mojo/android/system/src/org/chromium/mojo/system/impl/ |
| CoreImpl.java | 196 SharedBufferHandle.CreateOptions options, long numBytes) { 203 ResultAnd<Integer> result = nativeCreateSharedBuffer(optionsBuffer, numBytes); 331 int discardData(DataPipeConsumerHandleImpl handle, int numBytes, DataPipe.ReadFlags flags) { 332 ResultAnd<Integer> result = nativeReadData(handle.getMojoHandle(), null, numBytes, 363 DataPipeConsumerHandleImpl handle, int numBytes, DataPipe.ReadFlags flags) { 365 nativeBeginReadData(handle.getMojoHandle(), numBytes, flags.getFlags()); 395 DataPipeProducerHandleImpl handle, int numBytes, DataPipe.WriteFlags flags) { 397 nativeBeginWriteData(handle.getMojoHandle(), numBytes, flags.getFlags()); 434 ByteBuffer map(SharedBufferHandleImpl handle, long offset, long numBytes, MapFlags flags) { 436 nativeMap(handle.getMojoHandle(), offset, numBytes, flags.getFlags()) [all...] |
| /frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
| pvmp3_get_main_data_size.cpp | 121 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[info->version_x][info->bitrate_index] << 20, 125 numBytes >>= (20 - info->version_x); 132 pVars->predicted_frame_size = numBytes; 135 numBytes -= 17; 139 numBytes -= 32; 144 numBytes >>= 1; 145 pVars->predicted_frame_size = numBytes; 149 numBytes -= 9; 153 numBytes -= 17; 159 numBytes++ [all...] |
| /device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Protocol/ |
| FrameworkFirmwareVolumeBlock.h | 152 beyond. The output parameter NumBytes must be set to correctly
163 @param NumBytes The pointer to a UINTN. At entry, *NumBytes
165 exit, *NumBytes contains the total number of
175 boundary. On output, NumBytes
193 IN OUT UINTN *NumBytes,
220 to the boundary but not beyond. The output parameter NumBytes
233 @param NumBytes The pointer to a UINTN. Input: the total size of the buffer.
242 LBA boundary. On output, NumBytes
260 IN OUT UINTN *NumBytes,
[all...] |
| /external/guava/guava-tests/test/com/google/common/base/ |
| Utf8Test.java | 277 * @param numBytes the number of bytes in the byte array 281 private static void testBytes(int numBytes, long expectedCount) { 282 testBytes(numBytes, expectedCount, 0, -1); 290 * @param numBytes the number of bytes in the byte array 294 * or -1 to mean the max limit for numBytes 297 private static void testBytes(int numBytes, long expectedCount, long start, 299 byte[] bytes = new byte[numBytes]; 301 lim = 1L << (numBytes * 8); 306 for (int i = 0; i < numBytes; i++) { 311 assertEquals(isRoundTrippable, Utf8.isWellFormed(bytes, 0, numBytes)); [all...] |