Searched refs:src (Results 126 - 150 of 437) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_netbios_datagram.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.
316 smb_netbios_datagram_send(struct name_entry *src, struct name_entry *dest, argument
327 (void) smb_first_level_name_encode(src, (unsigned char *)ha_source,
360 (void) memcpy(&buffer[4], &src->addr_list.sin.sin_addr.s_addr,
362 (void) memcpy(&buffer[8], &src->addr_list.sin.sin_port,
396 smb_netbios_datagram_send_to_net(struct name_entry *src, argument
407 (void) smb_first_level_name_encode(src, (unsigned char *)ha_source,
440 (void) memcpy(&buffer[4], &src->addr_list.sin.sin_addr.s_addr,
442 (void) memcpy(&buffer[8], &src
[all...]
/osnet-11/usr/src/lib/libc/sparc/gen/
H A Dstrncpy.s8 * 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 Dstrlcpy.s8 * 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...]
H A Dmemmove.s8 * 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.
53 andcc %i1, 3, %i5 ! is src word aligned
55 cmp %i5, 2 ! is src half-word aligned
57 cmp %i5, 3 ! src is byte aligned
60 stb %i3, [%i0] ! move a byte to align src
67 s2algn: lduh [%i1], %i3 ! know src is 2 byte alinged
88 dec 4, %i3 ! avoid reading beyond tail of src
109 dec 4, %i3 ! avoid reading beyond tail of src
132 dec 4, %i3 ! avoid reading beyond tail of src
[all...]
H A Dstrcpy.s8 * 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.
65 sub %o1, %o0, %o3 ! src - dst
66 andcc %o1, 3, %o4 ! src word aligned ?
70 cmp %o4, 2 ! src halfword aligned
72 ldub [%o2 + %o3], %o1 ! src[0]
78 inc %o2 ! src++, dst++
81 lduh [%o2 + %o3], %o1 ! src[]
89 add %o2, 2, %o2 ! src += 2, dst += 2
100 lduw [%o2 + %o3], %o1 ! src wor
[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/libdll/
H A DMakefile8 # 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.
51 HDRDIR32= $(MACH)/src/lib/libdll
52 HDRDIR64= $(MACH64)/src/lib/libdll
/osnet-11/usr/src/lib/libumem/common/
H A Dvmem_sbrk.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.
87 * Try to extend src with [pos, pos + size).
92 vmem_sbrk_extend_alloc(vmem_t *src, void *pos, size_t size, size_t alloc, argument
98 ret = _vmem_extend_alloc(src, pos, size, alloc, vmflags);
120 * Try to add at least size bytes to src, using the sbrk_fails list
123 vmem_sbrk_tryfail(vmem_t *src, size_t size, int vmflags) argument
140 return (vmem_sbrk_extend_alloc(src, fp, fp->sf_size, size,
150 vmem_sbrk_alloc(vmem_t *src, size_t size, int vmflags) argument
161 ret = vmem_alloc(src, siz
[all...]
/osnet-11/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl_osd.h8 * 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...]
/osnet-11/usr/src/grub/grub2/build-aux/
H A Dinstall-sh82 src=
223 for src
226 case $src in
227 -*) src=./$src ;;
231 dst=$src
237 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
239 # if $src (and thus $dsttmp) contains '*'.
240 if test ! -f "$src" && test ! -d "$src"; the
[all...]
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dirs_p.h43 extern void map_v4v6_address(const char *src, char *dst);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsafechown.c16 * safechown changes the owner ship of src to uid. If the mode parameter
17 * does not equal -1 changes the mode of src as well.
23 safechown(const char *src, uid_t uid, gid_t gid, int mode) argument
29 if ((fd = open(src, O_RDONLY, 0)) == -1)
43 if (lstat(src, &lbuf)) {
/osnet-11/usr/src/lib/libresolv2/common/nameser/
H A Dns_name.c97 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...]
H A Dns_samedomain.c153 * make a canonical copy of domain name "src"
166 ns_makecanon(const char *src, char *dst, size_t dstsize) { argument
167 size_t n = strlen(src);
173 strcpy(dst, src);
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid.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.
83 di_devtype_get(topo_mod_t *mp, di_node_t src, char **devtype) argument
94 if (di_bytes_get(mp, src, DI_DEVTYPPROP, &sz, &buf) == 0) {
129 di_physlotinfo_get(topo_mod_t *mp, di_node_t src, int *slotnum, char **slotname) argument
139 (void) di_uintprop_get(mp, src, DI_PHYSPROP, (uint_t *)slotnum);
146 if (di_bytes_get(mp, src, DI_SLOTPROP, &sz, &buf) == 0 &&
185 __func__, src);
189 __func__, src, DI_SLOTPROP);
198 __func__, src);
210 di_slotinfo_get(topo_mod_t *mp, di_node_t src, int *nslots, slotnm_t **slotnames) argument
269 did_create(topo_mod_t *mp, di_node_t src, int ibrd, int ibrdge, int irc, int ibus) argument
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetut.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.
100 utmp_frec2api(const struct futmp *src, struct utmp *dst) argument
102 if (src == NULL)
105 (void) strncpy(dst->ut_user, src->ut_user, sizeof (dst->ut_user));
106 (void) strncpy(dst->ut_line, src->ut_line, sizeof (dst->ut_line));
107 (void) memcpy(dst->ut_id, src->ut_id, sizeof (dst->ut_id));
108 dst->ut_pid = src->ut_pid;
109 dst->ut_type = src->ut_type;
110 dst->ut_exit.e_termination = src
116 utmp_api2frec(const struct utmp *src, struct futmp *dst) argument
[all...]
H A Dsecdb.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.
203 do_escape(const char *src, char **res, const char *esc, boolean_t *err) argument
210 if (src == NULL || src[strcspn(src, esc)] == '\0')
211 return ((char *)src);
213 tmp = _escape(src, esc);
217 return ((char *)src);
359 do_unescape(char *src, boolean_ argument
380 _do_unescape(char *src) argument
[all...]
/osnet-11/usr/src/lib/libc/sparcv9/gen/
H A Dmemmove.s8 * 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.
53 andcc %i1, 3, %i5 ! is src word aligned
55 cmp %i5, 2 ! is src half-word aligned
57 cmp %i5, 3 ! src is byte aligned
60 stb %i3, [%i0] ! move a byte to align src
67 s2algn: lduh [%i1], %i3 ! know src is 2 byte alinged
88 dec 4, %i3 ! avoid reading beyond tail of src
109 dec 4, %i3 ! avoid reading beyond tail of src
132 dec 4, %i3 ! avoid reading beyond tail of src
[all...]
H A Dstrncpy.s8 * 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
75 sub %o4, 8, %o4 ! bytes until src aligned
78 ldub [%o3 + %g4], %o1 ! src[]
79 stb %o1, [%o2 + %g4] ! dst[] = src[]
80 addcc %g4, 1, %g4 ! src++, dst++, n--
82 tst %o1 ! end of src reache
[all...]
/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/libsmbfs/common/
H A Dsmbfs_pwdutil.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.
114 FILE *src, *dst; local
141 if ((src = fopen(SMBFS_PASSWD, "rF")) == NULL) {
155 while (smbfs_pwd_fgetent(src, &pwbuf) != NULL) {
170 (void) fclose(src);
179 (void) fclose(src);
193 (void) fclose(src);
202 while (smbfs_pwd_fgetent(src, &pwbuf) != NULL) {
206 (void) fclose(src);
249 FILE *src, *dst; local
[all...]
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dmisc.h54 void *EXPORT_FUNC(grub_memmove) (void *dest, const void *src, grub_size_t n);
55 char *EXPORT_FUNC(grub_strcpy) (char *dest, const char *src);
56 char *EXPORT_FUNC(grub_strncpy) (char *dest, const char *src, int c);
57 char *EXPORT_FUNC(grub_stpcpy) (char *dest, const char *src);
63 grub_memcpy (void *dest, const void *src, grub_size_t n) argument
65 return grub_memmove (dest, src, n);
69 grub_strcat (char *dest, const char *src) argument
76 while ((*p = *src) != '\0')
79 src++;
86 grub_strncat (char *dest, const char *src, in 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/grub/grub2/include/grub/lib/
H A DLzmaDec.h201 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
218 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
239 SZ_ERROR_INPUT_EOF - It needs more bytes in input buffer (src).
242 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
/osnet-11/usr/src/grub/grub2/include/grub/net/
H A Dip.h64 const grub_net_network_level_address_t *src);
76 const grub_net_network_level_address_t *src);
85 const grub_net_network_level_address_t *src,

Completed in 99 milliseconds

1234567891011>>