Home
last modified time | relevance | path

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

/third_party/node/deps/openssl/openssl/crypto/
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()
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/
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()
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/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/rust/crates/minimal-lexical/src/
Dstackvec.rs173 let old_len = self.len(); in resize_unchecked() localVariable
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/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/mbedtls/tests/suites/
Dtest_suite_asn1write.function522 void store_named_data_val_found(int old_len, int new_len)
531 if (old_len != 0) {
532 ASSERT_ALLOC(nd.val.p, (size_t) old_len);
534 nd.val.len = old_len;
535 memset(old_val, 'x', old_len);
553 } else if (new_len == old_len) {
/third_party/ffmpeg/libavformat/
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/
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/openssl/doc/man3/
DOPENSSL_malloc.pod39 void *OPENSSL_clear_realloc(void *p, size_t old_len, size_t num);
49 void *CRYPTO_clear_realloc(void *p, size_t old_len, size_t num,
/third_party/alsa-lib/src/pcm/
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/ffmpeg/libavfilter/
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/libwebsockets/lib/roles/http/server/
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/
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()
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()
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/
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/
Deglapi.c560 const size_t old_len = strlen(disp->ClientAPIsString); \ in _eglCreateAPIsString()
563 if (old_len + add_len <= max_len) \ in _eglCreateAPIsString()
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs27913 let old_len = self.len; localVariable
27915 DrainFilter { list: self, it, pred: filter, idx: 0, old_len }
28473 old_len: usize,
28501 (0, Some(self.old_len - self.idx))
38976 let old_len = self.node.len(); localVariable
38977 let new_len = old_len - self.idx - 1;
38984 self.node.key_area_mut(self.idx + 1..old_len),
38988 self.node.val_area_mut(self.idx + 1..old_len),
39020 let old_len = self.node.len(); localVariable
39022 let k = slice_remove(self.node.key_area_mut(..old_len), self.idx);
[all …]
/third_party/python/Lib/test/
Dtest_functools.py1407 old_len = builtins.len
1413 builtins.len = old_len
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h39550 u16 old_len; member
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi9803 …<parameter type-id='type-id-41' name='old_len' filepath='../../.././libsanitizer/sanitizer_common/…
9812 …<parameter type-id='type-id-41' name='old_len' filepath='../../.././libsanitizer/sanitizer_common/…
/third_party/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi17274 …<parameter type-id='type-id-41' name='old_len' filepath='../../.././libsanitizer/sanitizer_common/…
17291 …<parameter type-id='type-id-41' name='old_len' filepath='../../.././libsanitizer/sanitizer_common/…