Searched defs:elementsof (Results 1 - 18 of 18) sorted by relevance
/ast/src/lib/libast/aso/ |
H A D | asohdr.h | 35 #ifndef elementsof 36 #define elementsof(x) (sizeof(x)/sizeof(x[0])) macro
|
/ast/src/lib/librecsort/ |
H A D | rskeyhdr.h | 120 #define elementsof(x) (sizeof(x)/sizeof(x[0])) macro
|
/ast/src/cmd/tests/aso/ |
H A D | tthread.c | 25 #ifndef elementsof 26 #define elementsof(x) (sizeof(x)/sizeof(x[0])) macro
|
/ast/src/cmd/mailx/ |
H A D | local.h | 148 #define elementsof(x) (sizeof(x)/sizeof(x[0])) macro
|
/ast/src/cmd/INIT/ |
H A D | release.c | 69 #define elementsof(x) ((int)(sizeof(x)/sizeof(x[0]))) macro 170 if (string(s, day, elementsof(day), 3, &t)) 172 if (!(m = string(s, mon, elementsof(mon), 3, &t)))
|
H A D | mamake.c | 95 #define elementsof(x) (sizeof(x)/sizeof(x[0])) macro 1076 else if (++state.sp >= &state.streams[elementsof(state.streams)]) 1822 for (i = 0; i < elementsof(files); i++)
|
/ast/src/lib/libast/sfio/ |
H A D | sfstrtof.h | 60 #ifndef elementsof 61 #define elementsof(a) (sizeof(a)/sizeof(a[0])) macro 400 if (n >= ((~((S2F_batch)0)) / 10) && part < elementsof(parts)) 443 if (n && part < elementsof(parts))
|
/ast/src/cmd/tests/ |
H A D | date.c | 52 #ifndef elementsof 53 #define elementsof(x) (sizeof(x)/sizeof(x[0])) macro 319 if (i >= elementsof(field)) 333 while (i < elementsof(field))
|
/ast/src/lib/libast/astsa/ |
H A D | ast.h | 89 #define elementsof(x) (sizeof(x)/sizeof(x[0])) macro
|
/ast/src/lib/libast/features/ |
H A D | signal.c | 45 #define elementsof(x) (sizeof(x)/sizeof(x[0])) macro 303 if ((j = map[i].value) > 0 && j < elementsof(mapindex) && !mapindex[j]) 316 if (j >= elementsof(mapindex)) 317 j = elementsof(mapindex) - 1; 318 if (i <= j && i > 0 && i < elementsof(mapindex) && j > 0 && j < elementsof(mapindex))
|
/ast/src/cmd/re/ |
H A D | testfnmatch.c | 132 #ifndef elementsof 133 #define elementsof(x) (sizeof(x)/sizeof(x[0])) macro 594 for (i = 1; i < elementsof(unsupported); i++) 634 if (i >= elementsof(field)) 832 while (i < elementsof(field))
|
H A D | testmatch.c | 146 #ifndef elementsof 147 #define elementsof(x) (sizeof(x)/sizeof(x[0])) macro 729 for (i = 1; i < elementsof(unsupported); i++) 769 if (i >= elementsof(field)) 795 if ((nmatch = 2 * strtol(p, &p, 10)) >= elementsof(match)) 979 while (i < elementsof(field)) 1017 for (i = 0; i < elementsof(match); i++)
|
H A D | testglob.c | 158 #ifndef elementsof 159 #define elementsof(x) (sizeof(x)/sizeof(x[0])) macro 558 nmodes = elementsof(modes); 600 if (elementsof(unsupported) > 1) { 603 for (i = 0; i < elementsof(unsupported) - 1; i++) { 615 pathmax = &path[elementsof(pathbuf)-1]; 637 if (i > (cwd + 1) || i >= elementsof(work)) 763 if (i >= elementsof(field)) 907 while (i < elementsof(field)) 988 for (i = 1; i < elementsof(code [all...] |
H A D | testregex.c | 307 #ifndef elementsof 308 #define elementsof(x) (sizeof(x)/sizeof(x[0])) macro 1416 if (elementsof(unsupported) > 1) 1423 for (got = 0; i < elementsof(unsupported) - 1; i++) 1516 if (i >= elementsof(field)) 1541 if (nmatch >= elementsof(match)) 1798 while (i < elementsof(field)) 2064 for (i = 1; i < elementsof(codes); i++) 2079 for (i = 1; i < elementsof(codes); i++) 2123 for (i = 0; i < elementsof(matc [all...] |
/ast/src/lib/libast/include/ |
H A D | ast.h | 202 #define elementsof(x) (sizeof(x)/sizeof(x[0])) macro
|
/ast/src/lib/libast/port/ |
H A D | lcgen.c | 129 #define elementsof(x) (sizeof(x)/sizeof(x[0])) macro 315 ve = &arg[elementsof(arg)];
|
/ast/src/lib/libpp/ |
H A D | ppproto.c | 56 #ifndef elementsof 57 #define elementsof(x) (sizeof(x)/sizeof(x[0])) macro 2301 for (i = 0; i < elementsof(pragmas); i++) 2343 for (i = 0; i < elementsof(notices); i++)
|
/ast/src/lib/libvcodex/ |
H A D | vcsfio.c | 71 #ifndef elementsof 72 #define elementsof(x) (sizeof(x)/sizeof(x[0])) macro 116 Meth_t meth[2*elementsof(Map)]; /* should not exceed this */ 120 for(n = 0; n < elementsof(meth) && vciomore(&io) > 0; ++n) 122 for(k = 0; k < elementsof(Map); ++k) 125 if(k >= elementsof(Map)) /* not matching any transform */
|
Completed in 48 milliseconds