/third_party/backends/sanei/ |
H A D | sanei_ab306.c | 374 (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 D | IcuDataDumper.java | 141 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 D | check_files.py | 97 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 D | coverage.py | 18 lines = co.defaultdict(lambda: 0) 33 lines[(file, int(m.group('line_lineno')))] += ( 47 for (file, line_lineno), line_hits in lines.items():
|
/third_party/node/lib/internal/test_runner/ |
H A D | utils.js | 309 function formatUncoveredLines(lines, table) { 310 if (table) return ArrayPrototypeJoin(formatLinesToRanges(lines), ' '); 311 return ArrayPrototypeJoin(lines, ', '); 339 uncoveredLinesPadLength = MathMax(uncoveredLinesPadLength, 'uncovered lines'.length); 382 `${getCell('uncovered lines', uncoveredLinesPadLength, false, truncateEnd)}\n`;
|
/third_party/node/test/parallel/ |
H A D | test-stream-duplex-from.js | 131 const lines = (rest + chunk.toString()).split('\n'); 132 rest = lines.pop(); 133 for (const line of lines) {
|
/third_party/node/test/common/ |
H A D | inspector-helper.js | 38 const lines = str.replace(/\r/g, '').split('\n'); 42 buffer = Buffer.from(lines.pop(), 'utf8'); 43 for (const line of lines)
|
/third_party/python/Tools/c-analyzer/c_common/ |
H A D | tables.py | 101 lines = strutil._iter_significant_lines(infile) 107 actualheader = next(lines).strip() 114 for row in _get_reader(lines, delimiter=sep or '\t'):
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | reflow.py | 44 # Patterns used to recognize interesting lines in an asciidoc source file. 338 # done prior to looping over lines and words, so all the 464 lines, newline_string = loadFile(filename) 465 if lines is None: 497 transformer.transformFile(lines)
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/ |
H A D | html_printer.py | 145 Stashes the lines of the file for later excerpts, 148 # Save lines for later 149 self.fileLines[fileChecker.filename] = fileChecker.lines 340 lines = self.fileLines[filename] 346 lines[(r.start - 1):(r.stop - 1)], r.start): 399 Increases the range of lines that are included in the excerpts,
|
/third_party/skia/src/core/ |
H A D | SkEdgeBuilder.cpp | 248 SkPoint lines[SkLineClipper::kMaxPoints]; in buildPoly() local 249 int lineCount = SkLineClipper::ClipLine(e.fPts, clip, lines, canCullToTheRight); in buildPoly() 252 switch( this->addPolyLine(lines + i, edge, edgePtr) ) { in buildPoly() 368 // We can use our buildPoly() optimization if all the segments are lines. in buildEdges()
|
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/ |
H A D | restricted_trace_gold_tests.py | 173 self.lines = [] 194 self.lines.append(line) 197 return self.lines
|
/third_party/skia/third_party/externals/angle2/src/tests/test_expectations/ |
H A D | GPUTestExpectationsParser.cpp | 332 std::vector<std::string> lines = SplitString(data, "\n", TRIM_WHITESPACE, SPLIT_WANT_ALL); in loadTestExpectationsImpl() local 334 for (size_t i = 0; i < lines.size(); ++i) in loadTestExpectationsImpl() 336 if (!parseLine(config, lines[i], i + 1)) in loadTestExpectationsImpl()
|
/third_party/python/Modules/_xxtestfuzz/ |
H A D | fuzzer.c | 369 /* Split on \n so we can test multiple lines */ in fuzz_csv_reader() 370 PyObject* lines = PyObject_CallMethod(s, "split", "s", "\n"); in fuzz_csv_reader() local 371 if (lines == NULL) { in fuzz_csv_reader() 376 PyObject* reader = PyObject_CallMethod(csv_module, "reader", "N", lines); in fuzz_csv_reader() 386 some bad files (embedded new-lines, unterminated quotes etc) */ in fuzz_csv_reader()
|
/third_party/vk-gl-cts/scripts/ |
H A D | mustpass.py | 130 lines = first_file.readlines() 131 lines.sort() 132 caseList = CaseList(filePath, lines)
|
/third_party/backends/backend/genesys/ |
H A D | genesys.cpp | 771 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 D | clinic.py | 187 * 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 D | qcam.c | 972 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 D | pieusb_scancmd.h | 80 * CalSpeeds: 3 => 1 line, 13 lines, 31 lines */ 134 SANE_Int lines; /* Number of lines in the scan. Value depends on color format, see Pieusb_Mode. */ member 140 SANE_Int availableLines; /* The number of currently available scanned lines. Value depends on color format. Returns a value >0 if PARAM is called while scanning is in progress */ 168 * bit 2 : Index = scanned data are lines preceded by a two-byte index, 'RR', 'GG', 'BB', or 'II' 169 * bit 1 : Line = scanned data are (probably) lines in RGBI order (needs testing) 345 void sanei_pieusb_cmd_get_scanned_lines(SANE_Int device_number, SANE_Byte* data, SANE_Int lines, SANE_Int size, struct Pieusb_Command_Status *status);
|
/third_party/backends/frontend/ |
H A D | tstbackend.c | 1236 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/python/Lib/test/ |
H A D | test_compile.py | 163 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/skia/modules/skparagraph/src/ |
H A D | TextWrapper.cpp | 262 // 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...] |
/third_party/node/deps/v8/tools/ |
H A D | grokdump.py | 134 lines = reader.GetDisasmLines(start, size) 135 for line in lines: 970 def CountUndefinedInstructions(lines): 972 return sum([line.count(pattern) for (ignore, line) in lines]) 1143 def PrintLines(self, lines): 1145 print("\n".join("%s%s" % (indent, line) for line in lines)) 1741 lines = self.heap.reader.GetDisasmLines(self.entry, self.instruction_size) 1745 p.PrintLines(self._FormatLine(line) for line in lines) 1964 lines = f.readlines() 1967 for l in lines [all...] |
/third_party/gn/infra/recipes/ |
H A D | gn.py | 35 lines = api.step( 46 for line in lines:
|
/third_party/backends/japi/ |
H A D | ScanIt.java | 60 // # lines we incr. image height. 190 height += STRIP_HEIGHT; // Add more lines. in nextLine() 306 if (parms.lines >= 0) in scan() 307 height = parms.lines - STRIP_HEIGHT + 1; in scan()
|