/external/chromium/chrome/browser/chromeos/ |
version_loader.cc | 91 // The file contains lines such as: 94 // Split the lines and look for the one that starts with prefix. The version 96 std::vector<std::string> lines; local 97 base::SplitString(contents, '\n', &lines); 98 for (size_t i = 0; i < lines.size(); ++i) { 99 if (StartsWithASCII(lines[i], prefix, false)) { 100 std::string version = lines[i].substr(std::string(prefix).size()); 114 // The file contains lines such as: 122 std::vector<std::string> lines; local 123 base::SplitString(contents, '\n', &lines); [all...] |
/external/kernel-headers/original/asm-generic/ |
xor.h | 21 long lines = bytes / (sizeof (long)) / 8; local 34 } while (--lines > 0); 41 long lines = bytes / (sizeof (long)) / 8; local 55 } while (--lines > 0); 62 long lines = bytes / (sizeof (long)) / 8; local 77 } while (--lines > 0); 84 long lines = bytes / (sizeof (long)) / 8; local 100 } while (--lines > 0); 106 long lines = bytes / (sizeof (long)) / 8; local 136 } while (--lines > 0) 143 long lines = bytes \/ (sizeof (long)) \/ 8; local 189 long lines = bytes \/ (sizeof (long)) \/ 8; local 244 long lines = bytes \/ (sizeof (long)) \/ 8; local 307 long lines = bytes \/ (sizeof (long)) \/ 8 - 1; local 334 long lines = bytes \/ (sizeof (long)) \/ 8 - 1; local 364 long lines = bytes \/ (sizeof (long)) \/ 8 - 1; local 398 long lines = bytes \/ (sizeof (long)) \/ 8 - 1; local 434 long lines = bytes \/ (sizeof (long)) \/ 8 - 1; local 480 long lines = bytes \/ (sizeof (long)) \/ 8 - 1; local 537 long lines = bytes \/ (sizeof (long)) \/ 8 - 1; local 605 long lines = bytes \/ (sizeof (long)) \/ 8 - 1; local [all...] |
/external/chromium/net/ftp/ |
ftp_directory_listing_parser_windows.cc | 78 const std::vector<string16>& lines, 80 for (size_t i = 0; i < lines.size(); i++) { 81 if (lines[i].empty()) 85 base::SplitString(CollapseWhitespace(lines[i], false), ' ', &columns); 113 entry.name = FtpUtil::GetStringPartAfterColumns(lines[i], 3);
|
ftp_directory_listing_parser.cc | 45 std::vector<string16> lines; local 46 base::SplitString(text, '\n', &lines); 51 if (ParseFtpDirectoryListingLs(lines, current_time, entries)) { 57 if (ParseFtpDirectoryListingWindows(lines, entries)) { 63 if (ParseFtpDirectoryListingVms(lines, entries)) { 69 if (ParseFtpDirectoryListingNetware(lines, current_time, entries)) {
|
ftp_directory_listing_parser_ls.cc | 123 const std::vector<string16>& lines, 130 for (size_t i = 0; i < lines.size(); i++) { 131 if (lines[i].empty()) 135 base::SplitString(CollapseWhitespace(lines[i], false), ' ', &columns); 164 if (LooksLikePermissionDeniedError(lines[i])) 203 entry.name = FtpUtil::GetStringPartAfterColumns(lines[i],
|
ftp_directory_listing_parser_unittest.h | 35 std::vector<string16> lines; local 36 lines.push_back(UTF8ToUTF16(text)); 37 return lines;
|
/external/guava/guava-tests/test/com/google/common/io/ |
LineBufferTest.java | 49 bufferHelper("two lines\nbut no newline at end", 50 "two lines\n", "but no newline at end"); 54 "three\r", "lines\r", "no newline at end"); 84 final List<String> lines = Lists.newArrayList(); local 87 lines.add(line + end); 98 return lines; 104 List<String> lines = Lists.newArrayList(); local 107 lines.add(line); 110 return lines; 119 List<String> lines = Lists.newArrayList() local [all...] |
/external/emma/core/java12/com/vladium/emma/data/ |
MethodDescriptor.java | 137 final int [] lines = blockMap [bl]; local 138 if (lines != null) 140 final int lineCount = lines.length; 144 final int line = lines [l]; 158 final int [] lines = lineMap.keys (); local 159 for (int l = 0, lineCount = lines.length; l < lineCount; ++ l) 161 final int line = lines [l]; 203 final int [] lines = m_blockMap [bl]; local 204 for (int l = 0; l < lines.length; ++ l) 207 s.append (lines [l]) 213 final int [] lines = m_lineMap.keys (); local [all...] |
/packages/apps/Email/src/org/apache/commons/io/ |
FileSystemUtils.java | 225 List<String> lines = performCommand(cmdAttribs, Integer.MAX_VALUE);
local 227 // now iterate over the lines we just read and find the LAST
231 for (int i = lines.size() - 1; i >= 0; i--) {
232 String line = lines.get(i);
237 // all lines are blank
322 // perform the command, asking for up to 3 lines (header, interesting, overflow)
323 List<String> lines = performCommand(cmdAttribs, 3);
local 324 if (lines.size() < 2) {
328 "for path '" + path + "'- response was " + lines);
330 String line2 = lines.get(1); // the line we're interested in 397 List<String> lines = new ArrayList<String>(20); local [all...] |
/build/core/ |
checktree | 54 lines = fd.readlines() 62 if len(lines) >= 1: 63 lines = filter(filterit, lines) 64 if len(lines) >= 1: 65 return map(matchit, lines)
|
/external/dropbear/libtommath/ |
pretty.build | 21 my $lines = 0; 49 ++$lines while (<SRC>); 63 print "Compiled approximately $filesbuilt files and $lines lines of code.\n";
|
/external/valgrind/tsan/ |
ignore.cc | 10 const string &str, vector<string> *lines) { 18 lines->push_back(cur_line); 64 vector<string> lines; local 65 SplitStringIntoLinesAndRemoveBlanksAndComments(ignoreString, &lines); 66 for (size_t j = 0; j < lines.size(); j++) { 67 string &line = lines[j];
|
/external/webkit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
parseSvnProperty.pl | 261 multiple lines. 269 value => "A\nlong sentence that spans\nmultiple lines.", 281 multiple lines. 290 value => "A\r\nlong sentence that spans\r\nmultiple lines.", 302 multiple lines. 310 value => "A\nlong sentence that spans\nmultiple lines.", 322 multiple lines. 331 value => "A\r\nlong sentence that spans\r\nmultiple lines.", 383 multiple lines. 391 value => "A\nlong sentence that spans\nmultiple lines." [all...] |
/external/chromium/testing/gtest/scripts/ |
pump.py | 163 def StartsWith(lines, pos, string): 164 """Returns True iff the given position in lines starts with 'string'.""" 166 return lines[pos.line][pos.column:].startswith(string) 174 # We found regex in lines 186 def FindFirst(lines, token_table, cursor): 187 """Finds the first occurrence of any string in strings in lines.""" 191 for line in lines[start.line:]: 202 return MakeToken(lines, found_start, found_end, token_type) 204 # We failed to find str in lines 208 def SubString(lines, start, end) [all...] |
/external/gtest/scripts/ |
pump.py | 163 def StartsWith(lines, pos, string): 164 """Returns True iff the given position in lines starts with 'string'.""" 166 return lines[pos.line][pos.column:].startswith(string) 174 # We found regex in lines 186 def FindFirst(lines, token_table, cursor): 187 """Finds the first occurrence of any string in strings in lines.""" 191 for line in lines[start.line:]: 202 return MakeToken(lines, found_start, found_end, token_type) 204 # We failed to find str in lines 208 def SubString(lines, start, end) [all...] |
/external/protobuf/src/google/protobuf/compiler/ |
mock_code_generator.cc | 71 vector<string> lines; local 72 SplitStringUsing(content, "\n", &lines); 74 while (!lines.empty() && lines.back().empty()) { 75 lines.pop_back(); 77 for (int i = 0; i < lines.size(); i++) { 78 lines[i] += "\n"; 86 ASSERT_EQ(lines.size(), 3 + insertion_list.size() * 2); 88 lines[0]); local 90 EXPECT_EQ(kFirstInsertionPoint, lines[1 + insertion_list.size()]) 96 lines[1 + i]); local [all...] |
/external/quake/quake/src/WinQuake/ |
console.h | 29 extern int con_notifylines; // scan lines to clear for notify lines 35 void Con_DrawConsole (int lines, qboolean drawinput);
|
/external/valgrind/main/nightly/conf/ |
cellbuzz-cross.conf | 20 while [ `qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ]
|
cellbuzz-native.conf | 18 while [ `qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ]
|
/gdk/samples/quake/jni/ |
console.h | 29 extern int con_notifylines; // scan lines to clear for notify lines 35 void Con_DrawConsole (int lines, qboolean drawinput);
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
GetPropReceiver.java | 43 public void processNewLines(String[] lines) { 44 // We receive an array of lines. We're expecting 49 for (String line : lines) {
|
/external/chromium/testing/gmock/scripts/generator/cpp/ |
gmock_class_test.py | 37 def StripLeadingWhitespace(self, lines): 38 """Strip leading whitespace in each line in 'lines'.""" 39 return '\n'.join([s.lstrip() for s in lines.split('\n')]) 41 def assertEqualIgnoreLeadingWhitespace(self, expected_lines, lines): 43 self.assertEqual(expected_lines, self.StripLeadingWhitespace(lines)) 49 """Convert C++ source to Google Mock output source lines.""" 163 lines = gmock_class._GenerateMocks(filename, cpp_source, ast_list, None) 164 return '\n'.join(lines)
|
/external/webkit/Source/WebCore/rendering/style/ |
StyleFlexibleBoxData.h | 51 unsigned lines : 1; // EBoxLines
|
/external/webkit/Tools/Scripts/webkitpy/style/ |
filereader.py | 52 the files don't have any modified lines 69 """Read the file at a path, and return its lines. 84 # lines contain trailing "\r" characters if we are reading 93 lines = contents.split('\n') 94 return lines 121 lines = self._read_lines(file_path) 128 self._processor.process(lines, file_path, **kwargs) 156 """Count up files that contains only deleted lines. 158 Files which has no modified or newly-added lines don't need
|
/external/v8/tools/ |
disasm.py | 79 lines = out.split("\n") 81 for i, line in enumerate(lines): 88 for line in lines[header_line + 1:]:
|