Home
last modified time | relevance | path

Searched refs:out (Results 1 – 25 of 41) sorted by relevance

12

/bionic/tools/versioner/tests/preprocessor/
Drun.sh11 run_test headers out
12 run_test headers/ out
13 run_test headers out/
14 run_test headers/ out/
16 run_test `pwd`/headers out
17 run_test `pwd`/headers/ out
18 run_test `pwd`/headers out/
19 run_test `pwd`/headers/ out/
21 run_test headers `pwd`/out
22 run_test headers/ `pwd`/out
[all …]
/bionic/tests/
Duchar_test.cpp47 char out[MB_LEN_MAX]; in TEST() local
53 EXPECT_EQ(static_cast<size_t>(-1), c32rtomb(out, 0x00a2, &ps)); in TEST()
65 EXPECT_EQ(1U, c32rtomb(out, L'\0', &ps)); in TEST()
161 char16_t out; in TEST() local
163 out = L'x'; in TEST()
164 ASSERT_EQ(0U, mbrtoc16(&out, "hello", 0, NULL)); in TEST()
165 ASSERT_EQ(L'x', out); in TEST()
167 ASSERT_EQ(0U, mbrtoc16(&out, "hello", 0, NULL)); in TEST()
168 ASSERT_EQ(0U, mbrtoc16(&out, "", 0, NULL)); in TEST()
169 ASSERT_EQ(1U, mbrtoc16(&out, "hello", 1, NULL)); in TEST()
[all …]
Dwchar_test.cpp95 char out[MB_LEN_MAX]; in TEST() local
101 EXPECT_EQ(static_cast<size_t>(-1), wcrtomb(out, 0x00a2, &ps)); in TEST()
113 EXPECT_EQ(1U, wcrtomb(out, L'\0', &ps)); in TEST()
245 wchar_t out[8]; in TEST() local
247 out[0] = 'x'; in TEST()
248 ASSERT_EQ(0, mbtowc(out, "hello", 0)); in TEST()
249 ASSERT_EQ('x', out[0]); in TEST()
251 ASSERT_EQ(0, mbtowc(out, "hello", 0)); in TEST()
252 ASSERT_EQ(0, mbtowc(out, "", 0)); in TEST()
253 ASSERT_EQ(1, mbtowc(out, "hello", 1)); in TEST()
[all …]
Dlibgen_basename_test.cpp46 const char* out = gnu_basename(in); in __TestGnuBasename() local
47 ASSERT_STREQ(expected_out, out) << "(" << line << "): " << in << std::endl; in __TestGnuBasename()
54 const char* out = posix_basename(&writable_in[0]); in __TestPosixBasename() local
55 ASSERT_STREQ(expected_out, out) << "(" << line << "): " << in << std::endl; in __TestPosixBasename()
Dlibgen_test.cpp25 const char* out = dirname(&writable_in[0]); in TestDirname() local
26 ASSERT_STREQ(expected_out, out) << in; in TestDirname()
/bionic/tools/versioner/tests/slow_preprocessor_idempotence/
Drun.sh1 rm -rf out
3 mkdir out
4 versioner -o out/initial
5 versioner out/initial ../../dependencies -o out/second
6 diff -qrwB out/initial out/second
/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
43 n = sigprocmask(SIG_BLOCK, &in.the_sigset, &out.the_sigset); in sigblock()
47 return out.the_mask; in sigblock()
Dsigsetmask.c39 } in, out; in sigsetmask() local
44 n = sigprocmask(SIG_SETMASK, &in.the_sigset, &out.the_sigset); in sigsetmask()
48 return out.the_mask; 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()
Dnet_if.cpp137 struct if_nameindex* out = result; in if_nameindex() local
139 out->if_index = it->data.if_index; in if_nameindex()
140 out->if_name = it->data.if_name; in if_nameindex()
141 ++out; in if_nameindex()
143 out->if_index = 0; in if_nameindex()
144 out->if_name = nullptr; in if_nameindex()
Difaddrs.cpp161 ifaddrs** out = reinterpret_cast<ifaddrs**>(context); in __getifaddrs_callback() local
167 ifaddrs_storage* new_addr = new ifaddrs_storage(out); in __getifaddrs_callback()
197 const ifaddrs_storage* addr = reinterpret_cast<const ifaddrs_storage*>(*out); in __getifaddrs_callback()
205 ifaddrs_storage* new_addr = new ifaddrs_storage(out); in __getifaddrs_callback()
236 int getifaddrs(ifaddrs** out) { in getifaddrs() argument
238 *out = nullptr; in getifaddrs()
242 bool okay = nc.SendRequest(RTM_GETLINK) && nc.ReadResponses(__getifaddrs_callback, out) && in getifaddrs()
243 nc.SendRequest(RTM_GETADDR) && nc.ReadResponses(__getifaddrs_callback, out); in getifaddrs()
245 freeifaddrs(*out); in getifaddrs()
247 *out = nullptr; in getifaddrs()
/bionic/tools/versioner/tests/preprocessor_merging/
Drun.sh1 rm -rf out
3 versioner headers -i -o out
4 diff -q -w -B out expected
/bionic/tools/versioner/tests/preprocessor_no_guard/
Drun.sh1 rm -rf out
3 versioner headers -i -o out
4 diff -q -w -B out expected
/bionic/tools/versioner/tests/preprocessor_file_offset_bits/
Drun.sh3 rm -rf out
4 versioner headers -i -o out
5 diff -q -w -B out expected
/bionic/tools/versioner/tests/preprocessor_idempotence/
Drun.sh1 rm -rf out
3 versioner headers -i -o out
4 diff -q -w -B out expected
/bionic/tools/versioner/src/
DDeclarationDatabase.h138 void dump(const std::string& base_path = "", FILE* out = stdout, unsigned indent = 0) const {
140 fprintf(out, "%s", indent_str.c_str());
142 fprintf(out, "%s ", is_extern ? "extern" : "static");
143 fprintf(out, "%s ", is_definition ? "definition" : "declaration");
145 fprintf(out, "no_guard ");
147 fprintf(out, "@ %s:%u:%u", StripPrefix(location.filename, base_path).str().c_str(),
153 fprintf(out, "\n%s ", indent_str.c_str());
155 fprintf(out, "invalid availability\n");
157 fprintf(out, "%s\n", to_string(avail).c_str());
178 void dump(const std::string& base_path = "", FILE* out = stdout) const {
[all …]
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dutmp.c67 goto out; in getutent()
73 goto out; in getutent()
77 out: in getutent()
/bionic/libc/stdio/
Dfread.c97 goto out; in fread()
119 goto out; in fread()
136 out: in fread()
/bionic/tools/versioner/tests/
D.gitignore1 out/
/bionic/libc/kernel/uapi/linux/
Dcoda.h234 struct coda_out_hdr out; member
242 struct coda_out_hdr out; member
250 struct coda_out_hdr out; member
279 struct coda_out_hdr out; member
287 struct coda_out_hdr out; member
321 struct coda_out_hdr out; member
330 struct coda_out_hdr out; member
340 struct coda_out_hdr out; member
359 struct coda_out_hdr out; member
369 struct coda_out_hdr out; member
[all …]
/bionic/libc/kernel/tools/
Dclean_header.py123 out = StringOutput()
124 out.write(kernel_disclaimer)
125 blocks.write(out)
126 return out.get()
/bionic/libc/kernel/uapi/drm/
Damdgpu_drm.h74 struct drm_amdgpu_gem_create_out out; member
96 struct drm_amdgpu_bo_list_out out; member
124 union drm_amdgpu_ctx_out out; member
175 struct drm_amdgpu_gem_mmap_out out; member
188 struct drm_amdgpu_gem_wait_idle_out out; member
203 struct drm_amdgpu_wait_cs_out out; member
224 struct drm_amdgpu_wait_fences_out out; member
275 struct drm_amdgpu_cs_out out; member
/bionic/linker/
Dlinker_utils.h58 bool safe_add(off64_t* out, off64_t a, size_t b);
Dlinker_utils.cpp178 bool safe_add(off64_t* out, off64_t a, size_t b) { in safe_add() argument
184 *out = a + b; in safe_add()

12