/bionic/libc/tools/ |
D | generate-NOTICE.py | 43 def is_auto_generated(content): argument 44 if "Generated by gensyscalls.py" in content or "generated by genserv.py" in content: 46 if "This header was automatically generated from a Linux kernel header" in content: 125 content = open(path, "r").read().decode("utf-8") 128 content = open(path, "r").read().decode("iso-8859-1") 130 lines = content.split("\n") 136 if is_auto_generated(content): 140 if not "Copyright" in content: 141 if "public domain" in content.lower():
|
/bionic/tests/ |
D | spawn_test.cpp | 251 std::string content; in TEST() local 252 ASSERT_TRUE(android::base::ReadFdToString(fds[0], &content)); in TEST() 260 for (const auto& line : android::base::Split(content, "\n")) { in TEST() 266 static void CatFileToString(posix_spawnattr_t* sa, const char* path, std::string* content) { in CatFileToString() argument 283 ASSERT_TRUE(android::base::ReadFdToString(fds[0], content)); in CatFileToString() 296 std::string content; in GetChildStat() local 297 CatFileToString(sa, "/proc/self/stat", &content); in GetChildStat() 299 ASSERT_EQ(4, sscanf(content.c_str(), "%d (cat) %*c %d %d %d", &ps->pid, &ps->ppid, &ps->pgrp, in GetChildStat() 311 std::string content; in GetChildStatus() local 312 CatFileToString(sa, "/proc/self/status", &content); in GetChildStatus() [all …]
|
D | utils.h | 152 std::string content; in WaitUntilThreadSleep() local 153 ASSERT_TRUE(android::base::ReadFileToString(filename, &content)); in WaitUntilThreadSleep() 154 if (std::regex_search(content, regex)) { in WaitUntilThreadSleep()
|
D | dlext_test.cpp | 925 std::string content; in TEST() local 926 ASSERT_TRUE(android::base::ReadFileToString(lib_path, &content)) << strerror(errno); in TEST() 927 ASSERT_TRUE(android::base::WriteStringToFd(content, tmpfd)) << strerror(errno); in TEST() 973 std::string content; in TEST() local 974 ASSERT_TRUE(android::base::ReadFileToString(lib_path, &content)) << strerror(errno); in TEST() 975 ASSERT_TRUE(android::base::WriteStringToFd(content, memfd)) << strerror(errno); in TEST()
|
D | pthread_test.cpp | 2037 std::string content; in GetThreadPriority() local 2039 if (!android::base::ReadFileToString(filename, &content)) { in GetThreadPriority() 2042 std::vector<std::string> strs = android::base::Split(content, " "); in GetThreadPriority()
|
D | stdio_test.cpp | 53 static void SetFileTo(const char* path, const char* content) { in SetFileTo() argument 56 ASSERT_NE(EOF, fputs(content, fp)); in SetFileTo()
|
/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() 479 std::string content; in read_binary_config() local 480 if (!android::base::ReadFileToString(version_file, &content)) { in read_binary_config() 487 content = android::base::Trim(content); in read_binary_config() 490 const char* content_str = content.c_str(); in read_binary_config() 496 *error_msg = std::string("invalid version \"") + version_file + "\": \"" + content +"\""; in read_binary_config()
|
D | linker_config_test.cpp | 95 std::string content = android::base::StringPrintf("%d", version); in write_version() local 96 return android::base::WriteStringToFile(content, path); in write_version()
|
/bionic/libc/kernel/uapi/linux/ |
D | dns_resolver.h | 56 __u8 content; member
|
D | atmlec.h | 79 } content; member
|
D | atmmpc.h | 69 } content; member
|
/bionic/libc/kernel/ |
D | README.TXT | 43 content has changed. You can also process more than one file with -u. 46 Automatically update all clean headers from the content of
|
/bionic/libc/malloc_debug/ |
D | malloc_debug.cpp | 910 std::string content; in write_dump() local 911 if (!android::base::ReadFileToString("/proc/self/maps", &content)) { in write_dump() 914 fprintf(fp, "%s", content.c_str()); in write_dump()
|
D | README_marshmallow_and_earlier.md | 64 the content of allocations.
|