/bionic/libc/upstream-openbsd/lib/libc/net/ |
H A D | inet_lnaof.c | 6 * Redistribution and use in source and binary forms, with or without 11 * 2. Redistributions in binary form must reproduce the above copyright 12 * notice, this list of conditions and the following disclaimer in the 32 #include <netinet/in.h> 41 inet_lnaof(struct in_addr in) argument 43 in_addr_t i = ntohl(in.s_addr);
|
H A D | inet_netof.c | 6 * Redistribution and use in source and binary forms, with or without 11 * 2. Redistributions in binary form must reproduce the above copyright 12 * notice, this list of conditions and the following disclaimer in the 32 #include <netinet/in.h> 40 inet_netof(struct in_addr in) argument 42 in_addr_t i = ntohl(in.s_addr);
|
H A D | inet_ntoa.c | 6 * Redistribution and use in source and binary forms, with or without 11 * 2. Redistributions in binary form must reproduce the above copyright 12 * notice, this list of conditions and the following disclaimer in the 36 #include <netinet/in.h> 41 inet_ntoa(struct in_addr in) argument 46 p = (char *)∈
|
H A D | res_random.c | 13 * Later modified by Damien Miller to wrap the LCG output in a 15-bit 18 * Redistribution and use in source and binary forms, with or without 23 * 2. Redistributions in binary form must reproduce the above copyright 24 * notice, this list of conditions and the following disclaimer in the 63 #include <netinet/in.h> 109 * Do a fast modular exponation, returned value will be in the range 134 permute15(u_int in) argument 140 return in; 142 left = (in >> 8) & 0x7f; 143 right = in [all...] |
/bionic/libc/bionic/ |
H A D | clock_nanosleep.cpp | 5 * Redistribution and use in source and binary forms, with or without 10 * * Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in 35 int clock_nanosleep(clockid_t clock_id, int flags, const timespec* in, timespec* out) { argument 37 return (___clock_nanosleep(clock_id, flags, in, out) == 0) ? 0 : errno;
|
H A D | sigblock.c | 5 * Redistribution and use in source and binary forms, with or without 10 * * Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in 38 } in, out; local 40 sigemptyset(&in.the_sigset); 41 in.the_mask = mask; 43 n = sigprocmask(SIG_BLOCK, &in.the_sigset, &out.the_sigset);
|
H A D | sigsetmask.c | 5 * Redistribution and use in source and binary forms, with or without 10 * * Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in 39 } in, out; local 41 sigemptyset(&in.the_sigset); 42 in.the_mask = mask; 44 n = sigprocmask(SIG_SETMASK, &in.the_sigset, &out.the_sigset);
|
H A D | statvfs.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 37 static void __statfs_to_statvfs(const struct statfs& in, struct statvfs* out) { argument 38 out->f_bsize = in.f_bsize; 39 out->f_frsize = in.f_frsize; 40 out->f_blocks = in.f_blocks; 41 out->f_bfree = in.f_bfree; 42 out->f_bavail = in.f_bavail; 43 out->f_files = in.f_files; 44 out->f_ffree = in [all...] |
/bionic/libm/upstream-freebsd/lib/msun/src/ |
H A D | s_scalbln.c | 5 * Redistribution and use in source and binary forms, with or without 10 * 2. Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 36 int in; local 38 in = (int)n; 39 if (in != n) { 41 in = INT_MAX; 43 in = INT_MIN; 45 return (scalbn(x, in)); 51 int in; local 66 int in; local [all...] |
/bionic/tests/ |
H A D | libgen_test.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 22 static void TestBasename(const char* in, const char* expected_out) { argument 23 char* writable_in = (in != NULL) ? strdup(in) : NULL; 26 ASSERT_STREQ(expected_out, out) << in; 27 ASSERT_EQ(0, errno) << in; 31 static void TestDirname(const char* in, const char* expected_out) { argument 32 char* writable_in = (in != NULL) ? strdup(in) 67 TestBasename(const char* in, const char* expected_out, int expected_rc, char* buf, size_t buf_size, int expected_errno) argument 78 TestDirname(const char* in, const char* expected_out, int expected_rc, char* buf, size_t buf_size, int expected_errno) argument [all...] |
H A D | fcntl_test.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 161 int in = open("/proc/cpuinfo", O_RDONLY); local 162 ASSERT_NE(in, -1); 166 ssize_t bytes_read = splice(in, 0, pipe_fds[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); 174 close(in); 211 int in = open("/proc/version", O_RDONLY); local 212 ASSERT_NE(in, -1); 215 ssize_t bytes_read = splice(in, 0, pipe1[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE);
|
H A D | math_test.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 21 // must be placed before any files that include <cmath> (gtest.h in this case). 26 // <cmath> is required to undef declarations of these macros in the global 27 // namespace and make equivalent functions available in namespace std. Our 37 template<typename T> inline int test_capture_signbit(const T in) { argument 38 return signbit(in); 40 template<typename T> inline int test_capture_isfinite(const T in) { argument 41 return isfinite(in); 43 template<typename T> inline int test_capture_isnan(const T in) { argument 46 test_capture_isinf(const T in) argument [all...] |
H A D | time_test.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 66 // PTHREAD_STACK_MIN not currently in the host GCC sysroot. 542 timespec in; local 544 ASSERT_EQ(EINVAL, clock_nanosleep(-1, 0, &in, &out));
|
H A D | string_test.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 412 // Verify that strchr finds the first occurrence of 'a' in a string 674 // Set the second half of ptr to the expected pattern in ptr2. 698 // or \1 (guarantees it's different from anything in ptr2). 711 // Set the second half of ptr to the expected pattern in ptr2. 1178 // Create a small buffer for doing quick compares in each loop. 1218 // Create a small buffer for doing quick compares in each loop. 1370 static void TestBasename(const char* in, const char* expected_out) { argument 1372 const char* out = basename(in); [all...] |
/bionic/libc/kernel/uapi/linux/ |
H A D | netfilter.h | 72 struct in_addr in; member in union:nf_inet_addr
|
H A D | coda.h | 265 struct coda_in_hdr in; member in struct:coda_root_in 540 struct coda_in_hdr in; member in struct:coda_statfs_in 616 void __user * in; member in struct:ViceIoctl
|
/bionic/libc/dns/resolv/ |
H A D | res_init.c | 7 * Redistribution and use in source and binary forms, with or without 12 * 2. Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and the following disclaimer in the 41 * copyright notice and this permission notice appear in all copies, and that 42 * the name of Digital Equipment Corporation not be used in advertising or 62 * copyright notice and this permission notice appear in all copies. 90 #include <netinet/in.h> 147 * it had to be "up" in order for you to reach your own name server. It 155 * in the configuration file. 285 #ifndef ANDROID_CHANGES /* !ANDROID_CHANGES - IGNORE resolv.conf in Androi 607 net_mask(struct in_addr in) argument [all...] |
/bionic/libc/kernel/uapi/linux/netfilter_bridge/ |
H A D | ebtables.h | 137 char in[IFNAMSIZ]; member in struct:ebt_entry
|
/bionic/libc/kernel/uapi/rdma/ |
H A D | ib_user_cm.h | 52 __u16 in; member in struct:ib_ucm_cmd_hdr
|
H A D | rdma_user_cm.h | 64 __u16 in; member in struct:rdma_ucm_cmd_hdr
|
/bionic/libc/kernel/uapi/sound/ |
H A D | hdspm.h | 165 unsigned int in[HDSPM_MIXER_CHANNELS]; member in struct:hdspm_channelfader
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
H A D | eventlib_p.h | 9 * copyright notice and this permission notice appear in all copies. 33 #include <netinet/in.h> 95 struct sockaddr_in in; member in union:evAccept::__anon949 103 struct sockaddr_in in; member in union:evAccept::__anon950 236 int maxnfds; /* # elements in above */
|
/bionic/libc/dns/net/ |
H A D | getaddrinfo.c | 8 * Redistribution and use in source and binary forms, with or without 13 * 2. Redistributions in binary form must reproduce the above copyright 14 * notice, this list of conditions and the following disclaimer in the 37 * in the source code. This is because RFC2553 is silent about which error 53 * in ai_flags? 61 * gethostbyname2 from getaddrinfo will end up in wrong search order, as 67 * This will result in the following queries if the node is configure to 76 * This would result in a bit of code duplicate with _dns_ghbyname() and 88 #include <netinet/in.h> 117 struct sockaddr_in in; member in union:sockaddr_union [all...] |