Home
last modified time | relevance | path

Searched refs:lines (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/tools/
Dgenerate-NOTICE.py51 def extract_copyright_at(lines, i): argument
52 hash = lines[i].startswith("#")
58 if "/*" in lines[start - 1]:
64 while i < len(lines):
65 if "*/" in lines[i]:
67 if hash and len(lines[i]) == 0:
69 …if "\t@(#)" in lines[i] or "\tfrom: @(#)" in lines[i] or "From: @(#)" in lines[i] or "from OpenBSD…
71 if "\tcitrus Id: " in lines[i]:
73 …if "\t$Citrus: " in lines[i] or "\t$OpenBSD: " in lines[i] or " $FreeBSD: " in lines[i] or "\t$Net…
75 if "$FreeBSD$" in lines[i] or "$Citrus$" in lines[i]:
[all …]
/bionic/tests/
Dsys_prctl_test.cpp47 std::vector<std::string> lines = android::base::Split(file_data, "\n"); in TEST() local
48 for (size_t i = 0; i < lines.size(); i++) { in TEST()
49 if (lines[i].empty()) { in TEST()
54 ASSERT_EQ(2, sscanf(lines[i].c_str(), "%" SCNxPTR "-%" SCNxPTR " ", &start, &end)) in TEST()
55 << "Failed to parse line: " << lines[i]; in TEST()
58 << "Overlapping map detected:\n" << lines[i -1] << '\n' << lines[i] << '\n'; in TEST()
Dgrp_pwd_test.cpp831 auto lines = Split(file_contents, "\n"); in TestAidNamePrefix() local
832 for (const auto& line : lines) { in TestAidNamePrefix()
/bionic/libc/kernel/uapi/linux/
Dgpio.h26 __u32 lines; member
67 __u32 lines; member
/bionic/tools/versioner/src/
DPreprocessor.cpp124 static void writeFileLines(const std::string& path, const std::deque<std::string>& lines) { in writeFileLines() argument
131 for (const std::string& line : lines) { in writeFileLines()
241 static FileLocation findNextSemicolon(const std::deque<std::string>& lines, FileLocation start) { in findNextSemicolon() argument
244 while (current_line <= lines.size()) { in findNextSemicolon()
245 size_t result = lines[current_line - 1].find_first_of(';', current_column - 1); in findNextSemicolon()
/bionic/libc/kernel/tools/
Dcpp.py268 def parseString(self, lines): argument
272 unsaved_files=[(file_, lines)],
1094 lines, indent = self.format_blocks(self.tokens, indent)
1095 for line in lines:
1152 lines, _ = self.format_blocks(self.tokens)
1153 result = '\n'.join(lines)
1643 def get_blocks(self, lines): argument
1644 blocks = BlockParser().parse(CppStringTokenizer('\n'.join(lines)))
/bionic/libc/
DSYSCALLS.TXT164 # That means that every system call in this section should take three lines.
176 # (mmap only gets two lines because we only used the 64-bit variant on 32-bit systems.)
179 # (fallocate only gets two lines because there is no 32-bit variant.)