Home
last modified time | relevance | path

Searched refs:new_addr (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mindspore/mindspore/lite/mindir/src/
Dmindir.cc33 auto new_addr = MindIRMemoryManager::GetInstance()->CreatePrimitiveFromBuilder(fbb, nullptr); in MindIR_Activation_CreatePrimitive() local
34 auto ret_value = flatbuffers::GetMutableRoot<schema::Primitive>(new_addr); in MindIR_Activation_CreatePrimitive()
65 auto new_addr = MindIRMemoryManager::GetInstance()->CreatePrimitiveFromBuilder(fbb, prim); in MindIR_Activation_SetActivationType() local
66 auto ret_value = flatbuffers::GetMutableRoot<schema::Primitive>(new_addr); in MindIR_Activation_SetActivationType()
96 auto new_addr = MindIRMemoryManager::GetInstance()->CreatePrimitiveFromBuilder(fbb, prim); in MindIR_Activation_SetAlpha() local
97 auto ret_value = flatbuffers::GetMutableRoot<schema::Primitive>(new_addr); in MindIR_Activation_SetAlpha()
127 auto new_addr = MindIRMemoryManager::GetInstance()->CreatePrimitiveFromBuilder(fbb, prim); in MindIR_Activation_SetMinVal() local
128 auto ret_value = flatbuffers::GetMutableRoot<schema::Primitive>(new_addr); in MindIR_Activation_SetMinVal()
158 auto new_addr = MindIRMemoryManager::GetInstance()->CreatePrimitiveFromBuilder(fbb, prim); in MindIR_Activation_SetMaxVal() local
159 auto ret_value = flatbuffers::GetMutableRoot<schema::Primitive>(new_addr); in MindIR_Activation_SetMaxVal()
[all …]
Dmindir_tensor.cc36 auto new_addr = MindIRMemoryManager::GetInstance()->CreateTensorFromBuilder(fbb, nullptr); in MindIR_Tensor_Create() local
37 auto ret_value = flatbuffers::GetMutableRoot<schema::Tensor>(new_addr); in MindIR_Tensor_Create()
51 auto new_addr = MindIRMemoryManager::GetInstance()->CreateTensorFromBuilder(fbb, nullptr); in MindIR_Tensor_Create() local
52 auto ret_value = flatbuffers::GetMutableRoot<schema::Tensor>(new_addr); in MindIR_Tensor_Create()
90 auto new_addr = MindIRMemoryManager::GetInstance()->CreateTensorFromBuilder(fbb, value); in MindIR_Tensor_SetName() local
91 auto ret_value = flatbuffers::GetMutableRoot<schema::Primitive>(new_addr); in MindIR_Tensor_SetName()
138 auto new_addr = MindIRMemoryManager::GetInstance()->CreateTensorFromBuilder(fbb, value); in MindIR_Tensor_SetDataType() local
139 auto ret_value = flatbuffers::GetMutableRoot<schema::Primitive>(new_addr); in MindIR_Tensor_SetDataType()
186 auto new_addr = MindIRMemoryManager::GetInstance()->CreateTensorFromBuilder(fbb, value); in MindIR_Tensor_SetDims() local
187 auto ret_value = flatbuffers::GetMutableRoot<schema::Primitive>(new_addr); in MindIR_Tensor_SetDims()
[all …]
/third_party/ltp/testcases/kernel/mem/thp/
Dthp02.c57 unsigned char *p1, *p2, *ret, *old_addr, *new_addr; in do_child() local
66 new_addr = p2 + ps * (i & 1); in do_child()
71 new_addr, new_addr + remap_size); in do_child()
74 MREMAP_FIXED | MREMAP_MAYMOVE, new_addr); in do_child()
/third_party/musl/src/mman/
Dmremap.c15 void *new_addr = 0; in __mremap() local
25 new_addr = va_arg(ap, void *); in __mremap()
29 return (void *)syscall(SYS_mremap, old_addr, old_len, new_len, flags, new_addr); in __mremap()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap06.c67 void *addr, *new_addr; in do_mmap() local
94 new_addr = mmap(addr, (sz - 1) * hpage_size, in do_mmap()
99 if (new_addr == MAP_FAILED) in do_mmap()
102 addr = new_addr; in do_mmap()
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_memory_manager.cc54 auto new_addr = device_ptr_list[i]; in MallocContinuousMemFromMemPool() local
55 MS_EXCEPTION_IF_NULL(new_addr); in MallocContinuousMemFromMemPool()
59 …GPUDeviceManager::GetInstance().CopyDeviceMemToDeviceAsync(new_addr, old_addr, size_list[i], strea… in MallocContinuousMemFromMemPool()
63 addr_list[i]->ptr_ = new_addr; in MallocContinuousMemFromMemPool()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_sched.c861 struct ir3_instruction *new_addr = NULL; in split_addr() local
880 if (!new_addr) { in split_addr()
881 new_addr = split_instr(ctx, *addr); in split_addr()
883 new_addr->flags &= ~IR3_INSTR_MARK; in split_addr()
885 indirect->address->def = new_addr->dsts[0]; in split_addr()
889 sched_node_add_dep(indirect, new_addr, 0); in split_addr()
897 return new_addr; in split_addr()
/third_party/lwip/src/include/lwip/priv/
Draw_priv.h61 void raw_netif_ip_addr_changed(const ip_addr_t* old_addr, const ip_addr_t* new_addr);
Dtcp_priv.h507 void tcp_netif_ip_addr_changed(const ip_addr_t* old_addr, const ip_addr_t* new_addr);
/third_party/lwip/src/core/
Dnetif.c445 netif_do_ip_addr_changed(const ip_addr_t *old_addr, const ip_addr_t *new_addr) in netif_do_ip_addr_changed() argument
448 tcp_netif_ip_addr_changed(old_addr, new_addr); in netif_do_ip_addr_changed()
451 udp_netif_ip_addr_changed(old_addr, new_addr); in netif_do_ip_addr_changed()
454 raw_netif_ip_addr_changed(old_addr, new_addr); in netif_do_ip_addr_changed()
467 ip_addr_t new_addr; in netif_do_set_ipaddr() local
468 *ip_2_ip4(&new_addr) = *ipaddr; in netif_do_set_ipaddr()
469 IP_SET_TYPE_VAL(new_addr, IPADDR_TYPE_V4); in netif_do_set_ipaddr()
474 netif_do_ip_addr_changed(old_addr, &new_addr); in netif_do_set_ipaddr()
Draw.c655 void raw_netif_ip_addr_changed(const ip_addr_t *old_addr, const ip_addr_t *new_addr) in raw_netif_ip_addr_changed() argument
659 if (!ip_addr_isany(old_addr) && !ip_addr_isany(new_addr)) { in raw_netif_ip_addr_changed()
665 ip_addr_copy(rpcb->local_ip, *new_addr); in raw_netif_ip_addr_changed()
Dudp.c1288 void udp_netif_ip_addr_changed(const ip_addr_t *old_addr, const ip_addr_t *new_addr) in udp_netif_ip_addr_changed() argument
1292 if (!ip_addr_isany(old_addr) && !ip_addr_isany(new_addr)) { in udp_netif_ip_addr_changed()
1298 ip_addr_copy(upcb->local_ip, *new_addr); in udp_netif_ip_addr_changed()
Dtcp.c2335 tcp_netif_ip_addr_changed(const ip_addr_t *old_addr, const ip_addr_t *new_addr) in tcp_netif_ip_addr_changed() argument
2343 if (!ip_addr_isany(new_addr)) { in tcp_netif_ip_addr_changed()
2350 ip_addr_copy(lpcb->local_ip, *new_addr); in tcp_netif_ip_addr_changed()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_value_gpr.cpp267 void GPRArrayValue::reset_addr(PValue new_addr) in reset_addr() argument
269 m_addr = new_addr; in reset_addr()
Dsfn_value_gpr.h169 void reset_addr(PValue new_addr);
/third_party/lwip/src/include/lwip/
Dudp.h187 void udp_netif_ip_addr_changed(const ip_addr_t* old_addr, const ip_addr_t* new_addr);
/third_party/gstreamer/gstplugins_bad/ext/webrtc/
Dgstwebrtcice.c642 char *new_addr = NULL, *new_candidate = NULL; in gst_webrtc_ice_add_candidate() local
659 if (!(new_addr = _resolve_host (ice, address))) { in gst_webrtc_ice_add_candidate()
665 new_candv[1] = new_addr; in gst_webrtc_ice_add_candidate()
687 g_free (new_addr); in gst_webrtc_ice_add_candidate()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/
Dfst_session.c1316 const u8 *old_addr, *new_addr; in get_group_fill_session() local
1337 new_addr = fst_iface_get_peer_first(s->data.new_iface, &ctx, true); in get_group_fill_session()
1338 if (!new_addr) in get_group_fill_session()
1342 os_memcpy(s->data.new_peer_addr, new_addr, ETH_ALEN); in get_group_fill_session()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/
Dfst_session.c1316 const u8 *old_addr, *new_addr; in get_group_fill_session() local
1337 new_addr = fst_iface_get_peer_first(s->data.new_iface, &ctx, TRUE); in get_group_fill_session()
1338 if (!new_addr) in get_group_fill_session()
1342 os_memcpy(s->data.new_peer_addr, new_addr, ETH_ALEN); in get_group_fill_session()
/third_party/pcre2/pcre2/src/sljit/
DsljitNativeARM_32.c461 …e_set_jump_addr(sljit_uw jump_ptr, sljit_sw executable_offset, sljit_uw new_addr, sljit_s32 flush_… in inline_set_jump_addr() argument
468 sljit_sw diff = (sljit_sw)(((sljit_sw)new_addr - (sljit_sw)(inst + 2) - executable_offset) >> 2); in inline_set_jump_addr()
528 *ptr = new_addr; in inline_set_jump_addr()
545 inst[0] = MOVW | (inst[0] & 0xf000) | ((new_addr << 4) & 0xf0000) | (new_addr & 0xfff); in inline_set_jump_addr()
546 inst[1] = MOVT | (inst[1] & 0xf000) | ((new_addr >> 12) & 0xf0000) | ((new_addr >> 16) & 0xfff); in inline_set_jump_addr()
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/
Drtpsession.c1741 GSocketAddress *new_addr; member
1761 if (!data->new_addr) in compare_rtp_source_addr()
1762 data->new_addr = source->rtp_from; in compare_rtp_source_addr()
1765 data->is_doing_ptp &= ip_addr_equal (data->new_addr, source->rtp_from); in compare_rtp_source_addr()
1776 if (!data->new_addr) in compare_rtcp_source_addr()
1777 data->new_addr = source->rtcp_from; in compare_rtcp_source_addr()
1780 data->is_doing_ptp &= ip_addr_equal (data->new_addr, source->rtcp_from); in compare_rtcp_source_addr()
1803 data.new_addr = NULL; in session_update_ptp()
1810 data.new_addr = NULL; in session_update_ptp()
/third_party/mindspore/tests/ut/cpp/dataset/
Dtensor_test.cc122 const unsigned char *new_addr = t2->GetBuffer(); in TEST_F() local
123 ASSERT_EQ(addr, new_addr); in TEST_F()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211.c7094 static int nl80211_vif_addr(struct wpa_driver_nl80211_data *drv, u8 *new_addr) in nl80211_vif_addr() argument
7101 os_memcpy(new_addr, drv->first_bss->addr, ETH_ALEN); in nl80211_vif_addr()
7103 new_addr[0] = drv->first_bss->addr[0] | 0x02; in nl80211_vif_addr()
7104 new_addr[0] ^= idx << 2; in nl80211_vif_addr()
7105 if (!nl80211_addr_in_use(drv->global, new_addr)) in nl80211_vif_addr()
7112 MACSTR, MAC2STR(new_addr)); in nl80211_vif_addr()
7208 u8 new_addr[ETH_ALEN]; in wpa_driver_nl80211_if_add() local
7211 new_addr) < 0) { in wpa_driver_nl80211_if_add()
7216 if (nl80211_addr_in_use(drv->global, new_addr)) { in wpa_driver_nl80211_if_add()
7219 if (nl80211_vif_addr(drv, new_addr) < 0) { in wpa_driver_nl80211_if_add()
[all …]
/third_party/python/Lib/
Dipaddress.py981 for new_addr in range(start, end, step):
982 current = self.__class__((new_addr, new_prefixlen))
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211.c7815 static int nl80211_vif_addr(struct wpa_driver_nl80211_data *drv, u8 *new_addr) in nl80211_vif_addr() argument
7822 os_memcpy(new_addr, drv->first_bss->addr, ETH_ALEN); in nl80211_vif_addr()
7824 new_addr[0] = drv->first_bss->addr[0] | 0x02; in nl80211_vif_addr()
7825 new_addr[0] ^= idx << 2; in nl80211_vif_addr()
7826 if (!nl80211_addr_in_use(drv->global, new_addr)) in nl80211_vif_addr()
7833 MACSTR, MAC2STR(new_addr)); in nl80211_vif_addr()
7929 u8 new_addr[ETH_ALEN]; in wpa_driver_nl80211_if_add() local
7932 new_addr) < 0) { in wpa_driver_nl80211_if_add()
7937 if (nl80211_addr_in_use(drv->global, new_addr)) { in wpa_driver_nl80211_if_add()
7940 if (nl80211_vif_addr(drv, new_addr) < 0) { in wpa_driver_nl80211_if_add()
[all …]

12