Searched refs:nc (Results 1 - 25 of 32) sorted by relevance

12

/haiku-fatelf/src/bin/bash/include/
H A Docache.h58 int nc; /* number of cache entries */ member in struct:objcache
66 (c).nc = 0; \
75 (c).cs = (c).nc = 0; \
81 while ((c).nc > 0) \
82 xfree (((otype **)((c).data))[--(c).nc]); \
92 if ((c).nc > 0) { \
93 (r) = (otype *)((otype **)((c).data))[--(c).nc]; \
105 if ((c).nc < (c).cs) { \
107 ((otype **)((c).data))[(c).nc++] = (r); \
/haiku-fatelf/src/add-ons/input_server/methods/canna/rk/
H A Dpermdic.c50 static int readThisCache(struct DM *dm, struct ND *xdm, long pgno, unsigned long val, WCHAR_T *key, int cur, int ylen, struct nread *nread, int mc, int nc, int *cf);
51 static int SearchInPage(struct DM *dm, struct ND *xdm, long pgno, unsigned char *buf, unsigned long val, WCHAR_T *key, int cur, int ylen, struct nread *nread, int mc, int nc, int *cf);
52 static int SearchInDir(struct DM *dm, struct ND *xdm, unsigned char *pos, WCHAR_T *key, int cur, int ylen, struct nread *nread, int mc, int nc, int *cf);
418 int readThisCache(struct DM *dm, struct ND *xdm, long pgno, unsigned long val, WCHAR_T *key, int cur, int ylen, struct nread *nread, int mc, int nc, int *cf) argument
431 else if (nc < mc) {
432 nread[nc].cache = _RkReadCache(dm, (long)wrec);
433 if (nread[nc].cache) {
434 if (_RkGetLink(xdm, pgno, val, &nread[nc].offset, &nread[nc].csn) < 0) {
435 _RkDerefCache(nread[nc]
450 SearchInPage(struct DM *dm, struct ND *xdm, long pgno, unsigned char *buf, unsigned long val, WCHAR_T *key, int cur, int ylen, struct nread *nread, int mc, int nc, int *cf) argument
484 SearchInDir(struct DM *dm, struct ND *xdm, unsigned char *pos, WCHAR_T *key, int cur, int ylen, struct nread *nread, int mc, int nc, int *cf) argument
589 int nc, cf = 0, ret = -1; local
[all...]
H A Dngram.c48 static struct TW *RkWcand2Wrec(Wrec *key, struct RkWcand *wc, int nc, unsigned long *lucks);
214 int nc; local
216 nc = (wrec)[1] & 0x07;
218 nc |= ((wrec[3] << 3) & 0x0ff8);
219 return(nc);
414 unsigned wreclen, wlen, ylen, nc; local
426 if (!(nc = wstowrec(gram, src, localbuffer, RK_WREC_BMAX/sizeof(WCHAR_T),
439 dst = fil_wc2wrec_flag(dst, &wreclen, nc, src, ylen, left);
457 unsigned wreclen, wlen, ylen, nc; local
464 nc
729 int i, l, nc, ns = 0; local
776 RkWcand2Wrec(Wrec *key, struct RkWcand *wc, int nc, unsigned long *lucks) argument
903 int nc1, nc2, nc, ylen; local
950 int nc1, nc2, nc; local
[all...]
H A Dtempdic.c555 int nc = 0; local
578 else if (nc < maxcache) {
579 nread[nc].cache = _RkReadCache(dm, (long)tn->tn_word);
580 if (nread[nc].cache) {
581 nread[nc].nk = l;
582 nread[nc].csn = 0L;
583 nread[nc].offset = 0L;
584 nc++;
590 return nc;
606 else if (nc < maxcach
[all...]
H A Dnword.c401 int c, nc, num, cf = 0, nl; local
409 nc = DST_SEARCH(cx, dm, key, ye, nread, maxcache, &cf);
410 for (c = 0; c < nc; c++) {
512 maxcache -= nc;
/haiku-fatelf/src/system/libroot/posix/stdlib/
H A Dradixsort.c133 static int nc; local
162 if (nc == 0) {
169 nc++;
172 if (sp + nc > s + SIZE) { /* Get more stack. */
193 for (cp = count + bmin; nc > 0; cp++) {
204 nc--;
232 static u_int nc; local
250 if (nc == 0) {
257 nc++;
260 if (sp + nc >
[all...]
/haiku-fatelf/src/bin/bash/lib/sh/
H A Dcasemod.c103 int inword, c, nc, nop, match, usewords; local
202 case CASE_NOOP: nc = wc; break;
203 case CASE_UPPER: nc = TOUPPER (wc); break;
204 case CASE_LOWER: nc = TOLOWER (wc); break;
206 case CASE_TOGGLE: nc = TOGGLE (wc); break;
208 ret[start] = nc;
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sched_yield/
H A D1-1.c132 int i=0, nc; local
140 nc = nb_call;
146 if(nc == nb_call) {
/haiku-fatelf/src/bin/gdb/gdb/mi/
H A Dmi-cmd-var.c486 int nc; local
488 nc = varobj_update (&var, &changelist);
490 /* nc == 0 means that nothing has changed.
491 nc == -1 means that an error occured in updating the variable.
492 nc == -2 means the variable has changed type. */
494 if (nc == 0)
496 else if (nc == -1)
506 else if (nc == -2)
/haiku-fatelf/src/add-ons/input_server/methods/canna/lib/
H A Duiutil.c191 allocMenu(int n, int nc) argument
199 wctab = (WCHAR_T *)malloc(sizeof(WCHAR_T) * nc);
222 int i, nc, len, n = eucmenu->ni; local
237 for (i = 0, nc = 0 ; i < n ; i++) {
239 nc += len + 1;
242 res = allocMenu(n, nc);
H A Dcanna.h1150 menustruct *allocMenu(int n, int nc);
/haiku-fatelf/src/bin/bash/builtins/
H A Devalstring.c364 int code, nc; local
444 nc = bash_input.location.string - ostring;
453 return (nc);
/haiku-fatelf/src/bin/gdb/opcodes/
H A Dh8500-dis.c301 int nc = 0; local
308 if (nc)
310 nc = 1;
/haiku-fatelf/src/libs/ncurses/ncurses/base/
H A DMKlib_gen.sh115 /^P_/b nc
116 /(void)/b nc
136 :nc
/haiku-fatelf/src/add-ons/translators/hpgs/lib/
H A Dhpgsreader.c848 int nc; local
855 nc = hpgs_utf8_strlen(stamp,-1);
857 nc = l;
871 double ratio = (n * nc + (n-1) - 0.1) * 0.8;
879 if (nc<=0) return 0;
881 space_vec.x = (a-ah) / (n * nc + (n-1));
882 space_vec.y = (b-bh) / (n * nc + (n-1));
894 a = space_vec.x * (nc+1);
895 b = space_vec.y * (nc+1);
/haiku-fatelf/src/libs/ncurses/tack/
H A Dedit.c669 int i, j, nc, flag; local
674 nc = 0;
677 nx[nc++] = boolnames[i];
682 nx[nc++] = numnames[i];
687 nx[nc++] = strnames[i];
691 for (i = 0; i < nc - 1; i++) {
692 for (j = i + 1; j < nc; j++) {
710 for (i = 0; i < nc; i++) {
/haiku-fatelf/src/libs/print/libgutenprint/src/main/
H A Ddither-inks.c131 stpi_dither_channel_t *nc = local
141 memcpy(nc, d->channel, sizeof(stpi_dither_channel_t) * old_place);
147 memcpy(nc + old_place + increment, d->channel + old_place,
152 d->channel = nc;
/haiku-fatelf/src/add-ons/media/media-add-ons/finepix_webcam/FinePixJpeg/
H A Dfinepix-jpeg.c125 int nc; /* number of components */ member in struct:jpginfo
277 info.nc = getbyte();
278 if (info.nc > MAXCOMP)
280 for (i = 0; i < info.nc; i++) {
305 for (j = 0; j < info.nc; j++)
308 if (j == info.nc)
/haiku-fatelf/src/bin/network/telnetd/
H A Dstate.c135 int nc = *netip; local
138 nc = (*decrypt_input)(nc & 0xff);
145 if (linemode && (ncc > 0) && (('\n' == nc) ||
146 ((0 == nc) && tty_iscrnl())) ) {
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/
H A DImfHuf.cpp233 Int64 nc = ((c + n[i]) >> 1); local
235 c = nc;
/haiku-fatelf/src/bin/bash/lib/readline/
H A Dtext.c1245 int inword, c, nc, nop; local
1296 nc = (nop == UpCase) ? _rl_to_upper (c) : _rl_to_lower (c);
1297 rl_line_buffer[start] = nc;
/haiku-fatelf/src/bin/bash/
H A Dparse.y3589 int orig_ind, nc, sflags;
3625 nc = ep - ostring;
3637 if (nc == 0)
3643 ret = substring (ostring, 0, nc - 1);
/haiku-fatelf/src/libs/agg/gpc/
H A Dgpc.c731 int nc, nv; local
734 for (nc= 0; polygon; polygon= polygon->next)
746 nc++;
759 return nc;
/haiku-fatelf/src/libs/ncurses/include/
H A DCaps.osf1r5820 no_correctly_working_cr OTnc bool nc - - YBCG- no way to go to start of line
H A DCaps.uwin636 no_correctly_working_cr OTnc bool nc - - YBCG- no way to go to start of line

Completed in 387 milliseconds

12