Searched defs:src (Results 76 - 100 of 216) sorted by relevance

123456789

/osnet-11/usr/src/lib/libfuse/common/
H A Doptions.c61 void *src = args->argv + pos; local
65 (void) memmove(dest, src, len * sizeof (char *));
/osnet-11/usr/src/lib/libipp/
H A Dlibipp.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.
635 char **src; local
652 if ((rc = nvlist_lookup_string_array(nvlp, adp->name, &src,
674 if ((dst[i] = strdup(src[i])) == NULL) {
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dccbase.c364 krb5_cc_move(krb5_context context, krb5_ccache src, krb5_ccache dst) argument
374 ret = krb5_cc_lock(context, src);
380 ret = krb5_cc_get_principal(context, src, &princ);
388 ret = krb5_cc_copy_creds(context, src, dst);
392 krb5_cc_unlock(context, src);
394 ret = krb5_cc_destroy(context, src);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_errmap.c89 mecherror_copy(struct mecherror *dest, struct mecherror src) argument
92 if (src.mech.length == 0 || src.mech.elements == NULL)
95 *dest = src;
96 dest->mech.elements = malloc(src.mech.length);
98 if (src.mech.length)
103 memcpy(dest->mech.elements, src.mech.elements, src.mech.length);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dutf8.c318 * Copy one UTF-8 character from src to dst returning
327 int krb5int_utf8_copy(char* dst, const char *src) argument
330 const unsigned char *u = (const unsigned char *) src;
332 dst[0] = src[0];
342 dst[i] = src[i];
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_split.c624 void *src; local
647 src = bi = GETBINTERNAL(h, nxt);
652 src = bl = GETBLEAF(h, nxt);
657 src = GETRINTERNAL(h, nxt);
662 src = rl = GETRLEAF(h, nxt);
687 memmove((char *)l + l->upper, src, nbytes);
744 src = bi = GETBINTERNAL(h, nxt);
748 src = bl = GETBLEAF(h, nxt);
752 src = GETRINTERNAL(h, nxt);
756 src
[all...]
/osnet-11/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_identity.c62 copy_list(char ***dst, char **src) argument
71 if (src == NULL)
74 for (i = 0; src[i] != NULL; i++);
80 for (i = 0; src[i] != NULL; i++) {
81 newlist[i] = strdup(src[i]);
H A Dpkinit_lib.c406 pkinit_copy_krb5_octet_data(krb5_octet_data *dst, const krb5_octet_data *src) argument
408 if (dst == NULL || src == NULL)
410 if (src->data == NULL) {
415 dst->data = malloc(src->length);
418 memcpy(dst->data, src->data, src->length);
419 dst->length = src->length;
/osnet-11/usr/src/grub/grub2/grub-core/lib/xzembed/
H A Dxz_dec_bcj.c103 uint32_t src; local
135 src = get_unaligned_le32(buf + i + 1);
137 dest = src - (s->pos + (uint32_t)i + 5);
146 src = dest ^ (((uint32_t)1 << (32 - j)) - 1);
/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/grub/grub-0.97/stage2/
H A Dboot.c404 char *src = skip_to (0, arg); local
407 while (dest < linux_data_tmp_addr + LINUX_CL_END_OFFSET && *src)
408 *(dest++) = *(src++);
/osnet-11/usr/src/cmd/sendmail/db/hash/
H A Dhash_dup.c576 u_int8_t *src; local
602 src = (u_int8_t *)(pagep) + HOFFSET(pagep);
603 memmove(src + shrink, src, pagep->inp[ndx] - HOFFSET(pagep));
/osnet-11/usr/src/cmd/sendmail/db/lock/
H A Dlock.c796 void *p, *src; local
845 src = type == DB_LOCK_OBJTYPE ? dbt->data : (void *)&locker;
846 memcpy(p, src, obj_size);
/osnet-11/usr/src/cmd/hal/probing/storage/
H A Dprobe-storage.c198 rtrim_copy(char *src, int len) argument
203 len = strlen(src);
206 strncpy(dst, src, len);
/osnet-11/usr/src/cmd/ldap/common/
H A Dconvutf8.c48 char *ldaptool_local2UTF8( const char *src );
51 static char *ldaptool_convert( const char *src, const char *fcode,
53 char *ldaptool_UTF82local( const char *src );
59 * As in ICU version, in case of error strdup(src)
60 * Usually strdup(src) will be ASCII and legal anyways.
64 ldaptool_convert( const char *src, const char *fcode, argument
71 if (src == NULL)
75 return (strdup(src));
78 return (strdup(src));
82 return (strdup(src));
[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/port/rt/
H A Dpos4obj.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.
263 __pos4obj_md5toa(unsigned char *dest, unsigned char *src) argument
269 p = (uint32_t *)src;
/osnet-11/usr/src/lib/libuuid/common/
H A Duuid.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.
521 * Copies the UUID variable src to dst.
524 uuid_copy(uuid_t dst, uuid_t src) argument
526 (void) memcpy(dst, src, UUID_LEN);
/osnet-11/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaAttrManager.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.
450 generic_attr_t *new_attrs, *src, *dst; local
458 src = src_attrs + i;
461 *dst = *src;
463 /* Adjust pointers in dst so that they don't point to src. */
465 if (src->isMalloced) {
467 malloc(src->attribute.ulValueLen);
478 } else if (src->attribute.pValue == &src
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSession.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.
360 CK_BYTE_PTR src; local
369 src = pOperationState;
372 bcopy(src, &expected_len, sizeof (int));
381 src += sizeof (int);
384 bcopy(src, &src_ses_state, sizeof (CK_STATE));
387 src += sizeof (CK_STATE);
393 bcopy(src, &tmp_op, sizeof (crypto_active_op_t));
398 src
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftASN1.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.
68 pad_bigint_attr(biginteger_t *src, biginteger_t *dst) argument
73 if (src == NULL || dst == NULL)
76 if (src->big_value_len == 0) {
88 padding = (src->big_value[0] < 0x80) ? 0 : 1;
89 dst->big_value_len = src->big_value_len + padding;
97 (void) memcpy(&(dst->big_value[padding]), src->big_value,
98 src->big_value_len);
109 unpad_bigint_attr(biginteger_t src, biginteger_ argument
[all...]
H A DsoftDSA.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.
463 biginteger_t src; local
502 if ((rv = dup_bigint_attr(&src, value, value_len)) != CKR_OK)
506 copy_bigint_attr(&src, dst);
/osnet-11/usr/src/lib/libproc/sparc/
H A DPisadep.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.
225 ucontext_n_to_prgregs(const ucontext_t *src, prgregset_t dst) argument
227 const greg_t *gregs = &src->uc_mcontext.gregs[0];
/osnet-11/usr/src/lib/libproc/sparcv9/
H A DPisadep.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.
273 ucontext_n_to_prgregs(const ucontext_t *src, prgregset_t dst) argument
275 const greg_t *gregs = &src->uc_mcontext.gregs[0];
303 ucontext_32_to_prgregs(const ucontext32_t *src, prgregset_t dst) argument
309 const greg32_t *gregs = &src->uc_mcontext.gregs[0];

Completed in 61 milliseconds

123456789