Home
last modified time | relevance | path

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

123

/bionic/tests/
Duchar_test.cpp33 char out[MB_LEN_MAX]; in TEST() local
39 EXPECT_EQ(static_cast<size_t>(-1), c32rtomb(out, 0x00a2, &ps)); in TEST()
51 EXPECT_EQ(1U, c32rtomb(out, L'\0', &ps)); in TEST()
119 char16_t out; in TEST() local
121 out = L'x'; in TEST()
122 ASSERT_EQ(0U, mbrtoc16(&out, "hello", 0, nullptr)); in TEST()
123 ASSERT_EQ(L'x', out); in TEST()
125 ASSERT_EQ(0U, mbrtoc16(&out, "hello", 0, nullptr)); in TEST()
126 ASSERT_EQ(0U, mbrtoc16(&out, "", 0, nullptr)); in TEST()
127 ASSERT_EQ(1U, mbrtoc16(&out, "hello", 1, nullptr)); in TEST()
[all …]
Diconv_test.cpp63 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 …]
Dwchar_test.cpp97 char out[MB_LEN_MAX]; in TEST() local
103 EXPECT_EQ(static_cast<size_t>(-1), wcrtomb(out, 0x00a2, &ps)); in TEST()
115 EXPECT_EQ(1U, wcrtomb(out, L'\0', &ps)); in TEST()
255 wchar_t out[8]; in TEST() local
257 out[0] = 'x'; in TEST()
258 ASSERT_EQ(0, mbtowc(out, "hello", 0)); in TEST()
259 ASSERT_EQ('x', out[0]); in TEST()
261 ASSERT_EQ(0, mbtowc(out, "hello", 0)); in TEST()
262 ASSERT_EQ(0, mbtowc(out, "", 0)); in TEST()
263 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/preprocessor_extern_cpp/
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/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/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/benchmarks/linker_relocation/regen/
Dgen_bench.py181 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 …]
Ddump_relocs.py62 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/
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 ");
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/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_idempotence/
Drun.sh1 rm -rf out
3 versioner headers -i -o out
4 diff -q -w -B out expected
/bionic/tools/versioner/tests/preprocessor_merging/
Drun.sh1 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/
Drun.sh3 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/
Dnet_if.cpp127 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()
Difaddrs.cpp163 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()
315 getlink_success = nc.SendRequest(RTM_GETLINK) && nc.ReadResponses(__getifaddrs_callback, out); in getifaddrs()
318 nc.SendRequest(RTM_GETADDR) && nc.ReadResponses(__getifaddrs_callback, out); in getifaddrs()
321 freeifaddrs(*out); in getifaddrs()
323 *out = nullptr; in getifaddrs()
[all …]
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()
Dsignal.cpp81 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/
Dcoda.h229 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 …]
Dvboxguest.h51 } out; member
65 } out; member
112 } out; member
150 } out; member
161 } out; member
/bionic/libdl/
DAndroid.bp121 // Opt out of native_coverage when opting out of system_shared_libs
208 // Opt out of native_coverage when opting out of system_shared_libs
242 out: ["libdl.arm.map"],
245 cmd: "$(location :bionic-generate-version-script) arm $(in) $(out)",
250 out: ["libdl.arm64.map"],
253 cmd: "$(location :bionic-generate-version-script) arm64 $(in) $(out)",
258 out: ["libdl.x86.map"],
261 cmd: "$(location :bionic-generate-version-script) x86 $(in) $(out)",
266 out: ["libdl.x86_64.map"],
269 cmd: "$(location :bionic-generate-version-script) x86_64 $(in) $(out)",
/bionic/libc/kernel/tools/
Dclean_header.py121 out = StringOutput()
122 out.write(kernel_disclaimer)
123 blocks.write(out)
124 return out.get()
/bionic/libc/kernel/uapi/drm/
Damdgpu_drm.h87 struct drm_amdgpu_gem_create_out out; member
109 struct drm_amdgpu_bo_list_out out; member
149 union drm_amdgpu_ctx_out out; member
162 struct drm_amdgpu_vm_out out; member
236 struct drm_amdgpu_gem_mmap_out out; member
249 struct drm_amdgpu_gem_wait_idle_out out; member
264 struct drm_amdgpu_wait_cs_out out; member
285 struct drm_amdgpu_wait_fences_out out; member
356 struct drm_amdgpu_cs_out out; member
404 } out; member
/bionic/tools/versioner/tests/
D.gitignore1 out/

123