src 3158 src/decNumber/decNumber.c decNumber * decNumberCopy(decNumber *dest, const decNumber *src) { src 3160 src/decNumber/decNumber.c if (dest==src) return dest; // no copy required src 3166 src/decNumber/decNumber.c dest->bits=src->bits; src 3167 src/decNumber/decNumber.c dest->exponent=src->exponent; src 3168 src/decNumber/decNumber.c dest->digits=src->digits; src 3169 src/decNumber/decNumber.c dest->lsu[0]=src->lsu[0]; src 3170 src/decNumber/decNumber.c if (src->digits>DECDPUN) { // more Units to come src 3176 src/decNumber/decNumber.c smsup=src->lsu+D2U(src->digits); // -> source msu+1 src 3177 src/decNumber/decNumber.c for (s=src->lsu+1; s<smsup; s++, d++) *d=*s; src 6535 src/decNumber/decNumber.c static void decCopyFit(decNumber *dest, const decNumber *src, src 6537 src/decNumber/decNumber.c dest->bits=src->bits; src 6538 src/decNumber/decNumber.c dest->exponent=src->exponent; src 6539 src/decNumber/decNumber.c decSetCoeff(dest, set, src->lsu, src->digits, residue, status); src 317 src/dps8/dps8.h # define GETCHAR(src, pos) (word6)(((word36)src >> (word36)((5 - pos) * 6)) & 077) src 319 src/dps8/dps8.h # define GETBYTE(src, pos) (word9)(((word36)src >> (word36)((3 - pos) * 9)) & 0777) src 330 src/dps8/dps8.h # define GET_TALLY(src) (((src) >> 6) & MASK12) // 12-bits src 331 src/dps8/dps8.h # define GET_DELTA(src) ((src) & MASK6) // 6-bits src 488 src/dps8/dps8_crdpun.c int src = 0; src 490 src/dps8/dps8_crdpun.c while (str[src]) src 492 src/dps8/dps8_crdpun.c if (str[src] != ' ') src 494 src/dps8/dps8_crdpun.c str[dest++] = str[src]; src 496 src/dps8/dps8_crdpun.c src++; src 856 src/dps8/dps8_mgp.c copy_cbridge8_to_packet9(u_char *src, int slen, word36 *buf, uint words) src 862 src/dps8/dps8_mgp.c putbits36_9(&buf[MGP_PACKET_HEADER_SIZE + j / 4], ( j % 4 ) * 9, src[j]); src 1841 src/dps8/dps8_mgp.c u_short src = pkt[0] | ( pkt[1] << 8 ); src 1842 src/dps8/dps8_mgp.c if (src != mgp_dev_state.conns[conni].remote_addr) src 1845 src/dps8/dps8_mgp.c __func__, src, mgp_dev_state.conns[conni].remote_addr); src 1846 src/dps8/dps8_mgp.c mgp_dev_state.conns[conni].remote_addr = src; src 854 src/dps8/dps8_utils.c void copyBytes(int posn, word36 src, word36 *dst) src 870 src/dps8/dps8_utils.c word36 byteVals = src & mask; // get byte bits src 879 src/dps8/dps8_utils.c void copyChars(int posn, word36 src, word36 *dst) src 901 src/dps8/dps8_utils.c word36 byteVals = src & mask; // get byte bits src 974 src/dps8/dps8_utils.c void convert_to_word36 (word72 src, word36 *even, word36 *odd) src 977 src/dps8/dps8_utils.c *even = rshift_128 (src, 36).l & DMASK; src 978 src/dps8/dps8_utils.c *odd = src.l & DMASK; src 980 src/dps8/dps8_utils.c *even = (word36)(src >> 36) & DMASK; src 981 src/dps8/dps8_utils.c *odd = (word36)src & DMASK; src 48 src/dps8/dps8_utils.h void convert_to_word36 (word72 src, word36 *even, word36 *odd); src 53 src/dps8/dps8_utils.h void copyBytes(int posn, word36 src, word36 *dst); src 54 src/dps8/dps8_utils.h void copyChars(int posn, word36 src, word36 *dst); src 67 src/dps8/libtelnet.c # define va_copy(dest, src) (dest = src) src 359 src/libsir/include/sir/helpers.h const char* restrict src, size_t count); src 366 src/libsir/include/sir/helpers.h const char* restrict src, size_t count); src 48 src/libsir/include/sir/impl.h _sir_strlcat(char *dst, const char *src, size_t dsize) src 51 src/libsir/include/sir/impl.h const char *osrc = src; src 67 src/libsir/include/sir/impl.h return dlen + strlen(src); src 69 src/libsir/include/sir/impl.h while (*src != '\0') { src 71 src/libsir/include/sir/impl.h *dst++ = *src; src 74 src/libsir/include/sir/impl.h src++; src 79 src/libsir/include/sir/impl.h return dlen + (src - osrc); /* count does not include NUL */ src 102 src/libsir/include/sir/impl.h _sir_strlcpy(char *dst, const char *src, size_t dsize) src 104 src/libsir/include/sir/impl.h const char *osrc = src; src 113 src/libsir/include/sir/impl.h if ((*dst++ = *src++) == '\0') src 126 src/libsir/include/sir/impl.h while (*src++); src 129 src/libsir/include/sir/impl.h return src - osrc - 1; /* count does not include NUL */ src 110 src/libsir/include/sir/platform_importc.h # define __builtin___strlcat_chk(dest, src, x, n) strlcat(dest, src, x) src 112 src/libsir/include/sir/platform_importc.h # define __builtin___strlcpy_chk(dest, src, x, n) strlcpy(dest, src, x) src 232 src/libsir/src/sirhelpers.c int _sir_strncpy(char* restrict dest, size_t destsz, const char* restrict src, src 234 src/libsir/src/sirhelpers.c if (_sir_validptr(dest) && _sir_validstr(src)) { src 236 src/libsir/src/sirhelpers.c int ret = strncpy_s(dest, destsz, src, count); src 244 src/libsir/src/sirhelpers.c size_t cpy = strlcpy(dest, src, destsz); src 253 src/libsir/src/sirhelpers.c int _sir_strncat(char* restrict dest, size_t destsz, const char* restrict src, src 255 src/libsir/src/sirhelpers.c if (_sir_validptr(dest) && _sir_validstr(src)) { src 257 src/libsir/src/sirhelpers.c int ret = strncat_s(dest, destsz, src, count); src 265 src/libsir/src/sirhelpers.c size_t cat = strlcat(dest, src, destsz);