Searched refs:line_length (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-9.3-release/usr.sbin/pkg_install/lib/
H A Dstr.c66 size_t line_length; local
68 line_length = strlen(str) + 2;
69 if ((copy = malloc(line_length)) == NULL)
71 memcpy(copy, str, line_length - 2);
72 copy[line_length - 2] = '\n'; /* Adds trailing \n */
73 copy[line_length - 1] = '\0';
/freebsd-9.3-release/contrib/tcp_wrappers/
H A Dsafe_finger.c57 int line_length = 0; local
103 line_length = 0;
105 if (line_length >= LINE_LENGTH) { /* force end of line */
107 line_length = 0;
109 if (line_length == 0) { /* protect left margin */
111 line_length++;
116 line_length++;
119 line_length++;
122 line_length += 4;
/freebsd-9.3-release/contrib/cvs/src/
H A Dmyndbm.c219 int line_length; local
227 while ((line_length =
231 if (line_length > 0 && line[line_length - 1] == '\012')
234 --line_length;
235 line[line_length] = '\0';
237 if (line_length > 0 && line[line_length - 1] == '\015')
243 --line_length;
244 line[line_length]
[all...]
H A Dcvsrc.c45 int line_length; local
97 while ((line_length = getline (&line, &line_chars_allocated, cvsrcfile))
113 if (line_length < 0 && !feof (cvsrcfile))
H A Dlogmsg.c200 int line_length; local
339 line_length = getline (&line, &line_chars_allocated, fp);
340 if (line_length == -1)
348 if (offset + line_length >= message_len)
350 offset + line_length + 1);
352 offset += line_length;
374 line_length = getline (&line, &line_chars_allocated, stdin);
375 if (line_length < 0)
383 else if (line_length == 0
511 int line_length; local
[all...]
H A Drelease.c195 int line_length, status; local
209 while ((line_length = getline (&line, &line_allocated, fp)) >= 0)
215 if (line_length < 0 && !feof (fp))
H A Dlogin.c291 int line_length; local
322 while ((line_length = getline (&linebuf, &linebuf_len, fp)) >= 0)
331 if (line_length < 0 && !feof (fp))
394 while ((line_length = getline (&linebuf, &linebuf_len, fp)) >= 0)
420 if (line_length < 0 && !feof (fp))
H A Dentries.c310 int line_length; local
316 while ((line_length = getline (&line, &line_chars_allocated, fpin)) > 0)
413 if (line_length < 0 && !feof (fpin))
811 int line_length; local
817 if ((line_length = getline (&line, &line_chars_allocated, fp)) > 0)
820 if (line[line_length - 1] == '\n')
821 line[--line_length] = '\0';
846 if (line_length < 0)
H A Dpatch.c409 int line_length; local
740 while ((line_length
744 if (line_length < 0 && !feof (fp))
/freebsd-9.3-release/contrib/ee/
H A Dee.c127 int line_length; /* actual number of characters in the line */ member in struct:text
566 dlt_line->line_length = 0;
569 curr_line->line_length = 1;
706 if ((curr_line->max_length - curr_line->line_length) < 5)
708 curr_line->line_length++;
711 while (counter < curr_line->line_length) /* find end of line */
769 draw_line(scr_vert, scr_horz, point, position, curr_line->line_length);
795 curr_line->line_length -= del_width;
812 while (temp_pos <= curr_line->line_length)
830 point = resiz_line(temp_buff->line_length, curr_lin
[all...]
/freebsd-9.3-release/contrib/gcc/
H A Dpretty-print.c153 pp->buffer->line_length += length;
548 buffer->line_length = 0;
563 gcc_assert (buffer->line_length == 0);
618 pp->buffer->line_length = 0;
699 if (pp->buffer->line_length == 0)
736 return pp->maximum_length - pp->buffer->line_length;
781 pp->buffer->line_length = 0;
796 ++pp->buffer->line_length;
H A Dpretty-print.h94 int line_length; member in struct:__anon1195
/freebsd-9.3-release/sys/xen/interface/io/
H A Dfbif.h138 uint32_t line_length; /* the length of a row of pixels (in bytes) */ member in struct:xenfb_page
/freebsd-9.3-release/sys/dev/drm/
H A Dvia_dmablit.c112 line_len = xfer->line_length;
568 if (xfer->num_lines <= 0 || xfer->line_length <= 0) {
579 if ((xfer->mem_stride - xfer->line_length) > 2 * PAGE_SIZE) {
581 "Length: %d\n", xfer->mem_stride, xfer->line_length);
585 if ((xfer->mem_stride == xfer->line_length) &&
586 (xfer->fb_stride == xfer->line_length)) {
588 xfer->line_length = xfer->mem_stride;
607 if (xfer->mem_stride < xfer->line_length ||
608 abs(xfer->fb_stride) < xfer->line_length) {
H A Dvia_drm.h265 u32 line_length; member in struct:drm_via_dmablit
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/
H A Dmasterdump.h363 unsigned int line_length, unsigned int tab_width,
370 unsigned int line_length, unsigned int tab_width,
/freebsd-9.3-release/usr.sbin/pkg_install/info/
H A Dshow.c73 size_t line_length = strlen(line); local
75 if (line[line_length - 1] != '\n') { /* Do we have a trailing \n ? */
76 line[line_length] = '\n'; /* Add a trailing \n */
77 line[line_length + 1] = '\0'; /* Terminate string */
/freebsd-9.3-release/contrib/texinfo/makeinfo/
H A Dindex.c745 unsigned line_length;
790 line_length = 100;
791 line = xmalloc (line_length);
892 if (new_length > line_length)
894 line_length = new_length;
895 line = xrealloc (line, line_length);
739 unsigned line_length; local
/freebsd-9.3-release/contrib/groff/src/roff/troff/
H A Denv.h117 void line_length();
149 hunits line_length; member in class:environment
372 friend void line_length();
H A Denv.cpp618 line_length((units_per_inch*13)/2),
706 line_length(e->line_length),
791 line_length = e->line_length;
896 return line_length;
904 return line_length;
1349 void line_length() function
1352 if (has_arg() && get_hunits(&temp, 'm', curenv->line_length)) {
1360 curenv->prev_line_length = curenv->line_length;
[all...]
/freebsd-9.3-release/contrib/wpa/src/wps/
H A Dwps_upnp_ssdp.c89 static int line_length(const char *l) function
103 const char *lp = l + line_length(l);
541 data += line_length(data);
544 for (; *data != '\0'; data += line_length(data)) {
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Darchive_read_support_format_tar.c1198 size_t attr_length, l, line_length; local
1213 line_length = 0;
1227 line_length *= 10;
1228 line_length += *p - '0';
1229 if (line_length > 999999) {
1243 if (line_length > attr_length
1244 || line_length < 1
1245 || attr[line_length - 1] != '\n')
1253 attr[line_length - 1] = '\0';
1276 attr += line_length;
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dmasterdump.c75 unsigned int line_length; member in struct:dns_master_style
566 ctx->style.line_length -
1896 unsigned int line_length, unsigned int tab_width,
1901 rdata_column, line_length,
1909 unsigned int line_length, unsigned int tab_width,
1924 style->line_length = line_length;
1893 dns_master_stylecreate(dns_master_style_t **stylep, unsigned int flags, unsigned int ttl_column, unsigned int class_column, unsigned int type_column, unsigned int rdata_column, unsigned int line_length, unsigned int tab_width, isc_mem_t *mctx) argument
1906 dns_master_stylecreate2(dns_master_style_t **stylep, unsigned int flags, unsigned int ttl_column, unsigned int class_column, unsigned int type_column, unsigned int rdata_column, unsigned int line_length, unsigned int tab_width, unsigned int split_width, isc_mem_t *mctx) argument
/freebsd-9.3-release/contrib/groff/src/devices/grohtml/
H A Dhtml-text.cpp697 int line_length, int space)
704 ind = new html_indent(op, indentation_value, page_offset, line_length);
695 do_para(simple_output *op, const char *arg1, int indentation_value, int page_offset, int line_length, int space) argument
/freebsd-9.3-release/sys/dev/bktr/
H A Dbktr_core.c2608 bktr->line_length = width;
2632 if (bktr->line_length == 0 ||
2633 bktr->current_col >= bktr->line_length) return FALSE;
2635 bktr->y = min(bktr->last_y, bktr->line_length);
2636 bktr->y2 = bktr->line_length;
2643 bktr->y = min(bktr->last_y, bktr->line_length);
2644 bktr->y2 = min(clip_node->y_min, bktr->line_length);
2645 bktr->yclip = min(clip_node->y_min, bktr->line_length);
2646 bktr->yclip2 = min(clip_node->y_max, bktr->line_length);
2654 bktr->yclip2 = min(clip_node->y_max, bktr->line_length);
[all...]

Completed in 320 milliseconds

12