Searched refs:streamLen (Results 1 – 1 of 1) sorted by relevance
191 size_t streamLen = 0; in CopyJavaInputStream() local196 while ((len = stream->read(data + streamLen, in CopyJavaInputStream()197 bufferSize - streamLen)) != 0) { in CopyJavaInputStream()198 streamLen += len; in CopyJavaInputStream()199 if (streamLen == bufferSize) { in CopyJavaInputStream()205 if (streamLen == 0) { in CopyJavaInputStream()211 LOG_FATAL_IF(streamLen > bufferSize); in CopyJavaInputStream()212 data = (char*)realloc(data, streamLen); in CopyJavaInputStream()217 return SkData::MakeWithProc(data, streamLen, free_pointer_skproc, nullptr); in CopyJavaInputStream()