OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:address_length
(Results
1 - 12
of
12
) sorted by null
/external/chromium/net/base/
ip_endpoint.h
35
// |
address_length
| is an input/output parameter. On input, it is the
39
bool ToSockAddr(struct sockaddr* address, size_t*
address_length
) const;
43
// |
address_length
| is the length of |address|.
45
bool FromSockAddr(const struct sockaddr* address, size_t
address_length
);
ip_endpoint.cc
46
size_t*
address_length
) const {
48
DCHECK(
address_length
);
51
if (*
address_length
< sizeof(struct sockaddr_in))
53
*
address_length
= sizeof(struct sockaddr_in);
62
if (*
address_length
< sizeof(struct sockaddr_in6))
64
*
address_length
= sizeof(struct sockaddr_in6);
82
size_t
address_length
) {
address_list.h
83
socklen_t
address_length
,
address_list.cc
191
socklen_t
address_length
,
200
switch (
address_length
) {
223
ai->ai_addrlen =
address_length
;
224
ai->ai_addr = reinterpret_cast<struct sockaddr*>(new char[
address_length
]);
225
memcpy(ai->ai_addr, address,
address_length
);
/external/chromium_org/net/base/
ip_endpoint.h
42
// |
address_length
| is an input/output parameter. On input, it is the
46
bool ToSockAddr(struct sockaddr* address, socklen_t*
address_length
) const
51
// |
address_length
| is the length of |address|.
53
bool FromSockAddr(const struct sockaddr* address, socklen_t
address_length
)
ip_endpoint.cc
54
socklen_t*
address_length
) const {
56
DCHECK(
address_length
);
59
if (*
address_length
< kSockaddrInSize)
61
*
address_length
= kSockaddrInSize;
70
if (*
address_length
< kSockaddrIn6Size)
72
*
address_length
= kSockaddrIn6Size;
address_tracker_linux.cc
24
size_t
address_length
= 0;
local
27
address_length
= kIPv4AddressSize;
30
address_length
= kIPv6AddressSize;
49
DCHECK_GE(RTA_PAYLOAD(attr),
address_length
);
local
53
DCHECK_GE(RTA_PAYLOAD(attr),
address_length
);
local
64
out->assign(address, address +
address_length
);
/external/chromium_org/tools/android/common/
adb_connection.cc
40
size_t
address_length
= arraysize(kAddressPrefix) + strlen(forward_to);
local
41
if (
address_length
> kBufferMaxLength - kLengthOfLength) {
53
static_cast<int>(
address_length
));
77
size_t bytes_remaining =
address_length
+ kLengthOfLength;