Home
last modified time | relevance | path

Searched refs:lines (Results 576 - 600 of 938) sorted by relevance

1...<<21222324252627282930>>...38

/third_party/unity/test/
H A Drakefile_helper.rb52 lines = File.readlines(filename)
53 lines.each do |line|
/third_party/python/Lib/test/
H A Dtest_file.py283 # ("h", "a", "m", "\n"), so 4096 lines of that should get us
320 lines = f.readlines()
324 if lines != testlines:
H A Dtest_lzma.py975 lines = f.readlines()
977 self.assertListEqual(list(iter(f)), lines)
979 self.assertListEqual(list(iter(f)), lines)
981 self.assertListEqual(list(iter(f)), lines)
983 self.assertListEqual(list(iter(f)), lines)
986 self.assertListEqual(list(iter(f)), lines)
990 lines = f.readlines()
992 for line in lines:
997 lines = f.readlines()
999 self.assertListEqual(f.readlines(), lines)
[all...]
H A Dtest_cmd_line.py48 lines = out.splitlines()
49 self.assertIn(b'usage', lines[0])
52 self.assertLess(len(lines), 50)
64 lines = out.splitlines()
65 self.assertIn(b'usage', lines[0])
71 b''.join(lines[1:]).decode('ascii')
H A Dtest_httpservers.py348 lines = err.getvalue().split('\n')
349 self.assertTrue(lines[0].endswith('code 404, message File not found'))
350 self.assertTrue(lines[1].endswith('"ERROR / HTTP/1.1" 404 -'))
1039 lines = stderr.splitlines()
1040 self.assertIn('/foo', lines[0])
1041 self.assertIn(r'/\x1bbar\x00\x1b', lines[1])
1042 self.assertIn('/spam a.', lines[2])
1043 self.assertIn('/spam \\x1b\\x7f\\x9f\xa0beans.', lines[3])
1044 self.assertIn(r'"GET /foo\\b"ar\x07 HTTP/1.0"', lines[4])
1193 # Issue #10714: huge request lines ar
[all...]
/third_party/skia/experimental/tskit/go/gen_types/
H A Dgen_types.go80 lines := strings.Split(contents, "\n")
81 for i, line := range lines {
/third_party/rust/crates/version_check/src/
H A Dlib.rs98 let last_line = s.lines().last().unwrap_or(s); in version_and_date_from_rustc_version()
109 for line in s.lines() { in version_and_date_from_rustc_verbose_version()
/third_party/skia/third_party/externals/tint/src/writer/glsl/
H A Dgenerator_impl.cc101 auto helpers_insertion_point = current_buffer_->lines.size(); in Generate()
113 if (current_buffer_->lines.size() != last_padding_line) { in Generate()
116 last_padding_line = current_buffer_->lines.size(); in Generate()
148 if (!helpers_.lines.empty()) { in Generate()
2151 bool emit_as_loop = cond_pre.lines.size() > 0 || cont_buf.lines.size() > 1;
2156 if (init_buf.lines.size() > 1 || (stmt->initializer && emit_as_loop)) {
2158 init_buf.lines.clear(); // Don't emit the initializer again in the 'for'
2195 if (!init_buf.lines.empty()) {
2196 out << init_buf.lines[
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
H A DvktRasterizationTests.cpp1144 virtual bool compareAndVerify (std::vector<LineSceneSpec::SceneLine>& lines,
1435 std::vector<LineSceneSpec::SceneLine> lines; in iterate() local
1441 generateLines(m_iteration, drawBuffer, lines); in iterate()
1448 const bool compareOk = compareAndVerify(lines, resultImage, drawBuffer); in iterate()
1471 bool BaseLineTestInstance::compareAndVerify (std::vector<LineSceneSpec::SceneLine>& lines, tcu::Surface& resultImage, std::vector<tcu::Vec4>& drawBuffer) in compareAndVerify() argument
1487 scene.lines.swap(lines); in compareAndVerify()
1497 // Choose verification mode. Smooth lines assume mostly over-rasterization (bloated lines with a falloff). in compareAndVerify()
1498 // Stippled lines los in compareAndVerify()
[all...]
/third_party/backends/backend/
H A Dlexmark.c493 /* skip empty lines */ in probe_lexmark_devices()
1052 device_params->lines = (height_px * yres) / 600; in sane_get_parameters()
1063 channels * device_params->pixels_per_line * device_params->lines; in sane_get_parameters()
1089 DBG (2, " lines %d\n", device_params->lines); in sane_get_parameters()
1098 params->lines = device_params->lines; in sane_get_parameters()
1129 if ((lexmark_device->params.lines == 0) || in sane_start()
1136 " number of lines, bytes per line, or pixels per line\n"); in sane_start()
1182 lines greate in sane_start()
[all...]
H A Ds9036.c425 if (s->lines_read + lines_available > s->params.lines) in request_more_data()
459 /* No lines in scanner ? scan some more */ in read_more_data()
471 /* Request as much lines as would fit into the buffer ... */ in read_more_data()
478 /* We only request as many lines as there are already scanned */ in read_more_data()
485 DBG (1, "Requesting %d lines, in scanner: %d, total: %d\n", lines_read, in read_more_data()
486 s->lines_in_scanner, s->params.lines); in read_more_data()
854 continue; /* ignore empty lines */ in sane_init()
1114 s->params.lines = height * dots_per_mm + 0.5; in sane_get_parameters()
1215 s->params.lines = total_lines; in sane_start()
1282 while (max_len > (SANE_Int) s->in_buffer && s->lines_read < s->params.lines) in sane_read()
[all...]
H A Ddc25.c334 373, /* Number of lines for the current scan. */
1842 continue; /* ignore empty lines */ in sane_init()
2095 parms.lines = 60; in sane_control_option()
2104 parms.lines = 243; in sane_control_option()
2110 parms.lines = 373; in sane_control_option()
2141 parms.lines = 243; in sane_control_option()
2147 parms.lines = 373; in sane_control_option()
2395 parms.lines = 60; in sane_start()
2462 parms.lines = 373; in sane_start()
2474 parms.lines in sane_start()
[all...]
H A Dsceptre.c107 /* Table of supported resolution and number of lines of color shifting. */
356 dev->params.lines = B16TOI (&dev->buffer[12]); in sceptre_get_status()
1065 /* Copy the complete lines, plus the imcompletes in sceptre_fill_image()
1341 continue; /* ignore empty lines */ in sane_init()
1730 /* Compute the number of pixels, bytes per lines and lines. */ in sane_get_parameters()
1740 dev->params.lines = ((dev->length * dev->resolution) / 600); in sane_get_parameters()
1741 if ((dev->params.lines) * 600 != (dev->length * dev->resolution)) in sane_get_parameters()
1743 /* Round up lines to 2. */ in sane_get_parameters()
1744 dev->params.lines in sane_get_parameters()
[all...]
H A Drts8891.c1391 * number of lines, total number of columns, extra line to read for data reordering...
1433 session->params.lines = ((br_y - tl_y) * dpi) / MM_PER_INCH; in compute_parameters()
1434 if (session->params.lines == 0) in compute_parameters()
1435 session->params.lines = 1; in compute_parameters()
1462 dev->lines = session->params.lines; in compute_parameters()
1473 dev->lines = (dev->lines * dev->model->max_ydpi) / dpi; in compute_parameters()
1474 if (dev->lines == 0) in compute_parameters()
1475 dev->lines in compute_parameters()
5453 int lines = 66; setup_shading_calibration() local
6132 int lines = 66; shading_calibration() local
[all...]
H A Dpie.c511 DBG (DBG_sense, "-> Request too many lines of data\n"); in sense_handler()
2423 DBG (DBG_info, "Avail lines: %d\n", in pie_get_params()
2431 scanner->params.lines = get_param_scan_lines (buffer); in pie_get_params()
2528 int lines; in pie_reader_process_indexed() local
2539 DBG (DBG_read, "reading %d lines of %d bytes/line (indexed)\n", in pie_reader_process_indexed()
2540 scanner->params.lines, scanner->params.bytes_per_line); in pie_reader_process_indexed()
2542 lines = scanner->params.lines; in pie_reader_process_indexed()
2555 lines *= 3; in pie_reader_process_indexed()
2562 "pie_reader_process_indexed: alloc %d lines ( in pie_reader_process_indexed()
2708 int lines; pie_reader_process() local
[all...]
H A Dcanon-sane.c77 continue; /* ignore empty lines */ in sane_init()
1054 s->params.lines = length * yres / s->hw->info.mud; in sane_get_parameters()
1055 DBG (11, "sane_get_parameters: pixels_per_line='%d', lines='%d'\n", in sane_get_parameters()
1056 s->params.pixels_per_line, s->params.lines); in sane_get_parameters()
1092 "bytes_per_line='%d', lines='%d'\n", s->xres, s->yres, in sane_get_parameters()
1093 s->params.pixels_per_line, s->params.bytes_per_line, s->params.lines); in sane_get_parameters()
1593 s->bytes_to_read = s->params.bytes_per_line * s->params.lines; in sane_start()
1603 s->params.lines = (((size_t) dbuf[16] << 24) in sane_start()
1606 s->bytes_to_read = s->params.bytes_per_line * s->params.lines; in sane_start()
1615 s->params.lines / in sane_start()
[all...]
H A Dmagicolor.c223 DBG(6, "params.lines = %d\n", params.lines); in print_params()
796 SANE_Int *lines) in cmd_get_scanning_parameters()
822 /* Assign px_per_line and lines. Bytes 7-8 must match 3-4 */ in cmd_get_scanning_parameters()
832 *lines = rxbuf[3] * 0x100 + rxbuf[2]; in cmd_get_scanning_parameters()
834 DBG (8, "%s: data_pixels = 0x%x (%u), lines = 0x%x (%u), " in cmd_get_scanning_parameters()
837 *lines, *lines, in cmd_get_scanning_parameters()
848 * data_pixels, lines or pixels_per_line to be zero. I do not have any knowledge in cmd_get_scanning_parameters()
852 if ((*data_pixels == 0) || (*lines in cmd_get_scanning_parameters()
793 cmd_get_scanning_parameters(SANE_Handle handle, SANE_Frame *format, SANE_Int *depth, SANE_Int *data_pixels, SANE_Int *pixels_per_line, SANE_Int *lines) cmd_get_scanning_parameters() argument
[all...]
H A Dp5_device.h65 /**> number of lines to skip when doing calibration */
213 * - many CCD scanners need to scan more lines to correct the 'line
220 int lines; /** physical lines to scan */ member
/third_party/lwip/src/apps/http/makefsdata/
H A Dmakefsdata.c762 char **lines; in checkSsiByFilelist() local
789 /* first pass: get the number of lines (and convert newlines to '0') */ in checkSsiByFilelist()
800 lines = (char**)malloc(sizeof(char*) * num_lines); in checkSsiByFilelist()
801 if (!lines) { in checkSsiByFilelist()
806 memset(lines, 0, sizeof(char*) * num_lines); in checkSsiByFilelist()
818 LWIP_ASSERT("lines array overflow", l < num_lines); in checkSsiByFilelist()
819 lines[l] = &buf[i]; in checkSsiByFilelist()
825 LWIP_ASSERT("lines array overflow", l < num_lines); in checkSsiByFilelist()
828 ssi_file_lines = lines; in checkSsiByFilelist()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/
H A Dpeers.cpp406 QStringList lines = info.split(QRegExp("\\n")); in add_station() local
409 for (QStringList::Iterator it = lines.begin(); in add_station()
410 it != lines.end(); it++) { in add_station()
422 name = lines[0]; in add_station()
430 lines[0]); in add_station()
444 item->setData(lines[0], peer_role_address); in add_station()
592 QStringList lines = bss.split(QRegExp("\\n")); in add_bss() local
593 for (QStringList::Iterator it = lines.begin(); in add_bss()
594 it != lines.end(); it++) { in add_bss()
629 for (int i = 0; i < lines in add_bss()
[all...]
/third_party/vk-gl-cts/modules/gles2/scripts/
H A Dgenutil.py46 lines = text.split("\n")
47 lines = [indentStr + line for line in lines]
48 lines = [ ["", line][line.strip() != ""] for line in lines]
49 return "\n".join(lines)
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/
H A Dpeers.cpp406 QStringList lines = info.split(QRegExp("\\n")); in add_station() local
409 for (QStringList::Iterator it = lines.begin(); in add_station()
410 it != lines.end(); it++) { in add_station()
422 name = lines[0]; in add_station()
430 lines[0]); in add_station()
444 item->setData(lines[0], peer_role_address); in add_station()
594 QStringList lines = bss.split(QRegExp("\\n")); in add_bss() local
595 for (QStringList::Iterator it = lines.begin(); in add_bss()
596 it != lines.end(); it++) { in add_bss()
631 for (int i = 0; i < lines in add_bss()
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/sb/
H A Dsb_sched.cpp1970 lines.clear(); in reset()
2098 sb_set<unsigned> clause_lines(lines); in try_reserve()
2099 lines.add_set(group_lines); in try_reserve()
2101 if (clause_lines.size() == lines.size()) in try_reserve()
2107 lines = clause_lines; in try_reserve()
2112 unsigned rp_kcache_tracker::get_lines(kc_lines& lines) { in get_lines() argument
2126 if (lines.insert(line).second) in get_lines()
2138 for (kc_lines::iterator I = lines.begin(), E = lines.end(); I != E; ++I) { in update_kc()
/third_party/python/Tools/scripts/
H A Dtexi2html.py114 self.lines = []
116 def write(self, *lines):
117 for line in lines:
118 self.lines.append(line)
140 length = len(self.lines)
141 self.text = ''.join(self.lines)
142 self.lines = []
146 links = ''.join(self.lines)
147 self.lines = []
381 # Process a list of lines, expandin
[all...]
/third_party/protobuf/src/google/protobuf/compiler/php/
H A Dphp_generator.cc1612 std::vector<string> lines = Split(comments, "\n", true); in GenerateDocCommentBodyForLocation() local
1613 while (!lines.empty() && lines.back().empty()) { in GenerateDocCommentBodyForLocation()
1614 lines.pop_back(); in GenerateDocCommentBodyForLocation()
1617 for (int i = 0; i < lines.size(); i++) { in GenerateDocCommentBodyForLocation()
1618 // Most lines should start with a space. Watch out for lines that start in GenerateDocCommentBodyForLocation()
1621 if (indentCount == 0 && !lines[i].empty() && lines[i][0] == '/') { in GenerateDocCommentBodyForLocation()
1622 printer->Print(" * ^line^\n", "line", lines[ in GenerateDocCommentBodyForLocation()
[all...]

Completed in 42 milliseconds

1...<<21222324252627282930>>...38