Searched refs:new_data (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-current/usr.sbin/bluetooth/sdpd/
H A Dprovider.c146 uint8_t *new_data = (uint8_t *) realloc(provider->data, datalen); local
148 if (new_data == NULL)
151 memcpy(new_data, data, datalen);
152 provider->data = new_data;
/freebsd-current/crypto/openssl/crypto/encode_decode/
H A Ddecoder_lib.c687 struct decoder_process_data_st new_data; local
697 memset(&new_data, 0, sizeof(new_data));
698 new_data.ctx = data->ctx;
699 new_data.recursion = data->recursion + 1;
702 #define LEVEL (new_data.recursion < sizeof(LEVEL_STR) \
703 ? &LEVEL_STR[sizeof(LEVEL_STR) - new_data.recursion - 1] \
712 (void *)new_data.ctx);
735 (void *)new_data.ctx, LEVEL);
743 (void *)new_data
[all...]
H A Dencoder_lib.c416 struct encoder_process_data_st new_data; local
432 memset(&new_data, 0, sizeof(new_data));
433 new_data.ctx = data->ctx;
434 new_data.current_encoder_inst_index = i;
435 new_data.next_encoder_inst = current_encoder_inst;
436 new_data.count_output_structure = data->count_output_structure;
437 new_data.level = data->level + 1;
503 ok = encoder_process(&new_data);
505 data->prev_encoder_inst = new_data
[all...]
/freebsd-current/contrib/libcbor/src/cbor/
H A Dmaps.c77 unsigned char *new_data = _cbor_realloc_multiple( local
80 if (new_data == NULL) {
84 item->data = new_data;
H A Darrays.c67 unsigned char *new_data = _cbor_realloc_multiple( local
69 if (new_data == NULL) {
73 array->data = new_data;
/freebsd-current/contrib/ntp/sntp/libevent/test/
H A Dregress.gen.c87 struct run** new_data = NULL; local
89 new_data = (struct run**) realloc(msg->run_data,
91 if (new_data == NULL)
93 msg->run_data = new_data;
491 ev_uint32_t* new_data = NULL; local
493 new_data = (ev_uint32_t*) realloc(msg->how_often_data,
495 if (new_data == NULL)
497 msg->how_often_data = new_data;
799 char ** new_data = NULL; local
801 new_data
837 ev_uint32_t* new_data = NULL; local
[all...]
/freebsd-current/contrib/libevent/test/
H A Dregress.gen.c87 struct run** new_data = NULL; local
89 new_data = (struct run**) realloc(msg->run_data,
91 if (new_data == NULL)
93 msg->run_data = new_data;
491 ev_uint32_t* new_data = NULL; local
493 new_data = (ev_uint32_t*) realloc(msg->how_often_data,
495 if (new_data == NULL)
497 msg->how_often_data = new_data;
799 char ** new_data = NULL; local
801 new_data
837 ev_uint32_t* new_data = NULL; local
[all...]
/freebsd-current/sys/contrib/openzfs/module/avl/
H A Davl.c470 avl_insert(avl_tree_t *tree, void *new_data, avl_index_t where) argument
480 ASSERT(((uintptr_t)new_data & 0x7) == 0);
483 node = AVL_DATA2NODE(new_data, off);
547 * Insert "new_data" in "tree" in the given "direction" either after or
561 void *new_data,
572 ASSERT(new_data != NULL);
583 diff = tree->avl_compar(new_data, here);
594 diff = tree->avl_compar(new_data,
603 diff = tree->avl_compar(new_data,
612 avl_insert(tree, new_data, AVL_MKINDE
559 avl_insert_here( avl_tree_t *tree, void *new_data, void *here, int direction) argument
[all...]
/freebsd-current/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Davl.h194 * Insert "new_data" in "tree" in the given "direction" either after
200 * new_data - new data to insert
204 extern void avl_insert_here(avl_tree_t *tree, void *new_data, void *here,
/freebsd-current/sys/contrib/openzfs/include/sys/
H A Davl.h186 * Insert "new_data" in "tree" in the given "direction" either after
192 * new_data - new data to insert
196 _AVL_H void avl_insert_here(avl_tree_t *tree, void *new_data, void *here,
/freebsd-current/contrib/llvm-project/lldb/source/Breakpoint/
H A DWatchpoint.cpp231 DataExtractor new_data; local
234 newest_valueobj_sp->GetData(new_data, error);
241 if (new_data.GetByteSize() != old_data.GetByteSize() ||
242 new_data.GetByteSize() == 0)
245 if (memcmp(new_data.GetDataStart(), old_data.GetDataStart(),
/freebsd-current/contrib/llvm-project/lldb/source/Host/common/
H A DTerminal.cpp425 std::unique_ptr<Terminal::Data> new_data{new Terminal::Data()};
426 if (::tcgetattr(fd, &new_data->m_termios) == 0)
427 m_data = std::move(new_data);
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_map.c75 void **new_data = dt_zalloc(dtp, nsize); local
77 if (new_data == NULL) {
82 bcopy(*data, new_data, osize);
85 *data = new_data;
/freebsd-current/sys/net/route/
H A Dfib_algo.h74 void *_old_data, void **new_data);
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Utility/
H A DEvent.h203 void SetData(EventData *new_data) { m_data_sp.reset(new_data); } argument
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/
H A Dmac-ctxt.c1715 struct iwl_probe_resp_data *old_data, *new_data; local
1729 new_data = kzalloc(sizeof(*new_data), GFP_KERNEL);
1730 if (!new_data)
1733 memcpy(&new_data->notif, notif, sizeof(new_data->notif));
1736 new_data->noa_len = sizeof(struct ieee80211_vendor_ie) +
1737 sizeof(new_data->notif.noa_attr) - 1;
1743 if (new_data->notif.noa_attr.len_low ==
1745 new_data
[all...]
/freebsd-current/usr.sbin/efibootmgr/
H A Defibootmgr.c362 uint16_t *new_data; local
375 new_data = malloc(size);
380 new_data[i] = strtoul(next, NULL, 16);
381 if (new_data[i] == 0 && errno == EINVAL) {
388 if (set_bootvar("BootOrder", (uint8_t*)new_data, size) < 0)
390 free(new_data);
/freebsd-current/contrib/ldns/
H A Dstr2host.c2334 uint8_t *data, *dp, *eod, *p, *new_data; local
2385 if (!(new_data = LDNS_XMALLOC(uint8_t, length))) {
2391 for ( p = new_data, i = 0
2392 ; p < new_data + length && i < nparams
2424 *rd = ldns_rdf_new(LDNS_RDF_TYPE_SVCPARAMS, p - new_data, new_data);
2426 LDNS_FREE(new_data);
/freebsd-current/sys/dev/ixl/
H A Dixl_pf_main.c2423 u64 new_data; local
2425 new_data = rd64(hw, loreg);
2428 *offset = new_data;
2429 if (new_data >= *offset)
2430 *stat = new_data - *offset;
2432 *stat = (new_data + ((u64)1 << 48)) - *offset;
2443 u32 new_data; local
2445 new_data = rd32(hw, reg);
2447 *offset = new_data;
2448 if (new_data >
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common.h599 T *new_data = (T *)MmapOrDie(new_capacity_bytes, "InternalMmapVector"); local
600 internal_memcpy(new_data, data_, size_ * sizeof(T));
602 data_ = new_data;
/freebsd-current/sys/dev/ice/
H A Dice_common.c5605 u64 new_data = rd64(hw, reg) & (BIT_ULL(40) - 1); local
5613 *prev_stat = new_data;
5620 if (new_data >= *prev_stat)
5621 *cur_stat += new_data - *prev_stat;
5624 *cur_stat += (new_data + BIT_ULL(40)) - *prev_stat;
5627 *prev_stat = new_data;
5642 u32 new_data; local
5644 new_data = rd32(hw, reg);
5652 *prev_stat = new_data;
5659 if (new_data >
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libcurses/director/
H A Dtestlang_parse.y1548 char *new_data, drain[MAX_DRAIN];
1572 if ((new_data = realloc(saved_output.data,
1576 saved_output.data = new_data;
/freebsd-current/crypto/openssl/engines/
H A De_loader_attic.c449 unsigned char *new_data = NULL; local
477 &new_data, &new_data_len, 0))
480 mem->data = (char *)new_data;
/freebsd-current/usr.sbin/bhyve/
H A Dgdb.c448 uint8_t *new_data; local
456 new_data = realloc(io->data, new_cap);
457 if (new_data == NULL)
459 io->data = new_data;
/freebsd-current/sbin/ipf/iplang/
H A Diplang_y.y81 void new_data(void);
516 data: IL_DATA { new_data(); }
700 void new_data(void)

Completed in 395 milliseconds

12