Searched refs:mid (Results 1 - 25 of 146) sorted by relevance

123456

/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Dutil.c37 _librtld_msg(Msg mid) argument
39 return (dgettext(MSG_ORIG(MSG_SUNW_OST_SGS), MSG_ORIG(mid)));
/illumos-gate/usr/src/cmd/sgs/libcrle/common/
H A Dutil.c41 _libcrle_msg(Msg mid) argument
43 return (dgettext(MSG_ORIG(MSG_SUNW_OST_SGS), MSG_ORIG(mid)));
/illumos-gate/usr/src/lib/libast/common/string/
H A Dstrsearch.c44 register char* mid; local
49 mid = lo + (((hi - lo) / siz) / 2) * siz;
50 if (!(v = context ? (*(Strcmp_context_f)comparf)(name, *((char**)mid), context) : (*comparf)(name, *((char**)mid))))
51 return (void*)mid;
53 lo = mid + siz;
54 else hi = mid - siz;
H A Dstrpsearch.c57 register char* mid; local
73 mid = lo + (sequential ? 0 : (((hi - lo) / siz) / 2) * siz);
74 if (!(v = c - MAP(m, *(s = *((unsigned char**)mid)))) || *s == '[' && !(v = c - MAP(m, *++s)) && (v = 1))
95 return (void*)mid;
99 while ((mid -= siz) >= lo && (s = *((unsigned char**)mid)) && ((c == MAP(m, *s)) || *s == '[' && c == MAP(m, *(s + 1))));
120 lo = mid + siz;
122 hi = mid - siz;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcatgets.c44 int hi, lo, mid; local
76 mid = (hi + lo) / 2;
80 + _CAT_SET_HDR_SIZE * mid);
85 mid = (hi + lo) / 2;
90 + _CAT_MSG_HDR_SIZE * mid);
113 lo = mid + 1;
115 hi = mid - 1;
122 lo = mid + 1;
124 hi = mid - 1;
/illumos-gate/usr/src/lib/libast/common/cdt/
H A Ddttreeset.c38 Dtlink_t *l, *mid; local
46 mid = l->right; l->right = NIL(Dtlink_t*);
47 mid->left = treebalance(list, (n = size/2) );
48 mid->right = treebalance(mid->right, size - (n + 1));
49 return mid;
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_kdi.c80 mod_interp_data_t *mid = arg; local
83 kmdb_dpi_restore_fault_hdlr(mid->mid_oldpcb);
84 rc = mid->mid_usercb(mp, mid->mid_userarg);
85 mid->mid_oldpcb = kmdb_dpi_set_fault_hdlr(&mid->mid_pcb);
103 mod_interp_data_t mid; local
106 if (setjmp(mid.mid_pcb) != 0) {
108 kmdb_dpi_restore_fault_hdlr(mid.mid_oldpcb);
112 mid
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dqsort.c132 char *mid, *tmp; local
146 mid = i = base + qsz * ((lo / qsz) >> 1);
168 while (i < mid && qcmp(i, mid) <= 0)
170 while (j > mid) {
171 if (qcmp(mid, j) <= 0) {
176 if (i == mid) {
177 /* j <-> mid, new mid is j */
178 mid
[all...]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dcpu.c160 int *mid; local
164 mid = (int *)get_prop_val(find_prop(cpu, "upa-portid"));
165 if (mid == NULL) {
166 mid = (int *)get_prop_val(find_prop(cpu, "portid"));
180 log_printf(" %2d ", *mid, 0);
183 display_mid(*mid);
242 display_mid(int mid) argument
244 log_printf(" %2d ", mid, 0);
/illumos-gate/usr/src/cmd/look/
H A Dlook.c40 long top,bot,mid; local
90 mid = (top+bot)/2;
91 fseek(dfile,mid,0);
94 mid++;
103 if(top<=mid)
105 top = mid;
109 bot = mid;
/illumos-gate/usr/src/lib/libc/port/fp/
H A Dmuldi3.c72 * (2^n) (u1 - u0) (v0 - v1) + [(u1-u0)... = mid]
91 * (2^n)(high) + (2^n)(mid) + (2^n + 1)(low)
95 * (2^n)(high + mid + low) + low
97 * Furthermore, `high' and `mid' can be computed mod 2^n, as any factor
107 ulong_t high, mid, udiff, vdiff; local
139 * any upper bits in high and mid, so we can use native
152 mid = udiff * vdiff;
159 prod.ul[H] = high + (negmid ? -mid : mid) + low.ul[L] +
190 ulong_t u1, u0, v1, v0, udiff, vdiff, high, mid, lo local
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmacro.c77 #define NEXTMACROID(mid) ( \
78 (mid < NEXTMACROID_L) ? (NextMIdTable[mid]) : \
79 ((mid < NEXTMACROID_H) ? NEXTMACROID_H : (mid + 1)))
85 #define NEXTMACROID(mid) ((mid) + 1)
128 #define MACBINDING(name, mid) \
129 stab(name, ST_MACRO, ST_ENTER)->s_macro = mid; \
130 MacroName[mid]
612 int mid; local
[all...]
/illumos-gate/usr/src/cmd/eqn/
H A Dpile.c22 int bi, hi, i, gap, h, b, nlist, nlist2, mid; local
32 mid = p1 + nlist2 -1;
38 for (i = p2-1; i > mid; i--)
41 ebase[yyval] = (nlist%2) ? b + ebase[lp[mid]]
44 ebase[yyval] = (nlist%2) ? b + ebase[lp[mid]]
/illumos-gate/usr/src/tools/pmodes/
H A Dbinsearch.c139 int mid = (lo + hi) / 2; local
140 int res = strcmp(s, l->items[mid]);
143 return (mid);
145 hi = mid - 1;
147 lo = mid + 1;
/illumos-gate/usr/src/uts/common/os/
H A Dkiconv.c990 kiconv_module_ref_count(size_t mid) argument
994 if (mid <= 0 || mid > KICONV_MAX_MODULE_ID)
999 count = module_list[mid].refcount;
1058 size_t mid; local
1075 for (mid = 1; mid <= KICONV_MAX_MODULE_ID; mid++)
1076 if (strcmp(module_list[mid].name, info->module_name) == 0)
1078 if (mid > KICONV_MAX_MODULE_I
1139 size_t mid; local
1193 size_t mid; local
1271 size_t mid; local
1319 size_t mid; local
1351 size_t mid; local
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_rwx_001_pos.ksh50 typeset -i trival_count=3 head=0 mid end
51 ((mid = RANDOM % $trival_count))
55 nums="$head $mid $end"
/illumos-gate/usr/src/uts/common/kiconv/kiconv_sc/
H A Dkiconv_cck_common.c298 size_t low, high, mid; local
306 mid = (low + high) / 2;
308 if (key < table[mid].key)
309 high = mid - 1;
310 else if (key > table[mid].key)
311 low = mid + 1;
313 return (mid);
/illumos-gate/usr/src/cmd/mailx/
H A Doptim.c48 static int mtype(int mid);
50 static int nettype(int mid);
57 static char *mlook(int mid);
274 netname(int mid) argument
278 if (mid & 0200)
279 return(mlook(mid));
281 if (np->nt_mid == mid)
367 nettype(int mid) argument
371 if (mid & 0200)
372 return(mtype(mid));
497 mlook(int mid) argument
517 mtype(int mid) argument
[all...]
/illumos-gate/usr/src/lib/efcode/upa/
H A Dupa.c47 fstack_t hi, mid, lo; local
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dimgact_aout.h59 #define N_SETMAGIC(ex,mag,mid,flag) \
60 ( (ex).a_midmag = (((flag) & 0x3f) <<26) | (((mid) & 0x03ff) << 16) | \
69 #define N_SETMAGIC_NET(ex,mag,mid,flag) \
70 ( (ex).a_midmag = htonl( (((flag)&0x3f)<<26) | (((mid)&0x03ff)<<16) | \
123 unsigned long a_midmag; /* htonl(flags<<26 | mid<<16 | magic) */
/illumos-gate/usr/src/lib/libast/common/regex/
H A Dregrexec.c49 size_t mid; local
64 mid = (len < e->re.bm.right) ? 0 : (len - e->re.bm.right);
75 while ((index += skip[buf[index]]) < mid);
138 if ((index += exactlen) >= mid)
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dstarfire.h50 0x100f8000000ULL /* put mid in [39:33] */
185 #define STARFIRE_HWMID2SWMID(mid) ((mid & 0x3) | ((mid & 0x78) >> 1) | \
186 ((mid & 0x4) << 4))
/illumos-gate/usr/src/boot/sys/sys/
H A Dimgact_aout.h44 #define N_SETMAGIC(ex,mag,mid,flag) \
46 (((mid) & 0x03ff) << 16) | \
55 #define N_SETMAGIC_NET(ex,mag,mid,flag) \
56 ( (ex).a_midmag = htonl( (((flag)&0x3f)<<26) | (((mid)&0x03ff)<<16) \
113 uint32_t a_midmag; /* flags<<26 | mid<<16 | magic */
/illumos-gate/usr/src/tools/btxld/
H A Dimgact_aout.h44 #define N_SETMAGIC(ex,mag,mid,flag) \
46 (((mid) & 0x03ff) << 16) | \
55 #define N_SETMAGIC_NET(ex,mag,mid,flag) \
56 ( (ex).a_midmag = htonl( (((flag)&0x3f)<<26) | (((mid)&0x03ff)<<16) \
113 uint32_t a_midmag; /* flags<<26 | mid<<16 | magic */
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Derror.c51 _libelf_msg(Msg mid) argument
53 return (dgettext(MSG_ORIG(MSG_SUNW_OST_SGS), MSG_ORIG(mid)));

Completed in 184 milliseconds

123456