Searched refs:lines (Results 1 – 7 of 7) sorted by relevance
/bionic/libc/tools/ |
D | generate_notice.py | 75 def extract_copyright_at(lines: Sequence[str], i: int) -> int: 76 first_line_was_hash = lines[i].startswith("#") 82 if "/*" in lines[start - 1]: 88 while i < len(lines): 89 if is_copyright_end(lines[i], first_line_was_hash): 97 line = lines[end - 1] 106 for line in lines[start:end]: 140 lines = content.split("\n") 142 if len(lines) <= 4: 151 (path, len(lines))) [all …]
|
/bionic/tests/ |
D | sys_prctl_test.cpp | 48 std::vector<std::string> lines = android::base::Split(file_data, "\n"); in TEST() local 49 for (size_t i = 0; i < lines.size(); i++) { in TEST() 50 if (lines[i].empty()) { in TEST() 55 ASSERT_EQ(2, sscanf(lines[i].c_str(), "%" SCNxPTR "-%" SCNxPTR " ", &start, &end)) in TEST() 56 << "Failed to parse line: " << lines[i]; in TEST() 59 << "Overlapping map detected:\n" << lines[i -1] << '\n' << lines[i] << '\n'; in TEST()
|
D | grp_pwd_test.cpp | 884 auto lines = Split(file_contents, "\n"); in TestAidNamePrefix() local 885 for (const auto& line : lines) { in TestAidNamePrefix()
|
/bionic/libc/kernel/uapi/linux/ |
D | gpio.h | 16 __u32 lines; member 143 __u32 lines; member
|
/bionic/tools/versioner/src/ |
D | Preprocessor.cpp | 125 static void writeFileLines(const std::string& path, const std::deque<std::string>& lines) { in writeFileLines() argument 132 for (const std::string& line : lines) { in writeFileLines() 251 static FileLocation findNextSemicolon(const std::deque<std::string>& lines, FileLocation start) { in findNextSemicolon() argument 254 while (current_line <= lines.size()) { in findNextSemicolon() 255 size_t result = lines[current_line - 1].find_first_of(';', current_column - 1); in findNextSemicolon()
|
/bionic/libc/kernel/tools/ |
D | cpp.py | 273 def parseString(self, lines): argument 277 unsaved_files=[(file_, lines)], 1099 lines, indent = self.format_blocks(self.tokens, indent) 1100 for line in lines: 1157 lines, _ = self.format_blocks(self.tokens) 1158 result = '\n'.join(lines) 1685 def get_blocks(self, lines): argument 1686 blocks = BlockParser().parse(CppStringTokenizer('\n'.join(lines)))
|
/bionic/libc/ |
D | SYSCALLS.TXT | 172 # That means that every system call in this section should take three lines. 182 # (fallocate only gets two lines because there is no 32-bit variant.) 185 # (ftruncate only gets two lines because 32-bit bionic only uses the 64-bit call.) 188 # (mmap only gets two lines because 32-bit bionic only uses the 64-bit call.)
|