/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:
|
/kernel/linux/linux-6.6/drivers/tty/vt/ |
H A D | vt.c | 304 static inline void scrolldelta(int lines) in scrolldelta() argument 309 scrollback_delta += lines; in scrolldelta() 1134 * @lines: lines 1145 unsigned int cols, unsigned int lines) in vc_do_resize() 1163 if (cols > VC_MAXCOL || lines > VC_MAXROW) in vc_do_resize() 1167 new_rows = (lines ? lines : vc->vc_rows); in vc_do_resize() 1448 void scrollfront(struct vc_data *vc, int lines) in scrollfront() argument 1450 if (!lines) in scrollfront() 1144 vc_do_resize(struct tty_struct *tty, struct vc_data *vc, unsigned int cols, unsigned int lines) vc_do_resize() argument 3147 int lines; tioclinux() local 4747 vc_scrolldelta_helper(struct vc_data *c, int lines, unsigned int rolled_over, void *base, unsigned int size) vc_scrolldelta_helper() argument [all...] |
/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()
|
/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...] |
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
H A D | ispccp2.c | 355 u32 lines = 0; in ccp2_if_configure() local 370 v4l2_subdev_call(sensor, sensor, g_skip_top_lines, &lines); in ccp2_if_configure() 374 ccp2->if_cfg.data_start = lines; in ccp2_if_configure() 452 /* Vsize, no. of lines */ in ccp2_mem_configure() 1091 * is present at end of lines). Additionally, if padding is used, the in ccp2_init_entities()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_init_ops.h | 640 if (!ilt || !ilt->lines) in bnx2x_ilt_client_mem_op() 649 rc = bnx2x_ilt_line_mem_op(bp, &ilt->lines[i], in bnx2x_ilt_client_mem_op() 702 bnx2x_ilt_line_wr(bp, abs_idx, ilt->lines[idx].page_mapping); in bnx2x_ilt_line_init_op()
|
/kernel/linux/linux-5.10/sound/soc/qcom/ |
H A D | lpass-cpu.c | 780 unsigned int lines[LPASS_CPU_MAX_MI2S_LINES]; in of_lpass_cpu_parse_sd_lines() local 784 num_lines = of_property_read_variable_u32_array(node, name, lines, 0, in of_lpass_cpu_parse_sd_lines() 790 sd_line_mask |= BIT(lines[i]); in of_lpass_cpu_parse_sd_lines() 839 "qcom,playback-sd-lines"); in of_lpass_cpu_parse_dai_data() 842 "qcom,capture-sd-lines"); in of_lpass_cpu_parse_dai_data()
|
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
H A D | ispccp2.c | 355 u32 lines = 0; in ccp2_if_configure() local 372 v4l2_subdev_call(sensor, sensor, g_skip_top_lines, &lines); in ccp2_if_configure() 376 ccp2->if_cfg.data_start = lines; in ccp2_if_configure() 454 /* Vsize, no. of lines */ in ccp2_mem_configure() 1100 * is present at end of lines). Additionally, if padding is used, the in ccp2_init_entities()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_init_ops.h | 640 if (!ilt || !ilt->lines) in bnx2x_ilt_client_mem_op() 649 rc = bnx2x_ilt_line_mem_op(bp, &ilt->lines[i], in bnx2x_ilt_client_mem_op() 702 bnx2x_ilt_line_wr(bp, abs_idx, ilt->lines[idx].page_mapping); in bnx2x_ilt_line_init_op()
|
/kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/ |
H A D | q6afe-dai.c | 964 unsigned int lines[Q6AFE_MAX_MI2S_LINES]; in of_q6afe_parse_dai_data() local 980 "qcom,sd-lines", in of_q6afe_parse_dai_data() 981 lines, 0, in of_q6afe_parse_dai_data() 991 priv->sd_line_mask |= BIT(lines[i]); in of_q6afe_parse_dai_data()
|
/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()
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | tda1997x.c | 747 int width, lines; in tda1997x_configure_vhref() local 776 lines = V4L2_DV_BT_FRAME_HEIGHT(bt); in tda1997x_configure_vhref() 792 io_write16(sd, REG_LCNT_NLIN, lines & MASK_VHREF); in tda1997x_configure_vhref() 1115 u32 lines, width, _hper, _hsper; in tda1997x_detect_std() local 1121 lines = V4L2_DV_BT_FRAME_HEIGHT(bt); in tda1997x_detect_std() 1124 lines /= 2; in tda1997x_detect_std() 1126 vmin = ((27000000 / 1000) * 993) / _hper * lines; in tda1997x_detect_std() 1127 vmax = ((27000000 / 1000) * 1007) / _hper * lines; in tda1997x_detect_std()
|
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | tty_io.c | 2086 * track of serial lines: DTR is dropped when the last close happens. 3298 * @lines: count of lines this driver can handle at most 3305 struct tty_driver *__tty_alloc_driver(unsigned int lines, struct module *owner, in __tty_alloc_driver() argument 3312 if (!lines || (flags & TTY_DRIVER_UNNUMBERED_NODE && lines > 1)) in __tty_alloc_driver() 3321 driver->num = lines; in __tty_alloc_driver() 3326 driver->ttys = kcalloc(lines, sizeof(*driver->ttys), in __tty_alloc_driver() 3328 driver->termios = kcalloc(lines, sizeof(*driver->termios), in __tty_alloc_driver() 3337 driver->ports = kcalloc(lines, sizeo in __tty_alloc_driver() [all...] |
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | tty_io.c | 2098 * serial lines: DTR is dropped when the last close happens. 3307 * @lines: count of lines this driver can handle at most 3314 struct tty_driver *__tty_alloc_driver(unsigned int lines, struct module *owner, in __tty_alloc_driver() argument 3321 if (!lines || (flags & TTY_DRIVER_UNNUMBERED_NODE && lines > 1)) in __tty_alloc_driver() 3329 driver->num = lines; in __tty_alloc_driver() 3334 driver->ttys = kcalloc(lines, sizeof(*driver->ttys), in __tty_alloc_driver() 3336 driver->termios = kcalloc(lines, sizeof(*driver->termios), in __tty_alloc_driver() 3345 driver->ports = kcalloc(lines, sizeo in __tty_alloc_driver() [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...] |