Home
last modified time | relevance | path

Searched refs:kBufferSize (Results 1 – 17 of 17) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc276 const int kBufferSize = 256; in TEST_F() local
277 uint8 buffer[kBufferSize]; in TEST_F()
283 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
299 const int kBufferSize = 2*1024; in TEST_F() local
300 uint8* buffer = new uint8[kBufferSize]; in TEST_F()
306 new ArrayOutputStream(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
314 buffer + pos, kBufferSize - pos, kBlockSizes[i]); in TEST_F()
347 const int kBufferSize = 2*1024; in TEST_F() local
348 uint8* buffer = new uint8[kBufferSize]; in TEST_F()
355 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
[all …]
Dcoded_stream_unittest.cc140 static const int kBufferSize = 1024 * 64; member in google::protobuf::io::__anon49d814610111::CodedStreamTest
141 static uint8 buffer_[kBufferSize];
144 uint8 CodedStreamTest::buffer_[CodedStreamTest::kBufferSize];
/frameworks/av/media/libstagefright/include/media/stagefright/
DRemoteDataSource.h48 if (size > kBufferSize) { in readAt()
49 size = kBufferSize; in readAt()
75 kBufferSize = 64 * 1024, enumerator
85 sp<MemoryDealer> memoryDealer = new MemoryDealer(kBufferSize, "RemoteDataSource"); in RemoteDataSource()
86 mMemory = memoryDealer->allocate(kBufferSize); in RemoteDataSource()
/frameworks/base/media/jni/
Dandroid_media_MediaDataSource.cpp50 ScopedLocalRef<jbyteArray> tmp(env, env->NewByteArray(kBufferSize)); in JMediaDataSource()
54 sp<MemoryDealer> memoryDealer = new MemoryDealer(kBufferSize, "JMediaDataSource"); in JMediaDataSource()
55 mMemory = memoryDealer->allocate(kBufferSize); in JMediaDataSource()
78 if (size > kBufferSize) { in readAt()
79 size = kBufferSize; in readAt()
Dandroid_media_MediaHTTPConnection.cpp44 mDealer = new MemoryDealer(kBufferSize, "MediaHTTPConnection"); in JMediaHTTPConnection()
45 mMemory = mDealer->allocate(kBufferSize); in JMediaHTTPConnection()
48 env, env->NewByteArray(JMediaHTTPConnection::kBufferSize)); in JMediaHTTPConnection()
137 if (size > JMediaHTTPConnection::kBufferSize) { in android_media_MediaHTTPConnection_native_readAt()
138 size = JMediaHTTPConnection::kBufferSize; in android_media_MediaHTTPConnection_native_readAt()
Dandroid_media_DataSourceCallback.cpp34 static const size_t kBufferSize = 64 * 1024; variable
53 ScopedLocalRef<jbyteArray> tmp(env, env->NewByteArray(kBufferSize)); in JDataSourceCallback()
74 if (size > kBufferSize) { in readAt()
75 size = kBufferSize; in readAt()
Dandroid_media_MediaHTTPConnection.h32 kBufferSize = 32768, enumerator
Dandroid_media_MediaDataSource.h38 kBufferSize = 64 * 1024, enumerator
/frameworks/av/media/libmediaplayer2/
DJMedia2HTTPConnection.cpp31 static const size_t kBufferSize = 32768; variable
78 env, env->NewByteArray(kBufferSize)); in JMedia2HTTPConnection()
122 if (size > kBufferSize) { in readAt()
123 size = kBufferSize; in readAt()
/frameworks/av/cmds/stagefright/
DSineSource.cpp32 mGroup->add_buffer(new MediaBuffer(kBufferSize)); in start()
56 meta->setInt32(kKeyMaxInputSize, kBufferSize); in getFormat()
DSineSource.h27 enum { kBufferSize = 8192 }; enumerator
/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp79 kBufferSize = 64 * 1024, enumerator
97 new MemoryDealer(kBufferSize, "HeifDataSource"); in init()
98 mMemory = memoryDealer->allocate(kBufferSize); in init()
153 if (size > kBufferSize) { in readAt()
154 size = kBufferSize; in readAt()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerStreamListener.cpp37 mMemoryDealer = new MemoryDealer(kNumBuffers * kBufferSize); in NuPlayerStreamListener()
39 sp<IMemory> mem = mMemoryDealer->allocate(kBufferSize); in NuPlayerStreamListener()
DNuPlayerStreamListener.h45 kBufferSize = 188 * 10 enumerator
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp492 LOG_ALWAYS_FATAL_IF(bufferSize != kBufferSize, in ObserverProxy()
518 env->SetLongArrayRegion(sink, 0, kBufferSize, elem.buffer); in getNextBuffer()
532 memcpy(elem.buffer, stats, kBufferSize * sizeof(stats[0])); in notify()
548 static const int kBufferSize = static_cast<int>(FrameInfoIndex::NumIndexes); member in android::ObserverProxy
556 int64_t buffer[kBufferSize];
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp105 static const size_t kBufferSize = 32; variable
107 typedef AudioFormatAdapter<AudioEqualizer, kBufferSize> FormatAdapter;
/frameworks/native/cmds/installd/
Ddexopt.cpp1006 static constexpr size_t kBufferSize = 4 * 1024; in copy_system_profile() local
1007 char buffer[kBufferSize]; in copy_system_profile()
1009 ssize_t bytes = read(in_fd.get(), buffer, kBufferSize); in copy_system_profile()