Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 26) sorted by relevance

12

/bionic/linker/
Dlinker_utils_test.cpp45 std::string output; in TEST() local
46 …_TRUE(normalize_path("/../root///dir/.///dir2/somedir/../zipfile!/dir/dir9//..///afile", &output)); in TEST()
47 ASSERT_EQ("/root/dir/dir2/zipfile!/dir/afile", output); in TEST()
49 …RUE(normalize_path("/../root///dir/.///dir2/somedir/.../zipfile!/.dir/dir9//..///afile", &output)); in TEST()
50 ASSERT_EQ("/root/dir/dir2/somedir/.../zipfile!/.dir/afile", output); in TEST()
52 ASSERT_TRUE(normalize_path("/root/..", &output)); in TEST()
53 ASSERT_EQ("/", output); in TEST()
55 ASSERT_TRUE(normalize_path("/root/notroot/..", &output)); in TEST()
56 ASSERT_EQ("/root/", output); in TEST()
58 ASSERT_TRUE(normalize_path("/a/../../b", &output)); in TEST()
[all …]
/bionic/libc/upstream-openbsd/lib/libc/net/
Dbase64.c134 u_char output[4]; local
143 output[0] = input[0] >> 2;
144 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4);
145 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6);
146 output[3] = input[2] & 0x3f;
150 target[datalength++] = Base64[output[0]];
151 target[datalength++] = Base64[output[1]];
152 target[datalength++] = Base64[output[2]];
153 target[datalength++] = Base64[output[3]];
163 output[0] = input[0] >> 2;
[all …]
/bionic/tools/versioner/
Drun_tests.py25 (output, _) = process.communicate()
36 print(indent(output))
38 elif not output.endswith(expected_output):
45 print(indent(output))
50 print(indent(output))
/bionic/libc/tools/
Dtest_genseccomp.py166 output = genseccomp.convert_bpf_to_output(["line1", "line2"], "arm")
181 self.assertEquals(output, expected_output)
197 output = genseccomp.construct_bpf(syscall_files, "arm", self.get_headers("arm"),
217 self.assertEquals(output, expected_output)
Dsymbols.py44 output = subprocess.check_output(['readelf', sym_type, '-W', elf_file])
45 for line in output.split('\n'):
Dgenseccomp.py251 output = construct_bpf(allowed_syscalls, arch, name_modifier, priorities)
259 output_file.write(output)
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp100 std::string output; in Exec() local
116 output.append(buffer.data(), bytes); in Exec()
124 EXPECT_TRUE(done) << "Timed out while reading data, output:\n" << output; in Exec()
151 ASSERT_TRUE(done) << "Timed out waiting for waitpid, output:\n" << output; in Exec()
153 << "Failed with signal " << WTERMSIG(status) << "\nOutput:\n" << output; in Exec()
154 ASSERT_EQ(exit_code, WEXITSTATUS(status)) << "Output:\n" << output; in Exec()
/bionic/tests/
Dfdtrack_test.cpp169 void SetFdResult(std::vector<int>* output, int fd) { in SetFdResult() argument
170 output->push_back(fd); in SetFdResult()
173 void SetFdResult(std::vector<int>* output, std::vector<int> fds) { in SetFdResult() argument
174 *output = fds; in SetFdResult()
DAndroid.bp742 // Library of bionic customized gtest main function, with normal gtest output format,
/bionic/benchmarks/tests/
Dinterface_test.cpp188 std::string output(raw_output_); in TEST_F() local
189 while (std::regex_search(output, sm, benchmark_re)) { in TEST_F()
191 output = sm.suffix(); in TEST_F()
/bionic/tools/versioner/src/
DDeclarationDatabase.cpp294 bool Declaration::calculateAvailability(DeclarationAvailability* output) const { in calculateAvailability()
301 *output = avail; in calculateAvailability()
305 bool Symbol::calculateAvailability(DeclarationAvailability* output) const { in calculateAvailability()
323 *output = avail; in calculateAvailability()
DDeclarationDatabase.h133 bool calculateAvailability(DeclarationAvailability* output) const;
170 bool calculateAvailability(DeclarationAvailability* output) const;
/bionic/libc/kernel/uapi/linux/
Dmatroxfb.h26 __u32 output; member
Dwmi.h32 volatile __u32 output[4]; member
Duhid.h142 struct uhid_output_req output; member
Dvideodev2.h1239 struct v4l2_outputparm output; member
/bionic/libc/kernel/uapi/linux/dvb/
Ddmx.h79 enum dmx_output output; member
/bionic/libc/dns/resolv/
Dres_debug.c1163 static char output[15]; /* YYYYMMDDHHMMSS and null */ in p_secstodate() local
1175 snprintf(output, sizeof(output), "%04d%02d%02d%02d%02d%02d", in p_secstodate()
1178 return (output); in p_secstodate()
/bionic/libc/upstream-netbsd/lib/libc/isc/
Deventlib_p.h220 FILE *output; member
/bionic/benchmarks/linker_relocation/regen/
Ddump_relocs.py241 with open(Path(args.output), 'w') as f:
/bionic/docs/
Dlibc_assembler.md75 library. An example of the output looks like this:
112 the output. Sometimes this filter can still match multiple benchmarks, to
Dnative_allocator.md188 The last value in the output is the size of the allocation in bytes. It is
240 For these benchmarks, the last parameter in the output is the size of the
Dfdsan.md132 which results in the following output:
Delf-tls.md801 * Perhaps LLD should mark executables specially, because a normal ELF linker's output would quietly
/bionic/libc/malloc_debug/
DREADME.md517 The map data is simply the output of /proc/PID/maps. This data can be used to

12