Searched defs:src (Results 326 - 350 of 569) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/boot/sys/boot/sparc64/boot1/
H A Dboot1.c60 static void bcopy(const void *src, void *dst, size_t len);
287 bcopy(const void *src, void *dst, size_t len) argument
289 const char *s = src;
297 memcpy(void *dst, const void *src, size_t len) argument
300 bcopy(src, dst, len);
/illumos-gate/usr/src/common/util/
H A Dstring.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.
568 #define bcopy(src, dst, n) (void) memcpy((dst), (src), (n))
572 strlcat(char *dst, const char *src, size_t dstsize) argument
577 size_t l2 = strlen(src);
588 bcopy(src, dst + l1, copied);
594 strlcpy(char *dst, const char *src, size_t len) argument
596 size_t slen = strlen(src);
606 bcopy(src, ds
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelAttributeUtil.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.
736 copy_bigint_attr(biginteger_t *src, biginteger_t *dst) argument
739 if ((src->big_value != NULL) &&
740 (src->big_value_len > 0)) {
743 * to src's.
745 dst->big_value = src->big_value;
746 dst->big_value_len = src->big_value_len;
749 * After the copy, nullify the src's big_value pointer.
752 src
763 get_string_from_template(CK_ATTRIBUTE_PTR dest, CK_ATTRIBUTE_PTR src) argument
[all...]
H A DkernelKeys.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.
215 /* find specified attribute src template and copy to dest */
217 copy_attribute(CK_ULONG type, CK_ATTRIBUTE_PTR src, CK_ULONG src_cnt, argument
223 if (src[i].type == type) {
224 rv = get_string_from_template(dst, &src[i]);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsendto_kdc.c281 merge_addrlists (struct addrlist *dest, struct addrlist *src) argument
296 for (i = 0; i < src->naddrs; i++)
298 dprint(" %A", src->addrs[i].ai);
303 err = krb5int_grow_addrlist (dest, src->naddrs);
306 for (i = 0; i < src->naddrs; i++) {
307 dest->addrs[dest->naddrs + i] = src->addrs[i];
308 src->addrs[i].ai = 0;
309 src->addrs[i].freefn = 0;
312 src->naddrs = 0;
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dedit.c1352 * convert external representation <src> to an array of genchars <dest>
1353 * <src> and <dest> can be the same
1357 int ed_internal(const char *src, genchar *dest) argument
1359 register const unsigned char *cp = (unsigned char *)src;
1365 c = ed_internal(src,buffer);
1376 * convert internal representation <src> into character array <dest>.
1377 * The <src> and <dest> may be the same.
1381 int ed_external(const genchar *src, char *dest) argument
1387 if((char*)src == dp)
1390 c = ed_external(src,buffe
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_cg.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.
313 * and src->dn_reg, r2, r2
324 dt_cg_field_set(dt_node_t *src, dt_irlist_t *dlp, argument
388 instr = DIF_INSTR_FMT(DIF_OP_AND, src->dn_reg, r2, r2);
405 dt_cg_store(dt_node_t *src, dt_irlist_t *dlp, dt_regset_t *drp, dt_node_t *dst) argument
421 size = dt_node_type_size(src);
423 if (src->dn_flags & DT_NF_REF) {
426 instr = DIF_INSTR_COPYS(src->dn_reg, reg, dst->dn_reg);
431 reg = dt_cg_field_set(src, dl
467 dt_cg_typecast(const dt_node_t *src, const dt_node_t *dst, dt_irlist_t *dlp, dt_regset_t *drp) argument
[all...]
H A Ddt_module.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.
240 dt_module_symgelf32(const Elf32_Sym *src, GElf_Sym *dst) argument
243 dst->st_name = src->st_name;
244 dst->st_info = src->st_info;
245 dst->st_other = src->st_other;
246 dst->st_shndx = src->st_shndx;
247 dst->st_value = src->st_value;
248 dst->st_size = src->st_size;
255 dt_module_symgelf64(const Elf64_Sym *src, GElf_Sy argument
[all...]
/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_sec_mechs.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 const char *src = authtype; local
771 const char *max = src + mechaliaslen;
773 if (!src || !dst || mechaliaslen == 0)
776 while (*src && src < max - 1)
777 *dst++ = tolower(*src++);
803 const char *src = mechalias; local
805 const char *max = src
[all...]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgtrans.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.
116 static int wdsheader(struct dm_buf *, char *src, char *device,
255 char *src, *dst; local
483 src = srcdev.dirname;
486 if (chdir(src)) {
488 logerr(pkg_gt(MSG_CHDIR), src); local
497 xpkg = pkg = gpkglist(src, pkg, NULL);
500 logerr(pkg_gt(MSG_NOPKGS), src); local
530 if ((hdr = genheader(src, pk
771 genheader(char *src, char **pkg) argument
925 wdsheader(struct dm_buf *hdr, char *src, char *device, char **pkg, PKCS7 *sig) argument
1188 char *pt, *src, *dst; local
1698 char *src; local
1869 char *src; local
[all...]
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_commit.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.
151 pool_elem_t *src = *e1; local
156 switch (pool_elem_class(src)) {
160 name = elem_get_name(src);
170 if (pool_walk_properties(TO_CONF(src), src, TO_ELEM(pool),
174 * Add a pointer to the src element which can be
178 pool_set_pair(TO_ELEM(pool), src);
183 name = elem_get_name(src);
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetutx.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.
139 utmpx_frec2api(const struct futmpx *src, struct utmpx *dst) argument
141 if (src == NULL)
144 (void) strncpy(dst->ut_user, src->ut_user, sizeof (dst->ut_user));
145 (void) strncpy(dst->ut_line, src->ut_line, sizeof (dst->ut_line));
146 (void) memcpy(dst->ut_id, src->ut_id, sizeof (dst->ut_id));
147 dst->ut_pid = src->ut_pid;
148 dst->ut_type = src->ut_type;
149 dst->ut_exit.e_termination = src
160 utmpx_api2frec(const struct utmpx *src, struct futmpx *dst) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext_gnu.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.
170 * extract the src encoding and the plural information of the MO file
484 * Converts the specified string from the src encoding
488 do_conv(iconv_t fd, const char *src, uint32_t srclen) argument
498 (void *)fd, src ? src : "(null)", srclen);
517 if (iconv(fd, &src, &ileft, &tptr, &oleft) == (size_t)-1) {
662 * target encoding and src encoding
670 * src encodin
[all...]
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dcertgetsetop.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.
41 copy_data(KMF_DATA *dst, KMF_DATA *src) argument
45 if (dst == NULL || src == NULL)
48 if (src->Length == 0) {
51 src->Data = NULL;
55 dst->Data = malloc(src->Length);
59 dst->Length = src->Length;
60 (void) memcpy(dst->Data, src->Data, src
[all...]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_cmdsub.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.
1502 * map src dest
1598 * chars "src" is mapped into "dest". If src is already mapped into something
1604 addmac(unsigned char *src, unsigned char *dest, unsigned char *dname, argument
1611 fprintf(trace, "addmac(src='%s', dest='%s', dname='%s', mp=%x\n", src, dest, dname, mp);
1616 * checking to see if src is a suffix of dest
1620 if (src[
[all...]
/illumos-gate/usr/src/common/ctf/
H A Dctf_create.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.
1260 ctf_bundle_t src, dst; local
1340 src.ctb_file = src_fp;
1341 src.ctb_type = src_type;
1342 src.ctb_dtd = NULL;
1428 * ways (src members vs. dst, dst members vs. src) but we make
1429 * this more optimal by only checking src vs. dst and comparing
1431 * which covers the possibility of dst members not in src
[all...]
/illumos-gate/usr/src/common/lzma/
H A DLzmaDec.c410 ptrdiff_t src = (ptrdiff_t)pos - (ptrdiff_t)dicPos; local
414 *(dest) = (Byte)*(dest + src);
738 SRes LzmaDec_DecodeToDic(CLzmaDec *p, SizeT dicLimit, const Byte *src, SizeT *srcLen, argument
754 p->tempBuf[p->tempBufSize++] = *src++;
797 int dummyRes = LzmaDec_TryDummy(p, src, inSize);
800 (void) memcpy(p->tempBuf, src, inSize);
811 bufLimit = src;
814 bufLimit = src + inSize - LZMA_REQUIRED_INPUT_MAX;
815 p->buf = src;
819 processed = (SizeT)(p->buf - src);
861 LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status) argument
992 LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, const Byte *propData, unsigned propSize, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAlloc *alloc) argument
[all...]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_config.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.
684 void *src,
711 s = (char *)src + offset;
1239 char *dest, *src; local
1320 src = _nscd_cfg_nsw_spc_default[i].data;
1323 (void) memcpy(dest, src, datalen);
1364 src = (char *)&nscd_cfg_nsw_db_data_current[dbj] +
1368 (void) memcpy(dest, src, datalen);
1760 void *src, *des local
683 _nscd_cfg_set_vlen_data_int( void *src, void *dest, nscd_bool_t global) argument
1805 void *src, *dest; local
1887 void *src, *dest, *tmp_dest = NULL; local
[all...]
H A Dnscd_switch.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.
333 char *src = "?"; local
363 src = NSCD_NSW_SRC_NAME(srci);
373 res_str, db, op, src, data_str, data_len);
379 res_str, db, op, src, arg->erange, hstrerror(arg->h_errno),
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dfru_access_impl.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.
99 uint8_t src; member in struct:__anon1210
/illumos-gate/usr/src/cmd/power/
H A Dsysstat.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.
722 kstat_copy(kstat_t *src, kstat_t *dst, int fr) argument
727 *dst = *src;
728 if (src->ks_data != NULL) {
729 safe_zalloc(&dst->ks_data, src->ks_data_size, 0);
730 (void) memcpy(dst->ks_data, src->ks_data, src->ks_data_size);
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dttymux_rcm.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.
926 rsrc_t *src; local
931 src = (next != NULL) ? next->next : cache_head.next;
933 while (src != &cache_tail) {
936 for (link = src->dependencies, cnt = 0;
948 return (src);
951 src = src->next;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dipcp.c1945 u_int32_t src, dst; local
1953 src = get_ipsrc(pkt);
1956 dbglog("IP fragment from %I->%I is not activity", src, dst);
1968 info("%s from %I->%I is activity", cp, src, dst);
1975 TCP_HDRLEN, src, dst);
1982 dbglog("Empty TCP FIN %I->%I is not activity", src, dst);
1986 tcp_flag_decode(get_tcpflags(tcp)), src, dst);
/illumos-gate/usr/src/cmd/csh/
H A Dsh.file.c196 * Concatenate src onto tail of des.
201 catn(tchar *des, tchar *src, int count) argument
210 if ((*des++ = *src++) == '\0')
227 copyn(tchar *des, tchar *src, int count) argument
234 if ((*des++ = *src++) == '\0')
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.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.
178 mdb_gelf_ehdr_to_gehdr(Ehdr *src, GElf_Ehdr *dst) argument
180 bcopy(src->e_ident, dst->e_ident, sizeof (dst->e_ident));
181 dst->e_type = src->e_type;
182 dst->e_machine = src->e_machine;
183 dst->e_version = src->e_version;
184 dst->e_entry = src->e_entry;
185 dst->e_phoff = src->e_phoff;
186 dst->e_shoff = src
197 gelf32_to_shdr(const Elf32_Shdr *src, GElf_Shdr *dst) argument
218 gelf64_to_shdr(const Elf64_Shdr *src, GElf_Shdr *dst) argument
272 gelf32_to_phdr(const Elf32_Phdr *src, GElf_Phdr *dst) argument
291 gelf64_to_phdr(const Elf64_Phdr *src, GElf_Phdr *dst) argument
435 gelf32_to_dyn(const Elf32_Dyn *src, GElf_Dyn *dst) argument
447 gelf64_to_dyn(const Elf64_Dyn *src, GElf_Dyn *dst) argument
1431 gelf32_to_sym(const Elf32_Sym *src, GElf_Sym *dst) argument
1447 gelf64_to_sym(const Elf64_Sym *src, GElf_Sym *dst) argument
1459 gelf64_nocopy(const Elf64_Sym *src, GElf_Sym *dst) argument
1770 gelf_sym_to_32(const GElf_Sym *src, Elf32_Sym *dst) argument
1781 gelf_sym_to_64(const GElf_Sym *src, Elf64_Sym *dst) argument
[all...]

Completed in 146 milliseconds

<<11121314151617181920>>