Searched refs:in (Results 1 - 25 of 115) sorted by relevance

12345

/bionic/tests/
H A Dlibgen_basename_test.cpp5 * 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 Dlibgen_test.cpp5 * 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 Diconv_test.cpp5 * 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 Dinet_lnaof.c6 * 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 Dinet_netof.c6 * 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 Dinet_ntoa.c6 * 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 *)&in;
H A Dinet_makeaddr.c6 * 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 Dres_random.c13 * 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 Dstatvfs.cpp5 * 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 Dclock_nanosleep.cpp5 * 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 DNetdClient.cpp5 * 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 Dnetfilter_bridge.h21 #include <linux/in.h>
H A Dnetfilter.h23 #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 Dnetfilter_bridge.h21 #include <linux/in.h>
H A Dnetfilter.h23 #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 Dnetfilter_bridge.h21 #include <linux/in.h>
H A Dnetfilter.h23 #include <linux/in.h>
68 struct in_addr in; member in union:nf_inet_addr
/bionic/libc/kernel/tools/
H A Dgenerate_uapi_headers.sh6 # 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 Dstrnlen.c6 * 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 Dmemchr.c6 * 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 Difaddrs.h5 * 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 Din.h5 * 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 Dresolv_mt.h7 #include <netinet/in.h>
/bionic/tools/versioner/current/
H A Difaddrs.h5 * 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 Din.h5 * 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>

Completed in 916 milliseconds

12345