/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/ |
D | zero_copy_stream_unittest.cc | 276 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 …]
|
D | coded_stream_unittest.cc | 140 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/ |
D | RemoteDataSource.h | 48 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/ |
D | android_media_MediaDataSource.cpp | 50 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()
|
D | android_media_MediaHTTPConnection.cpp | 44 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()
|
D | android_media_DataSourceCallback.cpp | 34 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()
|
D | android_media_MediaHTTPConnection.h | 32 kBufferSize = 32768, enumerator
|
D | android_media_MediaDataSource.h | 38 kBufferSize = 64 * 1024, enumerator
|
/frameworks/av/media/libmediaplayer2/ |
D | JMedia2HTTPConnection.cpp | 31 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/ |
D | SineSource.cpp | 32 mGroup->add_buffer(new MediaBuffer(kBufferSize)); in start() 56 meta->setInt32(kKeyMaxInputSize, kBufferSize); in getFormat()
|
D | SineSource.h | 27 enum { kBufferSize = 8192 }; enumerator
|
/frameworks/av/media/libheif/ |
D | HeifDecoderImpl.cpp | 79 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/ |
D | NuPlayerStreamListener.cpp | 37 mMemoryDealer = new MemoryDealer(kNumBuffers * kBufferSize); in NuPlayerStreamListener() 39 sp<IMemory> mem = mMemoryDealer->allocate(kBufferSize); in NuPlayerStreamListener()
|
D | NuPlayerStreamListener.h | 45 kBufferSize = 188 * 10 enumerator
|
/frameworks/base/core/jni/ |
D | android_view_ThreadedRenderer.cpp | 492 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/ |
D | EffectEqualizer.cpp | 105 static const size_t kBufferSize = 32; variable 107 typedef AudioFormatAdapter<AudioEqualizer, kBufferSize> FormatAdapter;
|
/frameworks/native/cmds/installd/ |
D | dexopt.cpp | 1006 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()
|