Home
last modified time | relevance | path

Searched refs:old_len (Results 1 – 20 of 20) sorted by relevance

/third_party/openssl/crypto/
Dmem.c268 void *CRYPTO_clear_realloc(void *str, size_t old_len, size_t num, in CRYPTO_clear_realloc() argument
277 CRYPTO_clear_free(str, old_len, file, line); in CRYPTO_clear_realloc()
282 if (num < old_len) { in CRYPTO_clear_realloc()
283 OPENSSL_cleanse((char*)str + num, old_len - num); in CRYPTO_clear_realloc()
289 memcpy(ret, str, old_len); in CRYPTO_clear_realloc()
290 CRYPTO_clear_free(str, old_len, file, line); in CRYPTO_clear_realloc()
/third_party/flutter/skia/third_party/externals/wuffs/fuzz/c/fuzzlib/
Dfuzzlib.c206 size_t old_len = relative_cwd.len; in visit() local
208 size_t new_len = old_len + strlen(filename); in visit()
218 memcpy(relative_cwd.buf + old_len, filename, filename_len); in visit()
228 relative_cwd.buf[old_len] = '\x00'; in visit()
229 relative_cwd.len = old_len; in visit()
/third_party/uboot/u-boot-2020.01/post/drivers/
Dflash.c35 static void *seed_src_data(void *ptr, ulong *old_len, ulong new_len) in seed_src_data() argument
44 for (i = *old_len; i < new_len; ++i) in seed_src_data()
47 *old_len = new_len; in seed_src_data()
/third_party/musl/src/mman/
Dmremap.c12 void *__mremap(void *old_addr, size_t old_len, size_t new_len, int flags, ...) in __mremap() argument
29 return (void *)syscall(SYS_mremap, old_addr, old_len, new_len, flags, new_addr); in __mremap()
/third_party/skia/third_party/externals/microhttpd/src/examples/
Ddemo.c438 size_t old_len; in do_append() local
441 old_len = 0; in do_append()
443 old_len = strlen (*ret); in do_append()
444 buf = malloc (old_len + size + 1); in do_append()
447 memcpy (buf, *ret, old_len); in do_append()
450 memcpy (&buf[old_len], data, size); in do_append()
451 buf[old_len + size] = '\0'; in do_append()
Ddemo_https.c439 size_t old_len; in do_append() local
442 old_len = 0; in do_append()
444 old_len = strlen (*ret); in do_append()
445 buf = malloc (old_len + size + 1); in do_append()
448 memcpy (buf, *ret, old_len); in do_append()
451 memcpy (&buf[old_len], data, size); in do_append()
452 buf[old_len + size] = '\0'; in do_append()
/third_party/boost/tools/build/src/engine/
Dexecunix.cpp409 int const old_len = cmdtab[ i ].buf_size[ s ] - 1; in read_descriptor() local
410 int const new_len = old_len + ret + 1; in read_descriptor()
413 memcpy( cmdtab[ i ].buffer[ s ], tmp, old_len ); in read_descriptor()
414 memcpy( cmdtab[ i ].buffer[ s ] + old_len, buffer, ret + 1 ); in read_descriptor()
/third_party/libsoup/libsoup/
Dsoup-message-io.c216 gssize nread, old_len; in read_headers() local
221 old_len = io->read_header_buf->len; in read_headers()
222 g_byte_array_set_size (io->read_header_buf, old_len + RESPONSE_BLOCK_SIZE); in read_headers()
224 io->read_header_buf->data + old_len, in read_headers()
229 io->read_header_buf->len = old_len + MAX (nread, 0); in read_headers()
242 if (nread == 1 && old_len >= 2 && in read_headers()
248 } else if (nread == 2 && old_len >= 3 && in read_headers()
/third_party/ffmpeg/libavformat/
Dsubtitles.c119 int old_len; in ff_subtitles_queue_insert() local
121 old_len = sub->size; in ff_subtitles_queue_insert()
124 memcpy(sub->data + old_len, event, len); in ff_subtitles_queue_insert()
/third_party/harfbuzz/src/
Dhb-ot-var-gvar-table.hh57 unsigned int old_len = length; in extend() local
58 resize (old_len + a.length); in extend()
60 (*this)[old_len + i] = a[i]; in extend()
Dhb-coretext.cc968 unsigned int old_len = buffer->len; in _hb_coretext_shape() local
994 buffer->reverse_range (old_len, buffer->len); in _hb_coretext_shape()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-var-gvar-table.hh57 unsigned int old_len = length; in extend() local
58 resize (old_len + a.length); in extend()
60 (*this)[old_len + i] = a[i]; in extend()
Dhb-coretext.cc1006 unsigned int old_len = buffer->len; in _hb_coretext_shape() local
1032 buffer->reverse_range (old_len, buffer->len); in _hb_coretext_shape()
/third_party/libnl/lib/route/qdisc/
Dnetem.c220 int old_len; in netem_msg_fill_raw() local
332 old_len = head->nla_len; in netem_msg_fill_raw()
334 msg->nm_nlh->nlmsg_len += (head->nla_len - old_len); in netem_msg_fill_raw()
/third_party/ffmpeg/libavfilter/
Davf_showspectrum.c96 int old_len; member
1377 memset(s->outpicref->data[0] + outlink->w / 2 - 4 * s->old_len + in plot_spectrum_column()
1378 … (outlink->h - s->start_y / 2 - 20 + y) * s->outpicref->linesize[0], 0, 10 * s->old_len); in plot_spectrum_column()
1385 for (y = 0; y < 10 * s->old_len; y++) { in plot_spectrum_column()
1387 … (outlink->h / 2 - 4 * s->old_len + y) * s->outpicref->linesize[0], 0, 10); in plot_spectrum_column()
1394 s->old_len = strlen(units); in plot_spectrum_column()
/third_party/openssl/doc/man3/
DOPENSSL_malloc.pod39 void *OPENSSL_clear_realloc(void *p, size_t old_len, size_t num)
53 void *CRYPTO_clear_realloc(void *p, size_t old_len, size_t num,
/third_party/libwebsockets/lib/roles/http/server/
Dserver.c3071 int old_len, n; in lws_chunked_html_process() local
3075 old_len = args->len; in lws_chunked_html_process()
3078 while (sp < args->p + old_len) { in lws_chunked_html_process()
3115 old_len - (sp - args->p) - 1); in lws_chunked_html_process()
3116 old_len += (n - s->pos) + 1; in lws_chunked_html_process()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-coretext.cc925 unsigned int old_len = buffer->len; in _hb_coretext_shape() local
951 buffer->reverse_range (old_len, buffer->len); in _hb_coretext_shape()
/third_party/python/Lib/test/
Dtest_functools.py1368 old_len = builtins.len
1374 builtins.len = old_len
/third_party/quickjs/
Dquickjs.c8208 uint32_t old_len = p->u.array.count; in set_array_length() local
8209 if (len < old_len) { in set_array_length()
8210 for(i = len; i < old_len; i++) { in set_array_length()