Home
last modified time | relevance | path

Searched refs:in (Results 1 – 25 of 62) sorted by relevance

123

/bionic/tests/
Dlibgen_basename_test.cpp27 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 …]
Dlibgen_test.cpp22 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 …]
Dfcntl_test.cpp170 int in = open("/proc/cpuinfo", O_RDONLY); in TEST() local
171 ASSERT_NE(in, -1); in TEST()
175 ssize_t bytes_read = splice(in, 0, pipe_fds[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); in TEST()
183 close(in); in TEST()
220 int in = open("/proc/version", O_RDONLY); in TEST() local
221 ASSERT_NE(in, -1); in TEST()
224 ssize_t bytes_read = splice(in, 0, pipe1[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); in TEST()
/bionic/libc/bionic/
Dstatvfs.cpp37 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 …]
Dsigblock.c38 } 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()
Dsigsetmask.c39 } 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()
Dclock_nanosleep.cpp35 int clock_nanosleep(clockid_t clock_id, int flags, const timespec* in, timespec* out) { in clock_nanosleep() argument
39 return (___clock_nanosleep(clock_id, flags, in, out) == 0) ? 0 : errno; in clock_nanosleep()
/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_lnaof.c40 inet_lnaof(struct in_addr in) in inet_lnaof() argument
42 in_addr_t i = ntohl(in.s_addr); in inet_lnaof()
Dinet_ntoa.c41 inet_ntoa(struct in_addr in) in inet_ntoa() argument
46 p = (char *)&in; in inet_ntoa()
Dinet_netof.c39 inet_netof(struct in_addr in) in inet_netof() argument
41 in_addr_t i = ntohl(in.s_addr); in inet_netof()
Dres_random.c135 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/libc/kernel/android/
DREADME.TXT2 exist in android kernels, but have not been upstreamed into the regular
12 scsi headers and haven't substantially updated them in 15 years. The
13 musl libc project has a similar set of definitions in its scsi headers.
15 These files are actually maintained in external/kernel-headers/modified/scsi.
/bionic/libc/arch-mips/string/
Dstrnlen.c62 #define DO_WORD(in, val) { \ argument
65 return do_bytes(str, (const char *)(in), tmp); \
75 #define DO_WORD(in, val) { \ argument
77 return do_bytes(str, (const char *)(in)); \
Dmemchr.c69 #define DO_WORD(in, val) { \ argument
72 return do_bytes(in, tmp); \
83 #define DO_WORD(in, val) { \ argument
86 return do_bytes(in, ch); \
/bionic/libc/
DSECCOMP_BLACKLIST.TXT1 # This file is used to populate seccomp's whitelist policy in combination with SYSCALLS.TXT.
5 # Any entry in the blacklist must be in the syscalls file and not be in the whitelist file
27 # - Each parameter type is assumed to be stored in 32 bits.
DNOTICE5 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 the
33 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 the
61 Redistribution and use in source and binary forms, with or without
66 2. Redistributions in binary form must reproduce the above copyright
67 notice, this list of conditions and the following disclaimer in the
88 Redistribution and use in source and binary forms, with or without
[all …]
/bionic/linker/
DAndroid.bp10 // We need to access Bionic private headers in the linker.
71 // We need to access Bionic private headers in the linker.
115 // avoided in the case of building loader.
135 // Important: The liblinker_malloc should be the last library in the list
161 // Leave the symbols in the shared library so that stack unwinders can produce
168 // looking up symbols in the linker by mistake.
Dld.config.format.md22 Every section starts with `[section_name]` (which is used in mappings) and it defines namespaces
23 configuration using set of properties described in example below.
29 # configuration specified in [example_section] below
36 # the version specified in <dirname>/.version file, where <dirname> = dirname(executable_path)
69 # default namespace but loaded in the linked namespace.
/bionic/
DREADME.md14 `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 …]
Dandroid-changes-for-ndk-developers.md4 loading in various Android releases.
25 increase your target API level will appear in logcat when that library
43 in that order. For API 23 and later, for any given library, the dynamic
54 ## RTLD_LOCAL (Available in API level >= 23)
57 correctly in API 23 and later. Note that RTLD_LOCAL is the default,
64 ## GNU hashes (Availible in API level >= 23)
67 symbol lookup and is now supported by the dynamic linker in API 23 and
72 ## Correct soname/path handling (Available in API level >= 23)
92 ## Symbol versioning (Available in API level >= 23)
96 the behavior of a function, they can provide two versions in the same
[all …]
/bionic/libc/malloc_debug/
DREADME_api.md4 in a process. The libc library in Android exports two calls that can be
43 incorrectly set to the number of frames in the backtrace.
53 The total number of these structures returned in *info* is
56 Note, the size value in each allocation data structure will have bit 31 set
57 if this allocation was created in a process forked from the Zygote process.
/bionic/libc/kernel/
DREADME.TXT8 in the 'bionic/kernel/tools' directory. The tools process the original
9 unmodified kernel headers in order to get rid of many annoying
10 declarations and constructs that usually result in compilation failure.
16 They can be included from C++, or when compiling code in strict ANSI mode.
19 Description of the directories involved in generating the parsed kernel headers:
22 Contains the uapi kernel headers found in the android kernel. Note this
28 in 'external/kernel-headers/original/uapi/'.
/bionic/libc/kernel/uapi/drm/
Damdgpu_drm.h73 struct drm_amdgpu_gem_create_in in; member
95 struct drm_amdgpu_bo_list_in in; member
123 struct drm_amdgpu_ctx_in in; member
174 struct drm_amdgpu_gem_mmap_in in; member
187 struct drm_amdgpu_gem_wait_idle_in in; member
202 struct drm_amdgpu_wait_cs_in in; member
223 struct drm_amdgpu_wait_fences_in in; member
274 struct drm_amdgpu_cs_in in; member
/bionic/libc/tools/
Dpylintrc34 # option multiple times (only on the command line, not in the configuration
51 # Put messages in a separate file for each module / package specified on the
53 # written in a file name "pylint_global.[txt|html]".
107 # Regular expression which should only match correct attribute names in class
132 # Tells whether missing members accessed in mixin class should be ignored. A
152 # List of note tags to take in consideration, separated by a comma.
173 # Tells whether we should check for unused import in __init__ files.
180 # List of additional names supposed to be defined in builtins. Remember that
200 # Maximum number of lines in a module
213 # Create a graph of every (i.e. internal and external) dependencies in the
[all …]
/bionic/tools/versioner/tests/multiple_definition/
Dexpected_fail2 declarations visible in: arm-9 [fob = 32], arm-9 [fob = 64], arm-12 [fob = 32], arm-12 [fob = 64]

123