Home
last modified time | relevance | path

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

/external/bsdiff/
Dbsdiff.cc110 u_char *old_buf,*new_buf; in bsdiff() local
131 ((old_buf=static_cast<u_char*>(malloc(oldsize+1)))==NULL) || in bsdiff()
133 (read(fd,old_buf,oldsize)!=oldsize) || in bsdiff()
139 if(divsufsort(old_buf, I, oldsize)) err(1, "divsufsort"); in bsdiff()
195 len=search(I,old_buf,oldsize,new_buf+scan,newsize-scan, in bsdiff()
200 (old_buf[scsc+lastoffset] == new_buf[scsc])) in bsdiff()
207 (old_buf[scan+lastoffset] == new_buf[scan])) in bsdiff()
225 if(old_buf[lastpos+i]==new_buf[lastscan+i]) s++; in bsdiff()
234 if(old_buf[pos-i]==new_buf[scan-i]) s++; in bsdiff()
244 old_buf[lastpos+lenf-overlap+i]) s++; in bsdiff()
[all …]
Dbspatch.cc261 std::vector<uint8_t> old_buf(1024 * 1024), new_buf(1024 * 1024); in bspatch() local
300 size_t bytes_to_read = std::min(chunk_size, old_buf.size()); in bspatch()
301 if (!old_file->Read(old_buf.data(), bytes_to_read, &read_bytes)) in bspatch()
310 new_buf[k] += old_buf[k]; in bspatch()
/external/jetty/src/java/org/eclipse/jetty/util/
DTypeUtil.java517 byte[] old_buf=buf; in readLine()
518 buf=new byte[old_buf.length+256]; in readLine()
519 System.arraycopy(old_buf, 0, buf, 0, old_buf.length); in readLine()
536 byte[] old_buf=buf; in readLine()
538 System.arraycopy(old_buf, 0, buf, 0, i); in readLine()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c690 struct pipe_resource *old_buf = i915->constants[shader]; in i915_set_constant_buffer() local
691 struct i915_buffer *old = old_buf ? i915_buffer(old_buf) : NULL; in i915_set_constant_buffer()
/external/webp/src/dec/
Didec.c206 const uint8_t* const old_buf = mem->buf_; in RemapMemBuffer() local
207 const uint8_t* const old_start = old_buf + mem->start_; in RemapMemBuffer()
/external/opencv3/3rdparty/libwebp/dec/
Didec.c196 const uint8_t* const old_buf = mem->buf_; in RemapMemBuffer() local
197 const uint8_t* const old_start = old_buf + mem->start_; in RemapMemBuffer()