OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CMSG_ALIGN
(Results
1 - 13
of
13
) sorted by null
/bionic/libc/bionic/
__cmsg_nxthdr.cpp
33
ptr = reinterpret_cast<cmsghdr*>(reinterpret_cast<char*>(cmsg) +
CMSG_ALIGN
(cmsg->cmsg_len));
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/
socket.h
304
#define
CMSG_ALIGN
(len) (((len) + sizeof (size_t) - 1) \
306
#define CMSG_SPACE(len) (
CMSG_ALIGN
(len) \
307
+
CMSG_ALIGN
(sizeof (struct cmsghdr)))
308
#define CMSG_LEN(len) (
CMSG_ALIGN
(sizeof (struct cmsghdr)) + (len))
324
+
CMSG_ALIGN
(__cmsg->cmsg_len));
327
|| ((unsigned char *) __cmsg +
CMSG_ALIGN
(__cmsg->cmsg_len)
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/
socket.h
304
#define
CMSG_ALIGN
(len) (((len) + sizeof (size_t) - 1) \
306
#define CMSG_SPACE(len) (
CMSG_ALIGN
(len) \
307
+
CMSG_ALIGN
(sizeof (struct cmsghdr)))
308
#define CMSG_LEN(len) (
CMSG_ALIGN
(sizeof (struct cmsghdr)) + (len))
324
+
CMSG_ALIGN
(__cmsg->cmsg_len));
327
|| ((unsigned char *) __cmsg +
CMSG_ALIGN
(__cmsg->cmsg_len)
/bionic/libc/include/sys/
socket.h
106
#define
CMSG_ALIGN
(len) ( ((len)+sizeof(long)-1) & ~(sizeof(long)-1) )
107
#define CMSG_DATA(cmsg) (((unsigned char*)(cmsg) +
CMSG_ALIGN
(sizeof(struct cmsghdr))))
108
#define CMSG_SPACE(len) (
CMSG_ALIGN
(sizeof(struct cmsghdr)) +
CMSG_ALIGN
(len))
109
#define CMSG_LEN(len) (
CMSG_ALIGN
(sizeof(struct cmsghdr)) + (len))
122
(__BIONIC_CAST(reinterpret_cast, char*, cmsg) +
CMSG_ALIGN
(cmsg->cmsg_len)));
/external/strace/tests/
msg_control.c
63
return page -
CMSG_ALIGN
(len);
99
cmsg_len > CMSG_LEN(0) ?
CMSG_ALIGN
(cmsg_len) : CMSG_LEN(0);
152
cmsg_len[0] > CMSG_LEN(0) ?
CMSG_ALIGN
(cmsg_len[0]) : CMSG_LEN(0),
153
cmsg_len[1] > CMSG_LEN(0) ?
CMSG_ALIGN
(cmsg_len[1]) : CMSG_LEN(0)
399
cmsg_len > CMSG_LEN(0) ?
CMSG_ALIGN
(cmsg_len) : CMSG_LEN(0);
492
CMSG_ALIGN
(cmsg_len[0]) + CMSG_LEN(0) <= msg_controllen
493
&&
CMSG_ALIGN
(cmsg_len[0]) <= CMSG_SPACE(sizeof(fds0));
496
msg_controllen -
CMSG_ALIGN
(cmsg_len[0]);
inet-cmsg.c
68
const size_t len = c->cmsg_len -
CMSG_ALIGN
(sizeof(*c));
/external/strace/tests-m32/
msg_control.c
63
return page -
CMSG_ALIGN
(len);
99
cmsg_len > CMSG_LEN(0) ?
CMSG_ALIGN
(cmsg_len) : CMSG_LEN(0);
152
cmsg_len[0] > CMSG_LEN(0) ?
CMSG_ALIGN
(cmsg_len[0]) : CMSG_LEN(0),
153
cmsg_len[1] > CMSG_LEN(0) ?
CMSG_ALIGN
(cmsg_len[1]) : CMSG_LEN(0)
399
cmsg_len > CMSG_LEN(0) ?
CMSG_ALIGN
(cmsg_len) : CMSG_LEN(0);
492
CMSG_ALIGN
(cmsg_len[0]) + CMSG_LEN(0) <= msg_controllen
493
&&
CMSG_ALIGN
(cmsg_len[0]) <= CMSG_SPACE(sizeof(fds0));
496
msg_controllen -
CMSG_ALIGN
(cmsg_len[0]);
inet-cmsg.c
68
const size_t len = c->cmsg_len -
CMSG_ALIGN
(sizeof(*c));
/external/strace/tests-mx32/
msg_control.c
63
return page -
CMSG_ALIGN
(len);
99
cmsg_len > CMSG_LEN(0) ?
CMSG_ALIGN
(cmsg_len) : CMSG_LEN(0);
152
cmsg_len[0] > CMSG_LEN(0) ?
CMSG_ALIGN
(cmsg_len[0]) : CMSG_LEN(0),
153
cmsg_len[1] > CMSG_LEN(0) ?
CMSG_ALIGN
(cmsg_len[1]) : CMSG_LEN(0)
399
cmsg_len > CMSG_LEN(0) ?
CMSG_ALIGN
(cmsg_len) : CMSG_LEN(0);
492
CMSG_ALIGN
(cmsg_len[0]) + CMSG_LEN(0) <= msg_controllen
493
&&
CMSG_ALIGN
(cmsg_len[0]) <= CMSG_SPACE(sizeof(fds0));
496
msg_controllen -
CMSG_ALIGN
(cmsg_len[0]);
inet-cmsg.c
68
const size_t len = c->cmsg_len -
CMSG_ALIGN
(sizeof(*c));
/device/linaro/bootloader/edk2/StdLib/Include/sys/
socket.h
497
#define
CMSG_ALIGN
(n) __CMSG_ALIGN(n)
/external/iputils/
ping6.c
854
cmsglen +=
CMSG_ALIGN
(space);
1207
char freq_buf[
CMSG_ALIGN
(sizeof(struct in6_flowlabel_req)) + cmsglen];
1212
freq_len =
CMSG_ALIGN
(sizeof(*freq)) + srcrt->cmsg_len;
1222
memcpy(freq_buf +
CMSG_ALIGN
(sizeof(*freq)), srcrt, srcrt->cmsg_len);
[
all
...]
/external/python/cpython2/Lib/plat-atheos/
IN.py
687
def
CMSG_ALIGN
(len): return ( ((len)+sizeof(long)-1) & ~(sizeof(long)-1) )
Completed in 285 milliseconds