/third_party/python/Modules/_io/ |
H A D | iobase.c | 58 "that an IOBase object can be iterated over yielding the lines in a\n" 671 Return a list of lines from the stream. 673 hint can be specified to control the number of lines read: no more 674 lines will be read if the total size (in bytes/characters) of all 675 lines so far exceeds hint. 743 lines: object 746 Write a list of lines to stream. 749 lines provided to have a line separator at the end. 753 _io__IOBase_writelines(PyObject *self, PyObject *lines) in _io__IOBase_writelines() argument 761 iter = PyObject_GetIter(lines); in _io__IOBase_writelines() [all...] |
/third_party/skia/gm/ |
H A D | p3.cpp | 100 } lines[] = { in compare_pixel() local 107 for (auto l : lines) { in compare_pixel()
|
/third_party/vk-gl-cts/scripts/ |
H A D | run_nightly.py | 120 lines = data.splitlines()[1:] 123 for line in lines:
|
/third_party/backends/backend/ |
H A D | microtek.c | 740 SANE_Int *lines) in get_scan_status() 759 *lines = (data[3]) + (data[4] << 8) + (data[5] << 16); in get_scan_status() 762 (u_long) lenp, *busy, *bytes_per_line, *lines, retry); in get_scan_status() 784 int lines, in read_scan_data() 791 comm[2] = (lines >> 16) & 0xFF; in read_scan_data() 792 comm[3] = (lines >> 8) & 0xFF; in read_scan_data() 793 comm[4] = (lines) & 0xFF; in read_scan_data() 2246 /* number of lines of calibration data returned by scanner */ 2332 SANE_Int busy, linewidth, lines; in do_real_calibrate() local 2343 if ((status = get_scan_status(s, &busy, &linewidth, &lines)) in do_real_calibrate() 737 get_scan_status(Microtek_Scanner *ms, SANE_Int *busy, SANE_Int *bytes_per_line, SANE_Int *lines) get_scan_status() argument 783 read_scan_data(Microtek_Scanner *ms, int lines, uint8_t *buffer, size_t *bufsize) read_scan_data() argument 2426 SANE_Int busy, linewidth, lines; do_precalibrate() local [all...] |
H A D | artec.c | 933 DBG (9, "buffer_line_offset: r lines = %d, g lines = %d\n", in artec_buffer_line_offset() 972 /* move all the buffered lines down (just move the ptrs for speed) */ in artec_buffer_line_offset() 1278 s->params.lines, in artec_set_scan_window() 1339 data[26] = (s->params.lines + (s->line_offset * 2)) >> 24; in artec_set_scan_window() 1340 data[27] = (s->params.lines + (s->line_offset * 2)) >> 16; in artec_set_scan_window() 1341 data[28] = (s->params.lines + (s->line_offset * 2)) >> 8; in artec_set_scan_window() 1342 data[29] = (s->params.lines + (s->line_offset * 2)); in artec_set_scan_window() 1493 artec_software_rgb_calibrate (SANE_Handle handle, SANE_Byte * buf, int lines) in artec_software_rgb_calibrate() argument 1500 for (line = 0; line < lines; lin in artec_software_rgb_calibrate() [all...] |
H A D | pnm.c | 498 0, /* Number of lines for the current scan. */ 1025 parms.bytes_per_line = parms.pixels_per_line = parms.lines = 0; in getparmfromfile() 1071 parms.lines = -1; in getparmfromfile() 1073 parms.lines = y; in getparmfromfile() 1152 /* Skip the header (only two lines for a bitmap). */ in sane_start()
|
H A D | ricoh2.c | 562 params->lines = HEIGHT_PIXELS_300DPI; in sane_get_parameters() 569 params->lines *= 2; in sane_get_parameters() 580 "lines = %d\n", in sane_get_parameters() 585 params->lines); in sane_get_parameters()
|
H A D | ibm.c | 568 continue; /* ignore empty lines */ in sane_init() 901 s->params.lines = length * yres / s->hw->info.mud; in sane_get_parameters() 928 DBG (1, "%d pixels per line, %d bytes, %d lines high, total %lu bytes, " in sane_get_parameters() 930 s->params.lines, (u_long) s->bytes_to_read, s->val[OPT_Y_RESOLUTION].w); in sane_get_parameters() 1069 /* next lines by mf */ in sane_start() 1076 /* end lines by mf */ in sane_start() 1102 s->bytes_to_read = s->params.bytes_per_line * s->params.lines; in sane_start() 1104 DBG (1, "%d pixels per line, %d bytes, %d lines high, total %lu bytes, " in sane_start() 1106 s->params.lines, (u_long) s->bytes_to_read, s->val[OPT_Y_RESOLUTION].w); in sane_start()
|
H A D | ricoh.c | 514 continue; /* ignore empty lines */ in sane_init() 759 s->params.lines = length * yres / s->hw->info.mud; in sane_get_parameters() 783 DBG (1, "%d pixels per line, %d bytes, %d lines high, total %lu bytes, " in sane_get_parameters() 785 s->params.lines, (u_long) s->bytes_to_read, s->val[OPT_Y_RESOLUTION].w); in sane_get_parameters() 942 s->bytes_to_read = s->params.bytes_per_line * s->params.lines; in sane_start() 944 DBG (1, "%d pixels per line, %d bytes, %d lines high, total %lu bytes, " in sane_start() 946 s->params.lines, (u_long) s->bytes_to_read, s->val[OPT_Y_RESOLUTION].w); in sane_start()
|
/third_party/skia/third_party/externals/tint/src/writer/hlsl/ |
H A D | generator_impl.cc | 219 if (current_buffer_->lines.size() != last_padding_line) { in Generate() 222 last_padding_line = current_buffer_->lines.size(); in Generate() 264 if (!helpers_.lines.empty()) { in Generate() 3116 bool emit_as_loop = cond_pre.lines.size() > 0 || cont_buf.lines.size() > 1; 3121 if (init_buf.lines.size() > 1 || (stmt->initializer && emit_as_loop)) { 3123 init_buf.lines.clear(); // Don't emit the initializer again in the 'for' 3160 if (!init_buf.lines.empty()) { 3161 out << init_buf.lines[0].content << " "; 3168 if (!cont_buf.lines [all...] |
/third_party/python/Lib/test/ |
H A D | test_builtin.py | 1294 # NB the first 4 lines are also used to test input, below 2165 lines = [] 2171 lines.append(line) 2174 if len(lines) != 2: 2188 self.fail("got %d lines in pipe but expected 2, child output was:\n%s" 2189 % (len(lines), child_output)) 2197 return lines 2213 lines = self.run_child(child, terminal_input + b"\r\n") 2215 self.assertIn(lines[0], {'tty = True', 'tty = False'}) 2216 if lines[ [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fRasterizationTests.cpp | 341 std::vector<LineSceneSpec::SceneLine> lines; 354 generateLines(m_iteration, drawBuffer, lines); 371 scene.lines.swap(lines); 379 // multisampled wide lines might not be supported 394 m_testCtx.setTestResult(QP_TEST_RESULT_COMPATIBILITY_WARNING, "Rasterization of multisampled wide lines failed"); 947 m_testCtx.getLog() << tcu::TestLog::Message << "Rendering " << outLines.size() << " lines(s): (width = " << m_lineWidth << ")" << tcu::TestLog::EndMessage; in generateLines() 1771 std::vector<LineSceneSpec::SceneLine> lines; 1775 extractLines(lines, drawBuffer, colorBuffer); 1799 scene.lines [all...] |
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/hdi_operate/ |
H A D | hdi_add_handler.py | 288 lines = list(map(
295 str_line = string.Template(lines[0]).substitute(replace_data)
299 new_data = old_lines[:-2] + lines + old_lines[-2:]
|
/third_party/node/lib/ |
H A D | assert.js | 215 let lines = 0; 225 buffer = lines < line ? buffer : Buffer.allocUnsafe(bytesPerRead); 229 if (buffer[i] === 10 && ++lines === line) {
|
/third_party/node/lib/internal/modules/esm/ |
H A D | resolve.js | 1230 const lines = StringPrototypeSplit(error.stack, '\n'); 1233 ArrayPrototypeShift(lines) + '\n' + 1235 ArrayPrototypeJoin(lines, '\n');
|
/third_party/python/Lib/ |
H A D | ftplib.py | 177 2: also print raw lines read and sent before stripping CR/LF''' 226 # consist of multiple lines. Return a single string with no 227 # trailing CRLF. If the response consists of multiple lines, 589 lines = [] 590 self.retrlines(cmd, lines.append) 591 for line in lines:
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | loop_unroller.cpp | 753 const std::vector<Instruction> lines = old_branch.dbg_line_insts(); in FoldConditionBlock() local 763 if (!lines.empty()) new_branch->AddDebugLine(&lines.back()); in FoldConditionBlock() 876 // Do def/use analysis on new lines in AssignNewResultIds()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | loop_unroller.cpp | 753 const std::vector<Instruction> lines = old_branch.dbg_line_insts(); in FoldConditionBlock() local 763 if (!lines.empty()) new_branch->AddDebugLine(&lines.back()); in FoldConditionBlock() 876 // Do def/use analysis on new lines in AssignNewResultIds()
|
/third_party/spirv-tools/source/opt/ |
H A D | loop_unroller.cpp | 752 const std::vector<Instruction> lines = old_branch.dbg_line_insts(); in FoldConditionBlock() local 762 if (!lines.empty()) new_branch->AddDebugLine(&lines.back()); in FoldConditionBlock() 875 // Do def/use analysis on new lines in AssignNewResultIds()
|
/third_party/backends/backend/genesys/ |
H A D | gl846.cpp | 634 /* cis color scan is effectively a gray scan with 3 gray lines per color in init_regs_for_scan_session() 662 dev->total_bytes_to_read = (size_t)session.output_line_bytes_requested * (size_t)session.params.lines; in init_regs_for_scan_session() 717 session.params.lines = settings.lines; in calculate_scan_session() 841 session.params.lines = calib_lines; in init_regs_for_shading()
|
/third_party/jinja2/ |
H A D | filters.py | 802 first line and blank lines are not indented by default. 806 :param blank: Don't skip indenting empty lines. 812 Blank lines are not indented by default. 832 lines = s.splitlines() 833 rv = lines.pop(0) 835 if lines: 837 indention + line if line else line for line in lines 907 :param width: Maximum length of wrapped lines. 909 it across lines. 911 across lines [all...] |
/third_party/node/test/parallel/ |
H A D | test-readline-interface.js | 229 // Adding history lines should emit the history event with 261 // Duplicate lines are removed from history when 338 // Duplicate lines are not removed from history when 395 const lines = ['line 1', 'line 2', 'line 3']; 396 fi.emit('data', lines.join('\n') + '\n'); 841 const lines = ['line 1', 'line 2', 'line 3']; 842 fi.emit('data', lines.join('\n'));
|
/third_party/rust/crates/cxx/gen/cmd/src/gen/ |
H A D | write.rs | 231 let mut lines = 0; in write_doc() variables 232 for line in doc.to_string().lines() { in write_doc() 238 lines += 1; in write_doc() 244 if out.opt.doxygen && lines == 1 { in write_doc()
|
/third_party/rust/crates/cxx/gen/src/ |
H A D | write.rs | 231 let mut lines = 0; in write_doc() variables 232 for line in doc.to_string().lines() { in write_doc() 238 lines += 1; in write_doc() 244 if out.opt.doxygen && lines == 1 { in write_doc()
|
/third_party/rust/crates/cxx/gen/lib/src/gen/ |
H A D | write.rs | 231 let mut lines = 0; in write_doc() variables 232 for line in doc.to_string().lines() { in write_doc() 238 lines += 1; in write_doc() 244 if out.opt.doxygen && lines == 1 { in write_doc()
|