/bionic/libc/tools/ |
D | generate_notice.py | 47 def is_auto_generated(content): argument 48 if "Generated by gensyscalls.py" in content or "generated by genserv.py" in content: 50 if "This header was automatically generated from a Linux kernel header" in content: 144 content = raw.decode("utf-8") 147 content = raw.decode("iso-8859-1") 149 lines = content.split("\n") 155 if is_auto_generated(content): 159 if not "Copyright" in content: 160 if "public domain" in content.lower():
|
/bionic/tests/ |
D | spawn_test.cpp | 265 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 …]
|
D | execinfo_test.cpp | 195 std::string content; in TEST() local 196 ASSERT_TRUE(android::base::ReadFileToString(tf.path, &content)); in TEST() 198 ASSERT_TRUE(content.empty()); in TEST() 205 std::string content; in TEST() local 206 ASSERT_TRUE(android::base::ReadFileToString(tf.path, &content)); in TEST() 208 ASSERT_TRUE(content.empty()); in TEST()
|
D | utils.h | 156 std::string content; in WaitUntilThreadSleep() local 157 ASSERT_TRUE(android::base::ReadFileToString(filename, &content)); in WaitUntilThreadSleep() 158 if (std::regex_search(content, regex)) { in WaitUntilThreadSleep()
|
D | dlext_test.cpp | 943 std::string content; in TEST() local 944 ASSERT_TRUE(android::base::ReadFileToString(lib_path, &content)) << strerror(errno); in TEST() 945 ASSERT_TRUE(android::base::WriteStringToFd(content, tmpfd)) << strerror(errno); in TEST() 991 std::string content; in TEST() local 992 ASSERT_TRUE(android::base::ReadFileToString(lib_path, &content)) << strerror(errno); in TEST() 993 ASSERT_TRUE(android::base::WriteStringToFd(content, memfd)) << strerror(errno); in TEST()
|
D | unistd_test.cpp | 1692 std::string content; in TEST() 1693 ASSERT_TRUE(android::base::ReadFdToString(tf2.fd, &content)); in TEST() 1694 ASSERT_EQ("hello world", content); in TEST()
|
D | pthread_test.cpp | 2277 std::string content; in GetThreadPriority() local 2279 if (!android::base::ReadFileToString(filename, &content)) { in GetThreadPriority() 2282 std::vector<std::string> strs = android::base::Split(content, " "); in GetThreadPriority()
|
D | stdio_test.cpp | 65 static void SetFileTo(const char* path, const char* content) { in SetFileTo() argument 68 ASSERT_NE(EOF, fputs(content, fp)); in SetFileTo()
|
/bionic/libc/kernel/tools/ |
D | update_all.py | 109 content = '/* Generated file. Do not edit. */\n' 110 content += '#pragma once\n' 114 content += '#if defined(%s)\n' % nr_name 115 content += ' #define SYS_%s %s\n' % (syscall, nr_name) 116 content += '#endif\n' 120 updater.editFile(syscall_file, content)
|
/bionic/linker/ |
D | linker_config.cpp | 62 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()
|
D | linker_config_test.cpp | 111 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/ |
D | atmlec.h | 79 } content; member
|
D | dns_resolver.h | 56 __u8 content; member
|
D | atmmpc.h | 69 } content; member
|
/bionic/libc/kernel/ |
D | README.md | 54 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/ |
D | malloc_debug.cpp | 1116 std::string content; in write_dump() local 1117 if (!android::base::ReadFileToString("/proc/self/maps", &content)) { in write_dump() 1120 dprintf(fd, "%s", content.c_str()); in write_dump()
|
D | README_marshmallow_and_earlier.md | 64 the content of allocations.
|
/bionic/build/ |
D | NOTICE | 142 origin of the Work and reproducing the content of the NOTICE file.
|
/bionic/apex/ |
D | NOTICE | 142 origin of the Work and reproducing the content of the NOTICE file.
|
/bionic/docs/ |
D | NOTICE | 142 origin of the Work and reproducing the content of the NOTICE file.
|