/bionic/tests/ |
H A D | libgen_basename_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 27 static const char* gnu_basename(const char* in) { argument 28 return basename(in); 37 static char* posix_basename(char* in) { argument 38 return basename(in); 44 static void __TestGnuBasename(const char* in, const char* expected_out, int line) { argument 46 const char* out = gnu_basename(in); 47 ASSERT_STREQ(expected_out, out) << "(" << line << "): " << in << std::endl; 48 ASSERT_EQ(0, errno) << "(" << line << "): " << in << st 51 __TestPosixBasename(const char* in, const char* expected_out, int line) argument [all...] |
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 TestDirname(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; 43 static void TestBasename(const char* in, const char* expected_out, int expected_rc, argument 46 int rc = basename_r(in, buf, buf_size); 47 ASSERT_EQ(expected_rc, rc) << in; 54 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 | iconv_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 60 char* in = const_cast<char*>(utf8); local 61 size_t in_bytes = strlen(in); 66 EXPECT_EQ(0U, iconv(c, &in, &in_bytes, &out, &out_bytes)); 86 char* in = const_cast<char*>(utf8); local 87 size_t in_bytes = strlen(in); 95 EXPECT_EQ(2U, iconv(c, &in, &in_bytes, &out, &out_bytes)); 115 char* in = const_cast<char*>(utf8); local 116 size_t in_bytes = strlen(in); 143 char* in = const_cast<char*>(utf8); local 169 char* in = const_cast<char*>(utf8); local 202 char* in = const_cast<char*>(utf8); local 229 char* in = const_cast<char*>(utf8); local 276 char* in = nullptr; local 298 char* in = const_cast<char*>(utf8); local 364 char* in = const_cast<char*>(src); local 436 char* in = nullptr; local [all...] |
/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 31 #include <netinet/in.h> 40 inet_lnaof(struct in_addr in) argument 42 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 31 #include <netinet/in.h> 39 inet_netof(struct in_addr in) argument 41 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 | inet_makeaddr.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 31 #include <netinet/in.h> 35 * Formulate an Internet address from network + host. Used in 36 * building addresses stored in the ifnet structure.
|
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> 110 * Do a fast modular exponation, returned value will be in the range 135 permute15(u_int in) argument 141 return in; 143 left = (in >> 8) & 0x7f; 144 right = in [all...] |
/bionic/libc/bionic/ |
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...] |
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 39 return (___clock_nanosleep(clock_id, flags, in, out) == 0) ? 0 : errno;
|
H A D | NetdClient.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 18 #error NetdClient.cpp should NOT be included in static libc builds.
|
/bionic/libc/kernel/uapi/linux/ |
H A D | netfilter_bridge.h | 21 #include <linux/in.h>
|
H A D | netfilter.h | 23 #include <linux/in.h> 68 struct in_addr in; member in union:nf_inet_addr
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | netfilter_bridge.h | 21 #include <linux/in.h>
|
H A D | netfilter.h | 23 #include <linux/in.h> 68 struct in_addr in; member in union:nf_inet_addr
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/ |
H A D | netfilter_bridge.h | 21 #include <linux/in.h>
|
H A D | netfilter.h | 23 #include <linux/in.h> 68 struct in_addr in; member in union:nf_inet_addr
|
/bionic/libc/kernel/tools/ |
H A D | generate_uapi_headers.sh | 6 # you may not use this file except in compliance with the License. 11 # Unless required by applicable law or agreed to in writing, software 72 for file in $(ls -d ${src_dir}/* 2> /dev/null); do 81 for dir in "${search_dirs[@]}"; do 95 for file in $(ls -d ${src_dir}/* 2> /dev/null); do 97 # Check that this file exists in check_dir. 114 for file in $(ls -d ${src_dir}/* 2> /dev/null); do 121 echo "New version of ${BASH_REMATCH[1]} found in kernel headers." 123 echo "New version of ${file} found in kernel headers." 130 for dir in " [all...] |
/bionic/libc/arch-mips/string/ |
H A D | strnlen.c | 6 * Redistribution and use in source and binary forms, with or without 12 * * Redistributions in binary form must reproduce the above copyright 14 * in the documentation and/or other materials provided with 62 #define DO_WORD(in, val) { \ 65 return do_bytes(str, (const char *)(in), tmp); \ 75 #define DO_WORD(in, val) { \ 77 return do_bytes(str, (const char *)(in)); \
|
H A D | memchr.c | 6 * Redistribution and use in source and binary forms, with or without 12 * * Redistributions in binary form must reproduce the above copyright 14 * in the documentation and/or other materials provided with 69 #define DO_WORD(in, val) { \ 72 return do_bytes(in, tmp); \ 83 #define DO_WORD(in, val) { \ 86 return do_bytes(in, ch); \
|
/bionic/libc/include/ |
H A D | ifaddrs.h | 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 33 #include <netinet/in.h>
|
/bionic/libc/include/netinet/ |
H A D | in.h | 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 37 #include <linux/in.h>
|
/bionic/libc/upstream-netbsd/lib/libc/include/ |
H A D | resolv_mt.h | 7 #include <netinet/in.h>
|
/bionic/tools/versioner/current/ |
H A D | ifaddrs.h | 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 33 #include <netinet/in.h>
|
/bionic/tools/versioner/current/netinet/ |
H A D | in.h | 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 37 #include <linux/in.h>
|