Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DCreateJavaOutputStreamAdaptor.cpp148 size_t streamLen = 0; in adaptor_to_mem_stream() local
152 while ((len = stream->read(data + streamLen, in adaptor_to_mem_stream()
153 bufferSize - streamLen)) != 0) { in adaptor_to_mem_stream()
154 streamLen += len; in adaptor_to_mem_stream()
155 if (streamLen == bufferSize) { in adaptor_to_mem_stream()
160 data = (char*)sk_realloc_throw(data, streamLen); in adaptor_to_mem_stream()
163 streamMem->setMemoryOwned(data, streamLen); in adaptor_to_mem_stream()