Home
last modified time | relevance | path

Searched refs:line_length (Results 1 – 25 of 45) sorted by relevance

12

/netbsd-src/usr.bin/indent/
H A Dpr_comment.c93 int line_length = opt.max_line_length; in analyze_comment() local
113 line_length = opt.block_comment_max_line_length; in analyze_comment()
128 if (ind + 25 > line_length) in analyze_comment()
129 line_length = ind + 25; in analyze_comment()
148 *p_line_length = line_length; in analyze_comment()
152 copy_comment_start(bool may_wrap, bool *delim, int line_length) in copy_comment_start() argument
161 if (*delim && fits_in_one_line(line_length)) in copy_comment_start()
171 copy_comment_wrap_text(int line_length, ssize_t *last_blank) in copy_comment_wrap_text() argument
182 if (ind >= line_length && *last_blank != -1) in copy_comment_wrap_text()
186 if (ind <= line_length) in copy_comment_wrap_text()
248 copy_comment_wrap_finish(int line_length,bool delim) copy_comment_wrap_finish() argument
277 copy_comment_wrap(int line_length,bool delim) copy_comment_wrap() argument
344 int line_length; process_comment() local
[all...]
/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dmyndbm.c223 int line_length; in mydbm_load_file() local
231 while ((line_length = getdelim (&line, &line_size, '\012', fp)) >= 0) in mydbm_load_file()
234 if (line_length > 0 && line[line_length - 1] == '\012') in mydbm_load_file()
237 --line_length; in mydbm_load_file()
238 line[line_length] = '\0'; in mydbm_load_file()
240 if (line_length > 0 && line[line_length - 1] == '\015') in mydbm_load_file()
246 --line_length; in mydbm_load_file()
247 line[line_length] = '\0'; in mydbm_load_file()
262 if (line_length > 0) in mydbm_load_file()
263 cp = &line[line_length - 1]; in mydbm_load_file()
[all …]
H A Dlogmsg.c201 int line_length; in do_editor() local
329 line_length = getline (&line, &line_chars_allocated, fp); in do_editor()
330 if (line_length == -1) in do_editor()
338 if (offset + line_length >= message_len) in do_editor()
340 offset + line_length + 1); in do_editor()
342 offset += line_length; in do_editor()
364 line_length = getline (&line, &line_chars_allocated, stdin); in do_editor()
365 if (line_length < 0) in do_editor()
373 else if (line_length == 0 in do_editor()
472 int line_length; in do_verify() local
[all …]
H A Dcvsrc.c41 int line_length; in read_cvsrc() local
93 while ((line_length = getline (&line, &line_chars_allocated, cvsrcfile)) in read_cvsrc()
109 if (line_length < 0 && !feof (cvsrcfile)) in read_cvsrc()
H A Dlogin.c289 int line_length; in password_entry_operation() local
320 while ((line_length = getline (&linebuf, &linebuf_len, fp)) >= 0) in password_entry_operation()
329 if (line_length < 0 && !feof (fp)) in password_entry_operation()
391 while ((line_length = getline (&linebuf, &linebuf_len, fp)) >= 0) in password_entry_operation()
417 if (line_length < 0 && !feof (fp)) in password_entry_operation()
H A Dentries.c276 int line_length; in fgetentent() local
282 while ((line_length = getline (&line, &line_chars_allocated, fpin)) > 0) in fgetentent()
379 if (line_length < 0 && !feof (fpin)) in fgetentent()
723 int line_length; in ParseTag() local
729 if ((line_length = getline (&line, &line_chars_allocated, fp)) > 0) in ParseTag()
732 if (line[line_length - 1] == '\n') in ParseTag()
733 line[--line_length] = '\0'; in ParseTag()
758 if (line_length < 0) in ParseTag()
H A Drelease.c239 int line_length, status; in release() local
258 while ((line_length = getline (&line, &line_allocated, fp)) >= 0) in release()
264 if (line_length < 0 && !feof (fp)) in release()
H A Dpatch.c402 int line_length; in patch_fileproc() local
755 while ((line_length in patch_fileproc()
759 if (line_length < 0 && !feof (fp)) in patch_fileproc()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/scripts/
H A Dcheck_lint.sh24 ASAN_LIT_TEST_LINT_FILTER=${ASAN_TEST_LINT_FILTER},-whitespace/line_length
27 TSAN_LIT_TEST_LINT_FILTER=${TSAN_TEST_LINT_FILTER},-whitespace/line_length
30 LSAN_LIT_TEST_LINT_FILTER=${LSAN_RTL_LINT_FILTER},-whitespace/line_length
/netbsd-src/sys/external/bsd/drm2/dist/drm/via/
H A Dvia_dmablit.c134 line_len = xfer->line_length; in via_map_blit_for_device()
777 if (xfer->num_lines <= 0 || xfer->line_length <= 0) { in via_build_sg_info()
789 if ((xfer->mem_stride - xfer->line_length) > 2*PAGE_SIZE) { in via_build_sg_info()
791 "Length: %d\n", xfer->mem_stride, xfer->line_length); in via_build_sg_info()
795 if ((xfer->mem_stride == xfer->line_length) && in via_build_sg_info()
796 (xfer->fb_stride == xfer->line_length)) { in via_build_sg_info()
798 xfer->line_length = xfer->mem_stride; in via_build_sg_info()
818 if (xfer->mem_stride < xfer->line_length || in via_build_sg_info()
819 abs(xfer->fb_stride) < xfer->line_length) { in via_build_sg_info()
/netbsd-src/external/gpl2/texinfo/dist/makeinfo/
H A Dindex.c765 unsigned line_length; in cm_printindex() local
810 line_length = 100; in cm_printindex()
811 line = xmalloc (line_length); in cm_printindex()
912 if (new_length > line_length) in cm_printindex()
914 line_length = new_length; in cm_printindex()
915 line = xrealloc (line, line_length); in cm_printindex()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dpretty-print.h102 int line_length; variable
132 buff->line_length = 0; in output_buffer_append_r()
134 buff->line_length++; in output_buffer_append_r()
H A Dpretty-print.c737 line_length (), in output_buffer()
1260 const int old_line_length = buffer->line_length; in pp_format()
1500 buffer->line_length = old_line_length; in pp_format()
1581 pp_buffer (pp)->line_length = 0; in pp_clear_output_area()
1727 if (pp_buffer (pp)->line_length == 0) in pp_append_text()
1758 return pp->maximum_length - pp_buffer (pp)->line_length; in pp_remaining_character_count_for_line()
1802 pp_buffer (pp)->line_length = 0; in pp_newline()
1819 ++pp_buffer (pp)->line_length; in pp_character()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dpretty-print.h102 int line_length; variable
132 buff->line_length = 0; in output_buffer_append_r()
134 buff->line_length++; in output_buffer_append_r()
H A Dpretty-print.cc737 line_length (), in output_buffer()
1260 const int old_line_length = buffer->line_length; in pp_format()
1500 buffer->line_length = old_line_length; in pp_format()
1581 pp_buffer (pp)->line_length = 0; in pp_clear_output_area()
1727 if (pp_buffer (pp)->line_length == 0) in pp_append_text()
1758 return pp->maximum_length - pp_buffer (pp)->line_length; in pp_remaining_character_count_for_line()
1802 pp_buffer (pp)->line_length = 0; in pp_newline()
1819 ++pp_buffer (pp)->line_length; in pp_character()
/netbsd-src/lib/libedit/
H A Dchared.c638 size_t line_length, len; in el_deletestr1() local
644 line_length = (size_t)(el->el_line.lastchar - el->el_line.buffer); in el_deletestr1()
646 if (start >= (int)line_length || end >= (int)line_length) in el_deletestr1()
650 if (len > line_length - (size_t)end) in el_deletestr1()
651 len = line_length - (size_t)end; in el_deletestr1()
/netbsd-src/external/gpl2/groff/dist/src/roff/troff/
H A Denv.h119 void line_length();
151 hunits line_length; variable
374 friend void line_length();
H A Denv.cpp620 line_length((units_per_inch*13)/2), in environment()
708 line_length(e->line_length), in environment()
793 line_length = e->line_length; in copy()
898 return line_length; in get_line_length()
906 return line_length; in get_saved_line_length()
1351 void line_length() in line_length() function
1354 if (has_arg() && get_hunits(&temp, 'm', curenv->line_length)) { in line_length()
1362 curenv->prev_line_length = curenv->line_length; in line_length()
1363 curenv->line_length = temp; in line_length()
1772 hunits d = line_length + margin_character_distance - saved_indent - width; in output_line()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_fb.c245 ((dst_y1 + par->fb_y) * info->fix.line_length + in vmw_fb_dirty_flush()
251 src_ptr += info->fix.line_length; in vmw_fb_dirty_flush()
345 y1 = min / info->fix.line_length; in vmw_deferred_io()
346 y2 = (max / info->fix.line_length) + 1; in vmw_deferred_io()
708 info->fix.line_length = fb_pitch; in vmw_fb_init()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/
H A Dnouveau_nv50_fbcon.c245 OUT_RING(chan, info->fix.line_length); in nv50_fbcon_accel_init()
254 OUT_RING(chan, info->fix.line_length); in nv50_fbcon_accel_init()
H A Dnouveau_nvc0_fbcon.c245 OUT_RING (chan, info->fix.line_length); in nvc0_fbcon_accel_init()
256 OUT_RING (chan, info->fix.line_length); in nvc0_fbcon_accel_init()
H A Dnouveau_nv04_fbcon.c220 OUT_RING(chan, info->fix.line_length | (info->fix.line_length << 16)); in nv04_fbcon_accel_init()
/netbsd-src/sys/external/mit/xen-include-public/dist/xen/include/public/io/
H A Dfbif.h138 uint32_t line_length; /* the length of a row of pixels (in bytes) */ member
/netbsd-src/external/bsd/wpa/dist/src/wps/
H A Dwps_upnp_ssdp.c92 static int line_length(const char *l) in line_length() function
529 data += line_length(data); in ssdp_parse_msearch()
532 for (; *data != '\0'; data += line_length(data)) { in ssdp_parse_msearch()
/netbsd-src/external/mpl/bind/dist/lib/dns/include/dns/
H A Dmasterdump.h348 unsigned int rdata_column, unsigned int line_length,

12