Home
last modified time | relevance | path

Searched refs:addr2 (Results 1 – 25 of 47) sorted by relevance

12

/titanic_41/usr/src/cmd/vi/port/
H A Dex_cmds.c94 addr1 = addr2 = dot + poffset;
128 addr2 = 0;
131 addr1 = addr2;
138 addr2 = dot;
143 addr2 = addr;
155 addr2 = dol;
160 addr1 = addr2;
179 if (addr2)
180 dot = addr2;
219 setin(addr2);
[all …]
H A Dex_addr.c74 if (addr2 == 0) in setdot1()
75 addr1 = addr2 = dot; in setdot1()
76 if (addr1 > addr2) { in setdot1()
100 addr1 = addr2; in setcount()
107 addr2 += cnt - 1; in setcount()
108 if (addr2 > dol) in setcount()
109 addr2 = dol; in setcount()
145 addr2 = addr1 + (cnt - 1); in setcount2()
146 if (addr2 > dol) in setcount2()
147 addr2 = dol; in setcount2()
[all …]
H A Dex_cmdsub.c79 undap2 = addr2 + 1; in append()
159 a2 = addr2; in delete()
182 a2 = addr2 + 1; in delete()
254 for (a1 = addr1; a1 <= addr2; a1++) { in join()
336 markpr(addr2 == dot ? addr1 - 1 : addr2 + 1); in vi_move()
360 nlines = (addr2 - addr1) + 1; in move1()
367 ad2 = addr2; in move1()
399 undap2 = addr2; in move1()
410 if (tad1 > addr2) in getcopy()
443 (void)append(getput, addr2); in put()
[all …]
H A Dex_io.c473 first = addr2 + 1; in rop2()
474 (void)append(getfile, addr2); in rop2()
576 saddr2=addr2;
578 addr2=dol;
664 if (c != 2 && addr1 == one && addr2 == dol) {
671 addr2 = saddr2;
688 return (addr1 == one && addr2 == dol ? EDF : PARTBUF); in edfile()
763 cntln = addr2 - a1 + 1; in putfile()
794 } while (a1 <= addr2); in putfile()
H A Dex_v.c276 dot = addr2; in ovbeg()
378 addr1 = addr2 = one; in fixzero()
379 } else if (addr2 == zero) in fixzero()
380 addr2 = one; in fixzero()
H A Dex_unix.c413 addr2 = addr1 - 1; in vi_filter()
419 undap1 = undap2 = addr2+1; in vi_filter()
420 (void)append(getfile, addr2); in vi_filter()
H A Dex_temp.c608 addr1 = addr2 = dol; in putreg()
610 cnt = append(getREG, addr2); in putreg()
687 for (addr = addr1; addr <= addr2; addr++) { in YANKreg()
690 if (addr == addr2) in YANKreg()
H A Dexrecover.c238 addr1 = one; addr2 = dol; io = 1; in main()
701 cntln = addr2 - a1 + 1; in rputfile()
729 } while (a1 <= addr2); in rputfile()
H A Dex_subr.c277 killcnt(addr2 - addr1 + 1); in killed()
730 save(addr1, addr2); in save12()
744 return (addr2 - addr1 + 1); in span()
H A Dex_re.c170 if (a1 >= addr1 && a1 <= addr2 && execute(0, a1) == k)
266 for (addr = addr1; addr <= addr2; addr++) { in substitute()
289 addr2 += n; in substitute()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Daddr_comp.c46 krb5_const krb5_address *addr2) in krb5_address_compare() argument
70 switch (addr2->addrtype) { in krb5_address_compare()
78 inet_ntop(addr_fam, addr2->contents, buf, sizeof(buf)); in krb5_address_compare()
81 addr2->addrtype); in krb5_address_compare()
83 addr2->length); in krb5_address_compare()
87 if (addr1->addrtype != addr2->addrtype){ in krb5_address_compare()
93 if (addr1->length != addr2->length){ in krb5_address_compare()
98 if (memcmp((char *)addr1->contents, (char *)addr2->contents, in krb5_address_compare()
H A Daddr_order.c42 krb5_address_order(krb5_context context, const krb5_address *addr1, const krb5_address *addr2) in krb5_address_order() argument
46 const int minlen = min(addr1->length, addr2->length); in krb5_address_order()
48 if (addr1->addrtype != addr2->addrtype) in krb5_address_order()
51 dir = addr1->length - addr2->length; in krb5_address_order()
56 (unsigned char) addr2->contents[i]) in krb5_address_order()
59 (unsigned char) addr2->contents[i]) in krb5_address_order()
/titanic_41/usr/src/cmd/ed/
H A Ded.c203 static LINE addr2; variable
499 addr1 = addr2 = dot; in commands()
505 addr2 = 0; in commands()
508 addr2 = dol; in commands()
514 addr2 = a1; in commands()
521 addr2 = dol; in commands()
527 addr2 = a1; in commands()
535 addr1 = addr2; in commands()
540 addr2 = a1; in commands()
547 addr1 = addr2; in commands()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/common/
H A Daddr_match.c60 void *addr1, *addr2; in find_match() local
69 addr2 = &((struct sockaddr_in *)sin)->sin_addr; in find_match()
75 addr2 = &((struct sockaddr_in6 *)sin6)->sin6_addr; in find_match()
80 if (memcmp(addr1, addr2, size) == 0) in find_match()
/titanic_41/usr/src/uts/common/netinet/
H A Din.h694 #define IN6_ARE_6TO4_PREFIX_EQUAL(addr1, addr2) \ argument
695 (((addr1)->_S6_un._S6_u32[0] == (addr2)->_S6_un._S6_u32[0]) && \
696 ((addr1)->_S6_un._S6_u8[4] == (addr2)->_S6_un._S6_u8[4]) && \
697 ((addr1)->_S6_un._S6_u8[5] == (addr2)->_S6_un._S6_u8[5]))
838 #define IN6_ARE_ADDR_EQUAL(addr1, addr2) \ argument
839 (((addr1)->_S6_un._S6_u32[3] == (addr2)->_S6_un._S6_u32[3]) && \
840 ((addr1)->_S6_un._S6_u32[2] == (addr2)->_S6_un._S6_u32[2]) && \
841 ((addr1)->_S6_un._S6_u32[1] == (addr2)->_S6_un._S6_u32[1]) && \
842 ((addr1)->_S6_un._S6_u32[0] == (addr2)->_S6_un._S6_u32[0]))
858 #define IN6_ARE_PREFIXEDADDR_EQUAL(addr1, addr2, prefix) \ argument
[all …]
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Djfs.h131 u32 addr2; member
136 #define addressPXD(pxd) (((s64)((pxd)->addr1)) << 32 | ((pxd)->addr2))
147 u32 addr2; /* 4: address in unit of fsblksize */ member
329 u32 addr2; /* 4: lower 32 bits of leaf page address -OR- member
410 u32 addr2; /* 4: address in unit of fsblksize */ member
415 #define addressXAD(xad) (((s64)((xad)->addr1)) << 32 | ((xad)->addr2))
/titanic_41/usr/src/uts/common/sys/tsol/
H A Dtndb.h57 #define TNADDR_EQ(addr1, addr2) \ argument
58 (((addr1)->ta_family == AF_INET && (addr2)->ta_family == AF_INET && \
59 (addr1)->ta_addr_v4.s_addr == (addr2)->ta_addr_v4.s_addr) || \
60 ((addr1)->ta_family == AF_INET6 && (addr2)->ta_family == AF_INET6 && \
61 IN6_ARE_ADDR_EQUAL(&(addr1)->ta_addr_v6, &(addr2)->ta_addr_v6)))
/titanic_41/usr/src/lib/libinetutil/common/
H A Dinetutil.c79 struct in_addr addr1, addr2; in sockaddrcmp() local
91 addr2 = ((const struct sockaddr_in *)ssp2)->sin_addr; in sockaddrcmp()
92 return (addr1.s_addr == addr2.s_addr); in sockaddrcmp()
/titanic_41/usr/src/lib/print/libhttp-core/common/
H A Dhttp-addr.c75 const http_addr_t *addr2) /* I - Second address */ in httpAddrEqual() argument
77 if (addr1->addr.sa_family != addr2->addr.sa_family) in httpAddrEqual()
82 return (memcmp(&(addr1->ipv6.sin6_addr), &(addr2->ipv6.sin6_addr), 16) == 0); in httpAddrEqual()
85 return (addr1->ipv4.sin_addr.s_addr == addr2->ipv4.sin_addr.s_addr); in httpAddrEqual()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Doptions.c730 *(bool *)(opt->addr2) == 0) {
735 struct option_info *ip = (struct option_info *) opt->addr2;
746 if ((opt->addr2 != NULL) && (opt->flags & OPT_A2COPY))
747 *(bool *)(opt->addr2) = (v != 0);
798 if ((opt->addr2 != NULL) && (opt->flags & OPT_A2COPY))
799 *(int *)(opt->addr2) = iv;
810 if ((opt->addr2 != NULL) && (opt->flags & OPT_A2COPY))
811 *(u_int32_t *)(opt->addr2) = v;
817 if ((opt->addr2 != NULL) && (opt->flags & OPT_A2COPY)) {
818 (void) strlcpy((char *)(opt->addr2), *argv, opt->upper_limit);
[all …]
/titanic_41/usr/src/uts/common/io/nxge/npi/
H A Dnpi_mac.c1402 uint32_t addr2; in npi_mac_port_attr() local
1410 addr2 = attrp->idata[2]; in npi_mac_port_attr()
1434 ASSERT((addr2 & ~0xFFFF) == 0); in npi_mac_port_attr()
1435 if ((addr2 & ~0xFFFF) != 0) { in npi_mac_port_attr()
1442 addr2)); in npi_mac_port_attr()
1452 addr2); in npi_mac_port_attr()
1459 &addr2); in npi_mac_port_attr()
1462 attrp->odata[2] = addr2 & MAC_ADDR_REG_MASK; in npi_mac_port_attr()
1470 addr2 = attrp->idata[2]; in npi_mac_port_attr()
1495 ASSERT((addr2 & ~0xFFFF) == 0); in npi_mac_port_attr()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dconditions.c376 prefixmatch(uchar_t *addr1, uchar_t *addr2, int prefixlen) in prefixmatch() argument
397 if ((addr1[i] & mask[i]) != (addr2[i] & mask[i])) in prefixmatch()
447 uchar_t *addr1, *addr2; in check_ipaddr() local
452 addr2 = (uchar_t *)&(((struct sockaddr_in *) in check_ipaddr()
457 addr2 = (uchar_t *)&(((struct sockaddr_in6 *) in check_ipaddr()
461 match = prefixmatch(addr1, addr2, wa->prefixlen); in check_ipaddr()
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dcong.c483 #define addr2 ((struct rdsv3_cong_map *)map2)->m_addr in rdsv3_cong_compare() macro
485 if (addr1 < addr2) in rdsv3_cong_compare()
487 if (addr1 > addr2) in rdsv3_cong_compare()
/titanic_41/usr/src/uts/common/sys/scsi/impl/
H A Dcommands.h127 #define g1_addr2 cdb_un.sg.g1.addr2
139 uchar_t addr2; member
169 #define g4_addr2 cdb_un.sg.g4.addr2
188 uchar_t addr2; member
224 #define scc5_addr2 cdb_un.sg.g5.addr2
239 uchar_t addr2; member
/titanic_41/usr/src/uts/common/inet/
H A Dsadb.h333 #define IPSA_ARE_ADDR_EQUAL(addr1, addr2, fam) \ argument
334 ((((uint32_t *)(addr1))[0] == ((uint32_t *)(addr2))[0]) && \
336 (((uint32_t *)(addr1))[3] == ((uint32_t *)(addr2))[3] && \
337 ((uint32_t *)(addr1))[2] == ((uint32_t *)(addr2))[2] && \
338 ((uint32_t *)(addr1))[1] == ((uint32_t *)(addr2))[1])))

12