Home
last modified time | relevance | path

Searched refs:mid (Results 1 – 25 of 155) sorted by relevance

1234567

/titanic_41/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_kdi.c80 mod_interp_data_t *mid = arg; in kmdb_kdi_mod_interp() local
83 kmdb_dpi_restore_fault_hdlr(mid->mid_oldpcb); in kmdb_kdi_mod_interp()
84 rc = mid->mid_usercb(mp, mid->mid_userarg); in kmdb_kdi_mod_interp()
85 mid->mid_oldpcb = kmdb_dpi_set_fault_hdlr(&mid->mid_pcb); in kmdb_kdi_mod_interp()
103 mod_interp_data_t mid; in kmdb_kdi_mod_iter() local
106 if (setjmp(mid.mid_pcb) != 0) { in kmdb_kdi_mod_iter()
108 kmdb_dpi_restore_fault_hdlr(mid.mid_oldpcb); in kmdb_kdi_mod_iter()
112 mid.mid_usercb = cb; in kmdb_kdi_mod_iter()
113 mid.mid_userarg = arg; in kmdb_kdi_mod_iter()
114 mid.mid_oldpcb = kmdb_dpi_set_fault_hdlr(&mid.mid_pcb); in kmdb_kdi_mod_iter()
[all …]
/titanic_41/usr/src/lib/libast/common/string/
H A Dstrsearch.c44 register char* mid; in strsearch() local
49 mid = lo + (((hi - lo) / siz) / 2) * siz; in strsearch()
50 …ntext ? (*(Strcmp_context_f)comparf)(name, *((char**)mid), context) : (*comparf)(name, *((char**)m… in strsearch()
51 return (void*)mid; in strsearch()
53 lo = mid + siz; in strsearch()
54 else hi = mid - siz; in strsearch()
H A Dstrpsearch.c57 register char* mid; in strpsearch() local
73 mid = lo + (sequential ? 0 : (((hi - lo) / siz) / 2) * siz); in strpsearch()
74 …if (!(v = c - MAP(m, *(s = *((unsigned char**)mid)))) || *s == '[' && !(v = c - MAP(m, *++s)) && (… in strpsearch()
95 return (void*)mid; in strpsearch()
99 …while ((mid -= siz) >= lo && (s = *((unsigned char**)mid)) && ((c == MAP(m, *s)) || *s == '[' && c… in strpsearch()
120 lo = mid + siz; in strpsearch()
122 hi = mid - siz; in strpsearch()
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dqsort.c132 char *mid, *tmp; in qst() local
146 mid = i = base + qsz * ((lo / qsz) >> 1); in qst()
168 while (i < mid && qcmp(i, mid) <= 0) in qst()
170 while (j > mid) { in qst()
171 if (qcmp(mid, j) <= 0) { in qst()
176 if (i == mid) { in qst()
178 mid = jj = j; in qst()
186 if (i == mid) { in qst()
190 jj = mid; in qst()
191 tmp = mid = i; /* value of i after swap */ in qst()
[all …]
/titanic_41/usr/src/lib/libc/port/gen/
H A Dcatgets.c44 int hi, lo, mid; in catgets() local
76 mid = (hi + lo) / 2; in catgets()
80 + _CAT_SET_HDR_SIZE * mid); in catgets()
85 mid = (hi + lo) / 2; in catgets()
90 + _CAT_MSG_HDR_SIZE * mid); in catgets()
113 lo = mid + 1; in catgets()
115 hi = mid - 1; in catgets()
122 lo = mid + 1; in catgets()
124 hi = mid - 1; in catgets()
/titanic_41/usr/src/cmd/krb5/kadmin/gui/native/
H A DKadmin.c918 jmethodID mid; in Principal_to_kadmin() local
973 mid = (*env)->GetMethodID(env, dateclass, "getTime", "()J"); in Principal_to_kadmin()
974 if (!mid) in Principal_to_kadmin()
976 l = (*env)->CallLongMethod(env, obj, mid); in Principal_to_kadmin()
1025 mid = (*env)->GetMethodID(env, dateclass, "getTime", "()J"); in Principal_to_kadmin()
1026 if (!mid) in Principal_to_kadmin()
1028 l = (*env)->CallLongMethod(env, obj, mid); in Principal_to_kadmin()
1039 mid = (*env)->GetMethodID(env, intclass, "intValue", "()I"); in Principal_to_kadmin()
1040 if (!mid) in Principal_to_kadmin()
1042 i = (*env)->CallIntMethod(env, obj, mid); in Principal_to_kadmin()
[all …]
/titanic_41/usr/src/cmd/sendmail/src/
H A Dmacro.c77 #define NEXTMACROID(mid) ( \ argument
78 (mid < NEXTMACROID_L) ? (NextMIdTable[mid]) : \
79 ((mid < NEXTMACROID_H) ? NEXTMACROID_H : (mid + 1)))
85 #define NEXTMACROID(mid) ((mid) + 1) argument
128 #define MACBINDING(name, mid) \ argument
129 stab(name, ST_MACRO, ST_ENTER)->s_macro = mid; \
130 MacroName[mid] = name;
612 int mid; local
657 mid = -1;
670 mid = bitidx(mbuf[0]);
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dkiconv.c990 kiconv_module_ref_count(size_t mid) in kiconv_module_ref_count() argument
994 if (mid <= 0 || mid > KICONV_MAX_MODULE_ID) in kiconv_module_ref_count()
999 count = module_list[mid].refcount; in kiconv_module_ref_count()
1058 size_t mid; in kiconv_register_module() local
1075 for (mid = 1; mid <= KICONV_MAX_MODULE_ID; mid++) in kiconv_register_module()
1076 if (strcmp(module_list[mid].name, info->module_name) == 0) in kiconv_register_module()
1078 if (mid > KICONV_MAX_MODULE_ID) in kiconv_register_module()
1088 if (module_list[mid].refcount > 0) { in kiconv_register_module()
1111 if (conv_list[j].mid == mid && in kiconv_register_module()
1139 size_t mid; in kiconv_unregister_module() local
[all …]
/titanic_41/usr/src/lib/libc/port/fp/
H A Dmuldi3.c107 ulong_t high, mid, udiff, vdiff; in ___muldi3() local
152 mid = udiff * vdiff; in ___muldi3()
159 prod.ul[H] = high + (negmid ? -mid : mid) + low.ul[L] + in ___muldi3()
190 ulong_t u1, u0, v1, v0, udiff, vdiff, high, mid, low; in __lmulq() local
214 mid = udiff * vdiff; in __lmulq()
225 prodl -= LHUP(mid); in __lmulq()
226 prodh -= HHALF(mid) + (prodl > was); in __lmulq()
229 prodl += LHUP(mid); in __lmulq()
230 prodh += HHALF(mid) + (prodl < was); in __lmulq()
/titanic_41/usr/src/lib/libprtdiag/common/
H A Dcpu.c160 int *mid; in display_cpus() local
164 mid = (int *)get_prop_val(find_prop(cpu, "upa-portid")); in display_cpus()
165 if (mid == NULL) { in display_cpus()
166 mid = (int *)get_prop_val(find_prop(cpu, "portid")); in display_cpus()
180 log_printf(" %2d ", *mid, 0); in display_cpus()
183 display_mid(*mid); in display_cpus()
242 display_mid(int mid) in display_mid() argument
244 log_printf(" %2d ", mid, 0); in display_mid()
/titanic_41/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;
/titanic_41/usr/src/cmd/look/
H A Dlook.c40 long top,bot,mid; in main() local
90 mid = (top+bot)/2; in main()
91 fseek(dfile,mid,0); in main()
94 mid++; in main()
103 if(top<=mid) in main()
105 top = mid; in main()
109 bot = mid; in main()
/titanic_41/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) in netname() argument
278 if (mid & 0200) in netname()
279 return(mlook(mid)); in netname()
281 if (np->nt_mid == mid) in netname()
367 nettype(int mid) in nettype() argument
371 if (mid & 0200) in nettype()
372 return(mtype(mid)); in nettype()
[all …]
/titanic_41/usr/src/uts/common/kiconv/kiconv_sc/
H A Dkiconv_cck_common.c298 size_t low, high, mid; in kiconv_binsearch() local
306 mid = (low + high) / 2; in kiconv_binsearch()
308 if (key < table[mid].key) in kiconv_binsearch()
309 high = mid - 1; in kiconv_binsearch()
310 else if (key > table[mid].key) in kiconv_binsearch()
311 low = mid + 1; in kiconv_binsearch()
313 return (mid); in kiconv_binsearch()
/titanic_41/usr/src/cmd/eqn/
H A Dpile.c22 int bi, hi, i, gap, h, b, nlist, nlist2, mid; in lpile() local
32 mid = p1 + nlist2 -1; in lpile()
38 for (i = p2-1; i > mid; i--) in lpile()
41 ebase[yyval] = (nlist%2) ? b + ebase[lp[mid]] in lpile()
44 ebase[yyval] = (nlist%2) ? b + ebase[lp[mid]] in lpile()
/titanic_41/usr/src/tools/pmodes/
H A Dbinsearch.c139 int mid = (lo + hi) / 2; in item_search() local
140 int res = strcmp(s, l->items[mid]); in item_search()
143 return (mid); in item_search()
145 hi = mid - 1; in item_search()
147 lo = mid + 1; in item_search()
/titanic_41/usr/src/lib/libcurses/screen/
H A Dprint.c108 int low = 0, mid, high = listsize - 2; in findcapname() local
110 mid = (low + high) / 4 * 2; in findcapname()
111 if (capname[0] == caplist[mid]) { in findcapname()
112 if (capname[1] == caplist[mid + 1]) in findcapname()
114 else if (capname[1] < caplist[mid + 1]) in findcapname()
115 high = mid - 2; in findcapname()
117 low = mid + 2; in findcapname()
118 } else if (capname[0] < caplist[mid]) in findcapname()
119 high = mid - 2; in findcapname()
121 low = mid + 2; in findcapname()
/titanic_41/usr/src/cmd/geniconvtbl/
H A Ditm_comp.l267 int mid; in at_name_to_token() local
275 mid = (low + high) / 2; in at_name_to_token()
276 result = strcmp(s, at_table[mid].name); in at_name_to_token()
278 high = mid; in at_name_to_token()
280 low = mid + 1; in at_name_to_token()
282 TRACE_MESSAGE('l', (" %d\n", at_table[mid].token)); in at_name_to_token()
283 return (at_table[mid].token); in at_name_to_token()
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dimgact_aout.h59 #define N_SETMAGIC(ex,mag,mid,flag) \ argument
60 ( (ex).a_midmag = (((flag) & 0x3f) <<26) | (((mid) & 0x03ff) << 16) | \
69 #define N_SETMAGIC_NET(ex,mag,mid,flag) \ argument
70 ( (ex).a_midmag = htonl( (((flag)&0x3f)<<26) | (((mid)&0x03ff)<<16) | \
/titanic_41/usr/src/uts/sun4u/sys/
H A Dstarfire.h185 #define STARFIRE_HWMID2SWMID(mid) ((mid & 0x3) | ((mid & 0x78) >> 1) | \ argument
186 ((mid & 0x4) << 4))
/titanic_41/usr/src/cmd/lockstat/
H A Dsym.c210 int mid; in addr_to_sym() local
214 mid = (lo + hi) / 2; in addr_to_sym()
215 if (addr >= symbol_table[mid].addr) { in addr_to_sym()
216 lo = mid; in addr_to_sym()
218 hi = mid; in addr_to_sym()
/titanic_41/usr/src/lib/libast/common/port/
H A Dastconf.c808 register Conf_t* mid = (Conf_t*)conf;
809 register Conf_t* lo = mid;
810 register Conf_t* hi = mid + conf_elements;
872 mid = lo + (hi - lo) / 2;
874 error(-3, "astconf lookup name=%s mid=%s", name, mid->name);
876 if (!(v = c - *((unsigned char*)mid->name)) && !(v = strcmp(name, mid->name)))
878 hi = mid;
882 if ((look->standard < 0 || look->standard == mid->standard) &&
883 (look->section < 0 || look->section == mid->section) &&
884 (look->call < 0 || look->call == mid->call))
[all …]
/titanic_41/usr/src/cmd/sgs/librtld/common/
H A Dutil.c37 _librtld_msg(Msg mid) in _librtld_msg() argument
39 return (dgettext(MSG_ORIG(MSG_SUNW_OST_SGS), MSG_ORIG(mid))); in _librtld_msg()
/titanic_41/usr/src/cmd/sgs/libcrle/common/
H A Dutil.c41 _libcrle_msg(Msg mid) in _libcrle_msg() argument
43 return (dgettext(MSG_ORIG(MSG_SUNW_OST_SGS), MSG_ORIG(mid))); in _libcrle_msg()
/titanic_41/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"

1234567