/freebsd-10.1-release/contrib/libarchive/tar/ |
H A D | subst.c | 169 size_t old_len; local 172 old_len = 0; 174 old_len = strlen(*str); 176 new_str = malloc(old_len + len + 1); 180 memcpy(new_str, *str, old_len); 181 memcpy(new_str + old_len, append, len); 182 new_str[old_len + len] = '\0'; 191 size_t old_len; local 194 old_len = 0; 196 old_len [all...] |
H A D | util.c | 309 size_t old_len = strlen(old_pending); local 310 bsdtar->pending_chdir = malloc(old_len + strlen(newdir) + 2); 311 if (old_pending[old_len - 1] == '/') 312 old_pending[old_len - 1] = '\0';
|
/freebsd-10.1-release/contrib/ntp/sntp/libevent/include/event2/ |
H A D | buffer_compat.h | 69 @param old_len the previous length of the buffer 73 typedef void (*evbuffer_cb)(struct evbuffer *buffer, size_t old_len, size_t new_len, void *arg);
|
/freebsd-10.1-release/contrib/groff/src/libs/libgroff/ |
H A D | searchpath.cpp | 78 unsigned old_len = strlen(old); local 80 dirs = new char[old_len + 1 + slen + 1]; 81 memcpy(dirs, old, old_len - init_len); 83 p += old_len - init_len; 90 memcpy(p, old + old_len - init_len, init_len);
|
/freebsd-10.1-release/contrib/gperf/src/ |
H A D | input.cc | 589 size_t old_len = (struct_decl ? strlen (struct_decl) : 0); local 591 size_t new_len = old_len + line_len + 1; 593 if (old_len > 0) 594 memcpy (new_struct_decl, struct_decl, old_len); 595 memcpy (new_struct_decl + old_len, line, line_len); 596 new_struct_decl[old_len + line_len] = '\0'; 706 size_t old_len = strlen (struct_decl); local 707 if (struct_decl[old_len - 1] != ';') 709 char *new_struct_decl = new char[old_len + 2]; 710 memcpy (new_struct_decl, struct_decl, old_len); [all...] |
/freebsd-10.1-release/contrib/tcp_wrappers/ |
H A D | environ.c | 136 static char *cmalloc(new_len, old, old_len) 138 int old_len; 143 memcpy(new, old, old_len);
|
/freebsd-10.1-release/usr.bin/gcore/ |
H A D | elfcore.c | 139 ssize_t n, old_len; local 170 sbuf_start_section(sb, &old_len); 172 sbuf_end_section(sb, old_len, hdrsize, 0); 289 size_t threads, old_len; local 305 sbuf_start_section(sb, &old_len); 325 size = sbuf_end_section(sb, old_len, 1, 0); 340 ssize_t old_len; local 349 sbuf_start_section(sb, &old_len); 351 sbuf_end_section(sb, old_len, sizeof(Elf32_Size), 0); 354 sbuf_start_section(sb, &old_len); [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/ |
H A D | mem.c | 398 void *CRYPTO_realloc_clean(void *str, int old_len, int num, const char *file, argument 411 * |old_len| bytes to the new buffer, below. 413 if (num < old_len) 420 memcpy(ret, str, old_len); 421 OPENSSL_cleanse(str, old_len);
|
/freebsd-10.1-release/contrib/tcsh/ |
H A D | ed.xmap.c | 512 size_t old_len; local 521 old_len = buf->len; 534 buf->len = old_len;
|
/freebsd-10.1-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | string.c | 527 apr_size_t old_len = str->len; 533 if (str->blocksize > old_len + 1) 537 * The value of old_len+1 is no longer needed; on most processors, 538 * dest[old_len+1] will be calculated implicitly as part of 541 str->len = old_len+1; 551 * "byte" into the register (e.g. the one freed from old_len+1), 559 dest[old_len] = byte; 560 dest[old_len+1] = '\0'; 523 apr_size_t old_len = str->len; local
|
/freebsd-10.1-release/sys/kern/ |
H A D | subr_sbuf.c | 807 sbuf_end_section(struct sbuf *s, ssize_t old_len, size_t pad, int c) argument 822 if (old_len == -1) { 826 s->s_sect_len += old_len;
|
H A D | imgact_elf.c | 1589 ssize_t old_len; local 1601 sbuf_start_section(sb, &old_len); 1603 sbuf_end_section(sb, old_len, ELF_NOTE_ROUNDSIZE, 0); 1606 sbuf_start_section(sb, &old_len); 1608 sbuf_end_section(sb, old_len, ELF_NOTE_ROUNDSIZE, 0);
|
/freebsd-10.1-release/sys/dev/sfxge/ |
H A D | sfxge_tx.c | 486 unsigned old_len; local 495 old_len = mp->m_pkthdr.csum_data; 497 old_len = 0; 498 if (old_len >= SFXGE_TX_MAX_DEFERRED) 500 mbuf->m_pkthdr.csum_data = old_len + 1;
|
/freebsd-10.1-release/sys/compat/linux/ |
H A D | linux_misc.c | 584 (unsigned long)args->old_len, 604 args->old_len = round_page(args->old_len); 606 if (args->new_len > args->old_len) { 611 if (args->new_len < args->old_len) { 614 bsd_args.len = args->old_len - args->new_len;
|
/freebsd-10.1-release/contrib/gcc/ |
H A D | tree-cfg.c | 2785 unsigned old_len = VEC_length (basic_block, label_to_block_map); local 2787 if (old_len <= (unsigned) uid) 2795 memset (&addr[old_len], 2796 0, sizeof (basic_block) * (new_len - old_len)); 4690 unsigned old_len, new_len; local 4714 old_len = VEC_length (basic_block, cfg->x_basic_block_info); 4715 if ((unsigned) cfg->x_last_basic_block >= old_len) 4720 memset (&addr[old_len], 0, sizeof (basic_block) * (new_len - old_len)); 4752 old_len [all...] |
/freebsd-10.1-release/sys/ufs/ufs/ |
H A D | ufs_extattr.c | 849 size_t len, old_len; local 952 old_len = uio->uio_resid; 960 uio->uio_resid = old_len - (len - uio->uio_resid);
|
/freebsd-10.1-release/sys/netinet/ |
H A D | sctp_output.c | 11623 uint16_t len, old_len, i; local 11628 old_len = len = SCTP_SIZE32(ntohs(ch->chunk_length)); 11653 ch->chunk_length = htons(len + old_len); 11654 chk->book_size = len + old_len; 11666 uint16_t len, old_len, i; local 11671 old_len = len = SCTP_SIZE32(ntohs(ch->chunk_length)); 11694 ch->chunk_length = htons(len + old_len); 11695 chk->book_size = len + old_len; 11706 uint16_t len, old_len; local 11711 old_len 11734 uint16_t len, old_len; local 11764 uint16_t len, old_len; local 11796 uint16_t len, old_len; local 11829 uint16_t len, old_len; local [all...] |
/freebsd-10.1-release/contrib/gdb/gdb/ |
H A D | stabsread.c | 222 unsigned old_len; 257 old_len = type_vector_length; 258 if (old_len == 0) 271 memset (&type_vector[old_len], 0, 272 (type_vector_length - old_len) * sizeof (struct type *)); 221 unsigned old_len; local
|
H A D | hpread.c | 2999 unsigned old_len; 3037 old_len = DNTT_TYPE_VECTOR_LENGTH (objfile); 3040 if (old_len == 0) 3045 memset (&DNTT_TYPE_VECTOR (objfile)[old_len], 0, 3046 (DNTT_TYPE_VECTOR_LENGTH (objfile) - old_len) * 3066 memset (&DNTT_TYPE_VECTOR (objfile)[old_len], 0, 3067 (DNTT_TYPE_VECTOR_LENGTH (objfile) - old_len) * 2984 unsigned old_len; local
|
/freebsd-10.1-release/contrib/ntp/sntp/libevent/test/ |
H A D | regress_buffer.c | 1492 size_t old_len = cbinfo->orig_size; local 1493 size_t new_len = old_len + cbinfo->n_added - cbinfo->n_deleted; 1495 evbuffer_add_printf(out, "%lu->%lu; ", (unsigned long)old_len, 1499 self_draining_callback(struct evbuffer *evbuffer, size_t old_len, argument 1502 if (new_len > old_len)
|
/freebsd-10.1-release/contrib/ntp/sntp/libevent/ |
H A D | buffer.c | 1094 size_t remaining, old_len; local 1098 old_len = buf->total_len; 1100 if (old_len == 0) 1108 if (len >= old_len && !HAS_PINNED_R(buf)) { 1109 len = old_len; 1117 if (len >= old_len) 1118 len = old_len;
|
H A D | http.c | 1930 size_t old_len, line_len; local 1935 old_len = strlen(header->value); 1944 newval = mm_realloc(header->value, old_len + line_len + 2); 1948 newval[old_len] = ' '; 1949 memcpy(newval + old_len + 1, line, line_len + 1);
|
/freebsd-10.1-release/sys/dev/ixl/ |
H A D | i40e_prototype.h | 217 u16 old_len, u16 new_len, u16 offset,
|
/freebsd-10.1-release/crypto/heimdal/lib/hx509/ref/ |
H A D | pkcs11.h | 758 unsigned long old_len, unsigned char *new_pin,
|
/freebsd-10.1-release/crypto/openssh/ |
H A D | pkcs11.h | 756 unsigned long old_len, unsigned char *new_pin,
|