/bionic/tests/ |
D | uchar_test.cpp | 33 char out[MB_LEN_MAX]; in TEST() local 40 EXPECT_EQ(static_cast<size_t>(-1), c32rtomb(out, 0x00a2, &ps)); in TEST() 52 EXPECT_EQ(1U, c32rtomb(out, L'\0', &ps)); in TEST() 116 char16_t out; in TEST() local 118 out = L'x'; in TEST() 119 ASSERT_EQ(0U, mbrtoc16(&out, "hello", 0, nullptr)); in TEST() 120 ASSERT_EQ(L'x', out); in TEST() 122 ASSERT_EQ(0U, mbrtoc16(&out, "hello", 0, nullptr)); in TEST() 123 ASSERT_EQ(0U, mbrtoc16(&out, "", 0, nullptr)); in TEST() 124 ASSERT_EQ(1U, mbrtoc16(&out, "hello", 1, nullptr)); in TEST() [all …]
|
D | iconv_test.cpp | 63 char* out = buf; in TEST() local 66 EXPECT_EQ(0U, iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST() 89 char* out = buf; in TEST() local 95 EXPECT_EQ(2U, iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST() 118 char* out = buf; in TEST() local 124 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST() 146 char* out = buf; in TEST() local 151 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST() 172 char* out = buf; in TEST() local 177 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST() [all …]
|
D | wchar_test.cpp | 98 char out[MB_LEN_MAX]; in TEST() local 104 EXPECT_EQ(static_cast<size_t>(-1), wcrtomb(out, 0x00a2, &ps)); in TEST() 116 EXPECT_EQ(1U, wcrtomb(out, L'\0', &ps)); in TEST() 256 wchar_t out[8]; in TEST() local 258 out[0] = 'x'; in TEST() 259 ASSERT_EQ(0, mbtowc(out, "hello", 0)); in TEST() 260 ASSERT_EQ('x', out[0]); in TEST() 262 ASSERT_EQ(0, mbtowc(out, "hello", 0)); in TEST() 263 ASSERT_EQ(0, mbtowc(out, "", 0)); in TEST() 264 ASSERT_EQ(1, mbtowc(out, "hello", 1)); in TEST() [all …]
|
D | libgen_basename_test.cpp | 52 const char* out = gnu_basename(in); in __TestGnuBasename() local 53 ASSERT_STREQ(expected_out, out) << "(" << line << "): " << in << std::endl; in __TestGnuBasename() 61 const char* out = posix_basename(&writable_in[0]); in __TestPosixBasename() local 62 ASSERT_STREQ(expected_out, out) << "(" << line << "): " << in << std::endl; in __TestPosixBasename()
|
D | libgen_test.cpp | 25 const char* out = dirname(&writable_in[0]); in TestDirname() local 26 ASSERT_STREQ(expected_out, out) << in; in TestDirname()
|
/bionic/tools/versioner/tests/preprocessor/ |
D | run.sh | 11 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/tools/versioner/tests/preprocessor_extern_cpp/ |
D | run.sh | 11 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/benchmarks/linker_relocation/regen/ |
D | gen_bench.py | 181 with open(out_filename, 'w') as out: 182 out.write(f'// AUTO-GENERATED BY {os.path.basename(__file__)} -- do not edit manually\n') 183 out.write(f'#include "{g_benchmark_name}_asm.h"\n') 184 out.write('.data\n') 185 out.write('.p2align 4\n') 188 out.write('.text\n' 'MAIN\n') 195 out.write('.text\n' 201 out.write('.data\n' 208 out.write('.text\n') 212 if r.is_weak: out.write(f'.weak {sym}\n') [all …]
|
D | dump_relocs.py | 62 out = subprocess.run(cmdline, check=True, stdout=PIPE).stdout.decode() 63 g_readelf_cache[key] = out 64 return out.splitlines() 69 out = do_readelf_query(['-d', str(path)]) 70 for line in out: 83 out = do_readelf_query(['-d', str(path)]) 84 for line in out: 115 out = do_readelf_query(['--dyn-syms', str(path)]) 116 for line in out: 154 out = do_readelf_query(['-r', str(path)]) [all …]
|
/bionic/tools/versioner/src/ |
D | DeclarationDatabase.h | 138 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 "); 148 fprintf(out, "fortify_inline "); 150 fprintf(out, "@ %s:%u:%u", StripPrefix(location.filename, base_path).str().c_str(), 156 fprintf(out, "\n%s ", indent_str.c_str()); 158 fprintf(out, "invalid availability\n"); 160 fprintf(out, "%s\n", to_string(avail).c_str()); [all …]
|
/bionic/tools/versioner/tests/slow_preprocessor_idempotence/ |
D | run.sh | 1 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/tools/versioner/tests/preprocessor_no_guard/ |
D | run.sh | 1 rm -rf out 3 versioner headers -i -o out 4 diff -q -w -B out expected
|
/bionic/tools/versioner/tests/preprocessor_idempotence/ |
D | run.sh | 1 rm -rf out 3 versioner headers -i -o out 4 diff -q -w -B out expected
|
/bionic/tools/versioner/tests/preprocessor_merging/ |
D | run.sh | 1 rm -rf out 3 versioner headers -a 9 -a 10 -a 11 -i -o out 4 diff -q -w -B out expected
|
/bionic/tools/versioner/tests/preprocessor_file_offset_bits/ |
D | run.sh | 3 rm -rf out 4 versioner headers -a 9 -a 12 -a 13 -i -o out 5 diff -q -w -B out expected
|
/bionic/libc/bionic/ |
D | ifaddrs.cpp | 163 ifaddrs** out = reinterpret_cast<ifaddrs**>(context); in __getifaddrs_callback() local 169 ifaddrs_storage* new_addr = new ifaddrs_storage(out); in __getifaddrs_callback() 199 const ifaddrs_storage* known_addr = reinterpret_cast<const ifaddrs_storage*>(*out); in __getifaddrs_callback() 205 ifaddrs_storage* new_addr = new ifaddrs_storage(out); in __getifaddrs_callback() 303 int getifaddrs(ifaddrs** out) { in getifaddrs() argument 305 *out = nullptr; in getifaddrs() 312 getlink_success = nc.SendRequest(RTM_GETLINK) && nc.ReadResponses(__getifaddrs_callback, out); in getifaddrs() 315 nc.SendRequest(RTM_GETADDR) && nc.ReadResponses(__getifaddrs_callback, out); in getifaddrs() 318 freeifaddrs(*out); in getifaddrs() 320 *out = nullptr; in getifaddrs() [all …]
|
D | net_if.cpp | 127 struct if_nameindex* out = result; in if_nameindex() local 129 out->if_index = it->data.if_index; in if_nameindex() 130 out->if_name = it->data.if_name; in if_nameindex() 131 ++out; in if_nameindex() 133 out->if_index = 0; in if_nameindex() 134 out->if_name = nullptr; in if_nameindex()
|
D | clock_nanosleep.cpp | 35 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()
|
D | signal.cpp | 81 SigSetConverter in, out; in sigblock() local 84 if (sigprocmask(SIG_BLOCK, &in.sigset, &out.sigset) == -1) return -1; in sigblock() 85 return out.bsd; in sigblock() 250 SigSetConverter in, out; in sigsetmask() local 253 if (sigprocmask(SIG_SETMASK, &in.sigset, &out.sigset) == -1) return -1; in sigsetmask() 254 return out.bsd; in sigsetmask()
|
/bionic/libc/kernel/uapi/linux/ |
D | coda.h | 229 struct coda_out_hdr out; member 237 struct coda_out_hdr out; member 245 struct coda_out_hdr out; member 274 struct coda_out_hdr out; member 282 struct coda_out_hdr out; member 316 struct coda_out_hdr out; member 325 struct coda_out_hdr out; member 335 struct coda_out_hdr out; member 354 struct coda_out_hdr out; member 364 struct coda_out_hdr out; member [all …]
|
D | vboxguest.h | 51 } out; member 65 } out; member 112 } out; member 150 } out; member 161 } out; member
|
/bionic/libdl/ |
D | Android.bp | 125 // Opt out of native_coverage when opting out of system_shared_libs 213 // Opt out of native_coverage when opting out of system_shared_libs 247 out: ["libdl.arm.map.txt"], 250 cmd: "$(location generate-version-script) arm $(in) $(out)", 255 out: ["libdl.arm64.map.txt"], 258 cmd: "$(location generate-version-script) arm64 $(in) $(out)", 263 out: ["libdl.riscv64.map.txt"], 266 cmd: "$(location generate-version-script) riscv64 $(in) $(out)", 271 out: ["libdl.x86.map.txt"], 274 cmd: "$(location generate-version-script) x86 $(in) $(out)", [all …]
|
/bionic/libc/kernel/tools/ |
D | clean_header.py | 118 out = StringOutput() 119 out.write(kernel_disclaimer) 120 blocks.write(out) 121 return out.get()
|
/bionic/libc/kernel/uapi/drm/ |
D | amdgpu_drm.h | 90 struct drm_amdgpu_gem_create_out out; member 112 struct drm_amdgpu_bo_list_out out; member 164 union drm_amdgpu_ctx_out out; member 177 struct drm_amdgpu_vm_out out; member 251 struct drm_amdgpu_gem_mmap_out out; member 264 struct drm_amdgpu_gem_wait_idle_out out; member 279 struct drm_amdgpu_wait_cs_out out; member 300 struct drm_amdgpu_wait_fences_out out; member 372 struct drm_amdgpu_cs_out out; member 420 } out; member
|
/bionic/libc/ |
D | Android.bp | 1037 out: ["generated_android_ids.h"], 1040 cmd: "$(location fs_config_generator.py) aidarray $(in) > $(out)", 1322 out: ["syscalls-arm.S"], 1325 cmd: "$(location gensyscalls) arm $(in) > $(out)", 1330 out: ["syscalls-arm64.S"], 1333 cmd: "$(location gensyscalls) arm64 $(in) > $(out)", 1338 out: ["syscalls-riscv64.S"], 1341 cmd: "$(location gensyscalls) riscv64 $(in) > $(out)", 1346 out: ["syscalls-x86.S"], 1349 cmd: "$(location gensyscalls) x86 $(in) > $(out)", [all …]
|