/external/bsdiff/ |
D | bsdiff.cc | 49 int bsdiff(const uint8_t* old_buf, size_t oldsize, const uint8_t* new_buf, in bsdiff() argument 53 return bsdiff(old_buf, oldsize, new_buf, newsize, 0, &patch, in bsdiff() 57 int bsdiff(const uint8_t* old_buf, size_t oldsize, const uint8_t* new_buf, in bsdiff() argument 60 return bsdiff(old_buf, oldsize, new_buf, newsize, 0, patch, in bsdiff() 64 int bsdiff(const uint8_t* old_buf, size_t oldsize, const uint8_t* new_buf, in bsdiff() argument 82 local_sai = CreateSuffixArrayIndex(old_buf, oldsize); in bsdiff() 93 DiffEncoder diff_encoder(patch, old_buf, oldsize, new_buf, newsize); in bsdiff() 118 if(old_buf[scsc+lastoffset] == new_buf[scsc]) in bsdiff() 125 (old_buf[scan+lastoffset] == new_buf[scan])) in bsdiff() 143 if(old_buf[lastpos+i]==new_buf[lastscan+i]) s++; in bsdiff() [all …]
|
D | bsdiff_main.cc | 64 uint8_t* old_buf = static_cast<uint8_t*>(MapFile(old_filename, &oldsize)); in GenerateBsdiffFromFiles() local 65 if (!old_buf) { in GenerateBsdiffFromFiles() 72 munmap(old_buf, oldsize); in GenerateBsdiffFromFiles() 93 int ret = bsdiff::bsdiff(old_buf, oldsize, new_buf, newsize, in GenerateBsdiffFromFiles() 96 munmap(old_buf, oldsize); in GenerateBsdiffFromFiles()
|
D | diff_encoder.h | 25 const uint8_t* old_buf, in DiffEncoder() argument 30 old_buf_(old_buf), in DiffEncoder()
|
D | bspatch.cc | 263 std::vector<uint8_t> old_buf(1024 * 1024); in bspatch() local 307 size_t bytes_to_read = std::min(chunk_size, old_buf.size()); in bspatch() 308 if (!old_file->Read(old_buf.data(), bytes_to_read, &read_bytes)) { in bspatch() 323 new_buf[k] += old_buf[k]; in bspatch()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_video.c | 95 struct rvid_buffer old_buf = *new_buf; in si_vid_resize_buffer() local 101 src = ws->buffer_map(old_buf.res->buf, cs, PIPE_MAP_READ | RADEON_MAP_TEMPORARY); in si_vid_resize_buffer() 116 ws->buffer_unmap(old_buf.res->buf); in si_vid_resize_buffer() 117 si_vid_destroy_buffer(&old_buf); in si_vid_resize_buffer() 122 ws->buffer_unmap(old_buf.res->buf); in si_vid_resize_buffer() 124 *new_buf = old_buf; in si_vid_resize_buffer()
|
/external/bsdiff/include/bsdiff/ |
D | bsdiff.h | 22 int bsdiff(const uint8_t* old_buf, 30 int bsdiff(const uint8_t* old_buf, 46 int bsdiff(const uint8_t* old_buf,
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | radeon_video.c | 94 struct rvid_buffer old_buf = *new_buf; in rvid_resize_buffer() local 100 src = ws->buffer_map(old_buf.res->buf, cs, in rvid_resize_buffer() 117 ws->buffer_unmap(old_buf.res->buf); in rvid_resize_buffer() 118 rvid_destroy_buffer(&old_buf); in rvid_resize_buffer() 123 ws->buffer_unmap(old_buf.res->buf); in rvid_resize_buffer() 125 *new_buf = old_buf; in rvid_resize_buffer()
|
D | r600_buffer_common.c | 190 struct pb_buffer *old_buf, *new_buf; in r600_alloc_resource() local 204 old_buf = res->buf; in r600_alloc_resource() 212 pb_reference(&old_buf, NULL); in r600_alloc_resource()
|
/external/mesa3d/src/gallium/frontends/va/ |
D | picture.c | 711 struct pipe_video_buffer *old_buf = surf->buffer; in vlVaEndPicture() local 719 if (old_buf->interlaced) { in vlVaEndPicture() 727 old_buf, surf->buffer, in vlVaEndPicture() 736 old_buf->destroy(old_buf); in vlVaEndPicture()
|
/external/e2fsprogs/lib/ext2fs/ |
D | inline_data.c | 124 char *old_buf; in ext2fs_inline_data_dir_iterate() local 129 old_buf = ctx->buf; in ext2fs_inline_data_dir_iterate() 247 ctx->buf = old_buf; in ext2fs_inline_data_dir_iterate()
|
/external/webp/src/dec/ |
D | idec_dec.c | 209 const uint8_t* const old_buf = mem->buf_; in RemapMemBuffer() local 211 (old_buf == NULL) ? NULL : old_buf + mem->start_; in RemapMemBuffer() 212 assert(old_buf != NULL || mem->start_ == 0); in RemapMemBuffer()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_buffer.c | 216 struct pb_buffer *old_buf, *new_buf; in si_alloc_resource() local 229 old_buf = res->buf; in si_alloc_resource() 243 pb_reference(&old_buf, NULL); in si_alloc_resource()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state.c | 699 struct pipe_resource *old_buf = i915->constants[shader]; in i915_set_constant_buffer() local 700 struct i915_buffer *old = old_buf ? i915_buffer(old_buf) : NULL; in i915_set_constant_buffer()
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth.c | 3337 static u8 * replace_ie(const char *name, const u8 *old_buf, size_t *len, u8 eid, in replace_ie() argument 3345 old_buf, *len); in replace_ie() 3349 os_memcpy(buf, old_buf, *len); in replace_ie()
|