Searched defs:src (Results 26 - 50 of 216) sorted by relevance

123456789

/osnet-11/usr/src/lib/libnsl/nss/
H A Dinet_ntop.c42 * inet_ntop(af, src, dst, size)
48 inet_ntop(int af, const void *src, char *dst, socklen_t size) argument
52 return (inet_ntop4(src, dst, size));
54 return (inet_ntop6(src, dst, size));
64 * inet_ntop4(src, dst, size)
81 inet_ntop4(const uchar_t *src, char *dst, socklen_t size) argument
86 if (SPRINTF((tmp, fmt, src[0], src[1], src[2], src[
103 inet_ntop6(const uchar_t *src, char *dst, socklen_t size) argument
[all...]
H A Dinet_pton.c37 static int inet_pton4(const char *src, uchar_t *dst);
38 static int inet_pton6(const char *src, uchar_t *dst);
42 * inet_pton(af, src, dst)
53 inet_pton(int af, const char *src, void *dst) argument
57 return (inet_pton4(src, dst));
59 return (inet_pton6(src, dst));
69 * inet_pton4(src, dst)
72 * 1 if `src' is a valid dotted quad, else 0.
82 inet_pton4(const char *src, uchar_t *dst) argument
91 while ((ch = *src
137 inet_pton6(const char *src, uchar_t *dst) argument
[all...]
/osnet-11/usr/src/lib/libcommputil/common/
H A Dcommp_util.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
176 commp_add_str(char **dest, const char *src, int len) argument
183 (void) strncpy(*dest, src, len);
/osnet-11/usr/src/grub/grub2/grub-core/boot/decompressor/
H A Dminilib.c33 grub_memmove (void *dest, const void *src, grub_size_t n) argument
36 const char *s = (const char *) src;
74 void *memmove (void *dest, const void *src, grub_size_t n)
77 void *memcpy (void *dest, const void *src, grub_size_t n)
83 find_scratch (void *src, void *dst, unsigned long srcsize, argument
88 if (((grub_addr_t) src & 0x10000000))
95 if ((char *) src + srcsize > (char *) dst + dstsize)
96 grub_decompressor_scratch = (void *) ALIGN_UP ((grub_addr_t) src + srcsize,
/osnet-11/usr/src/grub/grub2/grub-core/fs/zfs/
H A Dzfs_lzjb.c60 grub_uint8_t *src = s_start; local
67 while (dst < d_end && src < s_end)
72 copymap = *src++;
74 if (src >= s_end)
78 int mlen = (src[0] >> (NBBY - MATCH_BITS)) + MATCH_MIN;
79 int offset = ((src[0] << NBBY) | src[1]) & OFFSET_MASK;
80 src += 2;
82 if (src > s_end || cpy < (grub_uint8_t *) d_start)
88 *dst++ = *src
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/loader/
H A Dmultiboot_elfxx.c174 void *src; local
200 src = get_virtual_current_address (ch);
208 if (grub_file_read (file, src, sh->sh_size)
/osnet-11/usr/src/grub/grub2/grub-core/net/
H A Dicmp.c46 const grub_net_network_level_address_t *src)
110 err = grub_net_send_ip_packet (inf, src, ll_src,
43 grub_net_recv_icmp_packet(struct grub_net_buff *nb, struct grub_net_network_level_interface *inf, const grub_net_link_level_address_t *ll_src, const grub_net_network_level_address_t *src) argument
H A Dethernet.c34 grub_uint8_t src[6]; member in struct:etherhdr
67 grub_memcpy (eth->src, inf->hwaddress.mac, 6);
118 grub_memcpy (src_hwaddress.mac, eth->src, sizeof (src_hwaddress.mac));
/osnet-11/usr/src/lib/libumem/common/
H A Dvmem_mmap.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
44 vmem_mmap_alloc(vmem_t *src, size_t size, int vmflags) argument
49 ret = vmem_alloc(src, size, vmflags | vmem_extra_flags);
53 vmem_free(src, ret, size);
66 vmem_mmap_free(vmem_t *src, void *addr, size_t size) argument
70 vmem_free(src, addr, size);
75 vmem_mmap_top_alloc(vmem_t *src, size_t size, int vmflags) argument
81 ret = vmem_alloc(src, size, VM_NOSLEEP);
94 ret = _vmem_extend_alloc(src, bu
[all...]
H A Dvmem_stand.c9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
105 stand_parent_alloc(vmem_t *src, size_t size, int vmflags) argument
113 if ((ret = vmem_alloc(src, size, VM_NOSLEEP)) != NULL) {
135 if ((ret = _vmem_extend_alloc(src, sr->sr_curtop, chksize, size,
/osnet-11/usr/src/lib/libresolv2/common/inet/
H A Dinet_cidr_ntop.c44 inet_cidr_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size);
46 inet_cidr_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size);
50 * inet_cidr_ntop(af, src, bits, dst, size)
52 * "src"'s size is determined from its "af".
63 inet_cidr_ntop(int af, const void *src, int bits, char *dst, size_t size) { argument
66 return (inet_cidr_ntop_ipv4(src, bits, dst, size));
68 return (inet_cidr_ntop_ipv6(src, bits, dst, size));
76 decoct(const u_char *src, int bytes, char *dst, size_t size) { argument
85 dst += SPRINTF((dst, "%u", *src++));
97 * inet_cidr_ntop_ipv4(src, bit
109 inet_cidr_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size) argument
153 inet_cidr_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) argument
[all...]
H A Dinet_net_ntop.c42 static char * inet_net_ntop_ipv4 __P((const u_char *src, int bits,
44 static char * inet_net_ntop_ipv6 __P((const u_char *src, int bits,
49 * inet_net_ntop(af, src, bits, dst, size)
58 inet_net_ntop(af, src, bits, dst, size)
60 const void *src;
67 return (inet_net_ntop_ipv4(src, bits, dst, size));
69 return (inet_net_ntop_ipv6(src, bits, dst, size));
78 * inet_net_ntop_ipv4(src, bits, dst, size)
90 inet_net_ntop_ipv4(src, bits, dst, size)
91 const u_char *src;
169 inet_net_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) argument
[all...]
H A Dinet_cidr_pton.c45 static int inet_cidr_pton_ipv4 __P((const char *src, u_char *dst,
47 static int inet_cidr_pton_ipv6 __P((const char *src, u_char *dst,
54 * inet_cidr_pton(af, src, dst, *bits)
70 inet_cidr_pton(int af, const char *src, void *dst, int *bits) { argument
73 return (inet_cidr_pton_ipv4(src, dst, bits, 0));
75 return (inet_cidr_pton_ipv6(src, dst, bits));
85 inet_cidr_pton_ipv4(const char *src, u_char *dst, int *pbits, int ipv6) { argument
91 while (ch = *src++, (isascii(ch) && isdigit(ch))) {
100 } while ((ch = *src++) != '\0' && isascii(ch) && isdigit(ch));
113 bits = getbits(src, ipv
152 inet_cidr_pton_ipv6(const char *src, u_char *dst, int *pbits) argument
255 getbits(const char *src, int ipv6) argument
[all...]
H A Dinet_net_pton.c47 * inet_net_pton_ipv4(src, dst, size)
62 inet_net_pton_ipv4(const char *src, u_char *dst, size_t size) { argument
68 ch = *src++;
69 if (ch == '0' && (src[0] == 'x' || src[0] == 'X')
70 && isascii((unsigned char)(src[1]))
71 && isxdigit((unsigned char)(src[1]))) {
76 src++; /*%< skip x or X. */
77 while ((ch = *src++) != '\0' && isascii(ch) && isxdigit(ch)) {
109 } while ((ch = *src
190 getbits(const char *src, int *bitsp) argument
220 getv4(const char *src, u_char *dst, int *bitsp) argument
263 inet_net_pton_ipv6(const char *src, u_char *dst, size_t size) argument
395 inet_net_pton(int af, const char *src, void *dst, size_t size) argument
[all...]
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dctl_p.c166 ctl_sa_copy(const struct sockaddr *src, struct sockaddr *dst) { argument
167 switch (src->sa_family) {
170 *((const struct sockaddr_in6 *)src);
174 *((const struct sockaddr_in *)src);
179 *((const struct sockaddr_un *)src);
183 *dst = *src;
/osnet-11/usr/src/lib/libresolv2/common/nameser/
H A Dns_ttl.c52 ns_format_ttl(u_long src, char *dst, size_t dstlen) { argument
57 secs = src % 60; src /= 60;
58 mins = src % 60; src /= 60;
59 hours = src % 24; src /= 24;
60 days = src % 7; src /= 7;
61 weeks = src; sr
97 ns_parse_ttl(const char *src, u_long *dst) argument
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dldaputf8.c81 ldap_utf8copy (char* dst, const char* src) argument
82 /* Copy a character from src to dst; return the number of char's copied.
87 register const unsigned char* s = (const unsigned char*)src;
97 return s - (const unsigned char*)src;
102 ldap_utf8characters (const char* src) argument
105 register char* s = (char*)src;
112 ldap_utf8getcc( const char** src )
115 register const unsigned char* s = (const unsigned char*)*src;
132 *src = (const char*)s;
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_buf.c9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
127 const dt_buf_t *src, size_t align)
129 if (dst->dbu_err == 0 && src->dbu_err != 0) {
130 (void) dt_set_errno(dtp, src->dbu_err);
131 dst->dbu_err = src->dbu_err;
133 dt_buf_write(dtp, dst, src->dbu_buf,
134 (size_t)(src->dbu_ptr - src->dbu_buf), align);
126 dt_buf_concat(dtrace_hdl_t *dtp, dt_buf_t *dst, const dt_buf_t *src, size_t align) argument
/osnet-11/usr/src/lib/efcode/fcdriver/
H A Dphandle.c9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
56 my_nodeid_t *src = s; local
58 return ((src->node) == (dest->node));
64 my_nodeid_t *src = s; local
66 return ((src->my_handle) == (dest->my_handle));
/osnet-11/usr/src/grub/grub2/grub-core/lib/i386/
H A Drelocator.c128 grub_cpu_relocator_backward (void *ptr, void *src, void *dest, argument
132 grub_relocator_backward_src = src;
141 grub_cpu_relocator_forward (void *ptr, void *src, void *dest, argument
145 grub_relocator_forward_src = src;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/
H A Dencengine.c25 while (length($src))
27 my $size = $count($src);
28 my $in_seq = substr($src,0,$size,'');
56 while (length($src))
58 my $byte = $substr($src,0,1,'');
95 do_encode(encpage_t * enc, const U8 * src, STRLEN * slen, U8 * dst, argument
98 const U8 *s = src;
155 *slen = last - src;
/osnet-11/usr/src/lib/libproc/common/
H A DP32ton.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
74 timestruc_32_to_n(const timestruc32_t *src, timestruc_t *dst) argument
76 dst->tv_sec = (time_t)(uint32_t)src->tv_sec;
77 dst->tv_nsec = (long)(uint32_t)src->tv_nsec;
81 stack_32_to_n(const stack32_t *src, stack_t *dst) argument
83 dst->ss_sp = (caddr_t)(uintptr_t)src->ss_sp;
84 dst->ss_size = src->ss_size;
85 dst->ss_flags = src->ss_flags;
89 sigaction_32_to_n(const struct sigaction32 *src, struc argument
98 siginfo_32_to_n(const siginfo32_t *src, siginfo_t *dst) argument
171 auxv_32_to_n(const auxv32_t *src, auxv_t *dst) argument
187 rwindow_32_to_n(const struct rwindow32 *src, struct rwindow *dst) argument
198 gwindows_32_to_n(const gwindows32_t *src, gwindows_t *dst) argument
215 prgregset_32_to_n(const prgreg32_t *src, prgreg_t *dst) argument
246 prfpregset_32_to_n(const prfpregset32_t *src, prfpregset_t *dst) argument
303 lwpstatus_32_to_n(const lwpstatus32_t *src, lwpstatus_t *dst) argument
343 pstatus_32_to_n(const pstatus32_t *src, pstatus_t *dst) argument
378 lwpsinfo_32_to_n(const lwpsinfo32_t *src, lwpsinfo_t *dst) argument
407 psinfo_32_to_n(const psinfo32_t *src, psinfo_t *dst) argument
448 timestruc_n_to_32(const timestruc_t *src, timestruc32_t *dst) argument
455 stack_n_to_32(const stack_t *src, stack32_t *dst) argument
463 sigaction_n_to_32(const struct sigaction *src, struct sigaction32 *dst) argument
472 siginfo_n_to_32(const siginfo_t *src, siginfo32_t *dst) argument
545 auxv_n_to_32(const auxv_t *src, auxv32_t *dst) argument
552 prgregset_n_to_32(const prgreg_t *src, prgreg32_t *dst) argument
583 prfpregset_n_to_32(const prfpregset_t *src, prfpregset32_t *dst) argument
676 lwpstatus_n_to_32(const lwpstatus_t *src, lwpstatus32_t *dst) argument
716 pstatus_n_to_32(const pstatus_t *src, pstatus32_t *dst) argument
751 lwpsinfo_n_to_32(const lwpsinfo_t *src, lwpsinfo32_t *dst) argument
780 psinfo_n_to_32(const psinfo_t *src, psinfo32_t *dst) argument
[all...]
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_privilege.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
265 * Copy privleges information specified by 'src' to the
269 smb_privset_copy(smb_privset_t *dst, smb_privset_t *src) argument
271 if (src == 0 || dst == 0)
274 (void) memcpy(dst, src, smb_privset_size());
280 * Enable the privileges that are enabled in src in dst
283 smb_privset_merge(smb_privset_t *dst, smb_privset_t *src) argument
287 if (src == NULL || dst == NULL)
290 for (i = 0; i < src
[all...]
/osnet-11/usr/src/lib/libsocket/inet/
H A Dgetnameinfo.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
50 static const char *_inet_ntop_native(int af, const void *src, char *dst,
358 * and the address pointed by src is a IPv4-mapped IPv6 address, it
363 _inet_ntop_native(int af, const void *src, char *dst, size_t size) argument
369 if (IN6_IS_ADDR_V4MAPPED((struct in6_addr *)src)) {
370 IN6_V4MAPPED_TO_INADDR((struct in6_addr *)src, &src4);
373 result = inet_ntop(AF_INET6, src, dst, size);
376 result = inet_ntop(af, src, dst, size);
/osnet-11/usr/src/lib/libnsl/dial/
H A Dstoa.c9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
216 xfer(char *dest, char *src, unsigned len, unsigned max) argument
228 (void) memcpy(dest, src, (size_t)len);

Completed in 277 milliseconds

123456789