/bionic/tests/ |
D | libgen_basename_test.cpp | 27 static const char* gnu_basename(const char* in) { in gnu_basename() argument 28 return basename(in); in gnu_basename() 37 static char* posix_basename(char* in) { in posix_basename() argument 38 return basename(in); in posix_basename() 44 static void __TestGnuBasename(const char* in, const char* expected_out, int line) { in __TestGnuBasename() argument 46 const char* out = gnu_basename(in); in __TestGnuBasename() 47 ASSERT_STREQ(expected_out, out) << "(" << line << "): " << in << std::endl; in __TestGnuBasename() 48 ASSERT_EQ(0, errno) << "(" << line << "): " << in << std::endl; in __TestGnuBasename() 51 static void __TestPosixBasename(const char* in, const char* expected_out, int line) { in __TestPosixBasename() argument 52 char* writable_in = (in != NULL) ? strdup(in) : NULL; in __TestPosixBasename() [all …]
|
D | libgen_test.cpp | 22 static void TestDirname(const char* in, const char* expected_out) { in TestDirname() argument 23 char* writable_in = (in != NULL) ? strdup(in) : NULL; in TestDirname() 26 ASSERT_STREQ(expected_out, out) << in; in TestDirname() 27 ASSERT_EQ(0, errno) << in; in TestDirname() 43 static void TestBasename(const char* in, const char* expected_out, int expected_rc, in TestBasename() argument 46 int rc = basename_r(in, buf, buf_size); in TestBasename() 47 ASSERT_EQ(expected_rc, rc) << in; in TestBasename() 49 ASSERT_STREQ(expected_out, buf) << in; in TestBasename() 51 ASSERT_EQ(expected_errno, errno) << in; in TestBasename() 54 static void TestDirname(const char* in, const char* expected_out, int expected_rc, in TestDirname() argument [all …]
|
D | fcntl_test.cpp | 161 int in = open("/proc/cpuinfo", O_RDONLY); in TEST() local 162 ASSERT_NE(in, -1); in TEST() 166 ssize_t bytes_read = splice(in, 0, pipe_fds[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); in TEST() 174 close(in); in TEST() 211 int in = open("/proc/version", O_RDONLY); in TEST() local 212 ASSERT_NE(in, -1); in TEST() 215 ssize_t bytes_read = splice(in, 0, pipe1[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); in TEST()
|
/bionic/libc/bionic/ |
D | statvfs.cpp | 37 static void __statfs_to_statvfs(const struct statfs& in, struct statvfs* out) { in __statfs_to_statvfs() argument 38 out->f_bsize = in.f_bsize; in __statfs_to_statvfs() 39 out->f_frsize = in.f_frsize; in __statfs_to_statvfs() 40 out->f_blocks = in.f_blocks; in __statfs_to_statvfs() 41 out->f_bfree = in.f_bfree; in __statfs_to_statvfs() 42 out->f_bavail = in.f_bavail; in __statfs_to_statvfs() 43 out->f_files = in.f_files; in __statfs_to_statvfs() 44 out->f_ffree = in.f_ffree; in __statfs_to_statvfs() 45 out->f_favail = in.f_ffree; in __statfs_to_statvfs() 46 out->f_fsid = in.f_fsid.__val[0] | (static_cast<uint64_t>(in.f_fsid.__val[1]) << 32); in __statfs_to_statvfs() [all …]
|
D | sigsetmask.c | 39 } in, out; in sigsetmask() local 41 sigemptyset(&in.the_sigset); in sigsetmask() 42 in.the_mask = mask; in sigsetmask() 44 n = sigprocmask(SIG_SETMASK, &in.the_sigset, &out.the_sigset); in sigsetmask()
|
D | sigblock.c | 38 } in, out; in sigblock() local 40 sigemptyset(&in.the_sigset); in sigblock() 41 in.the_mask = mask; in sigblock() 43 n = sigprocmask(SIG_BLOCK, &in.the_sigset, &out.the_sigset); in sigblock()
|
D | clock_nanosleep.cpp | 35 int clock_nanosleep(clockid_t clock_id, int flags, const timespec* in, timespec* out) { in clock_nanosleep() argument 37 return (___clock_nanosleep(clock_id, flags, in, out) == 0) ? 0 : errno; in clock_nanosleep()
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | inet_lnaof.c | 41 inet_lnaof(struct in_addr in) in inet_lnaof() argument 43 in_addr_t i = ntohl(in.s_addr); in inet_lnaof()
|
D | inet_ntoa.c | 41 inet_ntoa(struct in_addr in) in inet_ntoa() argument 46 p = (char *)∈ in inet_ntoa()
|
D | inet_netof.c | 40 inet_netof(struct in_addr in) in inet_netof() argument 42 in_addr_t i = ntohl(in.s_addr); in inet_netof()
|
D | res_random.c | 135 permute15(u_int in) in permute15() argument 141 return in; in permute15() 143 left = (in >> 8) & 0x7f; in permute15() 144 right = in & 0xff; in permute15()
|
/bionic/linker/ |
D | NOTICE | 4 you may not use this file except in compliance with the License. 9 Unless required by applicable law or agreed to in writing, software 20 Redistribution and use in source and binary forms, with or without 25 * Redistributions in binary form must reproduce the above copyright 26 notice, this list of conditions and the following disclaimer in 48 Redistribution and use in source and binary forms, with or without 53 * Redistributions in binary form must reproduce the above copyright 54 notice, this list of conditions and the following disclaimer in 76 you may not use this file except in compliance with the License. 81 Unless required by applicable law or agreed to in writing, software [all …]
|
/bionic/ |
D | README.md | 14 `cos(3)` in a separate library to save space in the days before shared 37 jump to `fopen(3)`, say, it lands in the right place). 49 What's in libc/? 62 # because it's architecture-specific. There will be a .mk file in here that 63 # drags in all the architecture-specific files. 69 # The majority of header files are actually in libc/include/, but many 70 # of them pull in a <machine/something.h> for things like limits, 87 # in external/kernel-headers/. These files must not be edited directly. The 109 # in our world. The *-compat.h files are automatically included 118 # current upstream source in one of the upstream directories or by [all …]
|
/bionic/libstdc++/ |
D | NOTICE | 4 Redistribution and use in source and binary forms, with or without 9 * Redistributions in binary form must reproduce the above copyright 10 notice, this list of conditions and the following disclaimer in 32 Redistribution and use in source and binary forms, with or without 37 * Redistributions in binary form must reproduce the above copyright 38 notice, this list of conditions and the following disclaimer in 62 provided that the above copyright notice appear in all copies and 64 in supporting documentation. Hewlett-Packard Company makes no 74 provided that the above copyright notice appear in all copies and 76 in supporting documentation. Silicon Graphics makes no
|
/bionic/libc/kernel/ |
D | README.TXT | 5 in the 'bionic/kernel/tools' directory. The tools process the original 6 unmodified kernel headers in order to get rid of many annoying 7 declarations and constructs that usually result in compilation failure. 13 They can be included from C++, or when compiling code in strict ANSI mode. 16 Description of the directories involved in generating the parsed kernel headers: 19 Contains the uapi kernel headers found in the android kernel. Note this 25 in 'external/kernel-headers/original/uapi/'.
|
/bionic/libstdc++/include/ |
D | cwctype_is_not_supported | 6 * Redistribution and use in source and binary forms, with or without 11 * * Redistributions in binary form must reproduce the above copyright 12 * notice, this list of conditions and the following disclaimer in 30 /* IMPORTANT: cwchar and cwctype are not supported. See comment in
|
D | cwchar | 6 * Redistribution and use in source and binary forms, with or without 11 * * Redistributions in binary form must reproduce the above copyright 12 * notice, this list of conditions and the following disclaimer in 30 /* IMPORTANT: cwchar and cwctype are not supported. See comment in
|
D | cstddef | 6 * Redistribution and use in source and binary forms, with or without 11 * * Redistributions in binary form must reproduce the above copyright 12 * notice, this list of conditions and the following disclaimer in 35 * The following 2 types are also declared in the 'std' namespace:
|
D | utility | 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
|
D | climits | 6 * Redistribution and use in source and binary forms, with or without 11 * * Redistributions in binary form must reproduce the above copyright 12 * notice, this list of conditions and the following disclaimer in
|
/bionic/libm/ |
D | NOTICE | 119 Redistribution and use in source and binary forms, with or without 124 2. Redistributions in binary form must reproduce the above copyright 125 notice, this list of conditions and the following disclaimer in the 145 you may not use this file except in compliance with the License. 150 Unless required by applicable law or agreed to in writing, software 161 Redistribution and use in source and binary forms, with or without 166 2. Redistributions in binary form must reproduce the above copyright 167 notice, this list of conditions and the following disclaimer in the 187 you may not use this file except in compliance with the License. 192 Unless required by applicable law or agreed to in writing, software [all …]
|
/bionic/libdl/ |
D | NOTICE | 4 you may not use this file except in compliance with the License. 9 Unless required by applicable law or agreed to in writing, software
|
D | libdl.map.txt | 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
|
/bionic/libc/ |
D | NOTICE | 4 Redistribution and use in source and binary forms, with or without 8 * Redistributions in binary form must reproduce the above copyright 9 notice, this list of conditions and the following disclaimer in the 29 strchr - find a character in a string 35 Redistribution and use in source and binary forms, with or without 39 * Redistributions in binary form must reproduce the above copyright 40 notice, this list of conditions and the following disclaimer in the 63 Redistribution and use in source and binary forms, with or without 68 2. Redistributions in binary form must reproduce the above copyright 69 notice, this list of conditions and the following disclaimer in the [all …]
|
/bionic/libc/kernel/uapi/drm/ |
D | amdgpu_drm.h | 77 struct drm_amdgpu_gem_create_in in; member 105 struct drm_amdgpu_bo_list_in in; member 140 struct drm_amdgpu_ctx_in in; member 204 struct drm_amdgpu_gem_mmap_in in; member 220 struct drm_amdgpu_gem_wait_idle_in in; member 239 struct drm_amdgpu_wait_cs_in in; member 302 struct drm_amdgpu_cs_in in; member
|