/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | cd9660.c | 259 * Note that this will find the first instead of the last version 283 int rc, first, use_rrip, lenskip; local 312 first = 1; 344 if (first) 348 first ? 0 : lenskip)) { 349 first = 0; 352 first = 0; 383 if (first) {
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_sbd.c | 490 ap_platopts_check(apd_t *a, int first, int last) argument 513 for (c = first; c <= last; c++) 1344 /* Print the first cpuid */
|
/illumos-gate/usr/src/lib/libshell/common/edit/ |
H A D | edit.c | 825 /* move cursor to start of first line */ 1184 int ed_setcursor(register Edit_t *ep,genchar *physical,register int old,register int new,int first) argument 1192 if(first < 0) 1194 first = 0; 1261 if(!ep->e_crlf || bs || (2*delta <= ((old-first)+(newpos.line?0:ep->e_plen))) ) 1272 first = 1+(newpos.line*ep->e_winsz - ep->e_plen); 1275 old = first; 1276 delta = new-first;
|
H A D | history.c | 31 * The first byte must contain the special character HIST_UNDO and the second 335 int first,last; local 337 hp->histind = first = hist_nearend(hp,hp->histfp,hsize-size); 342 while(first > hist_start) 345 first = hist_nearend(hp,hp->histfp,hsize-size); 346 hp->histind = first; 617 * and that HIST_UNDO as the first character of a command is skipped 624 register char *cp,*first,*endbuff; local 633 first = cp += skip; 638 if(cp>first) 982 register unsigned char *first, *cp; local [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | lex.c | 97 char *first; member in struct:lexdata 143 off_t off = (fcseek(0)-(type+1))-(lp->lexd.first?lp->lexd.first:fcfirst()); 145 if(lp->lexd.first) 147 off = (fcseek(0)-(type+1)) - lp->lexd.first; 148 r=kiaentity(lp,lp->lexd.first+lp->lexd.kiaoff+type,off-lp->lexd.kiaoff,'v',-1,-1,lp->current,'v',0,""); 206 if(lp->lexd.first) 208 size -= (lp->lexd.first-(char*)buff); 209 buff = lp->lexd.first; 219 lp->lexd.first [all...] |
H A D | nvdisc.c | 427 * If <event> is NULL, and <action> is NULL, return the first event 537 * If <event> is NULL, and <action> is NULL, return the first event 1052 * if last==0 and first component of name is a reference, nv_bfsearch() 1277 register int first=1; local 1287 if(!first) 1290 first = 0;
|
H A D | parse.c | 636 * When the first argument is missing, a while node is returned 722 Sfoff_t first, last; local 749 t->funct.functloc = first = fctell(); 857 fp->functline = (last-first); 1897 unsigned long kiaentity(Lex_t *lexp,const char *name,int len,int type,int first,int last,unsigned long parent, int pkind, int width, const char *attr) argument 1916 if(!nv_isattr(np,NV_TAGGED) && first>=0) 1922 sfprintf(lexp->kiafile,"%..64d;%c;%.*s;%d;%d;%..64d;%..64d;%c;%d;%s\n",np->hash,type,len,name,first,last,parent,lexp->fscript,pkind,width,attr); 1924 sfprintf(lexp->kiafile,"%..64d;%c;%s;%d;%d;%..64d;%..64d;%c;%d;%s\n",np->hash,type,name,first,last,parent,lexp->fscript,pkind,width,attr);
|
H A D | path.c | 91 /* system call so we can save us to call access(2) first */ 305 void path_delete(Pathcomp_t *first) argument 307 register Pathcomp_t *pp=first, *old=0, *ppnext; 391 register Pathcomp_t *oldpp,*first; local 405 first = (pp->flags&PATH_CDPATH)?pp->shp->cdpathlist:path_get(""); 406 for(oldpp=first; oldpp && oldpp!=pp; oldpp=oldpp->next) 419 path_chkpaths(first,0,pp,offset); 985 /* find first path that has a library component */ 1414 static Pathcomp_t *path_addcomp(Pathcomp_t *first, Pathcomp_t *old,const char *name, int flag) argument 1430 for(pp=first; p 1466 path_chkpaths(Pathcomp_t *first, Pathcomp_t* old,Pathcomp_t *pp, int offset) argument 1563 path_addpath(Pathcomp_t *first, register const char *path,int type) argument 1623 path_dup(Pathcomp_t *first) argument 1637 path_newdir(Pathcomp_t *first) argument 1691 path_unsetfpath(Pathcomp_t *first) argument 1736 path_dirfind(Pathcomp_t *first,const char *name,int c) argument [all...] |
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_dialog.c | 301 * If the route set is not empty, and the first URI in the route set 307 * If the route set is not empty, and its first URI does not contain the 308 * lr parameter, the UAC MUST place the first URI from the route set 326 boolean_t first = B_TRUE; local 414 if (first) { 418 first = B_FALSE; 450 if (first) {
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | eventlib_p.h | 160 evWait * first; member in struct:evWaitList
|
/illumos-gate/usr/src/lib/libc/port/aio/ |
H A D | aio.c | 399 * Try kernel aio first. 693 aio_worker_t *first; local 709 first = __nextworker_rw; 710 next = first; 713 } while ((next = next->work_forw) != first); 771 * cancel queued requests first. 975 * - this function first allow the cancellation of the running 1002 * first disable the use of the SIGAIOCANCEL signal and accordingly 1042 * On first entry, aiowp->work_req == NULL, so all 1683 * For the Posix interfaces, we must set the return value first followe 1717 aio_worker_t *first; local [all...] |
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | regcomp.c | 285 int first = 1; /* is this the first alternative? */ local 298 if (first) { 302 first = 0; 311 if (!first) { /* tail-end fixups */ 494 * This implementation is a bit of a kludge, in that a trailing $ is first 500 wint_t end1, /* first terminating character */ 504 int first = 1; /* first subexpression? */ local 513 wasdollar = p_simp_re(p, first); [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclfrutree.h | 207 frutree_cache_t *first; member in struct:__anon1207
|
/illumos-gate/usr/src/cmd/ptools/plgrp/ |
H A D | plgrp.c | 412 * Parse first lgroup (if any) 423 lgrp_id_t first; local 433 first = atoi(token); 435 last = first; 439 for (i = first; i <= last; i++) { 496 * Initial range consists of the first element 1472 * affstring points to the first affinity
|
/illumos-gate/usr/src/cmd/ctstat/ |
H A D | ctstat.c | 157 int first = 1; local 163 (void) printf(" %d" + first, ids[i]); 164 first = 0; 166 if (first) 412 * names are contract-specific. They are listed first, however, so 438 * Displays a contract's verbose status, common fields first.
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | leaky_subr.c | 281 int x, first = -1, last = -1; local 287 if (first == -1) 288 first = x; 295 } else if (first == -1) { 305 if (curbrk != segs[first].ls_start) { 306 dprintf(("adding [%p, %p) in brk, before first seg\n", 307 brkbase, segs[first].ls_start)); 311 lm->lkm_limit = segs[first].ls_start; 314 curbrk = segs[first].ls_start; 321 for (x = first; [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/nsctl/ |
H A D | nsctl.c | 1886 nsc_mem_type(const int first, nsc_mem_t *mp) argument 1890 if (first) { 1907 int first; local 1918 for (first = 1, i = 0; 1919 i < (sizeof (type_mem) / sizeof (nsc_mem_t)); first = 0, i++) { 1921 nsc_mem_type(first, &type_mem[i]);
|
/illumos-gate/usr/src/cmd/file/ |
H A D | file.c | 139 static int i; /* global index into first 'fbsz' bytes of file */ 338 * the second magic table instead of the first 560 * Check first magic table for magic tests to be applied 668 * magic tests should have been in the first magic table. 1499 * The first %s is for the translation for "set-uid " (if the script 1736 * The first flag is set to 1 to add to the first list, mlist1. 1737 * The first flag is set to 0 to add to the second list, mlist2. 1741 add_to_mlist(char *magic_file, int first) argument 1748 if (first) { [all...] |
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | daemon.c | 196 /* Add parent process as first item */ 629 ** has closed it first. 721 /* Add parent process as first child item */ 1851 bool first = true; local 1857 if (first) 1861 first = false; 1863 if (!first) 2389 ** Try v6 first, then fall back to v4. 3303 ** hp -- hostent structure for the first address 3304 ** ha -- actual first addres [all...] |
/illumos-gate/usr/src/cmd/avs/sdbc/ |
H A D | sd_trace.c | 209 static int first = 1; local 222 if (first) { 224 first = 0;
|
/illumos-gate/usr/src/cmd/fs.d/ufs/ff/ |
H A D | ff.c | 180 int first = 0; local 255 while ((p = (char *)strtok(((first++ == 0) ?
|
/illumos-gate/usr/src/cmd/itadm/ |
H A D | itadm.c | 816 boolean_t first = B_TRUE; local 898 if (!script && first) { 901 first = B_FALSE; 1372 * Create the portal group and first portal 1432 boolean_t first = B_TRUE; local 1461 if (!script && first) { 1464 first = B_FALSE; 1727 boolean_t first = B_TRUE; local 1769 if (!script && first) { 1772 first [all...] |
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | kdc_util.c | 89 * concatenate first two authdata arrays, returning an allocated replacement. 93 concat_authorization_data(krb5_authdata **first, krb5_authdata **second, argument 101 if (first) 102 for (ptr = first; *ptr; ptr++) 112 for (i = 0, j = 0, ptr = first; j < 2 ; ptr = second, j++) 349 * We try checksumming the req-body two different ways: first we 614 /* For the purpose of appending, the realm preceding the first */ 714 so the first half (or a cast) is also required. */ 1047 /* we assume that the first identifier/length will tell us 1171 /* ...that the first componen [all...] |
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | ldapsearch.c | 158 int rc, optind, i, first, free_filtpattern; local 300 first = 1; 336 if ( !first ) { 339 first = 0; 613 int rc, first, matches; local 805 first = 1; 828 if ( !first ) { 831 first = 0; 913 first = 1; 917 if ( !first ) { [all...] |
/illumos-gate/usr/src/cmd/locale/ |
H A D | locale.c | 578 /* first, try LC_ALL */ 772 int first = 1; local 782 if (!first) { 785 first = 0; 790 if (!first) { 1030 int first = 1; local 1083 if (!first) { 1086 first = 0; 1098 int first = 1; local 1119 if (!first) { [all...] |