/external/chromium_org/v8/test/mjsunit/ |
debug-sourceslice.js | 29 // Source lines for test. 30 var lines = [ 'function a() { b(); };\n', variable 42 // Build source by putting all lines together 44 for (var i = 0; i < lines.length; i++) { 45 source += lines[i]; 61 for (var slice_size = 0; slice_size < lines.length; slice_size++) { 62 for (var n = 0; n < lines.length - slice_size; n++) { 70 expected += lines[n + i];
|
/external/elfutils/0.153/libdw/ |
dwarf_getsrc_die.c | 62 Dwarf_Lines *lines; local 65 if (INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines) != 0) 68 /* The lines are sorted by address, so we can use binary search. */ 73 if (addr < lines->info[idx].addr) 75 else if (addr > lines->info[idx].addr || lines->info[idx].end_sequence) 78 return &lines->info[idx]; 82 assert (lines->info[nlines - 1].end_sequence); 89 if (u > 0 && u < nlines && addr > lines->info[u - 1].addr) 91 while (lines->info[u - 1].end_sequence && u > 0 [all...] |
dwarf_getsrcfiles.c | 71 if (cu->lines == NULL) 73 Dwarf_Lines *lines; local 78 res = INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines);
|
dwarf_decl_file.c | 80 if (cu->lines == NULL) 82 Dwarf_Lines *lines; local 87 (void) INTUSE(dwarf_getsrclines) (&CUDIE (cu), &lines, &nlines); local 88 assert (cu->lines != NULL); 91 if (cu->lines == (void *) -1l)
|
/external/elfutils/0.153/libdwfl/ |
lines.c | 57 if (cu->lines == NULL) 59 Dwarf_Lines *lines; local 61 if (INTUSE(dwarf_getsrclines) (&cu->die, &lines, &nlines) != 0) 64 cu->lines = malloc (offsetof (struct Dwfl_Lines, idx[nlines])); 65 if (cu->lines == NULL) 67 cu->lines->cu = cu; 69 cu->lines->idx[i].idx = i;
|
/external/chromium_org/ui/base/l10n/ |
l10n_font_util.cc | 26 double lines = 0; local 27 base::StringToDouble(l10n_util::GetStringUTF8(row_resource_id), &lines); local 28 int height = static_cast<int>(font.GetHeight() * lines);
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
editable_text_area_shadow.js | 58 // measure blank lines otherwise. 77 var lines = {0: {startIndex: 0, endIndex: 0}}; 122 lines[lineIndex].endIndex = offset - 1; 124 lines[lineIndex] = {startIndex: offset, endIndex: offset}; 137 lines[lineIndex].endIndex = lastGoodOffset; 139 lines[lineIndex] = {startIndex: lastGoodOffset, endIndex: lastGoodOffset}; 149 lines[lineIndex].endIndex = text.length; 154 for (var j = lines[i].startIndex; j <= lines[i].endIndex; j++) { 161 this.lines_ = lines; [all...] |
/cts/tests/webgl/res/raw/ |
extract_webgl_tests.py | 27 def filter_by_version(lines): 28 version_lines = [ line for line in lines if "--min-version" in line ] 29 version_lines.extend([ line for line in lines if "--max-version" in line ]) 30 lines = [ line for line in lines if not line in version_lines ] 37 lines.append(test) 38 return lines 47 lines = [ line.strip() for line in file.readlines()] variable 48 lines = [ line for line in lines if not "//" in line variable 49 lines = [ line for line in lines if not "#" in line ] variable 50 lines = [ line.replace("--slow","") for line in lines ] variable 51 lines = filter_by_version(lines) variable 53 lines = [ directory + "\/" + line for line in lines ] variable [all...] |
/external/bison/examples/calc++/ |
location.hh | 101 /// Extend the current location to the COUNT next lines. 102 void lines (unsigned int count = 1) function in class:yy::location 104 end.lines (count);
|
position.hh | 85 /// (line related) Advance to the COUNT next lines. 86 void lines (int count = 1) function in class:yy::position
|
/external/chromium_org/media/blink/ |
cache_util_unittest.cc | 36 std::vector<std::string> lines; local 37 Tokenize(test.headers, "\n", &lines); 38 for (size_t i = 0; i < lines.size(); ++i) { 39 size_t colon = lines[i].find(": "); 41 WebString::fromUTF8(lines[i].substr(0, colon)), 42 WebString::fromUTF8(lines[i].substr(colon + 2)));
|
/external/chromium_org/net/ftp/ |
ftp_directory_listing_parser.cc | 50 std::vector<base::string16> lines; local 51 base::SplitStringUsingSubstr(text, newline_separator, &lines); 58 base::Bind(&ParseFtpDirectoryListingLs, lines, current_time, entries), 62 base::Bind(&ParseFtpDirectoryListingWindows, lines, entries), 66 base::Bind(&ParseFtpDirectoryListingVms, lines, entries), 71 lines, current_time, entries), 75 base::Bind(&ParseFtpDirectoryListingOS2, lines, entries),
|
ftp_ctrl_response_buffer.cc | 44 response_buf_.lines.push_back(line_buf_); 50 response_buf_.lines.push_back(line_buf_); 53 // Prepare to handle following lines. 67 response_buf_.lines.push_back(line.status_text); 70 // Prepare to handle following lines. 84 base::ListValue* lines = new base::ListValue(); local 85 lines->AppendStrings(response->lines); 89 dict->Set("lines", lines); [all...] |
ftp_directory_listing_parser_unittest.cc | 58 std::vector<std::string> lines; local 59 base::SplitStringUsingSubstr(expected_listing, "\r\n", &lines); 62 if (lines.size() == 1 && lines[0].empty()) 63 lines.clear(); 65 ASSERT_EQ(9 * entries.size(), lines.size()); 67 for (size_t i = 0; i < lines.size() / 9; i++) { 68 std::string type(lines[9 * i]); 69 std::string name(lines[9 * i + 1]); 71 base::StringToInt64(lines[9 * i + 2], &size) [all...] |
ftp_directory_listing_parser_unittest.h | 34 std::vector<base::string16> lines; local 35 lines.push_back(base::UTF8ToUTF16(text)); 36 return lines;
|
/external/chromium_org/third_party/libaddressinput/src/cpp/test/ |
address_formatter_test.cc | 114 std::vector<std::string> lines; local 115 GetFormattedNationalAddress(address, &lines); 116 EXPECT_EQ(expected, lines); 122 lines.clear(); 123 GetFormattedNationalAddress(address, &lines); 124 EXPECT_EQ(expected, lines); 154 std::vector<std::string> lines; local 155 GetFormattedNationalAddress(address, &lines); 156 EXPECT_EQ(expected, lines); 178 lines.clear() 203 std::vector<std::string> lines; local 218 std::vector<std::string> lines; local 228 std::vector<std::string> lines; local 253 std::vector<std::string> lines; local 290 std::vector<std::string> lines; local 311 std::vector<std::string> lines; local 336 std::vector<std::string> lines; local [all...] |
/external/lldb/test/lang/c/blocks/ |
TestBlocks.py | 12 lines = [] variable in class:AnonymousTestCase 30 self.lines.append(line_number('main.c', '// Set breakpoint 0 here.')) 31 self.lines.append(line_number('main.c', '// Set breakpoint 1 here.')) 40 for line in self.lines:
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpPutRequestTest.java | 37 List<String> lines = readLinesFromFile(reader); local 38 assertLinesOfText(expectedInputToServeMethodViaFile, lines);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3DummyStream.cpp | 66 String8 lines; local 67 lines.appendFormat(" Stream[%d]: Dummy\n", mId); 68 write(fd, lines.string(), lines.size());
|
/bionic/libc/tools/ |
generate-NOTICE.py | 36 def ExtractCopyrightAt(lines, i): 37 hash = lines[i].startswith("#") 43 if "/*" in lines[start - 1]: 47 # Read comment lines until we hit something that terminates a 49 while i < len(lines): 50 if "*/" in lines[i]: 52 if hash and len(lines[i]) == 0: 54 if "\t@(#)" in lines[i] or "\tfrom: @(#)" in lines[i] or "From: @(#)" in lines[i] or "from OpenBSD:" in lines[i] 128 lines = content.split("\\n") variable [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Method/ |
LineTableTest.java | 65 int lines = reply.getNextValueAsInt(); local 66 logWriter.println("lines = "+lines); 68 for (int j = 0; j < lines; j++) {
|
/external/chromium_org/base/debug/ |
proc_maps_linux.cc | 99 std::vector<std::string> lines; local 100 SplitString(input, '\n', &lines); 102 for (size_t i = 0; i < lines.size(); ++i) { 104 if (i == lines.size() - 1) { 105 if (!lines[i].empty()) { 113 const char* line = lines[i].c_str();
|
/external/chromium_org/chrome/browser/chromeos/ |
version_loader.cc | 82 // The file contains lines such as: 90 std::vector<std::string> lines; local 91 base::SplitString(contents, '\n', &lines); 92 for (size_t i = 0; i < lines.size(); ++i) { 93 if (StartsWithASCII(lines[i], kFirmwarePrefix, false)) { 94 std::string str = lines[i].substr(std::string(kFirmwarePrefix).size());
|
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/ |
BufferedLineReaderTest.cpp | 80 // No more lines returned. 93 // No more lines returned. 179 String MakeTestData(const char** lines, const LineBreakType* breaks, int count) 183 builder.append(lines[i]); 193 const char* lines[] = { local 203 const size_t numTestLines = WTF_ARRAY_LENGTH(lines); 205 String data = MakeTestData(lines, breaks, numTestLines); 217 ASSERT_EQ(line, lines[lineCount++]); 226 const char* lines[] = { local 236 const size_t numTestLines = WTF_ARRAY_LENGTH(lines); [all...] |
/external/chromium_org/tools/telemetry/telemetry/results/ |
csv_output_formatter_unittest.py | 30 def lines(self): member in class:CsvOutputFormatterTest 31 lines = StringIO.StringIO(self._output.getvalue()).readlines() 32 return lines 36 rows = list(csv.reader(self.lines)) 41 rows = list(csv.reader(self.lines))
|