Home
last modified time | relevance | path

Searched refs:lines (Results 926 - 950 of 1365) sorted by relevance

1...<<31323334353637383940>>...55

/third_party/python/Lib/test/
H A Dtest_unicodedata.py317 lines = (chr(i) + 'A').splitlines()
320 self.assertEqual(len(lines), 2,
323 self.assertEqual(len(lines), 1,
H A Dtest_codecs.py163 lines = []
168 lines.append(line)
169 return "|".join(lines)
180 # Test long lines (multiple calls to read() in readline())
189 # Test lines where the first read might end with \r, so the
216 lines = ["Humpty Dumpty sat on a wall,\n",
220 data = ''.join(lines)
227 self.assertEqual(f.readline(), lines[0])
228 self.assertEqual(f.read(), ''.join(lines[1:]))
233 self.assertEqual(f.readline(), lines[
[all...]
H A Dtest_dis.py658 def find_offset_column(self, lines):
659 for line in lines:
678 lines = text.splitlines()
679 start, end = self.find_offset_column(lines)
680 for line in lines:
693 lines = text.splitlines(True)
694 start, end = self.find_offset_column(lines)
696 lines = iter(lines)
697 for line in lines
[all...]
/third_party/backends/backend/
H A Dmicrotek2.c366 /* calculate lines, pixels per line and bytes per line */ in sane_get_parameters()
389 ms->params.lines = (SANE_Int) height_pixel; in sane_get_parameters()
411 DBG(30,"sane_get_parameters: format=%d, last_frame=%d, lines=%d\n", in sane_get_parameters()
412 ms->params.format,ms->params.last_frame, ms->params.lines); in sane_get_parameters()
1858 DBG(1, " CCD gap%24s: %d lines\n", " ", mi->ccd_gap); in dump_attributes()
1920 if ( *s == '#' || *s == '\0' ) /* ignore empty lines and comments */ in parse_config_file()
1943 if ( *s == '#' || *s == '\0' ) /* ignore empty lines and comments */ in parse_config_file()
3739 ms->params.lines = ms->src_remaining_lines; in calculate_sane_params()
4653 DBG(30, "scsi_read_image_info: ppl=%d, bpl=%d, lines=%d, remain=%d\n", in scsi_read_image_info()
5530 /* calculate maximum number of lines t in prepare_buffers()
5641 write_shading_buf_pnm(Microtek2_Scanner *ms, uint32_t lines) write_shading_buf_pnm() argument
6048 uint32_t lines; read_shading_image() local
6352 prepare_shading_data(Microtek2_Scanner *ms, uint32_t lines, uint8_t **data) prepare_shading_data() argument
8310 uint32_t lines; auto_adjust_proc_data() local
[all...]
H A Dplustek-usbshading.c1717 * scanning the shading lines.
1719 * @param shading_lines - defines the overall number of shading lines.
1726 u_long lines, w, x; in usb_CalSortHighlight() local
1734 /* do it for all relevant lines */ in usb_CalSortHighlight()
1735 for( lines = hilight, rgb = rgb + sp->Size.dwPhyPixels * lines; in usb_CalSortHighlight()
1736 lines < shading_lines; lines++, rgb += sp->Size.dwPhyPixels ) { in usb_CalSortHighlight()
1768 * scanning the shading lines.
1770 * @param shading_lines - defines the overall number of shading lines
1777 u_long lines, w, x; usb_CalSortShadow() local
1815 u_long lines, x; usb_procHighlightAndShadow() local
[all...]
H A Dteco2.c207 /*dpi, color sequence R G or B, 0 (-) or 1 (+) color skewing, lines skewing */
235 /*dpi, color sequence R G or B, 0 (-) or 1 (+) color skewing, lines skewing */
439 /* Display a buffer in the log. Display by lines of 16 bytes. */
881 /* Set the expected size line and number of lines. */ in teco_set_window()
896 Ito16 (dev->params.lines, &window[54]); in teco_set_window()
955 dev->params.lines = B16TOI (&dev->buffer[12]); in teco_get_scan_size()
987 dev->params.lines = 1170; in teco_get_scan_size()
999 dev->params.lines = 585; in teco_get_scan_size()
1004 dev->params.lines = 702; in teco_get_scan_size()
1009 dev->params.lines in teco_get_scan_size()
[all...]
H A Dtamarack.c532 s->params.lines = in get_image_status()
547 DBG(1, "get_image_status: bytes_per_line=%d, lines=%d\n", in get_image_status()
548 s->params.bytes_per_line, s->params.lines); in get_image_status()
554 read_data (Tamarack_Scanner *s, SANE_Byte *buf, int lines, int bpl) in read_data() argument
564 nbytes = bpl * lines; in read_data()
867 for (s->line = 0; s->line < s->params.lines; s->line += lines_per_buffer) { in reader_process()
868 if (s->line + lines_per_buffer > s->params.lines) in reader_process()
869 /* do the last few lines: */ in reader_process()
870 lines_per_buffer = s->params.lines - s->line; in reader_process()
879 DBG(3, "reader_process: read %d lines\ in reader_process()
[all...]
H A Dxerox_mfp.c365 dev->para.pixels_per_line, dev->para.lines, in dev_stop()
662 dev->para.lines = -1; in set_parameters()
681 dev->para.lines = dev->win_len / px_to_len; in set_parameters()
1255 (y + dev->y_off) < dev->para.lines) { in copy_plain_trim()
1278 /* can only copy as much as full lines we have */ in copy_mix_bands_trim()
1292 y_rly < dev->para.lines) { in copy_mix_bands_trim()
1299 /* how much full lines are finished */ in copy_mix_bands_trim()
1380 int clrlen; /* cleared lines len */ in sane_read()
1429 dev->y_off, dev->para.lines); in sane_read()
1432 if (dev->dataindex / dev->bytes_per_line + dev->y_off >= dev->para.lines) { in sane_read()
[all...]
H A Dpieusb.c213 /* Ignore line comments and empty lines */ in sane_init()
216 /* Ignore lines which do not begin with 'usb ' */ in sane_init()
788 params->lines = scanner->scan_parameters.lines; in sane_get_parameters()
802 params->lines = height / MM_PER_INCH * resolution; in sane_get_parameters()
842 DBG(DBG_info_sane," lines = %d\n",params->lines); in sane_get_parameters()
1113 * it's 45 lines, scanner->ccd_mask_size pixels, 16 bit depth in all cases. in sane_start()
1192 scanner->scan_parameters.lines, colors, in sane_start()
1376 DBG(DBG_info_sane, "sane_read(): currently read %.2f lines o in sane_read()
[all...]
H A Dkvs1025_low.c583 dev->params[s].lines = *height ? *height in CMD_read_pic_elements()
747 size[0] = dev->params[0].bytes_per_line * dev->params[0].lines; in AllocateImageBuffer()
748 size[1] = dev->params[1].bytes_per_line * dev->params[1].lines; in AllocateImageBuffer()
1070 = s->params[side_index].lines * s->params[side_index].bytes_per_line; in buffer_crop()
1173 = s->params[side_index].lines * s->params[side_index].bytes_per_line; in buffer_rotate()
H A Dpieusb_scancmd.c439 * Read scanned data from the scanner memory into a byte array. The lines
440 * argument specifies how many lines will be read, the size argument specifies
441 * the total amount of bytes in these lines. Use sanei_pieusb_cmd_get_parameters() to
442 * determine the current line size and the number of available lines.\n
453 * @param lines
458 sanei_pieusb_cmd_get_scanned_lines(SANE_Int device_number, SANE_Byte* data, SANE_Int lines, SANE_Int size, struct Pieusb_Command_Status *status) in sanei_pieusb_cmd_get_scanned_lines() argument
462 DBG (DBG_info_scan, "sanei_pieusb_cmd_get_scanned_lines(): %d lines (%d bytes)\n", lines, size); in sanei_pieusb_cmd_get_scanned_lines()
464 _prep_scsi_cmd (command, SCSI_READ, lines); in sanei_pieusb_cmd_get_scanned_lines()
586 * Get the parameters of an executed scan, such as width, lines an
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/meson/
H A Dmeson_registers.h265 #define VIU_OSD_HOLD_FIFO_LINES(lines) ((lines & 0x1f) << 5)
439 #define VPP_POSTBLEND_HOLD_LINES(lines) (lines & 0xf)
440 #define VPP_PREBLEND_HOLD_LINES(lines) ((lines & 0xf) << 8)
1832 #define VIU_OSD_BLEND_HOLD_LINES(lines) ((lines & 0x7) << 29)
/kernel/linux/linux-6.6/drivers/gpu/drm/meson/
H A Dmeson_registers.h265 #define VIU_OSD_HOLD_FIFO_LINES(lines) ((lines & 0x1f) << 5)
439 #define VPP_POSTBLEND_HOLD_LINES(lines) (lines & 0xf)
440 #define VPP_PREBLEND_HOLD_LINES(lines) ((lines & 0xf) << 8)
1857 #define VIU_OSD_BLEND_HOLD_LINES(lines) ((lines & 0x7) << 29)
/test/testfwk/developer_test/src/core/driver/
H A Ddrivers.py90 lines = self._process_output(output)
91 for line in lines:
107 lines = content.split(end_mark)
109 return lines[:-1]
111 self.unfinished_line = lines[-1]
112 return lines[:-1]
601 lines = f.read()
602 str_content = lines.decode("utf-8")
/third_party/vk-gl-cts/android/cts/runner/src/com/drawelements/deqp/runner/
H A DDeqpTestRunner.java632 public void processNewLines(String[] lines) { in processNewLines() argument
633 for (String line : lines) { in processNewLines()
727 public void processNewLines(String[] lines) { in processNewLines() argument
728 for (String line : lines) { in processNewLines()
985 final String[] lines = processes.split("(\\r|\\n)+"); in getDeqpProcessPids()
986 for (String line : lines) { in getDeqpProcessPids()
1042 // Skip empty lines. in addTestsToInstancesMap()
2052 // Skip comments and empty lines in getNonPatternFilters()
2117 static private void readFile(Collection<String> lines, File file) throws FileNotFoundException { in readFile() argument
2127 lines in readFile()
[all...]
/third_party/python/Parser/
H A Dasdl_c.py32 Return a sequence of lines where no line extends beyond MAX_COL
34 exclusively on depth * TABSIZE. All following lines -- these are
35 the reflowed lines generated by this function -- start at the same
43 lines = []
52 lines.append(padding + cur[:i])
53 if len(lines) == 1:
68 lines.append(padding + cur)
69 return lines
106 """Visit that emits lines"""
114 # XXX reflow long lines
[all...]
/third_party/skia/third_party/externals/tint/src/writer/msl/
H A Dgenerator_impl.cc203 auto helpers_insertion_point = current_buffer_->lines.size(); in Generate()
255 if (!helpers_.lines.empty()) { in Generate()
1868 bool emit_as_loop = cond_pre.lines.size() > 0 || cont_buf.lines.size() > 1; in EmitForLoop()
1874 init_buf.lines.size() > 1 || (stmt->initializer && emit_as_loop); in EmitForLoop()
1879 init_buf.lines.clear(); // Don't emit the initializer again in the 'for' in EmitForLoop()
1922 if (!init_buf.lines.empty()) { in EmitForLoop()
1923 out << init_buf.lines[0].content << " "; in EmitForLoop()
1930 if (!cont_buf.lines.empty()) { in EmitForLoop()
1931 out << TrimSuffix(cont_buf.lines[ in EmitForLoop()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/rasterization/
H A DvktRasterizationTests.cpp1141 virtual bool compareAndVerify (std::vector<LineSceneSpec::SceneLine>& lines,
1432 std::vector<LineSceneSpec::SceneLine> lines; in iterate() local
1438 generateLines(m_iteration, drawBuffer, lines); in iterate()
1445 const bool compareOk = compareAndVerify(lines, resultImage, drawBuffer); in iterate()
1468 bool BaseLineTestInstance::compareAndVerify (std::vector<LineSceneSpec::SceneLine>& lines, tcu::Surface& resultImage, std::vector<tcu::Vec4>& drawBuffer) in compareAndVerify() argument
1484 scene.lines.swap(lines); in compareAndVerify()
1494 // Choose verification mode. Smooth lines assume mostly over-rasterization (bloated lines with a falloff). in compareAndVerify()
1495 // Stippled lines los in compareAndVerify()
[all...]
/base/hiviewdfx/hilog/services/hilogd/
H A Dservice_controller.cpp171 rsp.lines[i] = entry.lines[i]; in StatsEntry2StatsRsp()
507 int lines = rqst.headLines ? rqst.headLines : rqst.tailLines; in HandleOutputRqst() local
509 int linesCountDown = lines; in HandleOutputRqst()
533 if (lines && (--linesCountDown) <= 0) { in HandleOutputRqst()
/base/print/print_fwk/test/fuzztest/scanhelper_fuzzer/
H A Dscanhelper_fuzzer.cpp257 int32_t lines = dataProvider->ConsumeIntegralInRange<int32_t>(0, MAX_SET_NUMBER); in TestSetLines() local
258 scanPara.SetLines(lines); in TestSetLines()
259 lines = scanPara.GetLines(); in TestSetLines()
273 int32_t lines = dataProvider->ConsumeIntegralInRange<int32_t>(0, MAX_SET_NUMBER); in TestScanParameters() local
274 scanPara.SetLines(lines); in TestScanParameters()
/foundation/CastEngine/castengine_wifi_display/tests/unittest/protocol/rtsp/
H A Drtsp_unit_test.cpp169 std::list<std::string> lines; in HWTEST_F() local
171 lines.push_front("key:12"); in HWTEST_F()
172 lines.push_front("key2:212"); in HWTEST_F()
173 lines.push_front("key3:3212"); in HWTEST_F()
174 RtspCommon::SplitParameter(lines, params); in HWTEST_F()
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
H A Divtvfb.c183 int lines; member
216 osd->lines = data[2]; in ivtvfb_get_osd_coords()
234 osd->lines, osd->x, osd->y); in ivtvfb_set_osd_coords()
569 ivtv_osd.lines = var->yres_virtual; in ivtvfb_set_var()
591 itv->yuv_info.osd_full_h = ivtv_osd.lines; in ivtvfb_set_var()
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/
H A Divtvfb.c183 int lines; member
216 osd->lines = data[2]; in ivtvfb_get_osd_coords()
234 osd->lines, osd->x, osd->y); in ivtvfb_set_osd_coords()
569 ivtv_osd.lines = var->yres_virtual; in ivtvfb_set_var()
591 itv->yuv_info.osd_full_h = ivtv_osd.lines; in ivtvfb_set_var()
/kernel/linux/linux-6.6/drivers/video/console/
H A Dvgacon.c80 static unsigned int vga_video_num_lines; /* Number of text lines */
137 static void vgacon_scrolldelta(struct vc_data *c, int lines) in vgacon_scrolldelta() argument
139 vc_scrolldelta_helper(c, lines, vga_rolled_over, (void *)vga_vram_base, in vgacon_scrolldelta()
962 maxscan = rows * fontheight - 1; /* Scan lines to actually display-1 */ in vgacon_adjust_height()
967 be OK for EGA text modes in the range 257-512 scan lines, so I in vgacon_adjust_height()
1108 enum con_scroll dir, unsigned int lines) in vgacon_scroll()
1116 if (!vga_hardscroll_enabled || lines >= c->vc_rows / 2) in vgacon_scroll()
1121 delta = lines * c->vc_size_row; in vgacon_scroll()
1107 vgacon_scroll(struct vc_data *c, unsigned int t, unsigned int b, enum con_scroll dir, unsigned int lines) vgacon_scroll() argument
/third_party/backends/backend/genesys/
H A Dgl842.cpp86 // EXPDMY[0:7]: Exposure time of dummy lines. in gl842_init_registers()
541 /* cis color scan is effectively a gray scan with 3 gray lines per color line and a FILTER of 0 */ in init_regs_for_scan_session()
572 dev->total_bytes_to_read = (size_t)session.output_line_bytes_requested * (size_t)session.params.lines; in init_regs_for_scan_session()
624 session.params.lines = settings.lines; in calculate_scan_session()
820 session.params.lines = calib_lines; in init_regs_for_shading()
915 session.params.lines = 1; in init_regs_for_warmup()

Completed in 63 milliseconds

1...<<31323334353637383940>>...55