Home
last modified time | relevance | path

Searched refs:old_len (Results 1 - 18 of 18) sorted by relevance

/third_party/node/deps/openssl/openssl/crypto/
H A Dmem.c228 void *CRYPTO_clear_realloc(void *str, size_t old_len, size_t num, in CRYPTO_clear_realloc() argument
237 CRYPTO_clear_free(str, old_len, file, line); in CRYPTO_clear_realloc()
241 /* Can't shrink the buffer since memcpy below copies |old_len| bytes. */ in CRYPTO_clear_realloc()
242 if (num < old_len) { in CRYPTO_clear_realloc()
243 OPENSSL_cleanse((char*)str + num, old_len - num); in CRYPTO_clear_realloc()
249 memcpy(ret, str, old_len); in CRYPTO_clear_realloc()
250 CRYPTO_clear_free(str, old_len, file, line); in CRYPTO_clear_realloc()
/third_party/openssl/crypto/
H A Dmem.c223 void *CRYPTO_clear_realloc(void *str, size_t old_len, size_t num, in CRYPTO_clear_realloc() argument
232 CRYPTO_clear_free(str, old_len, file, line); in CRYPTO_clear_realloc()
236 /* Can't shrink the buffer since memcpy below copies |old_len| bytes. */ in CRYPTO_clear_realloc()
237 if (num < old_len) { in CRYPTO_clear_realloc()
238 OPENSSL_cleanse((char*)str + num, old_len - num); in CRYPTO_clear_realloc()
244 memcpy(ret, str, old_len); in CRYPTO_clear_realloc()
245 CRYPTO_clear_free(str, old_len, file, line); in CRYPTO_clear_realloc()
/third_party/musl/src/mman/
H A 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/
H A 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()
H A 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/rust/crates/minimal-lexical/src/
H A Dstackvec.rs173 let old_len = self.len(); in resize_unchecked()
174 if len > old_len { in resize_unchecked()
180 let count = len - old_len; in resize_unchecked()
183 let dst = self.as_mut_ptr().add(old_len + index); in resize_unchecked()
/third_party/pulseaudio/speex/libspeexdsp/
H A Dbuffer.c166 int old_len = st->size; in speex_buffer_resize() local
167 if (len > old_len) in speex_buffer_resize()
/third_party/ffmpeg/libavformat/
H A Dsubtitles.c117 int old_len; in ff_subtitles_queue_insert() local
119 old_len = sub->size; in ff_subtitles_queue_insert()
122 memcpy(sub->data + old_len, event, len); in ff_subtitles_queue_insert()
/third_party/skia/third_party/externals/harfbuzz/src/
H A 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()
H A 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/ffmpeg/libavfilter/
H A Davf_showspectrum.c104 int old_len; member
1550 memset(s->outpicref->data[0] + outlink->w / 2 - 4 * s->old_len + in plot_spectrum_column()
1551 (outlink->h - s->start_y / 2 - 20 + y) * s->outpicref->linesize[0], 0, 10 * s->old_len); in plot_spectrum_column()
1558 for (y = 0; y < 10 * s->old_len; y++) { in plot_spectrum_column()
1560 (outlink->h / 2 - 4 * s->old_len + y) * s->outpicref->linesize[0], 0, 10); in plot_spectrum_column()
1567 s->old_len = strlen(units); in plot_spectrum_column()
/third_party/alsa-lib/src/pcm/
H A Dpcm_file.c152 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/libwebsockets/lib/roles/http/server/
H A Dserver.c3356 int old_len, n; in lws_chunked_html_process() local
3360 old_len = args->len; in lws_chunked_html_process()
3363 while (sp < args->p + old_len) { in lws_chunked_html_process()
3400 (unsigned int)(old_len - (sp - args->p) - 1)); in lws_chunked_html_process()
3401 old_len += (n - s->pos) + 1; in lws_chunked_html_process()
/third_party/node/deps/v8/src/heap/
H A Dfactory.cc2040 int old_len = src->length(); in CopyArrayAndGrow() local
2041 int new_len = old_len + grow_by; in CopyArrayAndGrow()
2049 result.CopyElements(isolate(), 0, *src, 0, old_len, mode); in CopyArrayAndGrow() local
2050 MemsetTagged(ObjectSlot(result.data_start() + old_len), in CopyArrayAndGrow()
2104 int old_len = src->length(); in CopyWeakArrayListAndGrow() local
2105 raw.set_length(old_len); in CopyWeakArrayListAndGrow()
2108 raw.CopyElements(isolate(), 0, *src, 0, old_len, mode); in CopyWeakArrayListAndGrow() local
2109 MemsetTagged(ObjectSlot(raw.data_start() + old_len), in CopyWeakArrayListAndGrow()
2110 read_only_roots().undefined_value(), new_capacity - old_len); in CopyWeakArrayListAndGrow()
/third_party/node/deps/v8/src/objects/
H A Dobjects.cc3309 uint32_t old_len = 0; in DefineOwnProperty() local
3310 CHECK(old_len_desc.value()->ToArrayLength(&old_len)); in DefineOwnProperty()
3316 if (index >= old_len && old_len_desc.has_writable() && in DefineOwnProperty()
3329 if (index >= old_len) { in DefineOwnProperty()
3415 uint32_t old_len = 0; in ArraySetLength() local
3416 CHECK(old_len_desc.value()->ToArrayLength(&old_len)); in ArraySetLength()
3418 if (new_len >= old_len) { in ArraySetLength()
/third_party/mesa3d/src/egl/main/
H A Deglapi.c560 const size_t old_len = strlen(disp->ClientAPIsString); \ in _eglCreateAPIsString()
563 if (old_len + add_len <= max_len) \ in _eglCreateAPIsString()
/third_party/python/Lib/test/
H A Dtest_functools.py1474 old_len = builtins.len
1480 builtins.len = old_len
/third_party/rust/crates/memchr/bench/data/code/
H A Drust-library.rs27913 let old_len = self.len; in drain_filter()
27915 DrainFilter { list: self, it, pred: filter, idx: 0, old_len } in drain_filter()
28473 old_len: usize,
28501 (0, Some(self.old_len - self.idx)) in size_hint()
[all...]

Completed in 89 milliseconds