/third_party/openssl/crypto/ |
D | mem.c | 268 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/ |
D | fuzzlib.c | 206 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/musl/src/mman/ |
D | mremap.c | 12 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/ |
D | demo.c | 438 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()
|
D | demo_https.c | 439 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/mbedtls/tests/suites/ |
D | test_suite_asn1write.function | 391 void store_named_data_val_found( int old_len, int new_len ) 400 if( old_len != 0 ) 402 ASSERT_ALLOC( nd.val.p, (size_t) old_len ); 404 nd.val.len = old_len; 405 memset( old_val, 'x', old_len ); 423 else if( new_len == old_len )
|
/third_party/boost/tools/build/src/engine/ |
D | execunix.cpp | 409 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/ |
D | soup-message-io.c | 216 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/ |
D | subtitles.c | 119 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/flatbuffers/rust/flatbuffers/src/ |
D | builder.rs | 617 let old_len = self.owned_buf.len(); in grow_owned_buf() localVariable 618 let new_len = max(1, old_len * 2); in grow_owned_buf() 622 let diff = new_len - old_len; in grow_owned_buf()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-var-gvar-table.hh | 57 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()
|
D | hb-coretext.cc | 1006 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/harfbuzz/src/ |
D | hb-ot-var-gvar-table.hh | 57 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()
|
D | hb-coretext.cc | 968 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/libnl/lib/route/qdisc/ |
D | netem.c | 220 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/alsa-lib/src/pcm/ |
D | pcm_file.c | 152 int old_len, new_len, err; in snd_pcm_file_replace_fname() local 157 old_len = new_len = strlen(fname); in snd_pcm_file_replace_fname() 158 old_last_ch = fname + old_len - 1; in snd_pcm_file_replace_fname()
|
/third_party/ffmpeg/libavfilter/ |
D | avf_showspectrum.c | 96 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/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/ |
D | sctp_output.c | 12445 uint16_t len, old_len, i; local 12452 old_len = len = SCTP_SIZE32(ntohs(ch->chunk_length)); 12506 ch->chunk_length = htons(len + old_len); 12507 chk->book_size = len + old_len; 12519 uint16_t len, old_len, i; local 12524 old_len = len = SCTP_SIZE32(ntohs(ch->chunk_length)); 12547 ch->chunk_length = htons(len + old_len); 12548 chk->book_size = len + old_len; 12559 uint16_t len, old_len; local 12564 old_len = len = SCTP_SIZE32(ntohs(ch->chunk_length)); [all …]
|
/third_party/openssl/doc/man3/ |
D | OPENSSL_malloc.pod | 39 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/ |
D | server.c | 3345 int old_len, n; in lws_chunked_html_process() local 3349 old_len = args->len; in lws_chunked_html_process() 3352 while (sp < args->p + old_len) { in lws_chunked_html_process() 3389 (unsigned int)(old_len - (sp - args->p) - 1)); in lws_chunked_html_process() 3390 old_len += (n - s->pos) + 1; in lws_chunked_html_process()
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-coretext.cc | 925 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/mesa3d/src/egl/main/ |
D | eglapi.c | 566 const size_t old_len = strlen(disp->ClientAPIsString); \ in _eglCreateAPIsString() 569 if (old_len + add_len <= max_len) \ in _eglCreateAPIsString()
|
/third_party/python/Lib/test/ |
D | test_functools.py | 1407 old_len = builtins.len 1413 builtins.len = old_len
|
/third_party/quickjs/ |
D | quickjs.c | 8208 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()
|