/bionic/tests/ |
D | uchar_test.cpp | 47 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 …]
|
D | wchar_test.cpp | 93 char out[MB_LEN_MAX]; in TEST() local 99 EXPECT_EQ(static_cast<size_t>(-1), wcrtomb(out, 0x00a2, &ps)); in TEST() 111 EXPECT_EQ(1U, wcrtomb(out, L'\0', &ps)); in TEST() 243 wchar_t out[8]; in TEST() local 245 out[0] = 'x'; in TEST() 246 ASSERT_EQ(0, mbtowc(out, "hello", 0)); in TEST() 247 ASSERT_EQ('x', out[0]); in TEST() 249 ASSERT_EQ(0, mbtowc(out, "hello", 0)); in TEST() 250 ASSERT_EQ(0, mbtowc(out, "", 0)); in TEST() 251 ASSERT_EQ(1, mbtowc(out, "hello", 1)); in TEST() [all …]
|
D | libgen_test.cpp | 25 const char* out = basename(&writable_in[0]); in TestBasename() local 26 ASSERT_STREQ(expected_out, out) << in; in TestBasename() 34 const char* out = dirname(&writable_in[0]); in TestDirname() local 35 ASSERT_STREQ(expected_out, out) << in; in TestDirname()
|
D | time_test.cpp | 543 timespec out; in TEST() local 544 ASSERT_EQ(EINVAL, clock_nanosleep(-1, 0, &in, &out)); in TEST()
|
D | string_test.cpp | 1372 const char* out = basename(in); in TestBasename() local 1373 ASSERT_STREQ(expected_out, out) << in; in TestBasename()
|
/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 | sigblock.c | 38 } 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()
|
D | sigsetmask.c | 39 } 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()
|
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/stdio/ |
D | ftell.c | 50 goto out; in ftello() 64 goto out; in ftello() 83 out: FUNLOCKFILE(fp); in ftello()
|
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
D | utmp.c | 67 goto out; in getutent() 73 goto out; in getutent() 77 out: in getutent()
|
/bionic/libc/stdio/ |
D | fread.c | 97 goto out; in fread() 119 goto out; in fread() 136 out: in fread()
|
/bionic/libc/kernel/uapi/linux/ |
D | coda.h | 287 struct coda_out_hdr out; member 297 struct coda_out_hdr out; member 307 struct coda_out_hdr out; member 344 struct coda_out_hdr out; member 354 struct coda_out_hdr out; member 396 struct coda_out_hdr out; member 407 struct coda_out_hdr out; member 420 struct coda_out_hdr out; member 444 struct coda_out_hdr out; member 456 struct coda_out_hdr out; member [all …]
|
/bionic/libc/kernel/tools/ |
D | clean_header.py | 158 out = StringOutput() 159 out.write( kernel_disclaimer ) 160 blocks.writeWithWarning(out, kernel_warning, 4) 161 return dst_path, out.get()
|
D | cpp.py | 1101 def writeWithWarning(self, out, warning, left_count, repeat_count, indent): argument 1112 out.write(str(self) + '\n') 1115 out.write(warning) 1121 out.write(line + '\n') 1124 out.write(warning) 1245 def write(self, out): argument 1246 out.write(str(self)) 1248 def writeWithWarning(self, out, warning, repeat_count): argument 1252 left_count, indent = b.writeWithWarning(out, warning, left_count, 1801 out = utils.StringOutput() [all …]
|
/bionic/libc/tools/zoneinfo/ |
D | ZoneCompactor.java | 40 private static void copyFile(File inFile, OutputStream out) throws Exception { in copyFile() argument 50 out.write(buf, 0, nbytes); in copyFile() 57 out.flush(); in copyFile()
|
/bionic/libc/kernel/uapi/linux/netfilter_bridge/ |
D | ebtables.h | 140 char out[IFNAMSIZ]; member
|
/bionic/libc/kernel/uapi/rdma/ |
D | rdma_user_cm.h | 65 __u16 out; member
|
D | ib_user_cm.h | 54 __u16 out; member
|
/bionic/libc/kernel/ |
D | README.TXT | 34 Checks out the android kernel and generates all uapi header files.
|
/bionic/ |
D | README.md | 118 # legacy mess that needs to be sorted out, either by replacing it with
|