Home
last modified time | relevance | path

Searched refs:lines (Results 526 - 550 of 947) sorted by relevance

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

/third_party/mksh/
H A Dhistrap.c293 /* Run editor on selected lines, then run resulting commands */ in c_fc()
777 int lines, fd; in hist_persist_init() local
813 lines = histload(hist_source, base + 2, (size_t)histfsize - 2); in hist_persist_init()
816 if (lines > histsize && histptr >= history) { in hist_persist_init()
915 int lno = 0, lines = 0; in histload() local
921 return (lines); in histload()
927 return (lines); in histload()
932 ++lines; in histload()
/third_party/python/Lib/
H A Dshutil.py1413 # columns, lines are the working values
1420 lines = int(os.environ['LINES'])
1422 lines = 0
1425 if columns <= 0 or lines <= 0:
1434 if lines <= 0:
1435 lines = size.lines or fallback[1]
1437 return os.terminal_size((columns, lines))
/third_party/gn/src/gn/
H A Dfunction_read_file.cc39 lines = read_file("foo.txt", "list lines")
/third_party/rust/crates/cxx/gen/src/
H A Difndef.rs22 for line in HEADER[begin + ifndef.len()..end].trim().lines() {
/third_party/rust/crates/cxx/gen/cmd/src/gen/
H A Difndef.rs22 for line in HEADER[begin + ifndef.len()..end].trim().lines() {
/third_party/rust/crates/cxx/gen/build/src/gen/
H A Difndef.rs22 for line in HEADER[begin + ifndef.len()..end].trim().lines() {
/third_party/rust/crates/cxx/gen/lib/src/gen/
H A Difndef.rs22 for line in HEADER[begin + ifndef.len()..end].trim().lines() {
/third_party/alsa-utils/alsamixer/
H A Dmixer_display.c346 int lines, top, left; in display_unplugged() local
349 lines = screen_lines - 6; in display_unplugged()
350 if (lines < 2) in display_unplugged()
352 top = lines / 2; in display_unplugged()
353 boojum = lines >= 10 && screen_cols >= 48; in display_unplugged()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_gmem.c522 uint32_t size, lines; variable
528 lines = size / 1024;
533 lines = size / 1024;
538 lines =
555 A2XX_PA_SC_SCREEN_SCISSOR_BR_Y(lines);
/third_party/python/Lib/test/
H A Dtest_urllib2_localnet.py664 lines = [b"We\n", b"got\n", b"here\n", b"verylong " * 8192 + b"\n"]
665 expected_response = b"".join(lines)
669 self.assertEqual(line, lines[index],
672 (index, len(lines[index]), len(line)))
673 self.assertEqual(index + 1, len(lines))
H A Dtest_compile.py163 lines = list(co.co_lines())
164 self.assertEqual(lines[0][2], 0)
165 self.assertEqual(lines[1][2], 257)
911 lines = list(code.co_lines())
912 start, end, line = lines[0]
964 for func, lines in zip(funcs, func_lines, strict=True):
967 self.assertEqual(lines, code_lines)
1099 lines, end_lines, columns, end_columns = set(), set(), set(), set()
1105 lines.add(node.lineno)
1119 self.assertIn(line, lines)
[all...]
/third_party/backends/backend/genesys/
H A Dgenesys.cpp771 session.params.lines = 3; in scanner_move()
937 session.params.lines = 3; in scanner_move_back_home()
1080 session.params.lines = 3; in scanner_move_back_home_ta()
1168 unsigned lines = static_cast<unsigned>(dev.model->y_size_calib_mm * dpi / MM_PER_INCH); in scanner_search_strip() local
1170 lines = 10; // TODO: use dev.model->search_lines in scanner_search_strip()
1171 lines = static_cast<unsigned>((lines * dpi) / MM_PER_INCH); in scanner_search_strip()
1181 length = static_cast<unsigned>(((200 * dpi) / MM_PER_INCH) / lines); in scanner_search_strip()
1192 session.params.lines = lines; in scanner_search_strip()
1427 unsigned lines = 1; scanner_offset_calibration() local
1768 unsigned lines = 10; scanner_coarse_gain_calibration() local
3850 auto lines = dev->session.output_line_count; genesys_warmup_lamp() local
[all...]
/third_party/python/Tools/clinic/
H A Dclinic.py187 * The strings substituted must be on lines by
230 Returns 's', with 'prefix' prepended to all lines.
235 (textwrap.indent only adds to non-blank lines.)
251 Returns 's', with 'suffix' appended to all lines.
314 # Should be full lines with \n eol characters.
318 # Should be full lines with \n eol characters.
522 lines = s.rstrip().split('\n')
523 while lines:
524 line = lines[0]
527 del lines[
[all...]
/third_party/backends/backend/
H A Dqcam.c972 height = req.params.lines; in reader_process()
976 despeckle32 (width / 2, req.params.lines / 2, buffer, extra); in reader_process()
1069 despeckle (req.params.pixels_per_line, req.params.lines, in reader_process()
1470 continue; /* ignore empty lines */ in sane_init()
1878 s->params.lines = s->val[OPT_BR_Y].w - s->val[OPT_TL_Y].w + 1; in sane_get_parameters()
1879 s->params.lines /= xfer_scale; in sane_get_parameters()
1880 if (s->params.lines < 1) in sane_get_parameters()
1881 s->params.lines = 1; in sane_get_parameters()
2001 height = s->params.lines; in sane_start()
2005 height /= 2; /* we acquire only half the lines tha in sane_start()
[all...]
H A Dkvs20xx.c384 s->side_size = s->params.lines * s->params.bytes_per_line; in sane_start()
490 unsigned lines = (*len - head) / ls; in sane_read() local
495 i < lines; buf += ls, data += ls * 2, i++) in sane_read()
H A Dmustek_scsi_pp.c887 mustek_scsi_pp_rdata (int fd, int planes, SANE_Byte * buf, int lines, int bpl) in mustek_scsi_pp_rdata() argument
892 "mustek_scsi_pp_rdata: reading %d lines at %d bpl, %d planes from %d\n", in mustek_scsi_pp_rdata()
893 lines, bpl, planes, fd); in mustek_scsi_pp_rdata()
908 for (i = 0; i < lines; i++) in mustek_scsi_pp_rdata()
/third_party/backends/frontend/
H A Dtstbackend.c1236 if (params.bytes_per_line != 0 && params.lines != 0) { in test_scan()
1238 to_read = params.bytes_per_line * params.lines; in test_scan()
1271 if (params.lines != -1) { in test_scan()
1301 if (params.bytes_per_line != 0 && params.lines != 0) { in test_scan()
1345 if (params.bytes_per_line != 0 && params.lines != 0) { in test_scan()
1347 to_read = params.bytes_per_line * params.lines; in test_scan()
1392 if (params.lines != -1) { in test_scan()
1422 if (params.bytes_per_line != 0 && params.lines != 0) { in test_scan()
1424 to_read = params.bytes_per_line * params.lines; in test_scan()
1465 if (params.lines ! in test_scan()
[all...]
/third_party/skia/modules/skparagraph/src/
H A DTextWrapper.cpp262 // We normally break lines by words. in moveForward()
364 // 1) fill lines in moveForward()
447 // need to have at least two lines for algo to do anything useful in moveForward()
556 // we have exceeded target number of lines, add some penalty in moveForward()
944 if (parent->lines().empty()) { in moveForward()
983 parent->lines().back().setMaxRunMetrics(maxRunMetrics); in moveForward()
986 if (parent->lines().empty()) { in moveForward()
989 // Correct line metric styles for the first and for the last lines if needed in moveForward()
991 parent->lines().front().setAscentStyle(LineMetricStyle::Typographic); in moveForward()
994 parent->lines() in moveForward()
[all...]
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/
H A Dc_parser_lite.py54 def __process__(self, lines):
56 self.state_machine.trace_logs.extend(lines)
57 for line in lines:
H A Djsunit_parser.py54 def __process__(self, lines):
56 self.state_machine.trace_logs.extend(lines)
57 for line in lines:
/third_party/elfutils/libdw/
H A Dlibdw.h634 extern int dwarf_getsrclines (Dwarf_Die *cudie, Dwarf_Lines **lines,
637 /* Return one of the source lines of the CU. */
638 extern Dwarf_Line *dwarf_onesrcline (Dwarf_Lines *lines, size_t idx);
706 extern Dwarf_Line *dwarf_linecontext (Dwarf_Lines *lines, Dwarf_Line *line);
744 number of lines in the line table. */
/third_party/backends/sanei/
H A Dsanei_ab306.c374 (0x10) as toggle bit for reading lines. */ in sanei_ab306_cmd()
429 /* Read scan-data from the AB306N-device. Read <lines> lines, of which
432 sanei_ab306_rdata (int fd, int planes, SANE_Byte * buf, int lines, int bpl) in sanei_ab306_rdata() argument
442 /* the lines-loop: */ in sanei_ab306_rdata()
443 for (lcnt = 0; lcnt < lines; ++lcnt) in sanei_ab306_rdata()
551 sanei_ab306_rdata (int fd, int planes, SANE_Byte *buf, int lines, int bpl) in sanei_ab306_rdata() argument
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
H A DIcuDataDumper.java141 List<String> lines = Files.readAllLines(path); in parse()
144 if (!lines.get(0).startsWith("\uFEFF//")) { in parse()
147 lines.stream().map(whitespace()::trimFrom).forEach(this::processLineWithCheck); in parse()
/third_party/mbedtls/tests/scripts/
H A Dcheck_files.py97 for filename, lines in sorted(self.files_with_issues.items()):
98 if lines:
100 filename, ", ".join(str(x) for x in lines)
141 """Check the lines of the specified file.
241 """Track lines with invalid characters or invalid text encoding."""
309 """Track lines with trailing whitespace."""
319 """Track lines with tabs."""
337 """Track lines with merge artifacts.
/third_party/littlefs/scripts/
H A Dcoverage.py18 lines = co.defaultdict(lambda: 0)
33 lines[(file, int(m.group('line_lineno')))] += (
47 for (file, line_lineno), line_hits in lines.items():

Completed in 27 milliseconds

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