Home
last modified time | relevance | path

Searched refs:new_data (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-14.2/crypto/openssl/crypto/encode_decode/
H A Ddecoder_lib.c687 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()
712 (void *)new_data.ctx); in decoder_process()
766 if (new_data.bio == NULL) in decoder_process()
768 bio = new_data.bio; in decoder_process()
960 new_data.current_decoder_inst_index = i; in decoder_process()
961 new_data.flag_input_structure_checked in decoder_process()
992 if (new_data.flag_next_level_called) in decoder_process()
[all …]
H A Dencoder_lib.c421 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()
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()
512 data->running_output_length = new_data.running_output_length; in encoder_process()
[all …]
/freebsd-14.2/usr.sbin/bluetooth/sdpd/
H A Dprovider.c146 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()
/freebsd-14.2/contrib/ntp/sntp/libevent/test/
H A Dregress.gen.c87 struct run** new_data = NULL; in msg_run_expand_to_hold_more() local
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
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
803 if (new_data == NULL) in run_notes_expand_to_hold_more()
805 msg->notes_data = new_data; in run_notes_expand_to_hold_more()
837 ev_uint32_t* new_data = NULL; in run_other_numbers_expand_to_hold_more() local
[all …]
/freebsd-14.2/contrib/libevent/test/
H A Dregress.gen.c87 struct run** new_data = NULL; in msg_run_expand_to_hold_more() local
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
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
803 if (new_data == NULL) in run_notes_expand_to_hold_more()
805 msg->notes_data = new_data; in run_notes_expand_to_hold_more()
837 ev_uint32_t* new_data = NULL; in run_other_numbers_expand_to_hold_more() local
[all …]
/freebsd-14.2/sys/contrib/openzfs/module/avl/
H A Davl.c470 avl_insert(avl_tree_t *tree, void *new_data, avl_index_t where) in avl_insert() argument
480 ASSERT(((uintptr_t)new_data & 0x7) == 0); in avl_insert()
483 node = AVL_DATA2NODE(new_data, off); in avl_insert()
561 void *new_data, in avl_insert_here() argument
572 ASSERT(new_data != NULL); in avl_insert_here()
583 diff = tree->avl_compar(new_data, here); in avl_insert_here()
594 diff = tree->avl_compar(new_data, in avl_insert_here()
603 diff = tree->avl_compar(new_data, in avl_insert_here()
612 avl_insert(tree, new_data, AVL_MKINDEX(node, child)); in avl_insert_here()
/freebsd-14.2/contrib/libcbor/src/cbor/
H A Dmaps.c77 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 Darrays.c67 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()
/freebsd-14.2/contrib/llvm-project/lldb/source/Breakpoint/
H A DWatchpoint.cpp231 DataExtractor new_data; in WatchedValueReportable() local
234 newest_valueobj_sp->GetData(new_data, error); in WatchedValueReportable()
241 if (new_data.GetByteSize() != old_data.GetByteSize() || in WatchedValueReportable()
242 new_data.GetByteSize() == 0) in WatchedValueReportable()
245 if (memcmp(new_data.GetDataStart(), old_data.GetDataStart(), in WatchedValueReportable()
/freebsd-14.2/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_map.c75 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()
/freebsd-14.2/contrib/llvm-project/lldb/source/Host/common/
H A DTerminal.cpp425 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()
/freebsd-14.2/contrib/kyua/utils/
H A Doptional.ipp108 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;
/freebsd-14.2/sys/contrib/dev/iwlwifi/mvm/
H A Dmac-ctxt.c1715 struct iwl_probe_resp_data *old_data, *new_data; in iwl_mvm_probe_resp_data_notif() local
1729 new_data = kzalloc(sizeof(*new_data), GFP_KERNEL); in iwl_mvm_probe_resp_data_notif()
1730 if (!new_data) in iwl_mvm_probe_resp_data_notif()
1733 memcpy(&new_data->notif, notif, sizeof(new_data->notif)); in iwl_mvm_probe_resp_data_notif()
1736 new_data->noa_len = sizeof(struct ieee80211_vendor_ie) + in iwl_mvm_probe_resp_data_notif()
1737 sizeof(new_data->notif.noa_attr) - 1; in iwl_mvm_probe_resp_data_notif()
1743 if (new_data->notif.noa_attr.len_low == in iwl_mvm_probe_resp_data_notif()
1745 new_data->noa_len -= sizeof(struct ieee80211_p2p_noa_desc); in iwl_mvm_probe_resp_data_notif()
1749 rcu_assign_pointer(mvmvif->deflink.probe_resp_data, new_data); in iwl_mvm_probe_resp_data_notif()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/
H A DEvent.h203 void SetData(EventData *new_data) { m_data_sp.reset(new_data); } in SetData() argument
/freebsd-14.2/usr.sbin/efibootmgr/
H A Defibootmgr.c356 uint16_t *new_data; in set_boot_order() local
369 new_data = malloc(size); in set_boot_order()
374 new_data[i] = strtoul(next, NULL, 16); in set_boot_order()
375 if (new_data[i] == 0 && errno == EINVAL) { in set_boot_order()
382 if (set_bootvar("BootOrder", (uint8_t*)new_data, size) < 0) in set_boot_order()
384 free(new_data); in set_boot_order()
/freebsd-14.2/sys/contrib/openzfs/include/sys/
H A Davl.h196 _AVL_H void avl_insert_here(avl_tree_t *tree, void *new_data, void *here,
/freebsd-14.2/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Davl.h204 extern void avl_insert_here(avl_tree_t *tree, void *new_data, void *here,
/freebsd-14.2/sys/net/route/
H A Dfib_algo.h74 void *_old_data, void **new_data);
/freebsd-14.2/contrib/ldns/
H A Dstr2host.c2334 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()
/freebsd-14.2/usr.sbin/bhyve/
H A Dgdb.c361 uint8_t *new_data; in io_buffer_grow() local
369 new_data = realloc(io->data, new_cap); in io_buffer_grow()
370 if (new_data == NULL) in io_buffer_grow()
372 io->data = new_data; in io_buffer_grow()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common.h599 T *new_data = (T *)MmapOrDie(new_capacity_bytes, "InternalMmapVector"); in Realloc() local
600 internal_memcpy(new_data, data_, size_ * sizeof(T)); in Realloc()
602 data_ = new_data; in Realloc()
/freebsd-14.2/sys/dev/ice/
H A Dice_common.c5897 u64 new_data = rd64(hw, reg) & (BIT_ULL(40) - 1); in ice_stat_update40() local
5905 *prev_stat = new_data; in ice_stat_update40()
5912 if (new_data >= *prev_stat) in ice_stat_update40()
5913 *cur_stat += new_data - *prev_stat; in ice_stat_update40()
5919 *prev_stat = new_data; in ice_stat_update40()
5934 u32 new_data; in ice_stat_update32() local
5936 new_data = rd32(hw, reg); in ice_stat_update32()
5944 *prev_stat = new_data; in ice_stat_update32()
5951 if (new_data >= *prev_stat) in ice_stat_update32()
5952 *cur_stat += new_data - *prev_stat; in ice_stat_update32()
[all …]
/freebsd-14.2/sys/dev/ixl/
H A Dixl_pf_main.c2423 u64 new_data; in ixl_stat_update48() local
2425 new_data = rd64(hw, loreg); in ixl_stat_update48()
2428 *offset = new_data; in ixl_stat_update48()
2429 if (new_data >= *offset) in ixl_stat_update48()
2430 *stat = new_data - *offset; in ixl_stat_update48()
2432 *stat = (new_data + ((u64)1 << 48)) - *offset; in ixl_stat_update48()
2443 u32 new_data; in ixl_stat_update32() local
2445 new_data = rd32(hw, reg); in ixl_stat_update32()
2447 *offset = new_data; in ixl_stat_update32()
2448 if (new_data >= *offset) in ixl_stat_update32()
[all …]
/freebsd-14.2/contrib/netbsd-tests/lib/libcurses/director/
H A Dtestlang_parse.y1548 char *new_data, drain[MAX_DRAIN]; in save_slave_output() local
1572 if ((new_data = realloc(saved_output.data, in save_slave_output()
1576 saved_output.data = new_data; in save_slave_output()
/freebsd-14.2/crypto/openssl/engines/
H A De_loader_attic.c449 unsigned char *new_data = NULL; in try_decode_PKCS8Encrypted() local
477 &new_data, &new_data_len, 0)) in try_decode_PKCS8Encrypted()
480 mem->data = (char *)new_data; in try_decode_PKCS8Encrypted()

12