Searched defs:nc (Results 1 - 25 of 92) sorted by relevance

1234

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dnewpad.c48 newpad(int l, int nc) argument
52 pad = newwin(l, nc, 0, 0);
H A D_subpad.c49 subpad(WINDOW *win, int l, int nc, int by, int bx) argument
51 return (derwin(win, l, nc, by, bx));
H A Dsubwin.c48 subwin(WINDOW *win, int l, int nc, int by, int bx) argument
50 return (derwin(win, l, nc, by - win->_begy, bx - win->_begx));
H A Dstart_col.c107 int i, nc; local
114 nc = (COLS / BITSPERBYTE) + (COLS % BITSPERBYTE ? 1 : 0);
115 if ((*marks = (char *)calloc((unsigned)nc * LINES,
126 *(marks + 1) = *marks + nc;
H A Dderwin.c51 * nl, nc: numbers of lines and columns
57 derwin(WINDOW *orig, int num_lines, int nc, int by, int bx) argument
68 (bx + nc) > orig->_maxx)
70 if (nc == 0)
71 nc = orig->_maxx - bx;
76 if ((win = _makenew(num_lines, nc, by + orig->_begy,
H A Dmbaddch.c149 int n, x, y, nc, m, len, nbyte, ty; local
156 nc = 0;
159 rc[nc++] = (char)(LBYTE(c)|MBIT);
162 rc[nc++] = (char)RBYTE(c);
167 for (n = 0; n < nc; ++n) {
H A Dnewscreen.c230 int i, nc; local
237 nc = (COLS / BITSPERBYTE) + (COLS % BITSPERBYTE ? 1 : 0);
238 if ((*marks = (char *)calloc((unsigned)nc * LINES,
242 *(marks + 1) = *marks + nc;
/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_misc.c63 __nis_netconfig2ep(struct netconfig *nc, endpoint *ep) { argument
65 if (nc == 0 || ep == 0)
68 ep->family = strdup(nc->nc_protofmly);
71 ep->proto = strdup(nc->nc_netid);
73 ep->proto = strdup(nc->nc_proto);
78 __nis_netconfig_matches_ep(struct netconfig *nc, endpoint *ep) { argument
80 if (nc == 0 || ep == 0)
83 if (strcmp(nc->nc_protofmly, ep->family) != 0)
87 return (strcmp(nc->nc_netid, ep->proto) == 0 ||
88 strcmp(nc
[all...]
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dnfs_netcfg.c49 NCONF_HANDLE *nc; local
56 if ((nc = setnetconfig()) == (NCONF_HANDLE *)NULL) {
62 while (nconf = getnetconfig(nc)) {
74 (void) endnetconfig(nc);
85 (void) endnetconfig(nc);
92 (void) endnetconfig(nc);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Deconvert.c44 int nc; local
69 nc = 3;
71 nc = 8;
77 nc = 3;
79 for (i = 0; i < nc; i++)
81 buf[nc] = 0;
98 int nc; local
127 nc = 3;
129 nc = 8;
135 nc
[all...]
H A Dqeconvert.c43 int nc; local
68 nc = 3;
70 nc = 8;
76 nc = 3;
78 for (i = 0; i < nc; i++)
80 buf[nc] = 0;
H A Dseconvert.c43 int nc; local
68 nc = 3;
70 nc = 8;
76 nc = 3;
78 for (i = 0; i < nc; i++)
80 buf[nc] = 0;
/illumos-gate/usr/src/cmd/lp/cmd/lptest/
H A Dlptest.c27 register int i, j, fc, nc; local
43 nc = fc;
45 putchar(nc);
46 if (++nc == 0177)
47 nc = ' ';
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_scheme.c79 int na, i, nc; local
94 nc = t->numColumns;
98 nc = 1;
120 if (index >= nc) {
123 myself, index, nc);
/illumos-gate/usr/src/lib/libtecla/common/
H A Dkeytab.h89 int nc; /* The number of characters in keyseq[] */ member in struct:__anon4092
132 int nc, KeySym **matches, int *nmatch);
H A Dkeytab.c72 char *binary, int *nc);
80 int nc, int *first, int *last);
265 int nc; /* The number of characters in binary[] */ local
299 if(_kt_parse_keybinding_string(keyseq, binary, &nc)) {
306 switch(_kt_locate_keybinding(kt, binary, nc, &first, &last)) {
368 sym->nc = nc;
393 * nc int the number of characters in keyseq[].
409 int nc, int *first, int *last)
422 test = _kt_compare_strings(kt->table[mid].keyseq, kt->table[mid].nc,
408 _kt_locate_keybinding(KeyTab *kt, const char *binary_keyseq, int nc, int *first, int *last) argument
482 _kt_lookup_keybinding(KeyTab *kt, const char *binary_keyseq, int nc, KeySym **matches, int *nmatch) argument
546 _kt_parse_keybinding_string(const char *keyseq, char *binary, int *nc) argument
[all...]
/illumos-gate/usr/src/ucblib/libcurses/
H A Dnewwin.c44 int i, by, bx, nl, nc; local
50 nc = num_cols;
54 if (nc == 0)
55 nc = COLS - bx;
56 if ((win = makenew(nl, nc, by, bx)) == NULL)
75 if ((win->_y[i] = malloc(nc * sizeof (win->_y[0]))) == NULL) {
85 for (sp = win->_y[i]; sp < win->_y[i] + nc; )
98 int by, bx, nl, nc; local
103 nc = num_cols;
109 fprintf(outf, "SUBWIN(%0.2o, %d, %d, %d, %d)\n", orig, nl, nc, b
158 int by, bx, nl, nc; local
[all...]
/illumos-gate/usr/src/uts/sun/io/audio/drv/audiocs/
H A Daudio_4231_apcdma.c349 uint32_t *nc; /* next count reg */ local
354 nc = &APC_DMAPNC;
358 nc = &APC_DMACNC;
376 ddi_put32(handle, nc, CS4231_FRAGSZ);
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_notify.c101 smb_notify_change_req_t *nc; local
119 nc = &sr->sr_ncr;
120 nc->nc_flags = CompletionFilter;
121 ASSERT(nc->nc_action == 0);
122 ASSERT(nc->nc_fname == NULL);
123 nc->nc_fname = kmem_zalloc(MAXNAMELEN, KM_SLEEP);
141 cv_wait(&nc->nc_cv, &sr->sr_mutex);
175 switch (nc->nc_action) {
189 nc->nc_action, nc
[all...]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dstable.c99 struct chunklst *cp, *nc; local
111 nc = NULL;
113 nc = cp->next;
116 cp = nc;
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_resolve.c132 NCONF_HANDLE *nc = NULL; local
208 NCONF_HANDLE *nc; local
214 nc = setnetpath();
215 if (nc == NULL)
218 while (nconf = getnetpath(nc)) {
254 endnetpath(nc);
255 if ((nc = setnetpath()) == NULL)
269 if (nc)
270 endnetpath(nc);
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dprocmap.c64 int nc);
93 int nc)
99 if (nc >= 0 && ept->ftype != 'i')
203 int nc; local
216 nc = cl_getn();
253 mapflag, nc)) {
91 procassign(struct cfent *ept, char **server_local, char **client_local, char **server_path, char **client_path, char **map_path, int mapflag, int nc) argument
/illumos-gate/usr/src/lib/libast/common/regex/
H A Dregdecomp.c87 unsigned char nc[2*UCHAR_MAX]; local
154 s = nc;
225 if ((t - ic + 1) < (s - nc + (nc[0] == '^')))
252 if (nc[0] == '^')
254 sfwrite(sp, nc + 1, s - nc - 1);
258 sfwrite(sp, nc, s - nc);
/illumos-gate/usr/src/lib/libxcurses/src/tabs/
H A Dtabs.c158 STATREF void mvcol ANSI((int oc, int nc));
301 int nc = 0; local
325 nc = (int) wcstol(p, &p, 0);
326 if (p == tablist || nc < 0) {
331 set_every(nc);
335 if (nc <= oc) {
344 oc = nc;
345 set_tab_at(nc);
346 nc = (int) wcstol(p, &p, 0);
347 } while (nc !
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmvcur.c179 simp_col(struct Sequence *outseq, int oc, int nc) argument
187 if (oc == nc)
194 if (oc < nc) {
198 /* Tabstop preceeding nc. */
199 tabstop = nc / init_tabs;
203 /* Set oc to tabstop before nc : oc <= nc. */
206 /* Distance from next tabstop to nc in columns. */
207 tabstop = init_tabs - nc % init_tabs;
210 dist = nc
[all...]

Completed in 88 milliseconds

1234