/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | inet_lnaof.c | 6 * (the "License"). You may not use this file except in compliance 14 * When distributing Covered Code, include this CDDL HEADER in each 43 #include <netinet/in.h> 51 inet_lnaof(struct in_addr in) argument 53 uint32_t i = ntohl(in.s_addr);
|
/illumos-gate/usr/src/lib/libbc/libc/inet/ |
H A D | inet_lnaof.c | 6 * (the "License"). You may not use this file except in compliance 14 * When distributing Covered Code, include this CDDL HEADER in each 30 #include <netinet/in.h> 38 inet_lnaof(struct in_addr in) argument 40 u_long i = ntohl(in.s_addr);
|
H A D | inet_netof.c | 6 * (the "License"). You may not use this file except in compliance 14 * When distributing Covered Code, include this CDDL HEADER in each 30 #include <netinet/in.h> 37 inet_netof(struct in_addr in) argument 39 u_long i = ntohl(in.s_addr);
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4/pcibus/ |
H A D | pci_sun4.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 38 pci_fru_compute(topo_mod_t *mod, tnode_t *node, nvlist_t *in, nvlist_t **out) argument 40 return (pci_fru_cmn(mod, node, in, out));
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/crypto/ |
H A D | md5.h | 15 ** -- FF, GG, HH modified to add in last register done ** 28 ** Digest Algorithm" in all material mentioning or referencing this ** 33 ** Data Security, Inc. MD5 Message-Digest Algorithm" in all ** 41 ** These notices must be retained in any copies of any part of this ** 53 unsigned char in[64]; /* input buffer */ member in struct:__anon2506
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | byteorder.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 45 htonll(uint64_t in) argument 47 return (in); 51 ntohll(uint64_t in) argument 53 return (in); 57 htonl(uint32_t in) argument 59 return (in); 63 ntohl(uint32_t in) argument 65 return (in); 69 htons(uint16_t in) argument 75 ntohs(uint16_t in) argument [all...] |
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | byteorder.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 45 htonll(uint64_t in) argument 47 return (in); 51 ntohll(uint64_t in) argument 53 return (in); 57 htonl(uint32_t in) argument 59 return (in); 63 ntohl(uint32_t in) argument 65 return (in); 69 htons(uint16_t in) argument 75 ntohs(uint16_t in) argument [all...] |
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | endian.c | 4 * You may only use this file in accordance with the terms of version 23 letoh16(uint16_t in) argument 25 return (in); 29 le16toh(uint16_t in) argument 31 return (in); 35 letoh32(uint32_t in) argument 37 return (in); 41 le32toh(uint32_t in) argument 43 return (in); 47 htole16(uint16_t in) argument 53 htole32(uint32_t in) argument [all...] |
H A D | byteorder64.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 30 #include <netinet/in.h> 40 htonll(uint64_t in) argument 42 return (htonl(in >> 32) | ((uint64_t)htonl(in) << 32)); 46 ntohll(uint64_t in) argument 48 return (ntohl(in >> 32) | (uint64_t)ntohl(in) << 32); 52 htobe64(uint64_t in) argument 58 htole64(uint64_t in) argument 64 betoh64(uint64_t in) argument 70 letoh64(uint64_t in) argument 76 be64toh(uint64_t in) argument 82 le64toh(uint64_t in) argument [all...] |
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | scalb.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 36 int hn, in, n; local 42 in = ((int *)&fn)[HIWORD]; 43 hn = in & ~0x80000000; 50 n = (in < 0)? -65000 : 65000; 63 n = (in < 0)? -65000 : 65000;
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | stdethers.c | 6 * (the "License"). You may not use this file except in compliance 14 * When distributing Covered Code, include this CDDL HEADER in each 37 * Filter to convert addresses in /etc/ethers file to standard form 50 FILE *in; local 53 in = fopen(argv[1], "r"); 54 if (in == NULL) { 60 in = stdin; 62 while (fgets(line, sizeof (line), in) != NULL) {
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogethost.c | 6 * (the "License"). You may not use this file except in compliance 14 * When distributing Covered Code, include this CDDL HEADER in each 33 #include <netinet/in.h> 50 struct in_addr in; local 53 (void) memcpy((char *)&in.s_addr, *p, sizeof (in)); 55 inet_ntoa(in), hp->h_name) == EOF)
|
H A D | dogetnet.c | 6 * (the "License"). You may not use this file except in compliance 14 * When distributing Covered Code, include this CDDL HEADER in each 34 #include <netinet/in.h> 43 inet_nettoa(struct in_addr in) argument 45 u_long addr = htonl(in.s_addr); 68 struct in_addr in; local 74 in.s_addr = np->n_net; 76 np->n_name, inet_nettoa(in)) == EOF)
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | rsa-md4.h | 22 * notice appear in all copies and that both that copyright notice and 23 * this permission notice appear in supporting documentation, and that 24 * the name of M.I.T. not be used in advertising or publicity pertaining 27 * your software as modified software and not distribute it in such a 44 /* 16 u_char's in the digest */ 66 ** Digest Algorithm" in all material mentioning or referencing this ** 71 ** Data Security, Inc. MD4 Message Digest Algorithm" in all ** 79 ** These notices must be retained in any copies of any part of this ** 88 unsigned char in[64]; /* input buffer */ member in struct:__anon4681
|
/illumos-gate/usr/src/stand/lib/xdr/ |
H A D | byteorder.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 27 #include <netinet/in.h> 44 htonll(uint64_t in) argument 46 return ((uint64_t)htonl((in >> 32) & 0xffffffff) | 47 ((uint64_t)htonl(in & 0xffffffff) << 32)); 51 ntohll(uint64_t in) argument 53 return ((uint64_t)ntohl((in >> 32) & 0xffffffff) | 54 ((uint64_t)ntohl(in & 0xffffffff) << 32)); 58 htonl(uint32_t in) argument 70 ntohl(uint32_t in) argument 76 htons(uint16_t in) argument 87 ntohs(uint16_t in) argument 96 htonll(uint64_t in) argument 102 ntohll(uint64_t in) argument 108 htonl(uint32_t in) argument 114 ntohl(uint32_t in) argument 120 htons(uint16_t in) argument 126 ntohs(uint16_t in) argument [all...] |
/illumos-gate/usr/src/uts/common/xen/public/io/ |
H A D | console.h | 8 * deal in the Software without restriction, including without limitation the 13 * The above copyright notice and this permission notice shall be included in 35 char in[1024]; member in struct:xencons_interface
|
/illumos-gate/usr/src/lib/libc/amd64/gen/ |
H A D | endian.c | 4 * You may only use this file in accordance with the terms of version 17 * General, no-op functions for endian(3C). The rest are in byteorder.s. 23 htole16(uint16_t in) argument 25 return (in); 29 htole32(uint32_t in) argument 31 return (in); 35 htole64(uint64_t in) argument 37 return (in); 41 letoh16(uint16_t in) argument 43 return (in); 47 le16toh(uint16_t in) argument 53 letoh32(uint32_t in) argument 59 le32toh(uint32_t in) argument 65 letoh64(uint64_t in) argument 71 le64toh(uint64_t in) argument [all...] |
/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | getnetent.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 36 #include <netinet/in.h> 99 * Takes an unsigned integer in host order, and returns a printable 102 * where the string is truncated (or set to '\0') is returned in *pnull. 108 struct in_addr in; local 115 in = inet_makeaddr(anet, INADDR_ANY); 116 addr = in.s_addr; 117 (void) strncpy(buf, inet_ntoa(in), buflen);
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/pcibus/ |
H A D | pci_i86pc.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 42 platform_pci_label(topo_mod_t *mod, tnode_t *node, nvlist_t *in, argument 45 return (pci_label_cmn(mod, node, in, out)); 49 platform_pci_fru(topo_mod_t *mod, tnode_t *node, nvlist_t *in, argument 52 return (pci_fru_cmn(mod, node, in, out));
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4u/pcibus/ |
H A D | pci_sun4u.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 42 platform_pci_label(topo_mod_t *mod, tnode_t *node, nvlist_t *in, argument 45 return (pci_label_cmn(mod, node, in, out)); 48 platform_pci_fru(topo_mod_t *mod, tnode_t *node, nvlist_t *in, argument 51 return (pci_fru_compute(mod, node, in, out));
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | revlib.c | 33 * copy the lines starting at offset <start> from in <in> to <out> 34 * in reverse order 36 int rev_line(Sfio_t *in, Sfio_t *out, off_t start) argument 42 if(sfseek(in,(off_t)0,SEEK_CUR) < 0) 47 if(start>0 && sfmove(in, (Sfio_t*)0, start, -1) != start) 49 if(sfmove(in, tmp, SF_UNBOUND, -1) < 0 || !sfeof(in) || sferror(tmp)) 51 in = tmp; 54 if((offset = sfseek(in,(off_ [all...] |
/illumos-gate/usr/src/common/crypto/aes/ |
H A D | aes_modes.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 35 /* Copy a 16-byte AES block from "in" to "out" */ 37 aes_copy_block(uint8_t *in, uint8_t *out) argument 39 if (IS_P2ALIGNED2(in, out, sizeof (uint32_t))) { 41 *(uint32_t *)&out[0] = *(uint32_t *)&in[0]; 43 *(uint32_t *)&out[4] = *(uint32_t *)&in[4]; 45 *(uint32_t *)&out[8] = *(uint32_t *)&in[8]; 47 *(uint32_t *)&out[12] = *(uint32_t *)&in[12]; 49 AES_COPY_BLOCK(in, ou [all...] |
/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ec_naf.c | 6 * 1.1 (the "License"); you may not use this file except in compliance with 28 * in which case the provisions of the GPL or the LGPL are applicable instead 65 * of bits of out, in is the original scalar, and w is the window size. 66 * NAF is discussed in the paper: D. Hankerson, J. Hernandez and A. 70 ec_compute_wNAF(signed char *out, int bitsize, const mp_int *in, int w) argument 80 MP_CHECKOK(mp_init_copy(&k, in));
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | refer3.c | 23 corout(char *in, char *out, char *rprog, char *arg, int outlen) argument 44 write(fw1, in, strlen(in));
|
/illumos-gate/usr/src/cmd/checkeq/ |
H A D | checkeq.c | 54 char in[600], *p; local 57 while (fgets(in, 600, f) != NULL) { 60 for (p = in; *p; p++) 63 if (*in == '.' && *(in+1) == 'E' && *(in+2) == 'Q') { 70 gettext(" EQ in %c%c, line %d\n"), 72 } else if (*in == '.' && *(in+1) == 'E' && *(in [all...] |