Searched refs:old_len (Results 1 – 8 of 8) sorted by relevance
| /mirbsd/src/sys/arch/i386/i386/ |
| D | gdt.c | 122 size_t old_len, new_len; in gdt_grow() local 124 old_len = gdt_size * sizeof(union descriptor); in gdt_grow() 126 new_len = old_len << 1; in gdt_grow() 128 uvm_map_pageable(kernel_map, (vaddr_t)dynamic_gdt + old_len, in gdt_grow()
|
| D | sys_machdep.c | 172 size_t old_len, new_len, ldt_len; local 293 old_len = pmap->pm_ldt_len * sizeof(union descriptor); 295 old_len = NLDT * sizeof(union descriptor); 299 memcpy(new_ldt, old_ldt, old_len); 300 memset((caddr_t)new_ldt + old_len, 0, new_len - old_len); 303 uvm_km_free(kernel_map, (vaddr_t)old_ldt, old_len);
|
| /mirbsd/src/lib/libssl/src/crypto/ |
| D | mem.c | 341 void *CRYPTO_realloc_clean(void *str, int old_len, int num, const char *file, in CRYPTO_realloc_clean() argument 356 memcpy(ret,str,old_len); in CRYPTO_realloc_clean() 357 OPENSSL_cleanse(str,old_len); in CRYPTO_realloc_clean()
|
| /mirbsd/src/gnu/usr.bin/lynx/src/ |
| D | LYForms.c | 826 int old_len = (int) strlen(form->value); in form_getstr() local 832 form->value[(old_len > new_len) ? (old_len - new_len) : 0] = '\0'; in form_getstr()
|
| /mirbsd/src/gnu/usr.bin/binutils/gdb/ |
| D | stabsread.c | 221 unsigned old_len; in dbx_lookup_type() local 256 old_len = type_vector_length; in dbx_lookup_type() 257 if (old_len == 0) in dbx_lookup_type() 270 memset (&type_vector[old_len], 0, in dbx_lookup_type() 271 (type_vector_length - old_len) * sizeof (struct type *)); in dbx_lookup_type()
|
| D | hpread.c | 2982 unsigned old_len; in hpread_lookup_type() local 3020 old_len = DNTT_TYPE_VECTOR_LENGTH (objfile); in hpread_lookup_type() 3023 if (old_len == 0) in hpread_lookup_type() 3028 memset (&DNTT_TYPE_VECTOR (objfile)[old_len], 0, in hpread_lookup_type() 3029 (DNTT_TYPE_VECTOR_LENGTH (objfile) - old_len) * in hpread_lookup_type() 3048 memset (&DNTT_TYPE_VECTOR (objfile)[old_len], 0, in hpread_lookup_type() 3049 (DNTT_TYPE_VECTOR_LENGTH (objfile) - old_len) * in hpread_lookup_type()
|
| /mirbsd/src/gnu/usr.bin/perl/ext/Storable/ |
| D | Storable.xs | 5657 STRLEN old_len; in magic_check() local 5672 old_len = sizeof(old_magicstr) - 1; in magic_check() 5673 READ(current + 1, (SSize_t)(old_len - len)); in magic_check() 5675 if (memNE(buf, old_magicstr, old_len)) in magic_check() 5677 current = buf + old_len; in magic_check()
|
| /mirbsd/src/gnu/usr.bin/perl/ |
| D | toke.c | 2257 const int old_len = SvCUR(buf_sv); in Perl_filter_read() local 2260 SvGROW(buf_sv, (STRLEN)(old_len + maxlen)) ; in Perl_filter_read() 2261 if ((len = PerlIO_read(PL_rsfp, SvPVX(buf_sv) + old_len, maxlen)) <= 0){ in Perl_filter_read() 2267 SvCUR_set(buf_sv, old_len + len) ; in Perl_filter_read()
|