Home
last modified time | relevance | path

Searched refs:ip (Results 126 – 150 of 766) sorted by relevance

12345678910>>...31

/illumos-gate/usr/src/cmd/tbl/
H A Dt8.c52 for(ip=nl; ip<nlin; ip=next(ip)) in putline()
53 if (!vspen(s=table[ip][c].col)) break; in putline()
152 ip = prev(nl); in putline()
153 if (ip>=0) in putline()
154 if (vspen(table[ip][c].col)) in putline()
203 ip = prev(nl); in putline()
205 if (ip>=0) in putline()
206 if (vspen(table[ip][c].col)) in putline()
228 if (ip>=0) in putline()
229 if (vspen(table[ip][c].col)) in putline()
[all …]
/illumos-gate/usr/src/lib/iconv_modules/ja/common/
H A DeucJP_TO_PCK.c53 unsigned char *ip, ic, *op; in _icv_iconv() local
68 ip = (unsigned char *)*inbuf; in _icv_iconv()
96 if (ISCS1(*ip)) { in _icv_iconv()
130 if (ISCS2(*ip)) { in _icv_iconv()
154 if (ISCS3(*ip) && ISCS3(*(ip + 1))) { in _icv_iconv()
161 if (*ip < 0xf5) { /* check IBM area */ in _icv_iconv()
225 *inbuf = (char *)ip; in _icv_iconv()
H A DeucJP_TO_KUTEN.c51 unsigned char *ip, ic; in _icv_iconv() local
67 ip = (unsigned char *)*inbuf; in _icv_iconv()
95 if (ISCS1(ic) && ISCS1(*ip)) { in _icv_iconv()
122 if (ISCS3(*ip) && ISCS3(*(ip + 1))) { in _icv_iconv()
151 *inbuf = (char *)ip; in _icv_iconv()
H A DPCK_TO_ISO-2022-JP.c63 unsigned char *ip, ic; in _icv_iconv() local
98 ip = (unsigned char *)*inbuf; in _icv_iconv()
149 if (ISSJKANJI2(*ip)) { in _icv_iconv()
167 if (*ip >= 0x9f) { in _icv_iconv()
189 if (ISSJKANJI2(*ip)) { in _icv_iconv()
217 if (*ip >= 0x9f) { in _icv_iconv()
247 if (ISSJKANJI2(*ip)) { in _icv_iconv()
329 if (ISSJKANJI2(*ip)) { in _icv_iconv()
363 *inbuf = (char *)ip; in _icv_iconv()
H A DPCK_TO_jis.c69 unsigned char *ip, ic; in _icv_iconv() local
115 ip = (unsigned char *)*inbuf; in _icv_iconv()
164 if (ISSJKANJI2(*ip)) { in _icv_iconv()
179 if (*ip >= 0x9f) { in _icv_iconv()
198 if (ISSJKANJI2(*ip)) { in _icv_iconv()
214 if (*ip >= 0x9f) { in _icv_iconv()
240 if (ISSJKANJI2(*ip)) { in _icv_iconv()
326 if (ISSJKANJI2(*ip)) { in _icv_iconv()
364 *inbuf = (char *)ip; in _icv_iconv()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_delete.c385 indx_t cnt, idx, *ip, offset; local
440 for (cnt = idx, ip = &pg->linp[0]; cnt--; ++ip)
441 if (ip[0] < offset)
442 ip[0] += nksize;
444 ip[0] = ip[1] < offset ? ip[1] + nksize : ip[1];
481 indx_t cnt, *ip, offset; local
509 for (cnt = idx, ip = &h->linp[0]; cnt--; ++ip)
510 if (ip[0] < offset)
511 ip[0] += nbytes;
512 for (cnt = NEXTINDEX(h) - idx; --cnt; ++ip)
[all …]
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch_chan.c72 icp = ip->i_ic[i]; in av1394_ic_close()
134 mutex_enter(&ip->i_mutex); in av1394_ic_init()
135 if (ip->i_ic[num] != NULL) { in av1394_ic_init()
136 mutex_exit(&ip->i_mutex); in av1394_ic_init()
141 ip->i_ic[num] = icp; in av1394_ic_init()
142 mutex_exit(&ip->i_mutex); in av1394_ic_init()
159 mutex_enter(&ip->i_mutex); in av1394_ic_init()
172 mutex_exit(&ip->i_mutex); in av1394_ic_init()
205 mutex_enter(&ip->i_mutex); in av1394_ic_cleanup()
207 ip->i_ic[icp->ic_num] = NULL; in av1394_ic_cleanup()
[all …]
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dhostname.c12 char *hostname(v, ip) in hostname() argument
14 void *ip;
22 ipa.s_addr = *(u_32_t *)ip;
29 hp = gethostbyaddr(ip, 4, AF_INET);
51 (void) inet_ntop(AF_INET6, ip, hostbuf, sizeof(hostbuf) - 1);
/illumos-gate/usr/src/stand/lib/fs/ufs/
H A Dufsops.c325 struct inode *ip; in dlook() local
333 ip = filep->fi_inode; in dlook()
338 if (ip->i_size == 0) in dlook()
351 if (ip->i_flag & FI_CACHED) in dlook()
361 ip->i_flag |= FI_CACHED; in dlook()
374 if (ip->i_flag & FI_NOCACHE) in dlook()
388 ip->i_flag &= ~FI_CACHED; in dlook()
754 struct inode *ip; in boot_ufs_fstat() local
759 ip = filep->fi_inode; in boot_ufs_fstat()
764 if (ip == NULL) in boot_ufs_fstat()
[all …]
/illumos-gate/usr/src/common/zfs/
H A Dzfs_fletcher.c253 const uint64_t *ip = buf; in fletcher_2_incremental_native() local
262 for (; ip < ipend; ip += 2) { in fletcher_2_incremental_native()
263 a0 += ip[0]; in fletcher_2_incremental_native()
264 a1 += ip[1]; in fletcher_2_incremental_native()
295 for (; ip < ipend; ip += 2) { in fletcher_2_incremental_byteswap()
296 a0 += BSWAP_64(ip[0]); in fletcher_2_incremental_byteswap()
297 a1 += BSWAP_64(ip[1]); in fletcher_2_incremental_byteswap()
338 for (; ip < ipend; ip++) { in fletcher_4_scalar_native()
339 a += ip[0]; in fletcher_4_scalar_native()
360 for (; ip < ipend; ip++) { in fletcher_4_scalar_byteswap()
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dsetupterm.c134 #define _Vr2getshi() _Vr2getsh(ip-2)
137 #define _Vr2getsh(ip) (* (short *)(ip)) argument
159 #define _Getshi() _Getsh(ip); ip += 2
171 #define _Getsh(ip) (* (short *)ip) argument
178 #define _Getsh(ip) ((short)(*((unsigned char *)ip) | (*(ip+1) << 8))) argument
232 char *ip; in setupterm() local
324 ip = tiebuf; in setupterm()
489 ip += snames; in setupterm()
510 s = *ip++; in setupterm()
525 if (((unsigned long) ip) & 1) in setupterm()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dmc.c224 if (ip) in mcopen()
250 if (ip) in mcopen()
273 mc->nstrs = sfgetu(ip); in mcopen()
274 mc->nmsgs = sfgetu(ip); in mcopen()
275 mc->num = sfgetu(ip); in mcopen()
276 if (sfeof(ip)) in mcopen()
288 if (!ip) in mcopen()
299 while (i = sfgetu(ip)) in mcopen()
303 n = sfgetu(ip); in mcopen()
315 if (n = sfgetu(ip)) in mcopen()
[all …]
H A Dastquery.c49 Sfio_t* ip; in astquery() local
76 ip = rfp; in astquery()
81 ip = sfstdin; in astquery()
87 for (n = c = sfgetc(ip);; c = sfgetc(ip)) in astquery()
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_irc_pxy.c286 ip_t *ip; local
293 ip = fin->fin_ip;
328 a1 = ntohl(ip->ip_src.s_addr);
343 if ((inc + ip->ip_len) > 65535)
383 sum1 = ip->ip_len;
384 sum2 = ip->ip_len + inc;
394 ip->ip_len += inc;
418 ip->ip_dst);
431 swip = ip->ip_src;
432 ip->ip_src = nat->nat_inip;
[all …]
H A Dip_h323_pxy.c188 ip_t *ip; local
191 ip = fin->fin_ip;
193 ipaddr = ip->ip_src.s_addr;
273 ip_t *ip; local
278 ip = fin->fin_ip;
289 ip->ip_src, ip->ip_dst);
291 struct ip newip;
294 bcopy((caddr_t)ip, (caddr_t)&newip, sizeof(newip));
320 bcopy((caddr_t)&ip->ip_src.s_addr,
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv6localicmp.ksh.out3 1 ip:::send (args[2]: 6 64, args[5]: 6 0 64)
4 1 ip:::send (args[2]: 6 64, args[5]: 6 0 64)
5 2 ip:::receive (args[2]: 6 64, args[5]: 6 0 64)
6 2 ip:::receive (args[2]: 6 64, args[5]: 6 0 64)
H A Dtst.ipv4localicmp.ksh.out2 1 ip:::send (args[2]: 4 64, args[4]: 4 84 2 0 255)
3 1 ip:::send (args[2]: 4 64, args[4]: 4 84 2 0 255)
4 2 ip:::receive (args[2]: 4 64, args[4]: 4 84 2 0 255)
5 2 ip:::receive (args[2]: 4 64, args[4]: 4 84 2 0 255)
/illumos-gate/usr/src/boot/include/netinet/
H A Dip_var.h167 #define IP_HDR_ALIGNED_P(ip) 1 argument
169 #define IP_HDR_ALIGNED_P(ip) ((((intptr_t) (ip)) & 3) == 0) argument
172 struct ip;
208 int ip_fragment(struct ip *ip, struct mbuf **m_frag, int mtu,
216 (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *,
227 void ip_savecontrol(struct inpcb *, struct mbuf **, struct ip *,
230 void ip_fillid(struct ip *);
/illumos-gate/usr/src/lib/libeti/menu/common/
H A Dmenuopts.c39 ITEM **ip; in set_menu_opts() local
61 for (ip = Items(m); *ip; ip++) { in set_menu_opts()
63 Value(*ip) = FALSE; in set_menu_opts()
/illumos-gate/usr/src/uts/common/sys/
H A Ddevpolicy.h101 #define DEVPLCYSYS_SZ(ip) (sizeof (devplcysys_t) + \ argument
102 ((ip)->priv_setsize * 2 - 1) * \
104 #define DEVPLCYSYS_RDP(dp, ip) ((priv_set_t *)(&(dp)->dps_sets[0])) argument
105 #define DEVPLCYSYS_WRP(dp, ip) \ argument
106 ((priv_set_t *)(&(dp)->dps_sets[(ip)->priv_setsize]))
/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/
H A Ddisk_label.c124 print_fdisk_part(struct ipart *ip, size_t nr) in print_fdisk_part() argument
131 if (ip->systid == UNUSED) { in print_fdisk_part()
136 switch (ip->systid) { in print_fdisk_part()
180 c, ip->systid); in print_fdisk_part()
186 (uint16_t)ip->begcyl | (uint16_t)(ip->begsect & ~0x3f) << 2, in print_fdisk_part()
187 (uint16_t)ip->beghead, (uint16_t)ip->begsect & 0x3f); in print_fdisk_part()
189 (uint16_t)ip->endcyl | (uint16_t)(ip->endsect & ~0x3f) << 2, in print_fdisk_part()
190 (uint16_t)ip->endhead, (uint16_t)ip->endsect & 0x3f); in print_fdisk_part()
193 nr, typestr, ip->bootid, begchs, endchs, ip->relsect, ip->numsect); in print_fdisk_part()
303 struct ipart *ip = (struct ipart *) in cmd_mbr() local
[all …]
/illumos-gate/usr/src/stand/lib/inet/
H A Dibd.c225 ibd_arp(struct in_addr *ip, void *hap, uint32_t timeout) in ibd_arp() argument
240 bcopy((caddr_t)ip, (caddr_t)out.arp_ea.arp_tpa, in ibd_arp()
380 len >= (sizeof (ipoib_ptxhdr_t) + sizeof (struct ip))) { in ibd_input()
418 struct in_addr ip; in ibd_input() local
431 ipv4_getipaddr(&ip); in ibd_input()
432 ip.s_addr = ntohl(ip.s_addr); in ibd_input()
435 ip.s_addr != INADDR_ANY && in ibd_input()
436 (bcmp((caddr_t)ea->arp_tpa, (caddr_t)&ip, in ibd_input()
449 bcopy((caddr_t)&ip, (caddr_t)ea->arp_spa, in ibd_input()
487 struct ip *ip; in ibd_output() local
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Ddba_read.c45 int32_t im, ip, iv, npages; in dba_read() local
51 for (ip = 0; ip < npages; ip++) { in dba_read()
52 pdata = dbm_page_get(ip); in dba_read()
/illumos-gate/usr/src/cmd/mailx/
H A Dcmd2.c262 register int *ip, mesg; in savemsglist() local
288 for (ip = msgvec; *ip && ip-msgvec < msgCount; ip++) { in savemsglist()
289 mesg = *ip; in savemsglist()
552 int *ip, mesg; in delm() local
556 for (ip = msgvec; *ip != 0; ip++) { in delm()
557 mesg = *ip; in delm()
590 int *ip, mesg; in undelete() local
592 for (ip = msgvec; ip-msgvec < msgCount; ip++) { in undelete()
593 mesg = *ip; in undelete()
/illumos-gate/usr/src/uts/common/kiconv/kiconv_ja/
H A Dkiconv_ja.c137 *pip = ip; in utf8_ucs()
209 *pip = ip; in utf8_ucs_replace()
331 uchar_t *ip; in _do_kiconv_fr_eucjp() local
414 *inbuf = (char *)ip; in _do_kiconv_fr_eucjp()
433 uchar_t *ip; in _do_kiconv_to_eucjp() local
520 uchar_t *ip; in _do_kiconvstr_fr_eucjp() local
669 uchar_t *ip; in _do_kiconvstr_to_eucjp() local
818 uchar_t *ip; in _do_kiconv_fr_sjis() local
1008 uchar_t *ip; in _do_kiconv_to_sjis() local
1129 uchar_t *ip; in _do_kiconvstr_fr_sjis() local
[all …]

12345678910>>...31