Searched refs:streamLen (Results 1 – 1 of 1) sorted by relevance
147 size_t streamLen = 0; in adaptor_to_mem_stream() local151 while ((len = stream->read(data + streamLen, in adaptor_to_mem_stream()152 bufferSize - streamLen)) != 0) { in adaptor_to_mem_stream()153 streamLen += len; in adaptor_to_mem_stream()154 if (streamLen == bufferSize) { in adaptor_to_mem_stream()159 data = (char*)sk_realloc_throw(data, streamLen); in adaptor_to_mem_stream()162 streamMem->setMemoryOwned(data, streamLen); in adaptor_to_mem_stream()