Searched refs:new_buf (Results 1 – 6 of 6) sorted by relevance
| /freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| D | dt_buf.c | 98 uchar_t *new_buf; in dt_buf_write() local 106 if ((new_buf = dt_zalloc(dtp, new_len)) == NULL) { in dt_buf_write() 111 bcopy(bp->dbu_buf, new_buf, off); in dt_buf_write() 114 bp->dbu_buf = new_buf; in dt_buf_write() 115 bp->dbu_ptr = new_buf + off; in dt_buf_write()
|
| /freebsd-10-stable/contrib/less/ |
| D | line.c | 108 char *new_buf = (char *) realloc(linebuf, new_size); in expand_linebuf() local 111 char *new_buf = (char *) calloc(new_size, sizeof(char)); in expand_linebuf() local 114 if (new_buf == NULL || new_attr == NULL) in expand_linebuf() 118 if (new_buf != NULL) in expand_linebuf() 119 free(new_buf); in expand_linebuf() 127 memset(new_buf + size_linebuf, 0, new_size - size_linebuf); in expand_linebuf() 134 memcpy(new_buf, linebuf, size_linebuf * sizeof(char)); in expand_linebuf() 139 linebuf = new_buf; in expand_linebuf()
|
| /freebsd-10-stable/sys/ofed/drivers/infiniband/core/ |
| D | mad_rmpp.c | 417 struct ib_mad_recv_buf *new_buf) in update_seg_num() argument 421 while (new_buf && (get_seg_num(new_buf) == rmpp_recv->seg_num + 1)) { in update_seg_num() 422 rmpp_recv->cur_seg_buf = new_buf; in update_seg_num() 424 new_buf = get_next_seg(rmpp_list, new_buf); in update_seg_num()
|
| /freebsd-10-stable/usr.sbin/camdd/ |
| D | camdd.c | 2840 struct camdd_buf *new_buf; local 2855 new_buf = camdd_get_buf(dev, CAMDD_BUF_DATA); 2856 if (new_buf == NULL) { 2861 new_buf->lba = lba; 2862 new_buf->len = len; 2876 indirect->len = min(len_to_go, new_buf->len); 2888 camdd_buf_add_child(new_buf, idb); 2890 new_data = &new_buf->buf_type_spec.data; 2892 if ((new_data->fill_len == new_buf->len) 2895 new_buf, links); [all …]
|
| /freebsd-10-stable/contrib/binutils/gas/ |
| D | read.c | 1004 char *new_buf; in read_a_source_file() local 1069 new_buf = (char *) xmalloc (new_length); in read_a_source_file() 1070 new_tmp = new_buf; in read_a_source_file() 1076 space = (new_buf + new_length) - new_tmp; in read_a_source_file() 1085 new_buf = xrealloc (new_buf, new_length + 100); in read_a_source_file() 1086 new_tmp = new_buf + new_length; in read_a_source_file() 1100 sb_add_string (&sbuf, new_buf); in read_a_source_file() 1104 free (new_buf); in read_a_source_file()
|
| /freebsd-10-stable/contrib/gcc/ |
| D | protoize.c | 2775 char *new_buf = xrealloc (repl_text_base, new_size); in output_bytes() local 2777 repl_write_ptr = new_buf + (repl_write_ptr - repl_text_base); in output_bytes() 2778 repl_text_base = new_buf; in output_bytes() 2779 repl_text_limit = new_buf + new_size; in output_bytes()
|