| /frameworks/base/media/native/midi/ |
| midi.cpp | 70 * | + MIDI data bytes (numBytes bytes) 222 uint8_t *buffer, uint8_t *data, ssize_t numBytes,uint64_t timestamp) { 224 memcpy(buffer + 1, data, numBytes); 225 memcpy(buffer + 1 + numBytes, ×tamp, sizeof(timestamp)); 226 return numBytes + AMIDI_PACKET_OVERHEAD; 230 //static void AMIDI_logBuffer(uint8_t *data, size_t numBytes) { 231 // for (size_t index = 0; index < numBytes; index++) { 236 ssize_t AMIDI_send(AMIDI_InputPort *inputPort, uint8_t *buffer, ssize_t numBytes) { 237 return AMIDI_sendWithTimestamp(inputPort, buffer, numBytes, 0); 241 ssize_t numBytes, int64_t timestamp) [all...] |
| /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Application/FirmwareUpdate/ |
| FirmwareUpdate.c | 516 UINTN NumBytes;
518 NumBytes = BLOCK_SIZE;
520 Status = SpiFlashBlockErase ((UINTN) BaseAddress, &NumBytes);
553 UINT32 NumBytes;
556 NumBytes = BLOCK_SIZE;
557 CompareBuffer = AllocatePool (NumBytes);
563 Status = SpiFlashRead ((UINTN) BaseAddress, &NumBytes, CompareBuffer);
727 Read NumBytes bytes of data from the address specified by
731 @param[in,out] NumBytes On input, the number of bytes to read. On output, the number
743 IN OUT UINT32 *NumBytes,
[all...] |
| /external/llvm/lib/Target/Sparc/ |
| SparcFrameLowering.cpp | 43 int NumBytes, 51 if (NumBytes >= -4096 && NumBytes < 4096) { 53 .addReg(SP::O6).addImm(NumBytes); 59 if (NumBytes >= 0) { 61 // sethi %hi(NumBytes), %g1 62 // or %g1, %lo(NumBytes), %g1 65 .addImm(HI22(NumBytes)); 67 .addReg(SP::G1).addImm(LO10(NumBytes)); 74 // sethi %hix(NumBytes), %g [all...] |
| /external/conscrypt/benchmark-base/src/main/java/org/conscrypt/ |
| ServerSocketBenchmark.java | 68 public void processMessage(byte[] inMessage, int numBytes, OutputStream os) { 72 os.write(inMessage, 0, numBytes); 106 int numBytes = client.readMessage(buffer); 107 if (numBytes < 0) { 110 assertEquals(config.messageSize(), numBytes); 114 bytesCounter.addAndGet(numBytes);
|
| /external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
| Thumb1FrameLowering.cpp | 42 int NumBytes, unsigned MIFlags = MachineInstr::NoFlags) { 43 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, 58 unsigned NumBytes = MFI->getStackSize(); 65 NumBytes = (NumBytes + 3) & ~3; 66 MFI->setStackSize(NumBytes); 78 if (NumBytes != 0) 79 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -NumBytes, 125 unsigned DPRCSOffset = NumBytes - (GPRCS1Size + GPRCS2Size + DPRCSSize); 128 AFI->setFramePtrSpillOffset(MFI->getObjectOffset(FramePtrSpillFI) + NumBytes); [all...] |
| /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/ |
| FvbSmmDxe.h | 149 when *NumBytes of data have been read, or when a block boundary is
150 reached. *NumBytes is updated to reflect the actual number of bytes
158 @param[in,out] NumBytes On input, indicates the requested write size. On
165 NumBytes contains the total number of bytes returned
170 @retval EFI_INVALID_PARAMETER NumBytes or Buffer are NULL
179 IN OUT UINTN *NumBytes,
186 when *NumBytes of data have been written, or when a block boundary is
187 reached. *NumBytes is updated to reflect the actual number of bytes
195 @param[in,out] NumBytes On input, indicates the requested write size. On
201 NumBytes contains the total number of bytes [all...] |
| /frameworks/av/media/libaaudio/src/utility/ |
| FixedBlockAdapter.h | 28 virtual int32_t onProcessFixedBlock(uint8_t *buffer, int32_t numBytes) = 0; 54 * @param numBytes 57 virtual int32_t processVariableBlock(uint8_t *buffer, int32_t numBytes) = 0;
|
| /frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
| ByteStream.java | 179 * @param numBytes The number of bytes to advance. 183 public void advance(int numBytes) { 184 if (numBytes < 0) { 189 long longNewIndex = (long) mIndex + (long) numBytes; 191 mReadCount += numBytes; 192 mIndex += numBytes; 200 * @param numBytes The (positive) number of bytes to reverse. 204 public void reverse(int numBytes) { 205 if (numBytes < 0) { 209 if (mIndex >= numBytes) { [all...] |
| /cts/tests/tests/keystore/src/android/keystore/cts/ |
| CountingSecureRandom.java | 39 public byte[] generateSeed(int numBytes) { 40 if (numBytes > 0) { 41 mOutputSizeBytes.addAndGet(numBytes); 43 return mDelegate.generateSeed(numBytes);
|
| /device/linaro/bootloader/edk2/EmulatorPkg/FvbServicesRuntimeDxe/ |
| FwBlockService.h | 68 IN OUT UINTN *NumBytes,
80 IN OUT UINTN *NumBytes,
195 IN OUT UINTN *NumBytes,
206 IN OUT UINTN *NumBytes,
|
| /device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/FwVolBlock/ |
| FwVolBlock.h | 136 @param NumBytes Pointer to a UINT32. At entry, *NumBytes
138 *NumBytes contains the total number of bytes
156 IN OUT UINTN *NumBytes,
168 @param NumBytes Pointer to a UINT32. At entry, *NumBytes
170 *NumBytes contains the total number of bytes
177 On output, NumBytes contains the total number of
192 IN OUT UINTN *NumBytes,
|
| /device/linaro/bootloader/edk2/Nt32Pkg/FvbServicesRuntimeDxe/ |
| FwBlockService.h | 79 IN OUT UINTN *NumBytes,
90 IN OUT UINTN *NumBytes,
193 IN OUT UINTN *NumBytes,
203 IN OUT UINTN *NumBytes,
|
| /device/linaro/bootloader/edk2/OvmfPkg/Include/Library/ |
| PlatformFvbLib.h | 29 @param[in] NumBytes The number of bytes read.
40 IN UINTN NumBytes,
52 @param[in] NumBytes The number of bytes written.
62 IN UINTN NumBytes,
|
| /device/linaro/bootloader/edk2/OvmfPkg/Library/EmuVariableFvbLib/ |
| EmuVariableFvbLib.c | 31 @param[in] NumBytes The number of bytes read.
42 IN UINTN NumBytes,
56 @param[in] NumBytes The number of bytes written.
66 IN UINTN NumBytes,
|
| /external/clang/test/SemaObjC/ |
| objc-string-constant.m | 19 int numBytes;
|
| /external/deqp/modules/gles2/functional/ |
| es2fBufferTestUtil.hpp | 50 void fillWithRandomBytes (deUint8* ptr, int numBytes, deUint32 seed); 51 bool compareByteArrays (tcu::TestLog& log, const deUint8* resPtr, const deUint8* refPtr, int numBytes); 83 void setSize (int numBytes); 84 void setData (int numBytes, const deUint8* bytes); 85 void setSubData (int offset, int numBytes, const deUint8* bytes); 112 virtual bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes) = DE_NULL; 132 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes); 149 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes); 165 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes);
|
| /external/llvm/lib/Target/ARM/ |
| Thumb1FrameLowering.cpp | 44 const ThumbRegisterInfo &MRI, int NumBytes, 46 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, 98 unsigned NumBytes = MFI->getStackSize(); 99 assert(NumBytes >= ArgRegsSaveSize && 100 "ArgRegsSaveSize is included in NumBytes"); 112 NumBytes = (NumBytes + 3) & ~3; 113 MFI->setStackSize(NumBytes); 132 if (NumBytes - ArgRegsSaveSize != 0) { 133 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -(NumBytes - ArgRegsSaveSize) [all...] |
| /external/mesa3d/src/mesa/main/ |
| eval.c | 498 GLsizei numBytes; 521 numBytes = n * sizeof *v; 522 if (bufSize < numBytes) 531 numBytes = 1 * sizeof *v; 532 if (bufSize < numBytes) 537 numBytes = 2 * sizeof *v; 538 if (bufSize < numBytes) 546 numBytes = 2 * sizeof *v; 547 if (bufSize < numBytes) 553 numBytes = 4 * sizeof *v [all...] |
| /external/swiftshader/third_party/subzero/pnacl-llvm/ |
| NaClBitcodeHeader.cpp | 179 unsigned &NumFields, unsigned &NumBytes) { 196 NumBytes = static_cast<unsigned>(BufPtr[2]) | 204 unsigned NumFields, unsigned NumBytes) { 205 HeaderSize = NumBytes + (2 * WordSize); 222 unsigned NumBytes; 223 if (ReadPrefix(BufPtr, BufEnd, NumFields, NumBytes)) 227 if (ReadFields(BufPtr, BufEnd, NumFields, NumBytes)) 229 BufPtr += NumBytes; 236 unsigned NumBytes; 238 // NumBytes and NumFields [all...] |
| /frameworks/av/media/extractors/mp3/ |
| VBRISeeker.cpp | 123 uint32_t numBytes; 125 case 1: numBytes = buffer[i]; break; 126 case 2: numBytes = U16_AT(buffer + 2 * i); break; 127 case 3: numBytes = U24_AT(buffer + 3 * i); break; 131 numBytes = U32_AT(buffer + 4 * i); break; 135 numBytes *= scale; 137 seeker->mSegments.push(numBytes); 139 ALOGV("entry #%zu: %u offset %#016llx", i, numBytes, (long long)offset); 140 offset += numBytes;
|
| /frameworks/av/media/libaaudio/src/fifo/ |
| FifoBuffer.cpp | 140 int32_t numBytes = convertFramesToBytes(framesToRead); 141 memcpy(destination, wrappingBuffer.data[partIndex], numBytes); 143 destination += numBytes; 171 int32_t numBytes = convertFramesToBytes(framesToWrite); 172 memcpy(wrappingBuffer.data[partIndex], source, numBytes); 174 source += numBytes; 216 int32_t numBytes = convertFramesToBytes(getBufferCapacityInFrames()); 217 if (numBytes > 0) { 218 memset(mStorage, 0, (size_t) numBytes);
|
| /frameworks/base/services/core/jni/ |
| com_android_server_UsbDescriptorParser.cpp | 51 int numBytes = read(fd, buffer, sizeof(buffer)); 55 if (numBytes > 0) { 56 ret = env->NewByteArray(numBytes); 57 env->SetByteArrayRegion(ret, 0, numBytes, buffer);
|
| /hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
| SocketComm.cpp | 102 int numBytes = 0; 106 numBytes = ::read(mCurSockFd, &msgSize, sizeof(msgSize)); 109 if (numBytes != sizeof(msgSize)) { 111 ALOGD("%s: numBytes=%d, expected=4", __FUNCTION__, numBytes); 123 numBytes = ::read(mCurSockFd, msg.data(), msgSize); 125 if ((numBytes == msgSize) && (msgSize > 0)) { 130 ALOGD("%s: numBytes=%d, msgSize=%d", __FUNCTION__, numBytes, msgSize);
|
| /libcore/ojluni/src/main/java/sun/misc/ |
| CharacterEncoder.java | 144 int numBytes; 150 numBytes = readFully(inStream, tmpbuffer); 151 if (numBytes == 0) { 154 encodeLinePrefix(outStream, numBytes); 155 for (j = 0; j < numBytes; j += bytesPerAtom()) { 157 if ((j + bytesPerAtom()) <= numBytes) { 160 encodeAtom(outStream, tmpbuffer, j, (numBytes)- j); 163 if (numBytes < bytesPerLine()) { 279 int numBytes; 285 numBytes = readFully(inStream, tmpbuffer) [all...] |
| /system/media/audio_utils/spdif/ |
| SPDIFEncoder.cpp | 127 void SPDIFEncoder::writeBurstBufferBytes(const uint8_t *buffer, size_t numBytes) 129 size_t bytesToWrite = numBytes; 184 uint16_t numBytes = (mByteCursor - preambleSize); 185 mBurstBuffer[3] = mFramer->convertBytesToLengthCode(numBytes); 228 ssize_t SPDIFEncoder::write( const void *buffer, size_t numBytes ) 230 size_t bytesLeft = numBytes; 232 ALOGV("SPDIFEncoder: mScanning = %d, write(buffer[0] = 0x%02X, numBytes = %zu)", 233 mScanning, (uint) *data, numBytes); 272 return numBytes;
|