Searched defs:src (Results 151 - 175 of 569) sorted by relevance

1234567891011>>

/illumos-gate/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.
103 utmp_frec2api(const struct futmp *src, struct utmp *dst) argument
105 if (src == NULL)
108 (void) strncpy(dst->ut_user, src->ut_user, sizeof (dst->ut_user));
109 (void) strncpy(dst->ut_line, src->ut_line, sizeof (dst->ut_line));
110 (void) memcpy(dst->ut_id, src->ut_id, sizeof (dst->ut_id));
111 dst->ut_pid = src->ut_pid;
112 dst->ut_type = src->ut_type;
113 dst->ut_exit.e_termination = src
119 utmp_api2frec(const struct utmp *src, struct futmp *dst) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Deuc.c141 const char **_RESTRICT_KYWD src,
144 return (__mbsnrtowcs_std(dst, src, nms, len, ps, _EUC_CN_mbrtowc));
155 _EUC_CN_wcsnrtombs(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, argument
158 return (__wcsnrtombs_std(dst, src, nwc, len, ps, _EUC_CN_wcrtomb));
186 const char **_RESTRICT_KYWD src,
189 return (__mbsnrtowcs_std(dst, src, nms, len, ps, _EUC_KR_mbrtowc));
200 _EUC_KR_wcsnrtombs(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, argument
203 return (__wcsnrtombs_std(dst, src, nwc, len, ps, _EUC_KR_wcrtomb));
231 const char **_RESTRICT_KYWD src,
234 return (__mbsnrtowcs_std(dst, src, nm
140 _EUC_CN_mbsnrtowcs(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
185 _EUC_KR_mbsnrtowcs(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
230 _EUC_JP_mbsnrtowcs(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
245 _EUC_JP_wcsnrtombs(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
275 _EUC_TW_mbsnrtowcs(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
290 _EUC_TW_wcsnrtombs(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
[all...]
/illumos-gate/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.
272 __pos4obj_md5toa(unsigned char *dest, unsigned char *src) argument
278 p = (uint32_t *)src;
/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/
H A Dline64.c82 static int ldif_base64_encode_internal( unsigned char *src, char *dst, int srclen,
191 * ldif_base64_decode - take the BASE64-encoded characters in "src"
193 * "src" and "dst" can be the same if in-place decoding is desired.
195 * 3 * strlen( src ) / 4 bytes will be produced.
200 * -1 is returned if the BASE64 encoding in "src" is invalid.
204 ldif_base64_decode( char *src, unsigned char *dst ) argument
210 stop = strchr( src, '\0' );
212 for ( p = src, len = 0; p < stop; p += 4, len += 3 ) {
416 * ldif_base64_encode_internal - encode "srclen" bytes in "src", place BASE64
431 ldif_base64_encode_internal( unsigned char *src, cha argument
497 ldif_base64_encode( unsigned char *src, char *dst, int srclen, int lenused ) argument
503 ldif_base64_encode_nowrap( unsigned char *src, char *dst, int srclen, int lenused ) argument
[all...]
/illumos-gate/usr/src/cmd/wall/
H A Dwall.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.
268 * Copy src to destination upto but not including the delim.
273 copy_str_till(char *dst, char *src, char delim, int len) argument
277 while (*src != '\0' && i < len) {
278 if (isspace(*src)) {
280 return (src);
282 if (*src == delim) {
284 return (src);
286 dst[i++] = *src
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dmkalias.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.
52 void CopyName(char *dst, char *src, int len);
128 CopyName(char *dst, char *src, int len) argument
133 while (*src && len--) {
134 if (isspace(*src))
135 src++;
137 *dst++ = *src++;
/illumos-gate/usr/src/cmd/zinject/
H A Dtranslate.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.
71 compress_slashes(const char *src, char *dest) argument
73 while (*src != '\0') {
74 *dest = *src++;
75 while (*dest == '/' && *src == '/')
76 ++src;
/illumos-gate/usr/src/common/bignum/
H A Dmont_mulf.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.
164 float *src) /* source - should be unsigned int* */
170 i32 = (uint32_t *)src;
159 i16_to_d16_and_d32x4(const double *dummy1, const double *dummy2, const double *dummy3, double *result16, double *result32, float *src) argument
/illumos-gate/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++);
/illumos-gate/usr/src/cmd/pools/poolstat/
H A Dsa_kstat.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.
149 kstat_clone(kstat_t *src, kstat_t *dst, int fr) argument
153 *dst = *src;
154 if (src->ks_data != NULL) {
155 dst->ks_data = ZALLOC(src->ks_data_size);
156 (void) memcpy(dst->ks_data, src->ks_data, src->ks_data_size);
164 * Erase the data from 'src'.
167 kstat_erase(kstat_t *src) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rport.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 interpret_reserved(int flags, int proto, in_port_t src, in_port_t dst, argument
324 src_port = src;
328 pn = getportname(proto, src);
332 which = src;
336 ttabp = is_transient(src);
350 port = src;
354 if ((dst == IPPORT_DOMAIN || src == IPPORT_DOMAIN ||
355 dst == IPPORT_MDNS || src
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dtty.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.
50 static char *readtty(char pr[], char src[]);
173 readtty(char pr[], char src[]) argument
189 if (src != NOSTR && (int)strlen(src) > LINESIZE - 2) {
191 return(src);
195 return(src);
196 cp2 = src==NOSTR ? "" : src;
563 readtty(char pr[], char src[]) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_argvec.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.
113 mdb_argvec_copy(mdb_argvec_t *dst, const mdb_argvec_t *src) argument
115 if (src->a_nelems > dst->a_size) {
117 mdb_alloc(sizeof (mdb_arg_t) * src->a_nelems, UM_NOSLEEP);
128 dst->a_size = src->a_nelems;
131 bcopy(src->a_data, dst->a_data, sizeof (mdb_arg_t) * src->a_nelems);
132 dst->a_nelems = src->a_nelems;
/illumos-gate/usr/src/cmd/mdb/common/modules/libproc/
H A Dlibproc.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 uintptr_t src = byaddr ? (uintptr_t)symtab.sym_byaddr : local
119 if (mdb_vread(symlist, symlistsz, src) == -1) {
120 mdb_warn("failed to read sorted symbols at %p", src);
/illumos-gate/usr/src/cmd/file/
H A Delf_read.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.
134 Elf_Data src, dst; local
147 src.d_buf = (Elf_Void *)hdr;
148 src.d_type = type;
149 src.d_version = version;
154 src.d_size = elf_fsize(type, 1, version);
156 if (elf_xlatetom(&dst, &src, format) == NULL)
/illumos-gate/usr/src/cmd/filesync/
H A Daction.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.
47 * bump bp->b_{src,dst}_{copies,deletes,misc}
110 * src/dst indication for who needs to change
375 * src/dst indication for who gets the copy
390 { char *src, *dst; local
425 src = dstname;
430 src = srcname;
521 fprintf(stderr, "RECO: do_copy %s %s (", src, dst);
574 rc = readlink(src, cmdbu
1064 copy(char *src, char *dst, int mode) argument
[all...]
H A Dbase.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.
90 add_base(const char *src, const char *dst) argument
95 /* base must match on both src and dst */
96 if (strcmp(src, bp->b_src_spec))
102 fprintf(stderr, "BASE: FOUND base=%d, src=%s, dst=%s\n",
103 bp->b_ident, src, dst);
115 bp->b_src_spec = strdup(src);
133 fprintf(stderr, "BASE: ADDED base=%d, src=%s, dst=%s\n",
134 bp->b_ident, src, ds
[all...]
H A Deval.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.
815 check_inum(struct file *fp, int src) argument
822 if (src) {
/illumos-gate/usr/src/cmd/fm/modules/SUNW,SPARC-Enterprise/event-transport/
H A Dex_dscp.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.
57 static int (*Post_filter)(fmd_hdl_t *hdl, nvlist_t *event, const char *src);
802 etm_xport_post_filter(fmd_hdl_t *hdl, nvlist_t *event, const char *src) argument
805 return (Post_filter(hdl, event, src));
/illumos-gate/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));
/illumos-gate/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);
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dinspect.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.
854 const char *src; local
876 for (dst = path, dst--, src = name; *src; src++)
877 *++dst = *src;
904 for (_dst = dst, src = file, file = dst; *src; _dst++, src
[all...]
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dupdate.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.
459 Elf_Data dst, src; local
533 src.d_buf = (Elf_Void *)eh;
534 src.d_type = ELF_T_EHDR;
535 src.d_size = sizeof (Ehdr);
536 src.d_version = EV_CURRENT;
540 if (elf_xlatetof(&dst, &src, encode) == 0)
553 * in the user version. Change src buffer
557 src
860 Elf_Data dst, src; local
[all...]
/illumos-gate/usr/src/cmd/abi/apptracecmd/
H A Dapptrace.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.
297 * If *dst is empty, use strdup to duplicate src.
298 * Otherwise: dst = dst + "," + src;
301 buildlist(char **dst, char const *src) argument
311 p = strdup(src);
321 if ((p = realloc(*dst, len + strlen(src) + 2)) == NULL)
327 (void) strcpy((*dst + len + 1), src);
/illumos-gate/usr/src/cmd/abi/spectrans/parser/
H A Dfrontend.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.
356 * line_to_buf(char *dest, const char *src) {
357 * appends src to dest, dynamically increasing the size of dest.
360 * if src is continuation of dest, dest != NULL, and
362 * if src is not continuation of dest, then dest must be NULL
365 line_to_buf(char *dest, const char *src) argument
367 int slen = strlen(src);
377 (void) strcpy(dest, src);
400 (void) strcat(dest, src);
[all...]

Completed in 293 milliseconds

1234567891011>>