Home
last modified time | relevance | path

Searched refs:getBufferSize (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Gallery2/jni_jpegstream/src/
Djpeg_hook.cpp27 dst->mgr.free_in_buffer = dst->outStream->getBufferSize(); in Mgr_init_destination_fcn()
32 int32_t len = dst->outStream->getBufferSize(); in Mgr_empty_output_buffer_fcn()
43 int32_t remaining = dst->outStream->getBufferSize() - dst->mgr.free_in_buffer; in Mgr_term_destination_fcn()
91 int32_t bytesRead = src->inStream->read(src->inStream->getBufferSize(), 0); in Mgr_fill_input_buffer_fcn()
Dstream_wrapper.cpp52 jbyteArray tmp = env->NewByteArray(getBufferSize()); in init()
91 int32_t StreamWrapper::getBufferSize() { in getBufferSize() function in StreamWrapper
Dstream_wrapper.h31 virtual int32_t getBufferSize();
Doutputstream_wrapper.cpp23 if (offset < 0 || length < 0 || (offset + length) > getBufferSize()) { in write()
Dinputstream_wrapper.cpp24 if (offset < 0 || length < 0 || (offset + length) > getBufferSize()) { in read()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomGraphGenerator.cpp77 size_t RandomOperand::getBufferSize() const { in getBufferSize() function in android::nn::fuzzing_test::RandomOperand
203 if (operand->buffer.empty()) operand->resizeBuffer<uint8_t>(operand->getBufferSize()); in generateValue()
272 testOperand.data = TestBuffer(operand->getBufferSize()); in createTestModel()
277 testOperand.data = TestBuffer(operand->getBufferSize(), operand->buffer.data()); in createTestModel()
DRandomGraphGenerator.h111 size_t getBufferSize() const;