| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/encode_decode/ |
| H A D | decoder_lib.c | 687 struct decoder_process_data_st new_data; in decoder_process() local 697 memset(&new_data, 0, sizeof(new_data)); in decoder_process() 698 new_data.ctx = data->ctx; in decoder_process() 699 new_data.recursion = data->recursion + 1; in decoder_process() 702 #define LEVEL (new_data.recursion < sizeof(LEVEL_STR) \ in decoder_process() 703 ? &LEVEL_STR[sizeof(LEVEL_STR) - new_data.recursion - 1] \ in decoder_process() 712 (void *)new_data.ctx); in decoder_process() 735 (void *)new_data.ctx, LEVEL); in decoder_process() 743 (void *)new_data.ctx, LEVEL, rv); in decoder_process() 765 new_data.bio = BIO_new_mem_buf(p->data, (int)p->data_size); in decoder_process() [all …]
|
| H A D | encoder_lib.c | 421 struct encoder_process_data_st new_data; in encoder_process() local 437 memset(&new_data, 0, sizeof(new_data)); in encoder_process() 438 new_data.ctx = data->ctx; in encoder_process() 439 new_data.current_encoder_inst_index = i; in encoder_process() 440 new_data.next_encoder_inst = current_encoder_inst; in encoder_process() 441 new_data.count_output_structure = data->count_output_structure; in encoder_process() 442 new_data.level = data->level + 1; in encoder_process() 508 ok = encoder_process(&new_data); in encoder_process() 510 data->prev_encoder_inst = new_data.prev_encoder_inst; in encoder_process() 511 data->running_output = new_data.running_output; in encoder_process() [all …]
|
| /netbsd-src/external/gpl2/libmalloc/dist/ |
| H A D | ralloc.c | 180 POINTER new_data; /* tmporarily used for relocation */ member 404 new_bloc->new_data = 0; 484 b->new_data = address; 634 safe_bcopy (b->data, b->new_data, b->size); 635 *b->variable = b->data = b->new_data; 637 safe_bcopy (bloc->data, bloc->new_data, old_size); 638 bzero (bloc->new_data + old_size, size - old_size); 639 *bloc->variable = bloc->data = bloc->new_data; 645 safe_bcopy (b->data, b->new_data, b->size); 646 *b->variable = b->data = b->new_data; [all …]
|
| /netbsd-src/external/bsd/libevent/dist/test/ |
| H A D | regress.gen.c | 88 struct run** new_data = NULL; in msg_run_expand_to_hold_more() local 90 new_data = (struct run**) realloc(msg->run_data, in msg_run_expand_to_hold_more() 92 if (new_data == NULL) in msg_run_expand_to_hold_more() 94 msg->run_data = new_data; in msg_run_expand_to_hold_more() 492 ev_uint32_t* new_data = NULL; in kill_how_often_expand_to_hold_more() local 494 new_data = (ev_uint32_t*) realloc(msg->how_often_data, in kill_how_often_expand_to_hold_more() 496 if (new_data == NULL) in kill_how_often_expand_to_hold_more() 498 msg->how_often_data = new_data; in kill_how_often_expand_to_hold_more() 800 char ** new_data = NULL; in run_notes_expand_to_hold_more() local 802 new_data = (char **) realloc(msg->notes_data, in run_notes_expand_to_hold_more() [all …]
|
| /netbsd-src/sys/arch/evbppc/mpc85xx/ |
| H A D | ds1553rtc.c | 71 uint8_t saved_data, new_data; in ds1553rtc_match() local 89 new_data = bus_space_read_1(ga->ga_bst, bsh, target); in ds1553rtc_match() 90 rv = (new_data == (uint8_t) ~saved_data); in ds1553rtc_match()
|
| /netbsd-src/external/cddl/osnet/dist/common/avl/ |
| H A D | avl.c | 482 avl_insert(avl_tree_t *tree, void *new_data, avl_index_t where) in avl_insert() argument 493 ASSERT(((uintptr_t)new_data & 0x7) == 0); in avl_insert() 496 node = AVL_DATA2NODE(new_data, off); in avl_insert() 574 void *new_data, in avl_insert_here() argument 585 ASSERT(new_data != NULL); in avl_insert_here() 596 diff = tree->avl_compar(new_data, here); in avl_insert_here() 607 diff = tree->avl_compar(new_data, in avl_insert_here() 616 diff = tree->avl_compar(new_data, in avl_insert_here() 625 avl_insert(tree, new_data, AVL_MKINDEX(node, child)); in avl_insert_here()
|
| /netbsd-src/external/mit/libcbor/dist/src/cbor/ |
| H A D | maps.c | 78 unsigned char *new_data = _cbor_realloc_multiple( in _cbor_map_add_key() local 81 if (new_data == NULL) { in _cbor_map_add_key() 85 item->data = new_data; in _cbor_map_add_key()
|
| H A D | arrays.c | 71 unsigned char *new_data = _cbor_realloc_multiple( in cbor_array_push() local 73 if (new_data == NULL) { in cbor_array_push() 77 array->data = new_data; in cbor_array_push()
|
| /netbsd-src/external/bsd/kyua-testers/dist/ |
| H A D | error.c | 80 void* new_data = malloc(data_size); in error_init() local 81 if (new_data == NULL) { in error_init() 84 memcpy(new_data, data, data_size); in error_init() 85 error->data = new_data; in error_init()
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/ |
| H A D | rpz.c | 1050 nmdata_t *new_data) { in clz() 1065 memset(&new_data->set, 0, sizeof(new_data->set)); in diff_keys() 1066 make_nm_set(&new_data->wild, rpz->num, rpz_type); in diff_keys() 1069 make_nm_set(&new_data->set, rpz->num, rpz_type); in diff_keys() 1070 memset(&new_data->wild, 0, sizeof(new_data->wild)); in diff_keys() 1427 add_nm(dns_rpz_zones_t *rpzs, dns_name_t *trig_name, const nmdata_t *new_data) { 1436 data = new_nmdata(rpzs->mctx, trig_name, new_data); 1445 if ((data->set.qname & new_data in dns_rpz_new_zones() 985 name2data(dns_rpz_zone_t * rpz,dns_rpz_type_t rpz_type,const dns_name_t * src_name,dns_name_t * trig_name,dns_rpz_nm_data_t * new_data) name2data() argument 1356 add_nm(dns_rpz_zones_t * rpzs,dns_name_t * trig_name,const dns_rpz_nm_data_t * new_data) add_nm() argument 1399 dns_rpz_nm_data_t new_data; add_name() local [all...] |
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/ |
| H A D | rpz.c | 1004 dns_rpz_nm_data_t *new_data) { in name2data() argument 1021 memset(&new_data->set, 0, sizeof(new_data->set)); in name2data() 1022 make_nm_set(&new_data->wild, rpz_num, rpz_type); in name2data() 1025 make_nm_set(&new_data->set, rpz_num, rpz_type); in name2data() 1026 memset(&new_data->wild, 0, sizeof(new_data->wild)); in name2data() 1376 const dns_rpz_nm_data_t *new_data) { in add_nm() argument 1389 *nm_data = *new_data; in add_nm() 1401 if ((nm_data->set.qname & new_data->set.qname) != 0 || in add_nm() 1402 (nm_data->set.ns & new_data->set.ns) != 0 || in add_nm() 1403 (nm_data->wild.qname & new_data->wild.qname) != 0 || in add_nm() [all …]
|
| /netbsd-src/external/cddl/osnet/dist/lib/libdtrace/common/ |
| H A D | dt_map.c | 75 void **new_data = dt_zalloc(dtp, nsize); in dt_strdata_add() local 77 if (new_data == NULL) { in dt_strdata_add() 82 bcopy(*data, new_data, osize); in dt_strdata_add() 85 *data = new_data; in dt_strdata_add()
|
| /netbsd-src/external/bsd/kyua-cli/dist/utils/ |
| H A D | optional.ipp | 113 T* new_data = new T(data); 116 _data = new_data; 130 T* new_data = other._data == NULL ? NULL : new T(*(other._data)); 133 _data = new_data;
|
| /netbsd-src/external/bsd/dhcpcd/dist/src/ |
| H A D | ipv6nd.c | 944 !(options & DHCPCD_DAEMONISED) && new_data) in ipv6nd_scriptrun() 1132 bool new_rap, new_data, has_address; in ipv6nd_handlera() local 1215 new_data = true; in ipv6nd_handlera() 1217 new_data = false; in ipv6nd_handlera() 1250 new_data = true; in ipv6nd_handlera() 1337 loglevel = new_data ? LOG_ERR : LOG_DEBUG; in ipv6nd_handlera() 1601 if (new_data && !has_address && rap->lifetime && !ipv6_anyglobal(ifp)) in ipv6nd_handlera() 1607 if (new_data) in ipv6nd_handlera() 1641 if (new_data && dhcp6_start(ifp, DH6S_REQUEST) == -1) in ipv6nd_handlera() 1644 if (new_data && dhcp6_start(ifp, DH6S_INFORM) == -1) in ipv6nd_handlera() [all …]
|
| /netbsd-src/external/bsd/tmux/dist/ |
| H A D | control.c | 612 u_char *new_data; in control_append_data() local 628 new_data = window_pane_get_new_data(wp, &cp->offset, &new_size); in control_append_data() 632 if (new_data[i] < ' ' || new_data[i] == '\\') in control_append_data() 633 evbuffer_add_printf(message, "\\%03o", new_data[i]); in control_append_data() 635 evbuffer_add_printf(message, "%c", new_data[i]); in control_append_data()
|
| /netbsd-src/external/cddl/osnet/dist/uts/common/sys/ |
| H A D | avl.h | 189 extern void avl_insert_here(avl_tree_t *tree, void *new_data, void *here,
|
| /netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/ |
| H A D | CallStack.cc | 92 CallStackNode **new_data = (CallStackNode **) malloc (new_limit * sizeof (CallStackNode *)); in insert() local 94 new_data[i] = old_data[i]; in insert() 95 new_data[ind] = item; in insert() 97 new_data[i + 1] = old_data[i]; in insert() 99 data = new_data; in insert()
|
| /netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
| H A D | CallStack.cc | 92 CallStackNode **new_data = (CallStackNode **) malloc (new_limit * sizeof (CallStackNode *)); in insert() local 94 new_data[i] = old_data[i]; in insert() 95 new_data[ind] = item; in insert() 97 new_data[i + 1] = old_data[i]; in insert() 99 data = new_data; in insert()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_common.h | 512 T *new_data = (T *)MmapOrDie(new_capacity_bytes, "InternalMmapVector"); in Realloc() local 513 internal_memcpy(new_data, data_, size_ * sizeof(T)); in Realloc() 515 data_ = new_data; in Realloc()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_common.h | 516 T *new_data = (T *)MmapOrDie(new_capacity_bytes, "InternalMmapVector"); in Realloc() local 517 internal_memcpy(new_data, data_, size_ * sizeof(T)); in Realloc() 519 data_ = new_data; in Realloc()
|
| /netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
| H A D | peXXigen.c | 3821 bfd_byte * new_data; in rsrc_merge_string_entries() local 3872 new_data = bfd_malloc (a->value.leaf->size + copy_needed); in rsrc_merge_string_entries() 3873 if (new_data == NULL) in rsrc_merge_string_entries() 3876 nstring = new_data; in rsrc_merge_string_entries() 3905 BFD_ASSERT (nstring - new_data == (signed) (a->value.leaf->size + copy_needed)); in rsrc_merge_string_entries() 3908 a->value.leaf->data = new_data; in rsrc_merge_string_entries() 4166 bfd_byte * new_data; in rsrc_process_section() local 4335 new_data = bfd_zalloc (abfd, size); in rsrc_process_section() 4336 if (new_data == NULL) in rsrc_process_section() 4340 write_data.datastart = new_data; in rsrc_process_section() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/bfd/ |
| H A D | peXXigen.c | 3845 bfd_byte * new_data; in rsrc_merge_string_entries() local 3896 new_data = bfd_malloc (a->value.leaf->size + copy_needed); in rsrc_merge_string_entries() 3897 if (new_data == NULL) in rsrc_merge_string_entries() 3900 nstring = new_data; in rsrc_merge_string_entries() 3929 BFD_ASSERT (nstring - new_data == (signed) (a->value.leaf->size + copy_needed)); in rsrc_merge_string_entries() 3932 a->value.leaf->data = new_data; in rsrc_merge_string_entries() 4190 bfd_byte * new_data; in rsrc_process_section() local 4354 new_data = bfd_zalloc (abfd, size); in rsrc_process_section() 4355 if (new_data == NULL) in rsrc_process_section() 4359 write_data.datastart = new_data; in rsrc_process_section() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_common.h | 570 T *new_data = (T *)MmapOrDie(new_capacity_bytes, "InternalMmapVector"); in Realloc() local 571 internal_memcpy(new_data, data_, size_ * sizeof(T)); in Realloc() 573 data_ = new_data; in Realloc()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/ |
| H A D | decl.c | 626 gfc_data *new_data; in gfc_match_data() local 652 new_data = gfc_get_data (); in gfc_match_data() 653 new_data->where = gfc_current_locus; in gfc_match_data() 655 m = top_var_list (new_data); in gfc_match_data() 659 if (new_data->var->iter.var in gfc_match_data() 660 && new_data->var->iter.var->ts.type == BT_INTEGER in gfc_match_data() 661 && new_data->var->iter.var->symtree->n.sym->attr.implied_index == 1 in gfc_match_data() 662 && new_data->var->list in gfc_match_data() 663 && new_data->var->list->expr in gfc_match_data() 664 && new_data->var->list->expr->ts.type == BT_CHARACTER in gfc_match_data() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/fortran/ |
| H A D | decl.cc | 626 gfc_data *new_data; in gfc_match_data() local 652 new_data = gfc_get_data (); in gfc_match_data() 653 new_data->where = gfc_current_locus; in gfc_match_data() 655 m = top_var_list (new_data); in gfc_match_data() 659 if (new_data->var->iter.var in gfc_match_data() 660 && new_data->var->iter.var->ts.type == BT_INTEGER in gfc_match_data() 661 && new_data->var->iter.var->symtree->n.sym->attr.implied_index == 1 in gfc_match_data() 662 && new_data->var->list in gfc_match_data() 663 && new_data->var->list->expr in gfc_match_data() 664 && new_data->var->list->expr->ts.type == BT_CHARACTER in gfc_match_data() [all …]
|