Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DCreateJavaOutputStreamAdaptor.cpp182 size_t streamLen = 0; in adaptor_to_mem_stream() local
186 while ((len = stream->read(data + streamLen, in adaptor_to_mem_stream()
187 bufferSize - streamLen)) != 0) { in adaptor_to_mem_stream()
188 streamLen += len; in adaptor_to_mem_stream()
189 if (streamLen == bufferSize) { in adaptor_to_mem_stream()
194 data = (char*)sk_realloc_throw(data, streamLen); in adaptor_to_mem_stream()
197 streamMem->setMemoryOwned(data, streamLen); in adaptor_to_mem_stream()