Home
last modified time | relevance | path

Searched refs:addr (Results 1926 - 1950 of 4679) sorted by relevance

1...<<71727374757677787980>>...188

/foundation/communication/netmanager_base/services/netconnmanager/src/stub/
H A Dnet_interface_callback_proxy.cpp37 int32_t NetInterfaceStateCallbackProxy::OnInterfaceAddressUpdated(const std::string &addr, const std::string &ifName, in OnInterfaceAddressUpdated() argument
46 if (!dataParcel.WriteString(addr)) { in OnInterfaceAddressUpdated()
79 int32_t NetInterfaceStateCallbackProxy::OnInterfaceAddressRemoved(const std::string &addr, const std::string &ifName, in OnInterfaceAddressRemoved() argument
88 if (!dataParcel.WriteString(addr)) { in OnInterfaceAddressRemoved()
/foundation/communication/dsoftbus/tests/core/connection/ble/mock/
H A Dconnection_ble_client_mock.cpp127 int32_t SoftbusGattcConnect(int32_t clientId, SoftBusBtAddr *addr) in SoftbusGattcConnect() argument
129 return GetConnectionBleClientInterface()->SoftbusGattcConnect(clientId, addr); in SoftbusGattcConnect()
170 int32_t SoftbusGattcSetPriority(int32_t clientId, SoftBusBtAddr *addr, SoftbusBleGattPriority priority) in SoftbusGattcSetPriority() argument
172 return GetConnectionBleClientInterface()->SoftbusGattcSetPriority(clientId, addr, priority); in SoftbusGattcSetPriority()
/foundation/communication/dsoftbus/core/bus_center/ipc/mini/
H A Dlnn_bus_center_ipc.c49 int32_t LnnIpcServerJoin(const char *pkgName, int32_t callingPid, void *addr, uint32_t addrTypeLen) in LnnIpcServerJoin() argument
53 return LnnServerJoin((ConnectionAddr *)addr, pkgName); in LnnIpcServerJoin()
164 int32_t LnnIpcNotifyJoinResult(void *addr, uint32_t addrTypeLen, const char *networkId, in LnnIpcNotifyJoinResult() argument
168 return LnnOnJoinResult(addr, networkId, retCode); in LnnIpcNotifyJoinResult()
/foundation/communication/netmanager_base/services/netmanagernative/src/
H A Dnotify_callback_stub.cpp69 std::string addr = data.ReadString(); in CmdOnInterfaceAddressUpdated() local
74 int32_t result = OnInterfaceAddressUpdated(addr, ifName, flags, scope); in CmdOnInterfaceAddressUpdated()
85 std::string addr = data.ReadString(); in CmdOnInterfaceAddressRemoved() local
90 int32_t result = OnInterfaceAddressRemoved(addr, ifName, flags, scope); in CmdOnInterfaceAddressRemoved()
/foundation/communication/netmanager_ext/frameworks/js/napi/ethernet/
H A Dethernet_exec.cpp47 netAddrList.begin(), netAddrList.end(), std::string(), [](const std::string &addr, const INetAddr &iter) { in AccumulateNetAddress()
48 return addr.empty() ? (addr + iter.address_) : (addr + DEFAULT_SEPARATOR + iter.address_); in AccumulateNetAddress()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/rfcomm/
H A Drfcomm_session.c134 * @param addr The peer's BT address.
140 RfcommSessionInfo *RfcommCreateSession(const BtAddr *addr, uint16_t lcid, uint8_t id, bool isInitiator) in RfcommCreateSession() argument
162 (void)memcpy_s(&(session->btAddr), sizeof(BtAddr), addr, sizeof(BtAddr)); in RfcommCreateSession()
288 * @param addr BT address.
291 RfcommSessionInfo *RfcommGetSessionByAddr(const BtAddr *addr) in RfcommGetSessionByAddr() argument
306 if (!memcmp(&session->btAddr, addr, sizeof(BtAddr))) { in RfcommGetSessionByAddr()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/
H A Dobex_socket_transport.h90 void OnConnectIncoming(const RawAddress &addr, uint16_t port) override {};
92 void OnIncomingDisconnected(const RawAddress &addr) override {};
162 void OnConnectIncoming(const RawAddress &addr, uint16_t port) override;
164 void OnIncomingDisconnected(const RawAddress &addr) override;
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/
H A Dsmp_def.h136 BtAddr addr; member
218 BtAddr addr; member
222 uint8_t addr[BT_ADDRESS_SIZE]; member
227 uint8_t addr[BT_ADDRESS_SIZE]; member
/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A Dmock_system_func.cpp166 ssize_t __real_sendto(int fd, const void *buf, size_t count, int flags, const struct sockaddr *addr, socklen_t len);
167 ssize_t __wrap_sendto(int fd, const void *buf, size_t count, int flags, const struct sockaddr *addr, socklen_t len) in __wrap_sendto() argument
170 return MockSystemFunc::GetInstance().sendto(fd, buf, count, flags, addr, len); in __wrap_sendto()
172 return __real_sendto(fd, buf, count, flags, addr, len); in __wrap_sendto()
/third_party/elfutils/tests/
H A Daddrcfi.c207 uintmax_t addr = strtoumax (buf, &endp, 0); in main() local
209 result |= handle_address (addr, dwfl); in main()
221 uintmax_t addr = strtoumax (argv[remaining], &endp, 0); in main() local
223 result |= handle_address (addr, dwfl); in main()
/third_party/backends/lib/
H A Dalloca.c111 static char *addr = NULL; /* Address of first `dummy', once known. */ in find_stack_direction() local
114 if (addr == NULL) in find_stack_direction()
116 addr = ADDRESS_FUNCTION (dummy); in find_stack_direction()
123 if (ADDRESS_FUNCTION (dummy) > addr) in find_stack_direction()
/third_party/libwebsockets/lib/plat/freertos/
H A Dfreertos-sockets.c199 /* cast a struct sockaddr_in6 * into addr for ipv6 */
202 lws_interface_to_sa(int ipv6, const char *ifname, struct sockaddr_in *addr, in lws_interface_to_sa() argument
211 struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *)addr; in lws_interface_to_sa()
238 memcpy(addr, in lws_interface_to_sa()
264 if (inet_pton(AF_INET, ifname, &addr->sin_addr) == 1) in lws_interface_to_sa()
/third_party/libunwind/libunwind/include/
H A Dlibunwind_i.h335 #define ACCESS_MEM_FAST(ret,validate,cur,addr,to) \
336 do { (ret) = dwarf_get ((cur), DWARF_MEM_LOC ((cur), (addr)), &(to)); } \
351 # define tdep_get_func_addr(as,addr,v) (*(v) = addr, 0)
/third_party/jerryscript/jerry-core/ext/
H A Dheapdump.c76 static void LogAddr(void* addr) in LogAddr() argument
78 LogHeapdump("\"%p\"\n", addr); in LogAddr()
115 static void Addr(void* addr) in Addr() argument
117 Key("addr"); in Addr()
118 LogHeapdump("\"%p\"", addr); in Addr()
/third_party/mesa3d/src/gallium/winsys/sw/dri/
H A Ddri_sw_winsys.c99 char *addr; in alloc_shm() local
106 addr = (char *) shmat(dri_sw_dt->shmid, NULL, 0); in alloc_shm()
110 if (addr == (char *) -1) in alloc_shm()
113 return addr; in alloc_shm()
/third_party/musl/src/network/
H A Dgetnameinfo.c16 #define PTR_MAX (64 + sizeof ".in-addr.arpa")
37 sprintf(s, "%d.%d.%d.%d.in-addr.arpa", in mkptr4()
87 memcpy(iplit.addr+12, iplit.addr, 4); in reverse_hosts()
88 memcpy(iplit.addr, "\0\0\0\0\0\0\0\0\0\0\xff\xff", 12); in reverse_hosts()
92 if (memcmp(a, iplit.addr, 16) || iplit.scopeid != scopeid) in reverse_hosts()
H A Dent.c30 char *addr[MAX_ADDR_NO + 1]; member
71 hd->addr[0] = hd->addr_list[0]; in gethostent_resolv()
72 hd->addr[1] = NULL; in gethostent_resolv()
73 hd->he.h_addr_list = hd->addr; in gethostent_resolv()
/third_party/musl/porting/linux/user/src/network/
H A Dgetnameinfo.c16 #define PTR_MAX (64 + sizeof ".in-addr.arpa")
37 sprintf(s, "%d.%d.%d.%d.in-addr.arpa", in mkptr4()
86 memcpy(iplit.addr+12, iplit.addr, 4); in reverse_hosts()
87 memcpy(iplit.addr, "\0\0\0\0\0\0\0\0\0\0\xff\xff", 12); in reverse_hosts()
91 if (memcmp(a, iplit.addr, 16) || iplit.scopeid != scopeid) in reverse_hosts()
/third_party/musl/porting/liteos_a/user/src/network/
H A Dgetnameinfo.c15 #define PTR_MAX (64 + sizeof ".in-addr.arpa")
30 sprintf(s, "%d.%d.%d.%d.in-addr.arpa", in mkptr4()
66 memcpy(iplit.addr+12, iplit.addr, 4); in reverse_hosts()
67 memcpy(iplit.addr, "\0\0\0\0\0\0\0\0\0\0\xff\xff", 12); in reverse_hosts()
71 if (memcmp(a, iplit.addr, 16) || iplit.scopeid != scopeid) in reverse_hosts()
H A Dent.c24 char *addr[MAX_ADDR_NO + 1]; member
65 hd->addr[0] = hd->addr_list[0]; in gethostent_resolv()
66 hd->addr[1] = NULL; in gethostent_resolv()
67 hd->he.h_addr_list = hd->addr; in gethostent_resolv()
/third_party/node/deps/cares/src/lib/
H A Dares_rand.c57 static unsigned int ares_u32_from_ptr(void *addr) in ares_u32_from_ptr() argument
60 return (unsigned int)((((ares_uint64_t)addr >> 32) & 0xFFFFFFFF) | in ares_u32_from_ptr()
61 ((ares_uint64_t)addr & 0xFFFFFFFF)); in ares_u32_from_ptr()
63 return (unsigned int)((size_t)addr & 0xFFFFFFFF); in ares_u32_from_ptr()
/third_party/libfuse/example/
H A Dcuse.c122 static void fioc_do_rw(fuse_req_t req, void *addr, const void *in_buf, in fioc_do_rw() argument
130 in_iov[0].iov_base = addr; in fioc_do_rw()
142 addr + offsetof(struct fioc_rw_arg, prev_size); in fioc_do_rw()
146 addr + offsetof(struct fioc_rw_arg, new_size); in fioc_do_rw()
/third_party/ltp/testcases/kernel/syscalls/connect/
H A Dconnect01.c122 * segfault during the addr = (struct sockaddr *)-1 testcase. We had cases where
129 static int sys_connect(int sockfd, const struct sockaddr *addr, in sys_connect() argument
132 return tst_syscall(__NR_connect, sockfd, addr, addrlen); in sys_connect()
135 #define connect(sockfd, addr, addrlen) sys_connect(sockfd, addr, addrlen)
/third_party/mesa3d/src/util/tests/vma/
H A Dvma_random_test.cpp112 uint64_t addr = util_vma_heap_alloc(&heap, size, align); in alloc() local
114 if (addr == 0) { in alloc()
125 assert(addr % align == 0); in alloc()
126 uint64_t addr_page = addr / MEM_PAGE_SIZE; in alloc()
/third_party/node/deps/openssl/openssl/crypto/
H A Dmem.c301 void CRYPTO_mem_debug_malloc(void *addr, size_t num, int flag, in CRYPTO_mem_debug_malloc() argument
304 (void)addr; (void)num; (void)flag; (void)file; (void)line; in CRYPTO_mem_debug_malloc()
313 void CRYPTO_mem_debug_free(void *addr, int flag, in CRYPTO_mem_debug_free() argument
316 (void)addr; (void)flag; (void)file; (void)line; in CRYPTO_mem_debug_free()

Completed in 15 milliseconds

1...<<71727374757677787980>>...188