Home
last modified time | relevance | path

Searched refs:left_over (Results 1 – 8 of 8) sorted by relevance

/external/elfutils/lib/
Dmd5.c208 size_t left_over = ctx->buflen; in md5_process_bytes() local
209 size_t add = 128 - left_over > len ? len : 128 - left_over; in md5_process_bytes()
211 memcpy (&ctx->buffer[left_over], buffer, add); in md5_process_bytes()
220 memcpy (ctx->buffer, &ctx->buffer[(left_over + add) & ~63], in md5_process_bytes()
258 size_t left_over = ctx->buflen; in md5_process_bytes() local
260 memcpy (&ctx->buffer[left_over], buffer, len); in md5_process_bytes()
261 left_over += len; in md5_process_bytes()
262 if (left_over >= 64) in md5_process_bytes()
265 left_over -= 64; in md5_process_bytes()
266 memcpy (ctx->buffer, &ctx->buffer[64], left_over); in md5_process_bytes()
[all …]
Dsha1.c127 size_t left_over = ctx->buflen; in sha1_process_bytes() local
128 size_t add = 128 - left_over > len ? len : 128 - left_over; in sha1_process_bytes()
130 memcpy (&ctx->buffer[left_over], buffer, add); in sha1_process_bytes()
139 memcpy (ctx->buffer, &ctx->buffer[(left_over + add) & ~63], in sha1_process_bytes()
177 size_t left_over = ctx->buflen; in sha1_process_bytes() local
179 memcpy (&ctx->buffer[left_over], buffer, len); in sha1_process_bytes()
180 left_over += len; in sha1_process_bytes()
181 if (left_over >= 64) in sha1_process_bytes()
184 left_over -= 64; in sha1_process_bytes()
185 memcpy (ctx->buffer, &ctx->buffer[64], left_over); in sha1_process_bytes()
[all …]
/external/libvncserver/common/
Dmd5.c219 size_t left_over = ctx->buflen; local
220 size_t add = 128 - left_over > len ? len : 128 - left_over;
222 memcpy (&ctx->buffer[left_over], buffer, add);
231 memcpy (ctx->buffer, &ctx->buffer[(left_over + add) & ~63],
269 size_t left_over = ctx->buflen; local
271 memcpy (&ctx->buffer[left_over], buffer, len);
272 left_over += len;
273 if (left_over >= 64)
276 left_over -= 64;
277 memcpy (ctx->buffer, &ctx->buffer[64], left_over);
[all …]
/external/syslinux/com32/libutil/
Dsha256crypt.c216 size_t left_over = ctx->buflen; in sha256_process_bytes() local
217 size_t add = 128 - left_over > len ? len : 128 - left_over; in sha256_process_bytes()
219 memcpy(&ctx->buffer[left_over], buffer, add); in sha256_process_bytes()
227 memcpy(ctx->buffer, &ctx->buffer[(left_over + add) & ~63], in sha256_process_bytes()
258 size_t left_over = ctx->buflen; in sha256_process_bytes() local
260 memcpy(&ctx->buffer[left_over], buffer, len); in sha256_process_bytes()
261 left_over += len; in sha256_process_bytes()
262 if (left_over >= 64) { in sha256_process_bytes()
264 left_over -= 64; in sha256_process_bytes()
265 memcpy(ctx->buffer, &ctx->buffer[64], left_over); in sha256_process_bytes()
[all …]
Dsha512crypt.c247 size_t left_over = ctx->buflen; in sha512_process_bytes() local
248 size_t add = 256 - left_over > len ? len : 256 - left_over; in sha512_process_bytes()
250 memcpy(&ctx->buffer[left_over], buffer, add); in sha512_process_bytes()
258 memcpy(ctx->buffer, &ctx->buffer[(left_over + add) & ~127], in sha512_process_bytes()
293 size_t left_over = ctx->buflen; in sha512_process_bytes() local
295 memcpy(&ctx->buffer[left_over], buffer, len); in sha512_process_bytes()
296 left_over += len; in sha512_process_bytes()
297 if (left_over >= 128) { in sha512_process_bytes()
299 left_over -= 128; in sha512_process_bytes()
300 memcpy(ctx->buffer, &ctx->buffer[128], left_over); in sha512_process_bytes()
[all …]
/external/webp/src/dsp/
Dupsampling_sse2.c162 const int left_over = ((len + 1) >> 1) - (pos >> 1); \
163 assert(left_over > 0); \
164 UPSAMPLE_LAST_BLOCK(top_u + uv_pos, cur_u + uv_pos, left_over, r_u); \
165 UPSAMPLE_LAST_BLOCK(top_v + uv_pos, cur_v + uv_pos, left_over, r_v); \
Dlossless_enc_sse2.c125 const int left_over = tile_width & (SPAN - 1); in CollectColorBlueTransforms() local
126 if (left_over > 0) { in CollectColorBlueTransforms()
127 VP8LCollectColorBlueTransforms_C(argb + tile_width - left_over, stride, in CollectColorBlueTransforms()
128 left_over, tile_height, in CollectColorBlueTransforms()
167 const int left_over = tile_width & (SPAN - 1); in CollectColorRedTransforms() local
168 if (left_over > 0) { in CollectColorRedTransforms()
169 VP8LCollectColorRedTransforms_C(argb + tile_width - left_over, stride, in CollectColorRedTransforms()
170 left_over, tile_height, in CollectColorRedTransforms()
/external/libunwind/src/
Delfxx.c93 size_t left_over = bytes & (sizeof(unw_word_t) - 1); in elf_w() local
94 if (left_over) { in elf_w()
99 memcpy (buffer, &data_word, left_over); in elf_w()
108 bytes_read += left_over; in elf_w()