Searched refs:localBuf (Results 1 - 2 of 2) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DRecyclableBufferedInputStream.java121 private int fillbuf(InputStream localIn, byte[] localBuf) argument
125 int result = localIn.read(localBuf);
133 //Added count == localBuf.length so that we do not immediately double the buffer size before reading any data
134 // when marklimit > localBuf.length. Instead, we will double the buffer size only after reading the initial
135 // localBuf worth of data without finding what we're looking for in the stream. This allows us to set a
138 if (markpos == 0 && marklimit > localBuf.length && count == localBuf.length) {
140 int newLength = localBuf.length * 2;
145 System.arraycopy(localBuf, 0, newbuf, 0, localBuf
[all...]
/external/deqp/framework/opengl/
H A DgluDrawUtil.cpp326 std::vector<deUint8> localBuf(layout.size);
329 copyToLayout(&localBuf[0], layout.attributes[attrNdx], srcArrays[attrNdx]);
332 gl.bufferData(GL_ARRAY_BUFFER, (int)localBuf.size(), &localBuf[0], usage);

Completed in 54 milliseconds