Searched defs:src (Results 426 - 450 of 569) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libbsm/common/
H A Dadt.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.
308 adt_cpy_tid(au_tid_addr_t *dest, const au_tid64_addr_t *src) argument
311 (void) memcpy(dest, src, sizeof (au_tid_addr_t));
313 dest->at_type = src->at_type;
315 dest->at_port = src->at_port.at_minor & MAXMIN32;
316 dest->at_port |= (src->at_port.at_major & MAXMAJ32) <<
319 (void) memcpy(dest->at_addr, src->at_addr, 4 * sizeof (uint32_t));
/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Dclasn1.c325 CopyData(KMF_DATA *src, KMF_DATA *dst) argument
327 if (src && dst && src->Data != NULL && src->Length > 0) {
328 dst->Length = src->Length;
332 (void) memcpy(dst->Data, src->Data, src->Length);
480 convert_signed_to_fixed(BerValue *src, BerValue *dst) argument
484 if (dst->bv_len > src->bv_len) {
485 cnt = dst->bv_len - src
633 CopySPKI(KMF_X509_SPKI *src, KMF_X509_SPKI **dest) argument
2459 ber_copy_data(KMF_DATA *dst, KMF_DATA *src) argument
[all...]
/illumos-gate/usr/src/common/bignum/
H A Dbignumimpl.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.
413 * Copy BIGNUM src to dest, allocating memory if needed.
416 big_copy(BIGNUM *dest, BIGNUM *src) argument
421 len = src->len;
422 while ((len > 1) && (src->value[len - 1] == 0)) {
425 src->len = len;
445 dest->sign = src->sign;
447 dest->value[i] = src->value[i];
/illumos-gate/usr/src/common/net/wanboot/
H A Dboot_http.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.
138 #define SET_ERR(c_id, src, err) if ((c_id)->numerrs < ESTACK_SIZE) \
139 (c_id)->errs[(c_id)->numerrs].errsrc = (src), \
1455 ulong_t src; local
1466 GET_ERR(c_id, src, err);
1467 if (src == 0 && err == 0) {
1475 *errsrc = src;
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_util.c1843 * src (input) - source address
1849 ndmp_copy_addr_v3(ndmp_addr_v3 *dst, ndmp_addr_v3 *src) argument
1851 dst->addr_type = src->addr_type;
1852 switch (src->addr_type) {
1857 dst->tcp_ip_v3 = htonl(src->tcp_ip_v3);
1858 dst->tcp_port_v3 = src->tcp_port_v3;
1876 * src (input) - source address
1882 ndmp_copy_addr_v4(ndmp_addr_v4 *dst, ndmp_addr_v4 *src) argument
1886 dst->addr_type = src->addr_type;
1887 dst->tcp_len_v4 = src
[all...]
/illumos-gate/usr/src/cmd/nscd/
H A Dcache.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.
112 dup_packed_buffer(void *src, void *dst) { argument
113 nsc_lookup_args_t *s = (nsc_lookup_args_t *)src;
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcplugin/
H A Dpsvcplugin.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.
1271 char src[32], dst[256]; local
1295 found = sscanf(buf, "%31s %31s %255s %31s", src, src_prop, dst,
1302 /* find src node */
1303 if (src[0] == '/') {
1305 err = ptree_get_node_by_path(src, &src_node);
1307 init_err(NODE_NOT_FOUND_MSG, funcname, src);
1311 srcobjp = (picl_psvc_t *)bsearch(src, psvc_hdl.objects,
1316 init_err(ID_NOT_FOUND_MSG, funcname, src);
[all...]
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/pools/
H A DPoolInternal.java9 * 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.
101 long src, long tgt, long size);
103 long src, long tgt, java.util.List components);
100 pool_resource_transfer(long conf, long src, long tgt, long size) argument
102 pool_resource_xtransfer(long conf, long src, long tgt, java.util.List components) argument
/illumos-gate/usr/src/cmd/power/
H A Dhandlers.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.
42 #define STRCPYLIM(dst, src, str) strcpy_limit(dst, src, sizeof (dst), str)
497 gethm(char *src, int *hour, int *min) argument
499 if (sscanf(src, "%d:%d", hour, min) != 2) {
500 mesg(MERR, "bad time format (%s)\n", src);
508 strcpy_limit(char *dst, char *src, size_t limit, char *info) argument
510 if (strlcpy(dst, src, limit) >= limit)
511 mesg(MEXIT, "%s is too long (%s)\n", info, src);
558 devpath(char **destp, char *src, int *errp) argument
613 char *src, *first, **destp; local
740 char *rp, *src; local
814 scan_int(char *src, int *dst) argument
831 scan_float(char *src, float *dst) argument
891 char *src, *err_fmt = NULL, *mnttab = MNTTAB; local
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_script.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.
510 copy_env(char *src[], char *dst[]) argument
514 for (i = 0; src[i] != NULL; i++)
515 dst[i] = src[i];
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drcp.c542 char *host, *src, *suser, *thost, *tuser; local
568 src = colon(argv[i]);
569 if (src) { /* remote to remote */
570 *src++ = 0;
571 if (*src == 0)
572 src = ".";
588 suser, "-n", cmd, src, bp, (char *)NULL);
595 src, bp, (char *)NULL);
793 char *host, *src, *suser, *lhost; local
802 if (!(src
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/
H A Dwanboot-cgi.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.
261 copy_file(const char *src, const char *dest) argument
277 if ((rfd = open(src, O_RDONLY)) < 0 ||
306 "error copying %s to %s", src, dest)) > 0 &&
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dntp.h9 * 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.
349 struct sockaddr_in src; /* both peer.srcadr and peer.srcport */ member in struct:ntp_peer
461 * From usr/src/cmd/xntpd/include/ntp_control.h:
499 * From usr/src/cmd/xntpd/include/ntp_request.h:
H A Dsnoop_ldap.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.
64 int src; member in struct:ctx
121 interpret_ldap(flags, data, fraglen, src, dst)
125 int src;
162 "LDAP C port=%d%s", src, data); local
164 if (src == 389) {
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_slice.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.
1140 dm_descriptor_t src = modified->src_slice_desc; local
1144 if (src != (dm_descriptor_t)0) {
1145 if ((error = get_display_name(src, &srcname)) == 0) {
1167 (error = slice_set_size(src, srcsize + size)) ||
1168 (error = slice_get_size_in_blocks(src, &srcsizeblks)) ||
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_api.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.
2354 fmd_nvl_dup(fmd_hdl_t *hdl, nvlist_t *src, int flags) argument
2366 ret = nvlist_xdup(src, &nvl, nva);
H A Dfmd_asru.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.
603 char src[PATH_MAX], dst[PATH_MAX]; local
605 (void) snprintf(src, PATH_MAX, "%s/%s", ahp->ah_dirpath, uuid);
609 err = rename(src, dst);
611 err = unlink(src);
614 fmd_error(EFMD_ASRU_EVENT, "failed to rename log %s", src);
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Delfedit.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.
194 * Copy at most min(cpsize, dstsize-1) bytes from src into dst,
195 * truncating src if necessary. The result is always null-terminated.
199 * src - Source string
211 elfedit_strnbcpy(char *dst, const char *src, size_t cpsize, size_t dstsize) argument
216 (void) strncpy(dst, src, cpsize + 1);
2763 char *src, *dst; local
2787 src = origin_root + strlen(origin_root);
2788 while ((src > origin_roo
[all...]
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk1.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.
1619 const wchar_t *src, /* source string */
1654 if (rp == NULL || rpl == NULL || src == NULL || dst == NULL)
1658 ip = src; /* source position */
1617 int_regwdosuba(REGEXP rp, const wchar_t *rpl, const wchar_t *src, wchar_t **dstp, int len, int *globp) argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.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.
89 static const char *inet_ntop_native(int af, const void *src, char *dst,
2246 * and the address pointed by src is a IPv4-mapped IPv6 address, it
2251 inet_ntop_native(int af, const void *src, char *dst, size_t size) argument
2259 sin6 = (struct sockaddr_in6 *)src;
2268 sin = (struct sockaddr_in *)src;
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dobj.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.
770 isns_obj_t *src = (isns_obj_t *)p2; local
772 if (src->type == OBJ_DD || src->type == OBJ_DDS) {
786 pp_src = get_parent_p(src);
796 if (copy_attrs(dst, src) != 0) {
800 /* free up the src object */
802 (void) free_object(src);
804 (void) set_obj_uid(src, get_obj_ui
[all...]
/illumos-gate/usr/src/cmd/keyserv/
H A Dsetkey.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.
314 cpykeybuf3(keybuf3 *src) argument
318 if (src == NULL) {
321 if ((dst = getkeybuf3(src->keybuf3_len)) == NULL) {
324 memcpy(dst->keybuf3_val, src->keybuf3_val, src->keybuf3_len);
330 setkeybuf3(char *src, int len) argument
337 memcpy(dst->keybuf3_val, src, len);
356 storekeybuf3(keybuf3 *dst, keybuf3 *src) argument
403 cpydeskeyarray(deskeyarray *src) argument
420 storedeskeyarray(deskeyarray *dst, deskeyarray *src) argument
[all...]
/illumos-gate/usr/src/cmd/svc/configd/
H A Dclient.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.
1460 repcache_entity_t *src; local
1468 result = entity_find2(cp, srcid, &src, destid, &dest);
1472 result = rc_node_next_snaplevel(&src->re_node, &dest->re_node);
1474 entity_release(src);
1483 repcache_entity_t *src; local
1490 result = entity_find2(cp, srcid, &src, destid, &dest);
1500 result = rc_snapshot_take_new(&src->re_node, NULL,
1504 result = rc_snapshot_take_attach(&src
1519 repcache_entity_t *src; local
1549 repcache_entity_t *src; local
[all...]
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dexplain.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.
631 * Determine the causes of src and add them to the causes list of dst.
632 * Returns ELOOP if src is active, and 0 otherwise.
635 add_causes(inst_t *dst, inst_t *src) argument
640 if (determine_causes(src, (void *)1) != UU_WALK_NEXT) {
647 add_svcptr(src->impact_dependents, dst);
649 for (spp = uu_list_first(src->causes);
651 spp = uu_list_next(src->causes, spp)) {
657 copy->next_hop = src;
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_arp.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.
1440 arp_notify(in_addr_t src, mblk_t *mp, uint32_t arcn_code, argument
1472 (void) ip_dot_addr(src, sbuf);
1500 if (src == 0) {
1504 hwm.hwm_addr = src;
1517 (void) ip_dot_addr(src, sbuf);
2014 ipaddr_t src; local
2020 /* first try src = ar$spa */
2022 bcopy((char *)&arh[1] + arh->arh_hlen, &src, IP_ADDR_LE
[all...]

Completed in 155 milliseconds

<<11121314151617181920>>