Home
last modified time | relevance | path

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

/bionic/libc/tools/
Dgenerate-NOTICE.py43 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:
123 content = open(path, "r").read().decode("utf-8")
126 content = open(path, "r").read().decode("iso-8859-1")
128 lines = content.split("\n")
134 if is_auto_generated(content):
138 if not "Copyright" in content:
139 if "public domain" in content.lower():
Dgenseccomp.py84 content = cpp.communicate()[0].split("\n")
92 for line in content:
/bionic/linker/
Dlinker_config.cpp55 explicit ConfigParser(std::string&& content) in ConfigParser() argument
56 : content_(content), p_(0), lineno_(0), was_end_of_file_(false) {} in ConfigParser()
163 std::string content; in parse_config_file() local
164 if (!android::base::ReadFileToString(ld_config_file_path, &content)) { in parse_config_file()
172 ConfigParser cp(std::move(content)); in parse_config_file()
402 std::string content; in read_binary_config() local
403 if (!android::base::ReadFileToString(version_file, &content)) { in read_binary_config()
410 content = android::base::Trim(content); in read_binary_config()
413 const char* content_str = content.c_str(); in read_binary_config()
419 *error_msg = std::string("invalid version \"") + version_file + "\": \"" + content +"\""; in read_binary_config()
/bionic/tests/
Dutils.h121 std::string content; in WaitUntilThreadSleep() local
122 ASSERT_TRUE(android::base::ReadFileToString(filename, &content)); in WaitUntilThreadSleep()
123 if (std::regex_search(content, regex)) { in WaitUntilThreadSleep()
Ddlext_test.cpp848 std::string content; in TEST() local
849 ASSERT_TRUE(android::base::ReadFileToString(lib_path, &content)) << strerror(errno); in TEST()
850 ASSERT_TRUE(android::base::WriteStringToFd(content, tmpfd)) << strerror(errno); in TEST()
896 std::string content; in TEST() local
897 ASSERT_TRUE(android::base::ReadFileToString(lib_path, &content)) << strerror(errno); in TEST()
898 ASSERT_TRUE(android::base::WriteStringToFd(content, memfd)) << strerror(errno); in TEST()
/bionic/libc/kernel/uapi/linux/
Datmlec.h79 } content; member
Datmmpc.h69 } content; member
/bionic/linker/tests/
Dlinker_config_test.cpp75 std::string content = android::base::StringPrintf("%d", version); in write_version() local
76 return android::base::WriteStringToFile(content, path); in write_version()
/bionic/libc/kernel/
DREADME.TXT43 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/
DREADME_marshmallow_and_earlier.md64 the content of allocations.