Home
last modified time | relevance | path

Searched refs:content (Results 1 – 20 of 20) sorted by relevance

/bionic/libc/kernel/tools/
Dupdate_all.py110 content = '/* Generated file. Do not edit. */\n'
111 content += '#pragma once\n'
115 content += '#if defined(%s)\n' % nr_name
116 content += ' #define SYS_%s %s\n' % (syscall, nr_name)
117 content += '#endif\n'
121 updater.editFile(syscall_file, content)
/bionic/tests/
Dspawn_test.cpp265 std::string content; in TEST() local
266 ASSERT_TRUE(android::base::ReadFdToString(fds[0], &content)); in TEST()
276 for (const auto& line : android::base::Split(content, "\n")) { in TEST()
281 ASSERT_TRUE(open_to_fd_56_worked) << content; in TEST()
282 ASSERT_TRUE(open_to_fd_58_worked) << content; in TEST()
283 ASSERT_TRUE(open_to_fd_59_worked) << content; in TEST()
289 static void CatFileToString(posix_spawnattr_t* sa, const char* path, std::string* content) { in CatFileToString() argument
306 ASSERT_TRUE(android::base::ReadFdToString(fds[0], content)); in CatFileToString()
319 std::string content; in GetChildStat() local
320 CatFileToString(sa, "/proc/self/stat", &content); in GetChildStat()
[all …]
Dexecinfo_test.cpp199 std::string content; in TEST() local
200 ASSERT_TRUE(android::base::ReadFileToString(tf.path, &content)); in TEST()
202 ASSERT_TRUE(content.empty()); in TEST()
209 std::string content; in TEST() local
210 ASSERT_TRUE(android::base::ReadFileToString(tf.path, &content)); in TEST()
212 ASSERT_TRUE(content.empty()); in TEST()
Dutils.h157 std::string content; in WaitUntilThreadSleep() local
158 ASSERT_TRUE(android::base::ReadFileToString(filename, &content)); in WaitUntilThreadSleep()
159 if (std::regex_search(content, regex)) { in WaitUntilThreadSleep()
Ddlext_test.cpp944 std::string content; in TEST() local
945 ASSERT_TRUE(android::base::ReadFileToString(lib_path, &content)) << strerror(errno); in TEST()
946 ASSERT_TRUE(android::base::WriteStringToFd(content, tmpfd)) << strerror(errno); in TEST()
989 std::string content; in TEST() local
990 ASSERT_TRUE(android::base::ReadFileToString(lib_path, &content)) << strerror(errno); in TEST()
991 ASSERT_TRUE(android::base::WriteStringToFd(content, memfd)) << strerror(errno); in TEST()
Dunistd_test.cpp1747 std::string content; in TEST()
1748 ASSERT_TRUE(android::base::ReadFdToString(tf2.fd, &content)); in TEST()
1749 ASSERT_EQ("hello world", content); in TEST()
Dpthread_test.cpp2317 std::string content; in GetThreadPriority() local
2319 if (!android::base::ReadFileToString(filename, &content)) { in GetThreadPriority()
2322 std::vector<std::string> strs = android::base::Split(content, " "); in GetThreadPriority()
Dstdio_test.cpp65 static void SetFileTo(const char* path, const char* content) { in SetFileTo() argument
68 ASSERT_NE(EOF, fputs(content, fp)); in SetFileTo()
/bionic/libc/tools/
Dgenerate_notice.py135 content = raw.decode("utf-8")
138 content = raw.decode("iso-8859-1")
140 lines = content.split("\n")
146 if not "Copyright" in content:
147 if "public domain" in content.lower():
/bionic/linker/
Dlinker_config.cpp62 explicit ConfigParser(std::string&& content) in ConfigParser() argument
63 : content_(std::move(content)), p_(0), lineno_(0), was_end_of_file_(false) {} in ConfigParser()
186 std::string content; in parse_config_file() local
187 if (!android::base::ReadFileToString(ld_config_file_path, &content)) { in parse_config_file()
195 ConfigParser cp(std::move(content)); in parse_config_file()
493 std::string content; in read_binary_config() local
494 if (!android::base::ReadFileToString(version_file, &content)) { in read_binary_config()
501 content = android::base::Trim(content); in read_binary_config()
504 const char* content_str = content.c_str(); in read_binary_config()
510 *error_msg = std::string("invalid version \"") + version_file + "\": \"" + content +"\""; in read_binary_config()
Dlinker_config_test.cpp111 std::string content = android::base::StringPrintf("%d", version); in write_version() local
112 return android::base::WriteStringToFile(content, path); in write_version()
/bionic/libc/kernel/uapi/linux/
Datmlec.h67 } content; member
Ddns_resolver.h44 __u8 content; member
Datmmpc.h57 } content; member
/bionic/libc/kernel/
DREADME.md54 content has changed. You can also process more than one file with -u.
57 Automatically update all clean headers from the content of
/bionic/libc/malloc_debug/
Dmalloc_debug.cpp1125 std::string content; in write_dump() local
1126 if (!android::base::ReadFileToString("/proc/self/maps", &content)) { in write_dump()
1129 dprintf(fd, "%s", content.c_str()); in write_dump()
DREADME_marshmallow_and_earlier.md64 the content of allocations.
/bionic/apex/
DNOTICE142 origin of the Work and reproducing the content of the NOTICE file.
/bionic/build/
DNOTICE142 origin of the Work and reproducing the content of the NOTICE file.
/bionic/docs/
DNOTICE142 origin of the Work and reproducing the content of the NOTICE file.