| /src/crypto/openssl/crypto/encode_decode/ |
| H A D | decoder_lib.c | 810 struct decoder_process_data_st new_data; in decoder_process() local 822 memset(&new_data, 0, sizeof(new_data)); in decoder_process() 823 new_data.ctx = data->ctx; in decoder_process() 824 new_data.recursion = data->recursion + 1; in decoder_process() 827 #define LEVEL (new_data.recursion < sizeof(LEVEL_STR) \ in decoder_process() 828 ? &LEVEL_STR[sizeof(LEVEL_STR) - new_data.recursion - 1] \ in decoder_process() 838 (void *)new_data.ctx); in decoder_process() 861 (void *)new_data.ctx, LEVEL); in decoder_process() 871 (void *)new_data.ctx, LEVEL, rv); in decoder_process() 894 new_data.bio = BIO_new_mem_buf(p->data, (int)p->data_size); in decoder_process() [all …]
|
| H A D | encoder_lib.c | 441 struct encoder_process_data_st new_data; in encoder_process() local 451 memset(&new_data, 0, sizeof(new_data)); in encoder_process() 452 new_data.ctx = data->ctx; in encoder_process() 453 new_data.current_encoder_inst_index = i; in encoder_process() 454 new_data.next_encoder_inst = current_encoder_inst; in encoder_process() 455 new_data.count_output_structure = data->count_output_structure; in encoder_process() 456 new_data.level = data->level + 1; in encoder_process() 532 ok = encoder_process(&new_data); in encoder_process() 534 data->prev_encoder_inst = new_data.prev_encoder_inst; in encoder_process() 535 data->running_output = new_data.running_output; in encoder_process() [all …]
|
| /src/crypto/krb5/src/util/profile/testmod/ |
| H A D | testmod_main.c | 75 struct data *old_data = cbdata, *new_data; in copy() local 77 new_data = malloc(sizeof(*new_data)); in copy() 78 new_data->residual = strdup(old_data->residual); in copy() 79 new_data->gen = old_data->gen + 1; in copy() 80 *ret_cbdata = new_data; in copy()
|
| /src/crypto/krb5/src/util/profile/ |
| H A D | prof_set.c | 27 prf_data_t new_data; in rw_setup() local 52 new_data = profile_make_prf_data(file->data->filespec); in rw_setup() 53 if (new_data == NULL) { in rw_setup() 57 new_data->root = NULL; in rw_setup() 58 new_data->flags = file->data->flags & ~PROFILE_FILE_SHARED; in rw_setup() 59 new_data->timestamp = 0; in rw_setup() 60 new_data->upd_serial = file->data->upd_serial; in rw_setup() 63 file->data = new_data; in rw_setup()
|
| /src/crypto/krb5/src/util/support/ |
| H A D | k5buf.c | 72 char *new_data; in ensure_space() local 89 new_data = malloc(new_space); in ensure_space() 90 if (new_data == NULL) in ensure_space() 92 memcpy(new_data, buf->data, buf->len); in ensure_space() 96 new_data = realloc(buf->data, new_space); in ensure_space() 97 if (new_data == NULL) in ensure_space() 100 buf->data = new_data; in ensure_space()
|
| /src/usr.sbin/bluetooth/sdpd/ |
| H A D | provider.c | 146 uint8_t *new_data = (uint8_t *) realloc(provider->data, datalen); in provider_update() local 148 if (new_data == NULL) in provider_update() 151 memcpy(new_data, data, datalen); in provider_update() 152 provider->data = new_data; in provider_update()
|
| /src/sys/contrib/dev/iwlwifi/mld/ |
| H A D | iface.c | 497 struct iwl_probe_resp_data *old_data, *new_data; in iwl_mld_handle_probe_resp_data_notif() local 542 new_data = kzalloc(sizeof(*new_data), GFP_KERNEL); in iwl_mld_handle_probe_resp_data_notif() 543 if (!new_data) in iwl_mld_handle_probe_resp_data_notif() 546 memcpy(&new_data->notif, notif, sizeof(new_data->notif)); in iwl_mld_handle_probe_resp_data_notif() 549 new_data->noa_len = sizeof(struct ieee80211_vendor_ie) + in iwl_mld_handle_probe_resp_data_notif() 550 sizeof(new_data->notif.noa_attr) - 1; in iwl_mld_handle_probe_resp_data_notif() 556 if (new_data->notif.noa_attr.len_low == in iwl_mld_handle_probe_resp_data_notif() 558 new_data->noa_len -= sizeof(struct ieee80211_p2p_noa_desc); in iwl_mld_handle_probe_resp_data_notif() 561 rcu_assign_pointer(mld_link->probe_resp_data, new_data); in iwl_mld_handle_probe_resp_data_notif()
|
| /src/contrib/libevent/test/ |
| H A D | regress.gen.c | 87 struct run** new_data = NULL; in msg_run_expand_to_hold_more() local 89 new_data = (struct run**) realloc(msg->run_data, in msg_run_expand_to_hold_more() 91 if (new_data == NULL) in msg_run_expand_to_hold_more() 93 msg->run_data = new_data; in msg_run_expand_to_hold_more() 491 ev_uint32_t* new_data = NULL; in kill_how_often_expand_to_hold_more() local 493 new_data = (ev_uint32_t*) realloc(msg->how_often_data, in kill_how_often_expand_to_hold_more() 495 if (new_data == NULL) in kill_how_often_expand_to_hold_more() 497 msg->how_often_data = new_data; in kill_how_often_expand_to_hold_more() 799 char ** new_data = NULL; in run_notes_expand_to_hold_more() local 801 new_data = (char **) realloc(msg->notes_data, in run_notes_expand_to_hold_more() [all …]
|
| /src/contrib/ntp/sntp/libevent/test/ |
| H A D | regress.gen.c | 87 struct run** new_data = NULL; in msg_run_expand_to_hold_more() local 89 new_data = (struct run**) realloc(msg->run_data, in msg_run_expand_to_hold_more() 91 if (new_data == NULL) in msg_run_expand_to_hold_more() 93 msg->run_data = new_data; in msg_run_expand_to_hold_more() 491 ev_uint32_t* new_data = NULL; in kill_how_often_expand_to_hold_more() local 493 new_data = (ev_uint32_t*) realloc(msg->how_often_data, in kill_how_often_expand_to_hold_more() 495 if (new_data == NULL) in kill_how_often_expand_to_hold_more() 497 msg->how_often_data = new_data; in kill_how_often_expand_to_hold_more() 799 char ** new_data = NULL; in run_notes_expand_to_hold_more() local 801 new_data = (char **) realloc(msg->notes_data, in run_notes_expand_to_hold_more() [all …]
|
| /src/crypto/krb5/src/lib/krb5/krb/ |
| H A D | bld_princ.c | 64 krb5_data *new_data = NULL; in build_principal_va() local 67 new_data = realloc(data, size * sizeof(krb5_data)); in build_principal_va() 68 if (new_data) { in build_principal_va() 69 data = new_data; in build_principal_va()
|
| /src/sys/contrib/openzfs/module/avl/ |
| H A D | avl.c | 471 avl_insert(avl_tree_t *tree, void *new_data, avl_index_t where) in avl_insert() argument 481 ASSERT0(((uintptr_t)new_data & 0x7)); in avl_insert() 484 node = AVL_DATA2NODE(new_data, off); in avl_insert() 562 void *new_data, in avl_insert_here() argument 573 ASSERT(new_data != NULL); in avl_insert_here() 584 diff = tree->avl_compar(new_data, here); in avl_insert_here() 595 diff = tree->avl_compar(new_data, in avl_insert_here() 604 diff = tree->avl_compar(new_data, in avl_insert_here() 613 avl_insert(tree, new_data, AVL_MKINDEX(node, child)); in avl_insert_here()
|
| /src/contrib/libcbor/src/cbor/ |
| H A D | maps.c | 77 unsigned char *new_data = _cbor_realloc_multiple( in _cbor_map_add_key() local 80 if (new_data == NULL) { in _cbor_map_add_key() 84 item->data = new_data; in _cbor_map_add_key()
|
| H A D | arrays.c | 67 unsigned char *new_data = _cbor_realloc_multiple( in cbor_array_push() local 69 if (new_data == NULL) { in cbor_array_push() 73 array->data = new_data; in cbor_array_push()
|
| /src/crypto/krb5/src/lib/kdb/ |
| H A D | kdb5.c | 1746 krb5_mkey_aux_node *head_data = NULL, *new_data = NULL, in krb5_dbe_lookup_mkey_aux() local 1771 new_data = (krb5_mkey_aux_node *) malloc(sizeof(krb5_mkey_aux_node)); in krb5_dbe_lookup_mkey_aux() 1772 if (new_data == NULL) { in krb5_dbe_lookup_mkey_aux() 1776 memset(new_data, 0, sizeof(krb5_mkey_aux_node)); in krb5_dbe_lookup_mkey_aux() 1779 new_data->mkey_kvno = mkey_kvno; in krb5_dbe_lookup_mkey_aux() 1781 krb5_kdb_decode_int16(curloc, new_data->latest_mkey.key_data_kvno); in krb5_dbe_lookup_mkey_aux() 1783 krb5_kdb_decode_int16(curloc, new_data->latest_mkey.key_data_type[0]); in krb5_dbe_lookup_mkey_aux() 1785 krb5_kdb_decode_int16(curloc, new_data->latest_mkey.key_data_length[0]); in krb5_dbe_lookup_mkey_aux() 1788 new_data->latest_mkey.key_data_contents[0] = (krb5_octet *) in krb5_dbe_lookup_mkey_aux() 1789 malloc(new_data->latest_mkey.key_data_length[0]); in krb5_dbe_lookup_mkey_aux() [all …]
|
| /src/contrib/llvm-project/lldb/source/Breakpoint/ |
| H A D | Watchpoint.cpp | 235 DataExtractor new_data; in WatchedValueReportable() local 238 newest_valueobj_sp->GetData(new_data, error); in WatchedValueReportable() 245 if (new_data.GetByteSize() != old_data.GetByteSize() || in WatchedValueReportable() 246 new_data.GetByteSize() == 0) in WatchedValueReportable() 249 if (memcmp(new_data.GetDataStart(), old_data.GetDataStart(), in WatchedValueReportable()
|
| /src/cddl/contrib/opensolaris/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()
|
| /src/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | Terminal.cpp | 425 std::unique_ptr<Terminal::Data> new_data{new Terminal::Data()}; in Save() local 426 if (::tcgetattr(fd, &new_data->m_termios) == 0) in Save() 427 m_data = std::move(new_data); in Save()
|
| /src/contrib/kyua/utils/ |
| H A D | optional.ipp | 108 T* new_data = new T(data); 111 _data = new_data; 125 T* new_data = other._data == NULL ? NULL : new T(*(other._data)); 128 _data = new_data;
|
| /src/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | mac-ctxt.c | 1754 struct iwl_probe_resp_data *old_data, *new_data; in iwl_mvm_probe_resp_data_notif() local 1768 new_data = kzalloc(sizeof(*new_data), GFP_KERNEL); in iwl_mvm_probe_resp_data_notif() 1769 if (!new_data) in iwl_mvm_probe_resp_data_notif() 1772 memcpy(&new_data->notif, notif, sizeof(new_data->notif)); in iwl_mvm_probe_resp_data_notif() 1775 new_data->noa_len = sizeof(struct ieee80211_vendor_ie) + in iwl_mvm_probe_resp_data_notif() 1776 sizeof(new_data->notif.noa_attr) - 1; in iwl_mvm_probe_resp_data_notif() 1782 if (new_data->notif.noa_attr.len_low == in iwl_mvm_probe_resp_data_notif() 1784 new_data->noa_len -= sizeof(struct ieee80211_p2p_noa_desc); in iwl_mvm_probe_resp_data_notif() 1788 rcu_assign_pointer(mvmvif->deflink.probe_resp_data, new_data); in iwl_mvm_probe_resp_data_notif()
|
| /src/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | Event.h | 204 void SetData(EventData *new_data) { m_data_sp.reset(new_data); } in SetData() argument
|
| /src/usr.sbin/efibootmgr/ |
| H A D | efibootmgr.c | 362 uint16_t *new_data; in set_boot_order() local 375 new_data = malloc(size); in set_boot_order() 380 new_data[i] = strtoul(next, NULL, 16); in set_boot_order() 381 if (new_data[i] == 0 && errno == EINVAL) { in set_boot_order() 388 if (set_bootvar("BootOrder", (uint8_t*)new_data, size) < 0) in set_boot_order() 390 free(new_data); in set_boot_order()
|
| /src/sys/contrib/openzfs/include/sys/ |
| H A D | avl.h | 197 _AVL_H void avl_insert_here(avl_tree_t *tree, void *new_data, void *here,
|
| /src/sys/cddl/contrib/opensolaris/uts/common/sys/ |
| H A D | avl.h | 204 extern void avl_insert_here(avl_tree_t *tree, void *new_data, void *here,
|
| /src/sys/net/route/ |
| H A D | fib_algo.h | 74 void *_old_data, void **new_data);
|
| /src/contrib/ldns/ |
| H A D | str2host.c | 2334 uint8_t *data, *dp, *eod, *p, *new_data; in ldns_str2rdf_svcparams() local 2385 if (!(new_data = LDNS_XMALLOC(uint8_t, length))) { in ldns_str2rdf_svcparams() 2391 for ( p = new_data, i = 0 in ldns_str2rdf_svcparams() 2392 ; p < new_data + length && i < nparams in ldns_str2rdf_svcparams() 2424 *rd = ldns_rdf_new(LDNS_RDF_TYPE_SVCPARAMS, p - new_data, new_data); in ldns_str2rdf_svcparams() 2426 LDNS_FREE(new_data); in ldns_str2rdf_svcparams()
|