HomeSort by relevance Sort by last modified time
    Searched refs:numBytes (Results 76 - 100 of 457) sorted by null

1 2 34 5 6 7 8 91011>>

  /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/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);
  /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, &timestamp, 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...]
midi.h 140 * numBytes Specifies the number of bytes to write.
144 ssize_t AMIDI_send(AMIDI_InputPort *inputPort, uint8_t *buffer, ssize_t numBytes);
151 * numBytes Specifies the number of bytes to write.
157 ssize_t numBytes, int64_t timestamp);
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
SecureRandomSpiTest.java 54 protected byte[] engineGenerateSeed(int numBytes) {
  /libcore/ojluni/src/main/native/
FileChannelImpl.c 184 size_t numBytes = 0;
192 result = sendfilev64(dstFD, &sfv, 1, &numBytes);
195 * transferred, so we check numBytes first.
197 if (numBytes > 0)
198 return numBytes;
213 off_t numBytes;
216 numBytes = count;
218 result = sendfile(srcFD, dstFD, position, &numBytes, NULL, 0);
220 if (numBytes > 0)
221 return numBytes;
    [all...]
  /external/deqp/framework/delibs/depool/
deMemPool.c 426 DE_INLINE void* deMemPool_allocInternal (deMemPool* pool, size_t numBytes, deUint32 alignBytes)
442 void* ptr = deAlignedMalloc(numBytes, alignBytes);
466 if (numBytes + alignPadding > (size_t)(curPage->capacity - curPage->bytesAllocated))
470 int newPageCapacity = deMax32(deMin32(2*curPage->capacity, MAX_PAGE_SIZE), ((int)numBytes)+maxAlignPadding);
485 DE_ASSERT(numBytes + alignPadding <= (size_t)curPage->capacity);
488 curPage->bytesAllocated += (int)(numBytes + alignPadding);
496 * \param numBytes Number of bytes to allocate.
499 void* deMemPool_alloc (deMemPool* pool, size_t numBytes)
503 DE_ASSERT(numBytes > 0);
504 ptr = deMemPool_allocInternal(pool, numBytes, DE_POOL_DEFAULT_ALLOC_ALIGNMENT)
    [all...]
  /external/deqp/executor/
xeContainerFormatParser.hpp 61 void feed (const deUint8* bytes, size_t numBytes);
78 void getData (deUint8* dst, int numBytes, int offset);
xeCallQueue.hpp 75 void read (deUint8* bytes, size_t numBytes);
76 const deUint8* getDataBlock (size_t numBytes); //!< \note Valid only during call.
93 void write (const deUint8* bytes, size_t numBytes);
  /external/deqp/framework/common/
tcuResource.hpp 50 virtual void read (deUint8* dst, int numBytes) = 0;
114 void read (deUint8* dst, int numBytes);
  /hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
IPACM_Log.cpp 74 int numBytes=0, len;
95 if ((numBytes = sendto(ipacm_log_sockfd, (void *)&ipacm_log_buffer, sizeof(ipacm_log_buffer.user_data), 0,
  /libcore/ojluni/src/main/java/java/security/
SecureRandom.java 499 int numBytes = (numBits+7)/8;
500 byte b[] = new byte[numBytes];
504 for (int i = 0; i < numBytes; i++) {
508 return next >>> (numBytes*8 - numBits);
522 * @param numBytes the number of seed bytes to generate.
528 public static byte[] getSeed(int numBytes) {
532 return seedGenerator.generateSeed(numBytes);
540 * @param numBytes the number of seed bytes to generate.
544 public byte[] generateSeed(int numBytes) {
545 return secureRandomSpi.engineGenerateSeed(numBytes);
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
StreamRecorder.java 62 int numBytes = 0;
64 numBytes = AudioRecord.getMinBufferSize(sampleRate, AudioFormat.CHANNEL_IN_STEREO,
66 numBytes *= 2;
68 numBytes = AudioRecord.getMinBufferSize(sampleRate,
72 return numBytes;
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/
PoolAlloc.cpp 263 void* TPoolAllocator::allocate(size_t numBytes)
266 // them: [guardblock][allocation][guardblock]. numBytes is how
270 size_t allocationSize = TAllocation::allocationSize(numBytes);
276 totalBytes += numBytes;
290 return initializeAllocation(inUseList, memory, numBytes);
333 return initializeAllocation(inUseList, ret, numBytes);
  /external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
vktSpvAsmComputeShaderCase.cpp 54 Move<VkBuffer> createBufferAndBindMemory (const DeviceInterface& vkdi, const VkDevice& device, VkDescriptorType dtype, Allocator& allocator, size_t numBytes, AllocationMp* outMemory)
70 numBytes, // size
87 void setMemory (const DeviceInterface& vkdi, const VkDevice& device, Allocation* destAlloc, size_t numBytes, const void* data)
91 deMemcpy((deUint8*)hostPtr, data, numBytes);
92 flushMappedMemoryRange(vkdi, device, destAlloc->getMemory(), destAlloc->getOffset(), numBytes);
95 void fillMemoryWithValue (const DeviceInterface& vkdi, const VkDevice& device, Allocation* destAlloc, size_t numBytes, deUint8 value)
99 deMemset((deUint8*)hostPtr, value, numBytes);
100 flushMappedMemoryRange(vkdi, device, destAlloc->getMemory(), destAlloc->getOffset(), numBytes);
103 void invalidateMemory (const DeviceInterface& vkdi, const VkDevice& device, Allocation* srcAlloc, size_t numBytes)
105 invalidateMappedMemoryRange(vkdi, device, srcAlloc->getMemory(), srcAlloc->getOffset(), numBytes);
    [all...]
  /art/tools/ahat/src/main/com/android/ahat/heapdump/
Site.java 92 public Size numBytes;
104 this.numBytes = Size.ZERO;
221 info.numBytes = info.numBytes.plus(size);
232 info.numBytes = info.numBytes.plus(childInfo.numBytes);
  /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...]
  /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);
  /frameworks/base/cmds/statsd/src/config/
ConfigManager.cpp 77 const int numBytes = config.ByteSize();
78 vector<uint8_t> buffer(numBytes);
79 config.SerializeToArray(&buffer[0], numBytes);
99 update_saved_configs_locked(key, buffer, numBytes);
104 update_saved_configs_locked(key, buffer, numBytes);
271 const int numBytes) {
279 StorageManager::writeFile(file_name.c_str(), &buffer[0], numBytes);
  /libcore/dalvik/src/main/java/dalvik/system/
EmulatedStackFrame.java 111 public final int numBytes;
113 private Range(int referencesStart, int numReferences, int stackFrameStart, int numBytes) {
117 this.numBytes = numBytes;
130 int numBytes = 0;
146 numBytes += getSize(cl);
150 return new Range(referencesStart, numReferences, stackFrameStart, numBytes);
219 if (fromRange.numBytes > 0) {
221 other.stackFrame, primitivesStart, fromRange.numBytes);
  /frameworks/av/media/libstagefright/
HTTPBase.cpp 45 size_t numBytes, int64_t delayUs) {
50 entry.mNumBytes = numBytes;
52 mTotalTransferBytes += numBytes;
  /system/media/audio_utils/spdif/
AC3FrameScanner.cpp 131 uint16_t AC3FrameScanner::convertBytesToLengthCode(uint16_t numBytes) const
133 return (mDataType == SPDIF_DATA_TYPE_E_AC3) ? numBytes : numBytes * 8;
  /external/deqp/framework/delibs/decpp/
deArrayBuffer.cpp 35 void* ArrayBuffer_AlignedMalloc (size_t numBytes, size_t alignment)
37 const int sizeAsInt = (int)numBytes;
41 if (sizeAsInt < 0 || numBytes != (size_t)sizeAsInt)
53 VALGRIND_MAKE_MEM_UNDEFINED(ptr, numBytes);
  /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
XmlMessageWrapper.java 243 * @param numBytes the number of bytes desired
247 private static byte[] readBytes(InputStream stream, int numBytes)
249 byte buffer[] = new byte[numBytes];
252 while (bytesRead < numBytes) {
253 int inc = stream.read(buffer, bytesRead, numBytes - bytesRead);
  /frameworks/base/cmds/statsd/src/storage/
StorageManager.h 37 static void writeFile(const char* file, const void* buffer, int numBytes);

Completed in 771 milliseconds

1 2 34 5 6 7 8 91011>>