/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | strlcpy.s | 8 * 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. 31 * (dstsize being the size of the string buffer dst) from src 32 * to dst, truncating src if necessary. The result is always 33 * null-terminated. The function returns strlen(src). Buffer 36 * if (strlcpy(dst, src, dstsize) >= dstsize) 64 add %i1, %i2, %i3 ! src = src + n 65 andcc %i1, 7, %i4 ! src dword aligned ? 68 sub %i4, 8, %i4 ! bytes until src aligne [all...] |
/illumos-gate/usr/src/uts/sparc/fs/proc/ |
H A D | prmachdep.c | 8 * 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. 231 prgregset_32ton(klwp_t *lwp, prgregset32_t src, prgregset_t dest) argument 235 dest[R_G0] = SET_LOWER_32(0, src[R_G0]); 236 dest[R_G1] = SET_LOWER_32(r->r_g1, src[R_G1]); 237 dest[R_G2] = SET_LOWER_32(r->r_g2, src[R_G2]); 238 dest[R_G3] = SET_LOWER_32(r->r_g3, src[R_G3]); 239 dest[R_G4] = SET_LOWER_32(r->r_g4, src[R_G4]); 240 dest[R_G5] = SET_LOWER_32(r->r_g5, src[R_G5]); 241 dest[R_G6] = SET_LOWER_32(r->r_g6, src[R_G [all...] |
/illumos-gate/usr/src/cmd/logadm/ |
H A D | kw.c | 8 * 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. 188 * kw_expand -- expand src into dst with given n value for $n (or $N) 190 * n == -1 means expand src into a reglob 196 kw_expand(struct fn *src, struct fn *dst, int n, boolean_t gz) argument 205 while ((c = fn_getc(src)) != '\0') 232 switch (c = fn_getc(src)) { 248 if (c == 'N' || !islower(fn_peekc(src))) { 272 while (islower(fn_peekc(src))) 273 fn_putc(kw, fn_getc(src)); 400 struct fn *src = fn_new(NULL); local [all...] |
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | strncpy.s | 8 * 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. 60 ! This implementation works by first aligning the src ptr and 71 add %o1, %o2, %o3 ! src = src + n 74 andcc %o1, 3, %o5 ! src word aligned ? 77 sub %i5, 4, %i5 ! bytes until src aligned 82 ldub [%i3 + %i4], %i1 ! src[] 83 stb %i1, [%i2 + %i4] ! dst[] = src[] 84 inccc %i4 ! src [all...] |
H A D | strlcpy.s | 8 * 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. 30 * (dstsize being the size of the string buffer dst) from src 31 * to dst, truncating src if necessary. The result is always 32 * null-terminated. The function returns strlen(src). Buffer 35 * if (strlcpy(dst, src, dstsize) >= dstsize) 60 bz,pn %icc, .getstrlen ! if 0 do nothing but strlen(src) 61 add %i1, %i2, %i3 ! i3 = src + n 65 sub %i4, 4, %i4 ! bytes until src aligned 68 ldub [%i3 + %g4], %l1 ! l1 = src[] [all...] |
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | clscook.c | 8 * 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. 223 Elf_Data dst, src; local 252 src.d_buf = (Elf_Void *)elf->ed_ident; 253 src.d_type = ELF_T_EHDR; 254 src.d_size = fsz; 255 src.d_version = elf->ed_version; 261 (elf_xlatetom(&dst, &src, elf->ed_encode) == 0)) { 300 Elf_Data dst, src; local 333 src 361 Elf_Data dst, src; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_datagram.c | 8 * 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. 317 smb_netbios_datagram_send(struct name_entry *src, struct name_entry *dest, argument 328 (void) smb_first_level_name_encode(src, (unsigned char *)ha_source, 361 (void) memcpy(&buffer[4], &src->addr_list.sin.sin_addr.s_addr, 363 (void) memcpy(&buffer[8], &src->addr_list.sin.sin_port, 397 smb_netbios_datagram_send_to_net(struct name_entry *src, argument 408 (void) smb_first_level_name_encode(src, (unsigned char *)ha_source, 441 (void) memcpy(&buffer[4], &src->addr_list.sin.sin_addr.s_addr, 443 (void) memcpy(&buffer[8], &src [all...] |
/illumos-gate/usr/src/lib/libdll/ |
H A D | Makefile | 8 # 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 HDRDIR32= $(MACH)/src/lib/libdll 51 HDRDIR64= $(MACH64)/src/lib/libdll
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | vmem_sbrk.c | 8 * 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. 89 * Try to extend src with [pos, pos + size). 94 vmem_sbrk_extend_alloc(vmem_t *src, void *pos, size_t size, size_t alloc, argument 100 ret = _vmem_extend_alloc(src, pos, size, alloc, vmflags); 122 * Try to add at least size bytes to src, using the sbrk_fails list 125 vmem_sbrk_tryfail(vmem_t *src, size_t size, int vmflags) argument 142 return (vmem_sbrk_extend_alloc(src, fp, fp->sf_size, size, 152 vmem_sbrk_alloc(vmem_t *src, size_t size, int vmflags) argument 163 ret = vmem_alloc(src, siz [all...] |
/illumos-gate/usr/src/lib/libxcurses/ |
H A D | Makefile.com | 8 # 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. 30 # all of the libxcurses source files are in src/libc 35 # XCURSES source files are in src/libc/xcurses 72 # GEN source files are in src/libc/gen 76 # I18N source files are in src/libc/i18n 80 # MKS source files are in src/libc/mks 86 # STDIO source files are in src/libc/stdio 90 # WIDE source files are in src/libc/wide 97 SRCDIR = ../src [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | ldaputf8.c | 81 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;
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/ |
H A D | piclfruaccess_platmod.c | 9 * 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. 65 * intialize the format structure, fill in src and dest addresses 70 /* initialize src and dest addresses */ 71 fru_format->src = IPMB_ADDR(slot_no); 72 fru_format->dest = fru_format->src;
|
/illumos-gate/usr/src/cmd/svc/common/ |
H A D | i.manifest | 9 # 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. 100 while read src dst; do 101 $CP -p $src $dst 109 while read src dst; do 110 $CP -p $src $dst
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/include/ |
H A D | dapl_osd.h | 8 * 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. 254 /* void * dapl_os_memcpy(void *dest, const void *src, int len) */ 255 #define dapl_os_memcpy(dest, src, len) memcpy((dest), (src), (len)) 268 /* char *strcpy(char *dest, char *src) */ 269 #define dapl_os_strcpy(dest, src) strcpy((dest), (src)) 271 #define dapl_os_strncpy(dest, src, len) strncpy((dest), (src), (le [all...] |
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | libofw.h | 53 ssize_t ofw_copyin(const void *src, vm_offset_t dest, const size_t len); 54 ssize_t ofw_copyout(const vm_offset_t src, void *dest, const size_t len);
|
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | libuboot.h | 64 ssize_t uboot_copyin(const void *src, vm_offset_t dest, const size_t len); 65 ssize_t uboot_copyout(const vm_offset_t src, void *dest, const size_t len);
|
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | copy.c | 35 userboot_copyin(const void *src, vm_offset_t va, size_t len) argument 38 CALLBACK(copyin, src, va, len);
|
/illumos-gate/usr/src/boot/sys/boot/zfs/ |
H A D | gzip.c | 23 * Uncompress the buffer 'src' into the buffer 'dst'. The caller must store 29 z_uncompress(void *dst, size_t *dstlen, const void *src, size_t srclen) argument 35 zs.next_in = (unsigned char *)src;
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irs_p.h | 43 extern void map_v4v6_address(const char *src, char *dst);
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | ipft_ef.c | 11 lnth proto source destination src port dst port 76 char src[16], dst[16], sprt[16], dprt[16]; local 89 if (sscanf(lbuf, "%7s %7s %15s %15s %15s %15s", len, prot, src, dst, 92 len, prot, src, dst, sprt, dprt) != 7) 119 (void) inet_aton(src, &ip->ip_src);
|
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_util.c | 400 unsigned char *src = (unsigned char *) s2; local 403 targ[3] = src[0]; 404 targ[2] = src[1]; 405 targ[1] = src[2]; 406 targ[0] = src[3]; 408 targ[7] = src[0]; 409 targ[6] = src[1]; 410 targ[5] = src[2]; 411 targ[4] = src[3]; 412 targ[3] = src[ [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | sysfs.c | 9 * 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. 119 char *src; local 129 osrc = src = vswp->vsw_name; 130 while (*src++) 133 if (copyout(osrc, cbuf, src - osrc))
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | safechown.c | 17 * safechown changes the owner ship of src to uid. If the mode parameter 18 * does not equal -1 changes the mode of src as well. 24 safechown(const char *src, uid_t uid, gid_t gid, int mode) argument 30 if ((fd = open(src, O_RDONLY, 0)) == -1) 44 if (lstat(src, &lbuf)) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | trace.h | 9 * 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. 81 #define TRACE_INPUT(ifp, src, size) { \ 83 trace(&(ifp)->int_input, (src), packet, (size), \ 87 dumppacket(stdout, "from", (struct sockaddr_in6 *)(src), \
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_name.c | 97 ns_name_ntop(const u_char *src, char *dst, size_t dstsiz) argument 105 cp = src; 201 ns_name_pton(const char *src, u_char *dst, size_t dstsiz) { argument 202 return (ns_name_pton2(src, dst, dstsiz, NULL)); 206 * ns_name_pton2(src, dst, dstsiz, *dstlen) 218 ns_name_pton2(const char *src, u_char *dst, size_t dstsiz, size_t *dstlen) { argument 228 while ((c = *src++) != 0) { 231 if ((cp = strchr(src, ']')) == NULL) { 235 if ((e = encode_bitsring(&src, cp + 2, 243 if ((c = *src 354 ns_name_ntol(const u_char *src, u_char *dst, size_t dstsiz) argument 404 ns_name_unpack(const u_char *msg, const u_char *eom, const u_char *src, u_char *dst, size_t dstsiz) argument 419 ns_name_unpack2(const u_char *msg, const u_char *eom, const u_char *src, u_char *dst, size_t dstsiz, size_t *dstlen) argument 514 ns_name_pack(const u_char *src, u_char *dst, int dstsiz, const u_char **dnptrs, const u_char **lastdnptr) argument 615 ns_name_uncompress(const u_char *msg, const u_char *eom, const u_char *src, char *dst, size_t dstsiz) argument 644 ns_name_compress(const char *src, u_char *dst, size_t dstsiz, const u_char **dnptrs, const u_char **lastdnptr) argument 659 ns_name_rollback(const u_char *src, const u_char **dnptrs, const u_char **lastdnptr) argument [all...] |