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

/freebsd-10-stable/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-10-stable/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-10-stable/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-10-stable/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:__anon1177
/freebsd-10-stable/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-10-stable/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-10-stable/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-10-stable/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-10-stable/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-10-stable/contrib/wpa/src/wps/
H A Dwps_upnp_ssdp.c89 static int line_length(const char *l) function
533 data += line_length(data);
536 for (; *data != '\0'; data += line_length(data)) {
/freebsd-10-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_ethtool.c542 int line_length = 16; local
548 for (index_in_row = 0; index_in_row < line_length; index_in_row++) {
561 for (index_in_row = 0; index_in_row < line_length; index_in_row++) {
/freebsd-10-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_tar.c1585 size_t attr_length, l, line_length, value_length; local
1603 line_length = 0;
1617 line_length *= 10;
1618 line_length += *p - '0';
1619 if (line_length > 999999) {
1633 if (line_length > attr_length
1634 || line_length < 1
1635 || attr[line_length - 1] != '\n')
1643 attr[line_length - 1] = '\0';
1661 value_length = attr + line_length
[all...]
/freebsd-10-stable/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-10-stable/sys/dev/bktr/
H A Dbktr_core.c2611 bktr->line_length = width;
2635 if (bktr->line_length == 0 ||
2636 bktr->current_col >= bktr->line_length) return FALSE;
2638 bktr->y = min(bktr->last_y, bktr->line_length);
2639 bktr->y2 = bktr->line_length;
2646 bktr->y = min(bktr->last_y, bktr->line_length);
2647 bktr->y2 = min(clip_node->y_min, bktr->line_length);
2648 bktr->yclip = min(clip_node->y_min, bktr->line_length);
2649 bktr->yclip2 = min(clip_node->y_max, bktr->line_length);
2657 bktr->yclip2 = min(clip_node->y_max, bktr->line_length);
[all...]
H A Dbktr_reg.h665 int line_length; member in struct:bktr_softc
/freebsd-10-stable/contrib/ntp/sntp/libevent/
H A Dhttp.c1889 size_t line_length; local
1891 line = evbuffer_readln(buffer, &line_length, EVBUFFER_EOL_CRLF);
1901 line_length > req->evcon->max_headers_size) {
1906 req->headers_size = line_length;
1963 size_t line_length; local
1964 while ((line = evbuffer_readln(buffer, &line_length, EVBUFFER_EOL_CRLF))
1968 req->headers_size += line_length;
/freebsd-10-stable/contrib/subversion/subversion/libsvn_fs_fs/
H A Dtransaction.c966 apr_size_t line_length;
975 line_length = svn__ui64tobase36(new_id_str, cb->txn_number+1);
976 new_id_str[line_length] = '\n';
981 line_length + 1,
965 apr_size_t line_length; local

Completed in 173 milliseconds