Searched defs:left (Results 1 - 25 of 63) sorted by relevance

123

/osnet-11/usr/src/lib/libcurses/screen/
H A Dslk_set.c54 * f: 0, 1, 2 for left, center, right-justification
61 int len, slklen = slk->_len, left; local
85 left = 0;
87 left = (slklen - len) / ((f == 1) ? 2 : 1);
89 (void) memcpy(nlab + left, lab, len);
H A Doverlap.c56 top, bottom, left, right; local
72 left = _MAX(sbx, dbx); right = _MIN(sex, dex);
74 sby = top - sby; sbx = left - sbx;
76 dby = top - dby; dbx = left - dbx;
H A Dslk_start.c218 int i, k, n, spread, left, begadd; local
229 left = (COLS-(n + 1)) % (_ngroups - 1);
230 begadd = (_ngroups / 2) - (left / 2);
236 if (left > 0 && i > begadd) {
238 left--;
/osnet-11/usr/src/lib/libeti/menu/common/
H A Dlink.c44 int left, up; local
69 /* Set up left and right links at edge of menu */
73 left = n + r;
74 if (left >= Nitems(m)) {
75 left -= Rows(m);
77 Left(IthItem(m, n)) = IthItem(m, left);
78 Right(IthItem(m, left)) = IthItem(m, n);
101 int left, up; local
134 /* Setup left and right links at edge of menu */
137 left
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dstrlcat.c44 size_t left = dstsize; local
49 while (left-- != 0 && *df != '\0')
/osnet-11/usr/src/lib/libresolv2/include/isc/
H A Dtree.h44 struct tree_s *left, *right; member in struct:tree_s
/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dkeyfile.c111 size_t left = filesize; local
114 for (/* */; left > 0; marker += nread, left -= nread) {
116 nread = read(fd, marker, left);
136 filesize -= left;
H A Drandom.c105 size_t left = dlen; local
108 for (err = 0; left > 0 && nread != -1; marker += nread, left -= nread) {
109 if ((nread = read(fd, marker, left)) < 0) {
120 return (err != 0 ? err : dlen - left);
130 size_t left = dlen; local
133 for (err = 0; left > 0 && nwrite != -1; marker += nwrite,
134 left -= nwrite) {
135 if ((nwrite = write(fd, marker, left)) < 0) {
146 return (err != 0 ? err : dlen - left);
[all...]
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_realpath.c74 * in which case the path which caused trouble is left in (resolved).
88 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; local
98 left_len = strlcpy(left, path + 1, sizeof (left));
105 left_len = strlcpy(left, path, sizeof (left));
107 if (left_len >= sizeof (left) || resolved_len >= PATH_MAX) {
113 * Iterate over path components in `left'.
117 * Extract the next path component and adjust `left'
120 p = strchr(left, '/');
[all...]
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dbitmap.c63 s64 bufsize, br, left = count; local
100 while ((bit & 7) && left--) {
110 /* Loop until @left reaches zero. */
113 bit = left & 7;
116 if (left > 0 && bit) {
117 lastbyte_pos = ((left + 7) >> 3) + firstbyte;
130 br = ntfs_attr_pread(na, (start_bit + left) >>
142 while (bit && left--) {
177 left -= tmp;
178 if (bufsize > (tmp = (left
[all...]
/osnet-11/usr/src/cmd/ldap/common/
H A Dldaptool.h209 struct Element *left; member in struct:Element
/osnet-11/usr/src/lib/libast/common/cdt/
H A Ddthdr.h42 #define left hl._left macro
68 #define rrotate(x,y) ((x)->left = (y)->right, (y)->right = (x))
69 #define lrotate(x,y) ((x)->right = (y)->left, (y)->left = (x))
70 #define rlink(r,x) ((r) = (r)->left = (x) )
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dtimers.c91 static double left; local
93 left = 0;
144 if(tpmin && (left==0 || (tp && tpmin->wakeup < (now+left))))
146 if(left==0)
148 left = setalarm(tpmin->wakeup-now);
149 if(left && (now+left) < tpmin->wakeup)
150 setalarm(left);
152 left
[all...]
/osnet-11/usr/src/lib/libeti/form/common/
H A Dchg_field.c107 /* left - return active field on page left of f */
109 left(FIELD *f) function
238 return (_set_current_field(f, left(C(f))));
H A Dfieldtype.c49 #define TypeL(t) ((t)->left)
67 (FIELDTYPE *) 0, /* left */
96 link_fieldtype(FIELDTYPE *left, FIELDTYPE *right) argument
100 if ((left || right) && Alloc(t, FIELDTYPE)) {
105 if (Status(left, ARGS) || Status(right, ARGS))
108 if (Status(left, CHOICE) || Status(right, CHOICE))
111 TypeL(t) = left;
113 IncrType(left); /* increment reference count */
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcontext.c81 /* Return expired if there is no time left */
178 OM_uint32 *time_rec, /* Amount of time left */
200 /* set t to be the time left on the context */
238 /* return GSS_S_CONTEXT_EXPIRED if no time is left on the context */
277 OM_uint32 left; local
283 if ((major = stat | __dh_gss_context_time(minor, context, &left))
321 /* This is the amount of space left to put our message. */
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dirp.c285 int left = len - 1; local
287 while (left > 0) {
333 if (i > left)
334 i = left;
341 left = 0;
343 left -= i;
/osnet-11/usr/src/lib/libshell/common/edit/
H A Dcompletion.c298 char *cp=begin, *left=0, *saveout="."; local
387 left=stakcopy(out);
474 if(left)
475 out = strcopy(out,left);
/osnet-11/usr/src/lib/libcpc/sparc/
H A Devent_ultra.c436 cpc_event_diff(cpc_event_t *diff, cpc_event_t *left, cpc_event_t *right) argument
438 diff->ce_hrt = left->ce_hrt;
439 diff->ce_tick = left->ce_tick - right->ce_tick;
440 diff->ce_pic[0] = left->ce_pic[0] - right->ce_pic[0];
441 diff->ce_pic[1] = left->ce_pic[1] - right->ce_pic[1];
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_subr.c241 ssize_t left; local
246 if (buflen == 0 || (left = buflen - *sz) < 0)
247 left = 0;
249 if (buf != NULL && left != 0)
253 *sz += snprintf(buf, left, "%s", str);
255 *sz += snprintf(buf, left, "%s%s", prepend, str);
257 *sz += snprintf(buf, left, "%s%s", str, append);
259 *sz += snprintf(buf, left, "%s%s%s", prepend, str, append);
/osnet-11/usr/src/cmd/sendmail/src/
H A Dsfsasl.c587 time_t left; local
608 left = timeout - (now - tlsstart);
609 if (left <= 0)
611 tv.tv_sec = left;
/osnet-11/usr/src/cmd/sendmail/db/include/
H A Dbtree_auto.h49 db_pgno_t left; member in struct:_bam_split_args
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dmvcur.c184 static t_steps left = { __MOVE_BACK_TAB, __MOVE_LEFT, __MOVE_RIGHT }; local
211 dir = &left;
297 /* try out parameterized left or right motion */
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmvcur.c181 static t_steps left = { __MOVE_BACK_TAB, __MOVE_LEFT, __MOVE_RIGHT }; local
208 dir = &left;
295 /* try out parameterized left or right motion */
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dtest.c461 int test_binop(Shell_t *shp,register int op,const char *left,const char *right) argument
466 while(*left=='0')
467 left++;
470 lnum = sh_arith(shp,left);
478 return(*left!=0);
480 return(test_strmatch(left, right));
482 return(!test_strmatch(left, right));
484 return(strcoll(left, right)>0);
486 return(strcoll(left, right)<0);
488 return(strcmp(left, righ
[all...]

Completed in 78 milliseconds

123