Home
last modified time | relevance | path

Searched refs:linewidth (Results 1 - 9 of 9) sorted by relevance

/third_party/python/Lib/idlelib/idle_test/
H A Dtest_squeezer.py36 def check(self, expected, text, linewidth):
39 count_lines_with_wrapping(text, linewidth),
59 self.check(expected=1, text='\n', linewidth=80)
60 self.check(expected=2, text='\n\n', linewidth=80)
61 self.check(expected=10, text='\n' * 10, linewidth=80)
64 self.check(expected=3, text='a' * 200, linewidth=80)
65 self.check(expected=3, text='a' * 200 + '\n', linewidth=80)
74 self.check(expected=5, text=text, linewidth=80)
75 self.check(expected=5, text=text + '\n', linewidth=80)
76 self.check(expected=6, text=text, linewidth
[all...]
/third_party/python/Lib/idlelib/
H A Dsqueezer.py28 def count_lines_with_wrapping(s, linewidth=80):
32 linewidth characters long.
51 if current_column > linewidth:
52 # If the current column was exactly linewidth, divmod
55 # multiple of linewidth. Therefore, subtract 1 before
57 linecount += (current_column - 1) // linewidth
66 if current_column > linewidth:
74 # Avoid divmod(-1, linewidth).
76 linecount += (current_column - 1) // linewidth
284 over linewidth character
[all...]
/third_party/backends/backend/
H A Dmicrotek.c1007 uint8_t letter, int linewidth) in download_calibration()
1009 DBG(23, ".download_calibration... %c %d\n", letter, linewidth); in download_calibration()
1014 comm[3] = (linewidth >> 8) & 0xFF; in download_calibration()
1015 comm[4] = linewidth & 0xFF; in download_calibration()
1026 return sanei_scsi_cmd(ms->sfd, comm, 6 + linewidth, 0, 0); in download_calibration()
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()
2349 input = calloc(STRIPS * 3 * linewidth, sizeof(input[0])); in do_real_calibrate()
2350 combuff = calloc(linewidth + 6, sizeof(combuff[0])); in do_real_calibrate()
2359 nmax = SCSI_BUFF_SIZE / (3 * linewidth); in do_real_calibrate()
1006 download_calibration(Microtek_Scanner *ms, uint8_t *comm, uint8_t letter, int linewidth) download_calibration() argument
2426 SANE_Int busy, linewidth, lines; do_precalibrate() local
2948 SANE_Int busy, linewidth, remaining; read_from_scanner() local
3848 SANE_Int busy, linewidth; sane_start_guts() local
[all...]
/third_party/notofonts/scripts/
H A Dissue-stats.py117 linewidth=3, variable
125 linewidth=3, variable
/third_party/node/deps/v8/tools/ignition/
H A Dbytecode_dispatches_report.py157 linewidth=0.5
/third_party/littlefs/scripts/
H A Dplotmpl.py678 plt.rc('patch', linewidth=0)
683 plt.rc('grid', linewidth=1)
762 # we need a linewidth to keep xkcd mode happy
763 linewidth=8 if xkcd else 0)
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_rasterizer.c252 rast->linewidth = MAX2(1.0F, templ->line_width); in svga_create_rasterizer_state()
H A Dsvga_state_rss.c253 EMIT_RS_FLOAT(svga, curr->linewidth, LINEWIDTH); in emit_rss_vgpu9()
H A Dsvga_context.h206 float linewidth; member

Completed in 15 milliseconds