/titanic_44/usr/src/lib/libast/common/path/ |
H A D | pathkey.c | 53 char* env[elementsof(usr) + 3]; in pathkey() 72 for (c = 0; c < elementsof(env); c++) in pathkey() 154 while (c < (elementsof(usr) - 1)) in pathkey() 199 for (c = 0; c < elementsof(ver); c++) in pathkey() 220 for (c = 0; c < elementsof(usr) && (s = usr[c]); c++) in pathkey() 221 if (!env[c + elementsof(env) - elementsof(usr)]) in pathkey() 226 env[c + elementsof(env) - elementsof(usr)] = *p; in pathkey() 232 for (c = 0; c < elementsof(env); c++) in pathkey() 250 for (c = 0; c < elementsof(env); c++) in pathkey()
|
/titanic_44/usr/src/lib/libast/common/misc/ |
H A D | sigcrit.c | 108 static Sig_handler_t handler[elementsof(signals)]; in sigcritical() 121 for (i = 0; i < elementsof(signals); i++) in sigcritical() 128 for (i = 0; i < elementsof(signals); i++) in sigcritical() 134 for (i = 0; i < elementsof(signals); i++) in sigcritical() 149 for (i = 0; i < elementsof(signals); i++) in sigcritical() 181 for (i = 0; i < elementsof(signals); i++) in sigcritical() 186 for (i = 0; i < elementsof(signals); i++) in sigcritical()
|
H A D | recfmt.c | 80 for (i = 0; i < elementsof(terminators); i++) in recfmt() 105 if (m < elementsof(q->rep)) in recfmt() 137 for (j = 0; j < elementsof(terminators); j++) in recfmt()
|
H A D | systrace.c | 62 for (n = 0; n < elementsof(trace); n++) in systrace() 63 …if (!procfree(procopen(trace[n], av + 1, NiL, ov, PROC_ARGMOD|PROC_GID|PROC_UID|(n == (elementsof(… in systrace()
|
H A D | getcwd.c | 160 for (n = 0; n < elementsof(env); n++) 183 n = elementsof(env); 265 if (n < elementsof(env)) 273 for (n = 0; n < elementsof(env); n++)
|
H A D | ftwalk.c | 102 if (nd >= elementsof(dd)) in ftwalk() 131 if (nd >= elementsof(dd)) in ftwalk()
|
/titanic_44/usr/src/lib/libpp/common/ |
H A D | pptrace.c | 89 for (i = 0; i < elementsof(ppinmap); i++) in ppinstr() 125 …for (i = 0; i < (elementsof(pplexmap) - 1) && (lex > pplexmap[i].val || lex == pplexmap[i+1].val);… in pplexstr() 158 if ((elementsof(buf) - 2 - (s - buf)) > k) in ppflagstr() 176 return(ppflagstr(ppmodemap, elementsof(ppmodemap), mode)); in ppmodestr() 186 return(ppflagstr(ppoptionmap, elementsof(ppoptionmap), option)); in ppoptionstr() 196 return(ppflagstr(ppstatemap, elementsof(ppstatemap), state)); in ppstatestr()
|
/titanic_44/usr/src/lib/libast/common/features/ |
H A D | signal.c | 45 #define elementsof(x) (sizeof(x)/sizeof(x[0])) macro 299 if ((j = map[i].value) > 0 && j < elementsof(mapindex) && !mapindex[j]) in main() 312 if (j >= elementsof(mapindex)) in main() 313 j = elementsof(mapindex) - 1; in main() 314 if (i <= j && i > 0 && i < elementsof(mapindex) && j > 0 && j < elementsof(mapindex)) in main()
|
H A D | common | 185 #define elementsof(x) (sizeof(x)/sizeof(x[0])) 232 if (int_type[elementsof(int_type)-1].size <= 4) 241 for (s = 0; s < elementsof(int_size); s++) 243 for (t = 0; t < elementsof(int_type) && int_type[t].size < int_size[s]; t++); 244 if (t < elementsof(int_type)) 286 #define elementsof(x) (sizeof(x)/sizeof(x[0])) 311 if (flt_type[elementsof(flt_type)-1].size <= sizeof(double)) 318 for (t = 0; t < elementsof(flt_type); t++) 320 while (t < (elementsof(flt_type) - 1) && flt_type[t].size == flt_type[t + 1].size)
|
/titanic_44/usr/src/lib/libast/common/disc/ |
H A D | sfkeyprintf.c | 268 for (h = 0; h < elementsof(fmt.tmp); h++) in getfmt() 275 for (h = 0; h < elementsof(fmt.tmp); h++) in getfmt() 297 …if (!regexec(fp->re[x], s, elementsof(match), match, 0) && !regsubexec(fp->re[x], s, elementsof(ma… in getfmt() 354 for (i = 0; i < elementsof(fmt.tmp); i++) in sfkeyprintf() 381 for (i = 0; i < elementsof(fmt.tmp); i++) in sfkeyprintf() 384 for (i = 0; i < elementsof(fmt.re); i++) in sfkeyprintf()
|
/titanic_44/usr/src/lib/libast/common/port/ |
H A D | lc.c | 616 for (i = 0; i < elementsof(tp->languages) && lp != tp->languages[i]; i++); in lcmake() 617 if (i >= elementsof(tp->languages)) in lcmake() 627 for (i = 0; i < elementsof(tp->languages) && lp != tp->languages[i]; i++); in lcmake() 628 if (i < elementsof(tp->languages)) in lcmake() 657 for (i = 0; i < elementsof(lp->attributes) && (ap = lp->attributes[i]); i++) in lcmake() 668 …if (i >= elementsof(lp->attributes) && (ap = newof(0, Lc_attribute_t, 1, sizeof(Lc_attribute_list_… in lcmake() 710 for (i = 0; i < elementsof(lc->info); i++) in lcmake() 715 for (i = 0; i < elementsof(tp->languages); i++) in lcmake() 756 ls->language = elementsof(ls->lc.territory->languages); in lcscan() 757 ls->attribute = elementsof(ls->lc.language->attributes); in lcscan() [all …]
|
/titanic_44/usr/src/lib/libast/common/string/ |
H A D | fmtbuf.c | 47 if (n > (&buf[elementsof(buf)] - nxt)) in fmtbuf() 49 if (n > elementsof(buf)) in fmtbuf()
|
H A D | fmtre.c | 113 if (p >= &stack[elementsof(stack)]) in fmtre() 140 if (p >= &stack[elementsof(stack)]) in fmtre() 183 if (p >= &stack[elementsof(stack)]) in fmtre()
|
H A D | fmtfmt.c | 64 unsigned int extra[elementsof(formats)]; in fmtfmt() 182 if (i < elementsof(formats)) in fmtfmt()
|
/titanic_44/usr/src/lib/libast/common/regex/ |
H A D | regcoll.c | 80 if (!(w = (Ucs_map_t*)malloc(sizeof(Ucs_map_t) * (elementsof(ucs_attrs) + elementsof(ucs_names))))) in initialize() 98 for (i = 0; i < elementsof(ucs_attrs); i++, w++) in initialize() 105 for (i = 0; i < elementsof(ucs_names); i++, w++) in initialize()
|
H A D | regerror.c | 66 else if (code >= 0 && code < elementsof(reg_error)) in regerror()
|
/titanic_44/usr/src/lib/libcmd/common/ |
H A D | getconf.c | 315 if (e >= &std[elementsof(std)]) in b_getconf() 331 } while (*s && e < &std[elementsof(std)]); in b_getconf() 332 if (e < &std[elementsof(std)]) in b_getconf() 335 if (++e < &std[elementsof(std)]) in b_getconf()
|
H A D | stty.c | 79 # define NCCS elementsof(((struct termio*)0)->c_cc) 363 for (tp = Ttable; tp < &Ttable[elementsof(Ttable)]; tp++) in sane() 480 for(i=0; i < elementsof(Ttable); i++) in output() 590 for(i=0; i < elementsof(Ttable); i++) in lookup() 602 for(i=0; i < elementsof(Ttable); i++) in getspeed() 790 for(i=0; i < elementsof(Ttable); i++) in listchars() 801 for(i=0; i < elementsof(Ttable); i++) in listgroup() 813 for(i=0; i < elementsof(Ttable); i++) in listmask() 824 for(i=0; i < elementsof(Ttable); i++) in listfields()
|
/titanic_44/usr/src/lib/libsum/common/ |
H A D | sumlib.c | 280 for (n = 0; n < elementsof(maps); n++) in sumopen() 286 for (n = 0; n < elementsof(methods); n++) in sumopen() 367 for (i = n = 0; i < elementsof(methods); i++) in sumusage() 373 for (i = 0; i < elementsof(maps); i++) in sumusage()
|
/titanic_44/usr/src/lib/libast/common/comp/ |
H A D | regexp.c | 98 regmatch_t match[elementsof(re->re_braslist)+1]; in _re_exec() 100 if (regexec(&env->re, subject, elementsof(match), match, 0) || anchor && match[0].rm_so) in _re_exec()
|
H A D | syslog.c | 264 if (log.attempt >= elementsof(attempt)) 315 if ((c = LOG_SEVERITY(priority)) < elementsof(log_severity)) 320 if ((c = LOG_FACILITY(priority)) < elementsof(log_facility))
|
H A D | mkdir.c | 56 for (n = 0; n < elementsof(cmd); n++)
|
H A D | rmdir.c | 53 for (n = 0; n < elementsof(cmd); n++)
|
/titanic_44/usr/src/lib/libast/common/tm/ |
H A D | tmlocale.c | 91 for (n = 0; n < elementsof(must); n++) in fixup() 347 for (i = 0; i < elementsof(map); i++) in native_lc_time() 352 for (i = 0; i < elementsof(map); i++) in native_lc_time() 506 for (i = 0; i < elementsof(map); i++) in native_lc_time() 515 for (i = 0; i < elementsof(map); i++) in native_lc_time()
|
/titanic_44/usr/src/lib/libast/common/sfio/ |
H A D | sfstrtof.h | 60 #ifndef elementsof 61 #define elementsof(a) (sizeof(a)/sizeof(a[0])) macro 398 if (n >= ((~((S2F_batch)0)) / 10) && part < elementsof(parts)) 426 if (n && part < elementsof(parts))
|