Home
last modified time | relevance | path

Searched refs:str_addr (Results 1 – 8 of 8) sorted by relevance

/external/pigweed/pw_bluetooth/public/pw_bluetooth/
Daddress.h49 constexpr Address(const char (&str_addr)[kHexStringSize + 1]) : addr_() { in Address()
50 PW_ASSERT((str_addr[2] == ':') && (str_addr[5] == ':') && in Address()
51 (str_addr[8] == ':') && (str_addr[11] == ':') && in Address()
52 (str_addr[14] == ':')); in Address()
54 uint16_t value = (internal::HexToNibble(str_addr[3 * i]) << 4u) | in Address()
55 internal::HexToNibble(str_addr[3 * i + 1]); in Address()
/external/linux-kselftest/tools/testing/selftests/net/
Dtcp_mmap.c281 static void setup_sockaddr(int domain, const char *str_addr, in setup_sockaddr() argument
292 if (str_addr && in setup_sockaddr()
293 inet_pton(AF_INET, str_addr, &(addr4->sin_addr)) != 1) in setup_sockaddr()
294 error(1, 0, "ipv4 parse error: %s", str_addr); in setup_sockaddr()
300 if (str_addr && in setup_sockaddr()
301 inet_pton(AF_INET6, str_addr, &(addr6->sin6_addr)) != 1) in setup_sockaddr()
302 error(1, 0, "ipv6 parse error: %s", str_addr); in setup_sockaddr()
Dso_txtime.c362 static void setup_sockaddr(int domain, const char *str_addr, in setup_sockaddr() argument
373 if (str_addr && in setup_sockaddr()
374 inet_pton(AF_INET, str_addr, &(addr4->sin_addr)) != 1) in setup_sockaddr()
375 error(1, 0, "ipv4 parse error: %s", str_addr); in setup_sockaddr()
381 if (str_addr && in setup_sockaddr()
382 inet_pton(AF_INET6, str_addr, &(addr6->sin6_addr)) != 1) in setup_sockaddr()
383 error(1, 0, "ipv6 parse error: %s", str_addr); in setup_sockaddr()
Dudpgso_bench_rx.c61 static void setup_sockaddr(int domain, const char *str_addr, void *sockaddr) in setup_sockaddr() argument
70 if (inet_pton(AF_INET, str_addr, &(addr4->sin_addr)) != 1) in setup_sockaddr()
71 error(1, 0, "ipv4 parse error: %s", str_addr); in setup_sockaddr()
76 if (inet_pton(AF_INET6, str_addr, &(addr6->sin6_addr)) != 1) in setup_sockaddr()
77 error(1, 0, "ipv6 parse error: %s", str_addr); in setup_sockaddr()
Dmsg_zerocopy.c294 static void setup_sockaddr(int domain, const char *str_addr, in setup_sockaddr() argument
305 if (str_addr && in setup_sockaddr()
306 inet_pton(AF_INET, str_addr, &(addr4->sin_addr)) != 1) in setup_sockaddr()
307 error(1, 0, "ipv4 parse error: %s", str_addr); in setup_sockaddr()
313 if (str_addr && in setup_sockaddr()
314 inet_pton(AF_INET6, str_addr, &(addr6->sin6_addr)) != 1) in setup_sockaddr()
315 error(1, 0, "ipv6 parse error: %s", str_addr); in setup_sockaddr()
Dudpgso_bench_tx.c115 static void setup_sockaddr(int domain, const char *str_addr, void *sockaddr) in setup_sockaddr() argument
124 if (inet_pton(AF_INET, str_addr, &(addr4->sin_addr)) != 1) in setup_sockaddr()
125 error(1, 0, "ipv4 parse error: %s", str_addr); in setup_sockaddr()
130 if (inet_pton(AF_INET6, str_addr, &(addr6->sin6_addr)) != 1) in setup_sockaddr()
131 error(1, 0, "ipv6 parse error: %s", str_addr); in setup_sockaddr()
/external/llvm/test/CodeGen/X86/
D2008-05-12-tailmerge-5.ll11 %str_addr = alloca %struct.BoundaryAlignment ; <%struct.BoundaryAlignment*> [#uses=7]
19 %tmp = bitcast %struct.BoundaryAlignment* %str_addr to { i64, i64 }* ; <{ i64, i64 }*> [#uses=1]
22 %tmp2 = bitcast %struct.BoundaryAlignment* %str_addr to { i64, i64 }* ; <{ i64, i64 }*> [#uses=1]
47 …%tmp13 = getelementptr %struct.BoundaryAlignment, %struct.BoundaryAlignment* %str_addr, i32 0, i32…
71 …%tmp28 = getelementptr %struct.BoundaryAlignment, %struct.BoundaryAlignment* %str_addr, i32 0, i32…
84 …%tmp36 = getelementptr %struct.BoundaryAlignment, %struct.BoundaryAlignment* %str_addr, i32 0, i32…
105 …%tmp52 = getelementptr %struct.BoundaryAlignment, %struct.BoundaryAlignment* %str_addr, i32 0, i32…
126 …%tmp68 = getelementptr %struct.BoundaryAlignment, %struct.BoundaryAlignment* %str_addr, i32 0, i32…
/external/autotest/client/deps/lansim/src/py/
Dtuntap.py169 str_addr = socket.inet_aton(addr)
172 socket.AF_INET, 0, str_addr))