/osnet-11/usr/src/lib/libresolv2/common/bsd/ |
H A D | strdup.c | 12 char *dst = malloc(strlen(src) + 1); local 14 if (dst) 15 strcpy(dst, src); 16 return (dst);
|
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | _overlay.c | 49 overlay(WINDOW *src, WINDOW *dst) argument 51 return (_overlap(src, dst, TRUE));
|
H A D | _overwrite.c | 49 overwrite(WINDOW *src, WINDOW *dst) argument 51 return (_overlap(src, dst, FALSE));
|
/osnet-11/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_netint.c | 34 u_int dst; local 36 NS_GET16(dst, src); 37 return (dst); 42 u_long dst; local 44 NS_GET32(dst, src); 45 return (dst); 49 ns_put16(u_int src, u_char *dst) { argument 50 NS_PUT16(src, dst); 54 ns_put32(u_long src, u_char *dst) { argument 55 NS_PUT32(src, dst); [all...] |
H A D | ns_samedomain.c | 166 ns_makecanon(const char *src, char *dst, size_t dstsize) { argument 173 strcpy(dst, src); 174 while (n >= 1U && dst[n - 1] == '.') /*%< Ends in "." */ 175 if (n >= 2U && dst[n - 2] == '\\' && /*%< Ends in "\." */ 176 (n < 3U || dst[n - 3] != '\\')) /*%< But not "\\." */ 179 dst[--n] = '\0'; 180 dst[n++] = '.'; 181 dst[n] = '\0';
|
H A D | ns_ttl.c | 52 ns_format_ttl(u_long src, char *dst, size_t dstlen) { argument 53 char *odst = dst; 65 T(fmt1(weeks, 'W', &dst, &dstlen)); 69 T(fmt1(days, 'D', &dst, &dstlen)); 73 T(fmt1(hours, 'H', &dst, &dstlen)); 77 T(fmt1(mins, 'M', &dst, &dstlen)); 81 T(fmt1(secs, 'S', &dst, &dstlen)); 93 return (dst - odst); 97 ns_parse_ttl(const char *src, u_long *dst) { argument 138 *dst [all...] |
/osnet-11/usr/src/grub/grub2/include/grub/net/ |
H A D | udp.h | 27 grub_uint16_t dst; member in struct:udphdr
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | strlcpy.c | 34 * Copies src to the dstsize buffer at dst. The copy will never 40 strlcpy(char *dst, const char *src, size_t len) argument 52 (void) memcpy(dst, src, copied); 53 dst[copied] = '\0';
|
H A D | strlcat.c | 34 * Appends src to the dstsize buffer at dst. The append will never 36 * terminated. Never reference beyond &dst[dstsize-1] when computing 41 strlcat(char *dst, const char *src, size_t dstsize) argument 43 char *df = dst; 51 l1 = df - dst; 56 (void) memcpy(dst + l1, src, copied); 57 dst[l1+copied] = '\0';
|
/osnet-11/usr/src/grub/grub2/grub-core/boot/decompressor/ |
H A D | xz.c | 27 grub_decompress_core (void *src, void *dst, unsigned long srcsize, argument 33 find_scratch (src, dst, srcsize, dstsize); 40 buf.out = dst;
|
H A D | minilib.c | 83 find_scratch (void *src, void *dst, unsigned long srcsize, argument 90 grub_decompressor_scratch = (void *) ALIGN_UP((grub_addr_t) dst + dstsize, 95 if ((char *) src + srcsize > (char *) dst + dstsize) 99 grub_decompressor_scratch = (void *) ALIGN_UP ((grub_addr_t) dst + dstsize,
|
/osnet-11/usr/src/lib/libast/common/tm/ |
H A D | tmzone.c | 42 * if dst!=0 then it will point to 0 for standard zones 49 tmzone(register const char* name, char** end, const char* type, int* dst) argument 64 if (dst) 65 *dst = 0; 78 if (dst) 79 *dst = 0; 82 if (zp->dst && zp->daylight && tmword(name, end, zp->daylight, NiL, 0)) 84 if (dst) 85 *dst = zp->dst; [all...] |
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_inttab.c | 109 dt_inttab_write(const dt_inttab_t *ip, uint64_t *dst) argument 114 *dst++ = hp->inh_value;
|
/osnet-11/usr/src/lib/libinstzones/common/ |
H A D | zones_paths.c | 145 char *dst; local 151 dst = src; 154 *dst++ = '/'; 158 *dst++ = *src++; 163 * If the whole string is "/" (i.e. if the last '/' cahr in dst 167 if ((*(dst - 1) == '/') && ((dst - 1) != src_start)) 168 dst--; 169 *dst = '\0';
|
/osnet-11/usr/src/grub/grub2/grub-core/disk/ |
H A D | AFSplitter.c | 28 grub_uint8_t * dst, grub_size_t blocksize, 33 grub_uint8_t * dst, grub_size_t size) 51 grub_crypto_hash (hash, dst + hash->mdlen * i, temp, 61 grub_memcpy (dst + hash->mdlen * i, final, padding); 69 AF_merge (const gcry_md_spec_t * hash, grub_uint8_t * src, grub_uint8_t * dst, argument 85 grub_crypto_xor (dst, src + (i * blocksize), bufblock, blocksize); 32 diffuse(const gcry_md_spec_t * hash, grub_uint8_t * src, grub_uint8_t * dst, grub_size_t size) argument
|
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | zfs_lzjb.c | 38 uchar_t *dst = d_start; local 43 while (dst < d_end) { 52 if ((cpy = dst - offset) < (uchar_t *)d_start) 54 while (--mlen >= 0 && dst < d_end) 55 *dst++ = *cpy++; 57 *dst++ = *src++;
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | strl.c | 36 ** string src to dst, nul terminating the result. If size == 0, 37 ** the dst buffer is not modified. 51 ** dst -- destination buffer 60 sm_strlcpy(dst, src, size) 61 register char *dst; 69 for (i = 0; i < size && (dst[i] = src[i]) != 0; i++) 71 dst[i] = '\0'; 82 ** If strlen(dst) < size, then append at most size - strlen(dst) - 1 84 ** nul terminating the result. Otherwise, dst i 214 sm_strlcpyn(char *dst, ssize_t len, int n, ...) argument [all...] |
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | util.c | 49 map_v4v6_address(const char *src, char *dst) { argument 50 u_char *p = (u_char *)dst;
|
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | inet_ntop.c | 42 * inet_ntop(af, src, dst, size) 45 * pointer to presentation format address (`dst'), or NULL (see errno). 48 inet_ntop(int af, const void *src, char *dst, socklen_t size) argument 52 return (inet_ntop4(src, dst, size)); 54 return (inet_ntop6(src, dst, size)); 64 * inet_ntop4(src, dst, size) 67 * `dst' (as a const) 81 inet_ntop4(const uchar_t *src, char *dst, socklen_t size) argument 90 (void) strcpy(dst, tmp); 91 return (dst); 103 inet_ntop6(const uchar_t *src, char *dst, socklen_t size) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/fs/zfs/ |
H A D | zfs_lzjb.c | 61 grub_uint8_t *dst = d_start; local 67 while (dst < d_end && src < s_end) 81 cpy = dst - offset; 84 while (--mlen >= 0 && dst < d_end) 85 *dst++ = *cpy++; 88 *dst++ = *src++; 90 if (dst < d_end)
|
/osnet-11/usr/src/grub/grub2/grub-core/video/fb/ |
H A D | fbfill.c | 38 grub_video_fbfill (struct grub_video_fbblit_info *dst, argument 47 set_pixel (dst, x + i, y + j, color); 53 grub_video_fbfill_direct32 (struct grub_video_fbblit_info *dst, argument 64 rowskip = dst->mode_info->pitch - dst->mode_info->bytes_per_pixel * width; 67 dstptr = grub_video_fb_get_video_ptr (dst, x, y); 82 grub_video_fbfill_direct24 (struct grub_video_fbblit_info *dst, argument 96 rowskip = dst->mode_info->pitch - dst->mode_info->bytes_per_pixel * width; 99 dstptr = grub_video_fb_get_video_ptr (dst, 118 grub_video_fbfill_direct16(struct grub_video_fbblit_info *dst, grub_video_color_t color, int x, int y, int width, int height) argument 152 grub_video_fbfill_direct8(struct grub_video_fbblit_info *dst, grub_video_color_t color, int x, int y, int width, int height) argument [all...] |
/osnet-11/usr/src/lib/libresolv2/common/inet/ |
H A D | inet_cidr_ntop.c | 44 inet_cidr_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size); 46 inet_cidr_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size); 50 * inet_cidr_ntop(af, src, bits, dst, size) 54 * pointer to dst, or NULL if an error occurred (check errno). 63 inet_cidr_ntop(int af, const void *src, int bits, char *dst, size_t size) { argument 66 return (inet_cidr_ntop_ipv4(src, bits, dst, size)); 68 return (inet_cidr_ntop_ipv6(src, bits, dst, size)); 76 decoct(const u_char *src, int bytes, char *dst, size_t size) { argument 77 char *odst = dst; 84 t = dst; 109 inet_cidr_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size) argument 153 inet_cidr_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) argument [all...] |
H A D | inet_net_ntop.c | 43 char *dst, size_t size)); 45 char *dst, size_t size)); 49 * inet_net_ntop(af, src, bits, dst, size) 53 * pointer to dst, or NULL if an error occurred (check errno). 58 inet_net_ntop(af, src, bits, dst, size) 62 char *dst; 67 return (inet_net_ntop_ipv4(src, bits, dst, size)); 69 return (inet_net_ntop_ipv6(src, bits, dst, size)); 78 * inet_net_ntop_ipv4(src, bits, dst, size) 82 * pointer to dst, o 169 inet_net_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) argument [all...] |
/osnet-11/usr/src/lib/libresolv2/common/isc/ |
H A D | ctl_p.c | 166 ctl_sa_copy(const struct sockaddr *src, struct sockaddr *dst) { argument 169 *((struct sockaddr_in6 *)dst) = 173 *((struct sockaddr_in *)dst) = 178 *((struct sockaddr_un *)dst) = 183 *dst = *src;
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | ldaputf8.c | 81 ldap_utf8copy (char* dst, const char* src) argument 82 /* Copy a character from src to dst; return the number of char's copied. 90 case 6: *dst++ = *s++; if ((*s & 0xC0) != 0x80) break; 91 case 5: *dst++ = *s++; if ((*s & 0xC0) != 0x80) break; 92 case 4: *dst++ = *s++; if ((*s & 0xC0) != 0x80) break; 93 case 3: *dst++ = *s++; if ((*s & 0xC0) != 0x80) break; 94 case 2: *dst++ = *s++; if ((*s & 0xC0) != 0x80) break; 95 case 1: *dst = *s++;
|