/macosx-10.9.5/libresolv-54/ |
H A D | ns_samedomain.c | 161 * ns_makecanon(src, dst, dstsize) 172 ns_makecanon(const char *src, char *dst, size_t dstsize) { argument 179 strcpy(dst, src); 180 while (n > 0 && dst[n - 1] == '.') /* Ends in "." */ 181 if (n > 1 && dst[n - 2] == '\\' && /* Ends in "\." */ 182 (n < 2 || dst[n - 3] != '\\')) /* But not "\\." */ 185 dst[--n] = '\0'; 186 dst[n++] = '.'; 187 dst[n] = '\0';
|
H A D | ns_ttl.c | 58 ns_format_ttl(u_long src, char *dst, size_t dstlen) { argument 59 char *odst = dst; 71 T(fmt1(weeks, 'W', &dst, &dstlen)); 75 T(fmt1(days, 'D', &dst, &dstlen)); 79 T(fmt1(hours, 'H', &dst, &dstlen)); 83 T(fmt1(mins, 'M', &dst, &dstlen)); 87 T(fmt1(secs, 'S', &dst, &dstlen)); 99 return (dst - odst); 103 ns_parse_ttl(const char *src, u_long *dst) { argument 143 *dst [all...] |
H A D | res_comp.c | 101 char *dst, int dstsiz) 103 int n = ns_name_uncompress(msg, eom, src, dst, (size_t)dstsiz); 105 if (n > 0 && dst[0] == '.') 106 dst[0] = '\0'; 116 dn_comp(const char *src, u_char *dst, int dstsiz, argument 119 return (ns_name_compress(src, dst, (size_t)dstsiz, 241 void putlong(u_int32_t src, u_char *dst) { ns_put32(src, dst); } argument 242 void putshort(u_int16_t src, u_char *dst) { ns_put16(src, dst); } argument 100 dn_expand(const u_char *msg, const u_char *eom, const u_char *src, char *dst, int dstsiz) argument 255 putlong(u_int32_t src, u_char *dst) argument 256 putshort(u_int16_t src, u_char *dst) argument [all...] |
/macosx-10.9.5/rsync-42/rsync/popt/ |
H A D | poptparse.c | 18 char * dst; local 29 dst = malloc(nb); 30 if (dst == NULL) /* XXX can't happen */ 32 argv2 = (void *) dst; 33 dst += (argc + 1) * sizeof(*argv); 37 argv2[i] = dst; 38 dst += strlen(strcpy(dst, argv[i])) + 1;
|
H A D | poptconfig.c | 97 /*@dependent@*/ unsigned char * dst; local 127 dst = buf = alloca(fileLength + 1); 135 *dst = '\0'; 136 dst = buf; 137 while (*dst && isspace(*dst)) dst++; 138 if (*dst && *dst != '#') 139 configLine(con, dst); [all...] |
/macosx-10.9.5/tcpdump-56/tcpdump/missing/ |
H A D | strlcpy.c | 45 * Copy src to string dst of size siz. At most siz-1 characters 50 strlcpy(char *dst, const char *src, size_t siz) argument 52 register char *d = dst; 64 /* Not enough room in dst, add NUL and traverse rest of src */ 67 *d = '\0'; /* NUL-terminate dst */
|
/macosx-10.9.5/ICU-511.35/icuSources/tools/genrb/ |
H A D | ustr.h | 67 U_CFUNC void ustr_cpy(struct UString *dst, const struct UString *src, 70 U_CFUNC void ustr_cat(struct UString *dst, const struct UString *src, 73 U_CFUNC void ustr_ncat(struct UString *dst, const struct UString *src, 76 U_CFUNC void ustr_ucat(struct UString *dst, UChar c, UErrorCode *status); 77 U_CFUNC void ustr_u32cat(struct UString *dst, UChar32 c, UErrorCode *status); 78 U_CFUNC void ustr_uscat(struct UString *dst, const UChar* src,int len,UErrorCode *status);
|
/macosx-10.9.5/ncurses-42/ncurses/ncurses/base/ |
H A D | lib_overlay.c | 46 overlap(const WINDOW *const src, WINDOW *const dst, int const flag) argument 55 T((T_CALLED("overlap(%p,%p,%d)"), src, dst, flag)); 57 if (src != 0 && dst != 0) { 65 T(("dst : begy %ld, begx %ld, maxy %ld, maxx %ld", 66 (long) dst->_begy, 67 (long) dst->_begx, 68 (long) dst->_maxy, 69 (long) dst->_maxx)); 76 dx1 = dst->_begx; 77 dy1 = dst 135 copywin(const WINDOW *src, WINDOW *dst, int sminrow, int smincol, int dminrow, int dmincol, int dmaxrow, int dmaxcol, int over) argument [all...] |
/macosx-10.9.5/JavaScriptCore-7537.78.1/jit/ |
H A D | JITArithmetic32_64.cpp | 53 unsigned dst = currentInstruction[1].u.operand; local 61 emitStoreInt32(dst, regT0, (dst == src)); 69 store32(regT1, tagFor(dst)); 70 if (dst != src) 71 store32(regT0, payloadFor(dst)); 78 unsigned dst = currentInstruction[1].u.operand; local 85 stubCall.call(dst); 171 unsigned dst = currentInstruction[1].u.operand; local 179 emitStoreAndMapInt32(dst, regT 193 unsigned dst = currentInstruction[1].u.operand; local 211 unsigned dst = currentInstruction[1].u.operand; local 245 unsigned dst = currentInstruction[1].u.operand; local 333 unsigned dst = currentInstruction[1].u.operand; local 356 unsigned dst = currentInstruction[1].u.operand; local 374 unsigned dst = currentInstruction[1].u.operand; local 397 unsigned dst = currentInstruction[1].u.operand; local 415 unsigned dst = currentInstruction[1].u.operand; local 438 unsigned dst = currentInstruction[1].u.operand; local 502 unsigned dst = currentInstruction[1].u.operand; local 546 emitAdd32Constant(unsigned dst, unsigned op, int32_t constant, ResultType opType) argument 575 unsigned dst = currentInstruction[1].u.operand; local 624 unsigned dst = currentInstruction[1].u.operand; local 657 emitSub32Constant(unsigned dst, unsigned op, int32_t constant, ResultType opType) argument 691 unsigned dst = currentInstruction[1].u.operand; local 724 emitBinaryDoubleOp(OpcodeID opcodeID, unsigned dst, unsigned op1, unsigned op2, OperandTypes types, JumpList& notInt32Op1, JumpList& notInt32Op2, bool op1IsInRegisters, bool op2IsInRegisters) argument 806 addJump(branchDouble(DoubleLessThan, fpRegT2, fpRegT0), dst); local 810 addJump(branchDouble(DoubleLessThanOrEqual, fpRegT2, fpRegT0), dst); local 814 addJump(branchDouble(DoubleGreaterThan, fpRegT2, fpRegT0), dst); local 818 addJump(branchDouble(DoubleGreaterThanOrEqual, fpRegT2, fpRegT0), dst); local 822 addJump(branchDouble(DoubleLessThanOrEqualOrUnordered, fpRegT0, fpRegT2), dst); local 826 addJump(branchDouble(DoubleLessThanOrUnordered, fpRegT0, fpRegT2), dst); local 830 addJump(branchDouble(DoubleGreaterThanOrEqualOrUnordered, fpRegT0, fpRegT2), dst); local 834 addJump(branchDouble(DoubleGreaterThanOrUnordered, fpRegT0, fpRegT2), dst); local 910 addJump(branchDouble(DoubleLessThan, fpRegT0, fpRegT1), dst); local 914 addJump(branchDouble(DoubleLessThanOrEqual, fpRegT0, fpRegT1), dst); local 918 addJump(branchDouble(DoubleGreaterThan, fpRegT0, fpRegT1), dst); local 922 addJump(branchDouble(DoubleGreaterThanOrEqual, fpRegT0, fpRegT1), dst); local 926 addJump(branchDouble(DoubleLessThanOrEqualOrUnordered, fpRegT1, fpRegT0), dst); local 930 addJump(branchDouble(DoubleLessThanOrUnordered, fpRegT1, fpRegT0), dst); local 934 addJump(branchDouble(DoubleGreaterThanOrEqualOrUnordered, fpRegT1, fpRegT0), dst); local 938 addJump(branchDouble(DoubleGreaterThanOrUnordered, fpRegT1, fpRegT0), dst); local 952 unsigned dst = currentInstruction[1].u.operand; local 988 unsigned dst = currentInstruction[1].u.operand; local 1036 unsigned dst = currentInstruction[1].u.operand; local 1099 unsigned dst = currentInstruction[1].u.operand; local 1128 unsigned dst = currentInstruction[1].u.operand; local [all...] |
/macosx-10.9.5/syslog-217.1.4/aslmanager.tproj/ |
H A D | aslmanager.c | 218 copy_asl_file(const char *src, const char *dst, mode_t mode) argument 226 if (dst == NULL) return ASL_STATUS_INVALID_ARG; 247 status = asl_file_open_write(dst, mode, -1, -1, &f); 265 copy_compress_file(asl_out_dst_data_t *asldst, const char *src, const char *dst) argument 275 out = open(dst, O_WRONLY | O_CREAT, asldst->mode); 304 filesystem_copy(asl_out_dst_data_t *asldst, const char *src, const char *dst, uint32_t flags) argument 308 if ((src == NULL) || (dst == NULL)) return 0; 313 if (((flags & MODULE_FLAG_COMPRESS) == 0) && (!strcmp(src, dst))) return 0; 315 if (flags & MODULE_FLAG_TYPE_ASL) debug_log(ASL_LEVEL_NOTICE, " copy asl %s ---> %s\n", src, dst); 316 else if (flags & MODULE_FLAG_COMPRESS) debug_log(ASL_LEVEL_NOTICE, " copy compress %s ---> %s.gz\n", src, dst); 357 filesystem_rename(const char *src, const char *dst) argument 425 _aslmanager_set_param(asl_out_dst_data_t *dst, char *s) argument 536 process_asl_data_store(asl_out_dst_data_t *dst) argument 859 module_copy_rename(asl_out_dst_data_t *dst) argument 968 module_expire(asl_out_dst_data_t *dst) argument 1027 module_check_size(asl_out_dst_data_t *dst) argument [all...] |
/macosx-10.9.5/postfix-252/postfix/src/cleanup/ |
H A D | cleanup_body_edit.c | 127 if (vstream_fseek(state->dst, state->append_hdr_pt_offset, SEEK_SET) < 0) { 132 rec_fprintf(state->dst, REC_TYPE_PTR, REC_TYPE_PTR_FORMAT, 138 if (vstream_ftell(state->dst) != curr_rp->start 139 && vstream_fseek(state->dst, curr_rp->start, SEEK_SET) < 0) { 185 rec_fprintf(state->dst, REC_TYPE_PTR, REC_TYPE_PTR_FORMAT, 187 curr_rp->write_offs = vstream_ftell(state->dst); 195 if (vstream_fseek(state->dst, curr_rp->start, SEEK_SET) < 0) { 206 curr_rp->write_offs = vstream_ftell(state->dst); 225 rec_fprintf(state->dst, REC_TYPE_PTR, REC_TYPE_PTR_FORMAT, 227 curr_rp->write_offs = vstream_ftell(state->dst); [all...] |
/macosx-10.9.5/Libc-997.90.3/net/FreeBSD/ |
H A D | inet_net_pton.c | 53 * inet_net_pton_ipv4(src, dst, size) 56 * "size" is in bytes and describes "dst". 68 inet_net_pton_ipv4(const char *src, u_char *dst, size_t size) { argument 72 const u_char *odst = dst; 95 *dst++ = (u_char) tmp; 102 *dst++ = (u_char) (tmp << 4); 119 *dst++ = (u_char) tmp; 133 isdigit((unsigned char)(src[0])) && dst > odst) { 154 if (dst == odst) 169 if (bits < ((dst 226 getv4(const char *src, u_char *dst, int *bitsp) argument 269 inet_net_pton_ipv6(const char *src, u_char *dst, size_t size) argument 401 inet_net_pton(int af, const char *src, void *dst, size_t size) argument [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/lib/Support/ |
H A D | DataExtractor.cpp | 33 static T *getUs(uint32_t *offset_ptr, T *dst, uint32_t count, argument 37 if (count > 0 && de->isValidOffsetForDataOfSize(offset, sizeof(*dst)*count)) { 38 for (T *value_ptr = dst, *end = dst + count; value_ptr != end; 39 ++value_ptr, offset += sizeof(*dst)) 45 return dst; 55 DataExtractor::getU8(uint32_t *offset_ptr, uint8_t *dst, uint32_t count) const { argument 56 return getUs<uint8_t>(offset_ptr, dst, count, this, IsLittleEndian, 65 uint16_t *DataExtractor::getU16(uint32_t *offset_ptr, uint16_t *dst, argument 67 return getUs<uint16_t>(offset_ptr, dst, coun 75 getU32(uint32_t *offset_ptr, uint32_t *dst, uint32_t count) const argument 85 getU64(uint32_t *offset_ptr, uint64_t *dst, uint32_t count) const argument [all...] |
/macosx-10.9.5/procmail-14/procmail/src/ |
H A D | sublib.c | 148 size_t sstrlcat(dst,src,size)char *dst;const char*src;size_t size; 149 { const char*start=dst; 152 while(size>0&&*dst) /* skip to the end */ 153 size--,dst++; 155 size--,*dst++= *src++; 156 *dst='\0'; /* hasta la vista, baby! */ 158 return dst-start+strlen(src); 161 size_t sstrlcpy(dst,src,size)char *dst;cons [all...] |
/macosx-10.9.5/sudo-72/src/ |
H A D | toke_util.c | 110 char *dst; local 112 dst = olen ? realloc(yylval.string, olen + len + 1) : malloc(len + 1); 113 if (dst == NULL) { 117 yylval.string = dst; 120 dst += olen; 126 *dst++ = hexchar(src); 132 *dst++ = *src++; 135 *dst++ = *src++; 138 *dst = '\0'; 163 char *dst; local [all...] |
/macosx-10.9.5/Libc-997.90.3/locale/FreeBSD/ |
H A D | wcsftime.c | 58 char *dst, *sformat; local 65 sformat = dst = NULL; 92 if ((dst = malloc(maxsize * MB_CUR_MAX_L(loc))) == NULL) 94 if (strftime_l(dst, maxsize, sformat, timeptr, loc) == 0) 96 dstp = dst; 103 free(dst); 109 free(dst);
|
H A D | wcsnrtombs.c | 39 wcsnrtombs_l(char * __restrict dst, const wchar_t ** __restrict src, size_t nwc, argument 45 return (loc->__lc_ctype->__wcsnrtombs(dst, src, nwc, len, ps, loc)); 49 wcsnrtombs(char * __restrict dst, const wchar_t ** __restrict src, size_t nwc, argument 52 return wcsnrtombs_l(dst, src, nwc, len, ps, __current_locale()); 56 __wcsnrtombs_std(char * __restrict dst, const wchar_t ** __restrict src, argument 71 if (dst == NULL) { 87 if ((nb = __wcrtomb(dst, *s, ps, loc)) == (size_t)-1) { 109 memcpy(dst, buf, nb); 116 dst += nb;
|
/macosx-10.9.5/emacs-92/emacs/lisp/gnus/ |
H A D | hex-util.el | 44 (dst (make-string (/ len 2) 0)) 48 ;;; (aset dst idx (logior (lsh (hex-char-to-num (aref string pos)) 4) 50 (aset dst idx (+ (* (hex-char-to-num (aref string pos)) 16) 54 dst)) 59 (dst (make-string (* len 2) 0)) 63 ;;; (aset dst idx (num-to-hex-char (logand (lsh (aref string pos) -4) 15))) 64 (aset dst idx (num-to-hex-char (/ (aref string pos) 16))) 66 ;;; (aset dst idx (num-to-hex-char (logand (aref string pos) 15))) 67 (aset dst idx (num-to-hex-char (% (aref string pos) 16))) 70 dst)) [all...] |
/macosx-10.9.5/syslog-217.1.4/aslcommon/ |
H A D | asl_common.c | 443 if (r->dst == NULL) return -1; 444 if (r->dst->path == NULL) return -1; 446 snprintf(tmp, sizeof(tmp), "%s", r->dst->path); 532 asl_make_dst_filename(asl_out_dst_data_t *dst, char *buf, size_t len) argument 534 if (dst == NULL) return; 537 if (dst->flags & MODULE_FLAG_BASESTAMP) 541 if (dst->stamp == 0) dst->stamp = time(NULL); 542 asl_make_timestamp(dst->stamp, dst 552 asl_out_dst_checkpoint(asl_out_dst_data_t *dst, uint32_t force) argument 672 asl_out_dst_data_release(asl_out_dst_data_t *dst) argument 691 asl_out_dst_data_retain(asl_out_dst_data_t *dst) argument 700 asl_out_dst_set_access(int fd, asl_out_dst_data_t *dst) argument 815 asl_out_dst_file_create_open(asl_out_dst_data_t *dst) argument 1056 _dst_add_uid(asl_out_dst_data_t *dst, char *s) argument 1082 _dst_add_gid(asl_out_dst_data_t *dst, char *s) argument 1175 asl_out_dst_data_t *dst; local 2250 asl_list_src_files(asl_out_dst_data_t *dst) argument 2330 asl_list_dst_files(asl_out_dst_data_t *dst) argument [all...] |
/macosx-10.9.5/Security-55471.14.18/libsecurity_ssl/Security/ |
H A D | sslMemory.c | 195 uint8_t *dst; local 197 dst = (uint8_t *)sslMalloc(len); 198 if(dst == NULL) { 201 memmove(dst, src, len); 202 return dst; 207 SSLBuffer **dst) // buffer and data mallocd and returned 222 *dst = rtn; 230 SSLBuffer *dst) // data mallocd and returned 232 dst->data = sslAllocCopy((const uint8_t *)src, len); 233 if(dst 205 SSLAllocCopyBuffer( const SSLBuffer *src, SSLBuffer **dst) argument 227 SSLCopyBufferFromData( const void *src, size_t len, SSLBuffer *dst) argument 242 SSLCopyBuffer( const SSLBuffer *src, SSLBuffer *dst) argument [all...] |
/macosx-10.9.5/Security-55471.14.18/libsecurity_ssl/lib/ |
H A D | sslMemory.c | 195 uint8_t *dst; local 197 dst = (uint8_t *)sslMalloc(len); 198 if(dst == NULL) { 201 memmove(dst, src, len); 202 return dst; 207 SSLBuffer **dst) // buffer and data mallocd and returned 222 *dst = rtn; 230 SSLBuffer *dst) // data mallocd and returned 232 dst->data = sslAllocCopy((const uint8_t *)src, len); 233 if(dst 205 SSLAllocCopyBuffer( const SSLBuffer *src, SSLBuffer **dst) argument 227 SSLCopyBufferFromData( const void *src, size_t len, SSLBuffer *dst) argument 242 SSLCopyBuffer( const SSLBuffer *src, SSLBuffer *dst) argument [all...] |
/macosx-10.9.5/Security-55471.14.18/libsecurity_ssl/security_ssl/ |
H A D | sslMemory.c | 195 uint8_t *dst; local 197 dst = (uint8_t *)sslMalloc(len); 198 if(dst == NULL) { 201 memmove(dst, src, len); 202 return dst; 207 SSLBuffer **dst) // buffer and data mallocd and returned 222 *dst = rtn; 230 SSLBuffer *dst) // data mallocd and returned 232 dst->data = sslAllocCopy((const uint8_t *)src, len); 233 if(dst 205 SSLAllocCopyBuffer( const SSLBuffer *src, SSLBuffer **dst) argument 227 SSLCopyBufferFromData( const void *src, size_t len, SSLBuffer *dst) argument 242 SSLCopyBuffer( const SSLBuffer *src, SSLBuffer *dst) argument [all...] |
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/network_io/unix/ |
H A D | inet_pton.c | 62 static int inet_pton4 __P((const char *src, unsigned char *dst)); 64 static int inet_pton6 __P((const char *src, unsigned char *dst)); 68 * inet_pton(af, src, dst) 73 * 0 if the address wasn't valid (`dst' is untouched in this case) 74 * -1 if some other error occurred (`dst' is untouched in this case, too) 79 apr_inet_pton(int af, const char *src, void *dst) argument 83 return (inet_pton4(src, dst)); 86 return (inet_pton6(src, dst)); 96 * inet_pton4(src, dst) 101 * does not touch `dst' unles 106 inet_pton4(const char *src, unsigned char *dst) argument 159 inet_pton6(const char *src, unsigned char *dst) argument [all...] |
/macosx-10.9.5/apr-30/apr/apr/network_io/unix/ |
H A D | inet_pton.c | 62 static int inet_pton4 __P((const char *src, unsigned char *dst)); 64 static int inet_pton6 __P((const char *src, unsigned char *dst)); 68 * inet_pton(af, src, dst) 73 * 0 if the address wasn't valid (`dst' is untouched in this case) 74 * -1 if some other error occurred (`dst' is untouched in this case, too) 79 apr_inet_pton(int af, const char *src, void *dst) argument 83 return (inet_pton4(src, dst)); 86 return (inet_pton6(src, dst)); 96 * inet_pton4(src, dst) 101 * does not touch `dst' unles 106 inet_pton4(const char *src, unsigned char *dst) argument 159 inet_pton6(const char *src, unsigned char *dst) argument [all...] |
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/ |
H A D | inet_pton.c | 44 static int inet_pton4(const char *src, unsigned char *dst); 45 static int inet_pton6(const char *src, unsigned char *dst); 52 * 0 if the address wasn't valid (`dst' is untouched in this case) 53 * -1 if some other error occurred (`dst' is untouched in this case, too) 58 isc_net_pton(int af, const char *src, void *dst) { argument 61 return (inet_pton4(src, dst)); 63 return (inet_pton6(src, dst)); 71 /*!\fn static int inet_pton4(const char *src, unsigned char *dst) 77 * does not touch `dst' unless it's returning 1. 82 inet_pton4(const char *src, unsigned char *dst) { argument 134 inet_pton6(const char *src, unsigned char *dst) argument [all...] |