src 344 daemons/attrd/attrd_utils.c attrd_copy_xml_attributes(xmlNode *src, xmlNode *dest) src 353 daemons/attrd/attrd_utils.c for (xmlAttrPtr a = pcmk__xe_first_attr(src); a != NULL; a = a->next) { src 212 daemons/attrd/pacemaker-attrd.h void attrd_copy_xml_attributes(xmlNode *src, xmlNode *dest); src 69 include/crm/common/results_internal.h void pcmk__copy_result(const pcmk__action_result_t *src, src 75 include/crm/common/xml.h void copy_in_properties(xmlNode *target, const xmlNode *src); src 1027 lib/common/results.c pcmk__copy_result(const pcmk__action_result_t *src, pcmk__action_result_t *dst) src 1029 lib/common/results.c CRM_CHECK((src != NULL) && (dst != NULL), return); src 1030 lib/common/results.c dst->exit_status = src->exit_status; src 1031 lib/common/results.c dst->execution_status = src->execution_status; src 1032 lib/common/results.c pcmk__str_update(&dst->exit_reason, src->exit_reason); src 1033 lib/common/results.c pcmk__str_update(&dst->action_stdout, src->action_stdout); src 1034 lib/common/results.c pcmk__str_update(&dst->action_stderr, src->action_stderr); src 481 lib/common/xml.c copy_in_properties(xmlNode *target, const xmlNode *src) src 483 lib/common/xml.c if (src == NULL) { src 490 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(src); a != NULL; a = a->next) { src 819 lib/common/xml.c copy_xml(xmlNode * src) src 822 lib/common/xml.c xmlNode *copy = xmlDocCopyNode(src, doc, 1); src 44 libltdl/libltdl/lt__strl.h # define strlcat(dst,src,dstsize) lt_strlcat(dst,src,dstsize) src 45 libltdl/libltdl/lt__strl.h LT_SCOPE size_t lt_strlcat(char *dst, const char *src, const size_t dstsize); src 49 libltdl/libltdl/lt__strl.h # define strlcpy(dst,src,dstsize) lt_strlcpy(dst,src,dstsize) src 50 libltdl/libltdl/lt__strl.h LT_SCOPE size_t lt_strlcpy(char *dst, const char *src, const size_t dstsize); src 51 libltdl/lt__strl.c lt_strlcat(char *dst, const char *src, const size_t dstsize) src 58 libltdl/lt__strl.c assert(src != (const char *) NULL); src 67 libltdl/lt__strl.c for ( p = dst + length, q = src; src 99 libltdl/lt__strl.c lt_strlcpy(char *dst, const char *src, const size_t dstsize) src 106 libltdl/lt__strl.c assert(src != (const char *) NULL); src 112 libltdl/lt__strl.c for ( p=dst, q=src, length=0; src 600 libltdl/ltdl.c size_t src; src 601 libltdl/ltdl.c for (src = 0; path[src] != LT_EOS_CHAR; ++src) src 606 libltdl/ltdl.c if (path[src] == LT_PATHSEP_CHAR) src 609 libltdl/ltdl.c || (path[1+ src] == LT_PATHSEP_CHAR) src 610 libltdl/ltdl.c || (path[1+ src] == LT_EOS_CHAR)) src 615 libltdl/ltdl.c if ((path[src] != '/') src 617 libltdl/ltdl.c && (path[src] != LT_DIRSEP_CHAR) src 621 libltdl/ltdl.c canonical[dest++] = path[src]; src 626 libltdl/ltdl.c else if ((path[1+ src] != LT_PATHSEP_CHAR) src 627 libltdl/ltdl.c && (path[1+ src] != LT_EOS_CHAR) src 629 libltdl/ltdl.c && (path[1+ src] != LT_DIRSEP_CHAR) src 631 libltdl/ltdl.c && (path[1+ src] != '/')) src 331 maint/gnulib/lib/argz.c char *src = *argz; src 338 maint/gnulib/lib/argz.c while (!err && (arg = argz_next (src, src_len, arg))) src 373 maint/gnulib/lib/argz.c if (arg > src) src 374 maint/gnulib/lib/argz.c err = argz_append (&dst, &dst_len, src, (arg - src)); src 396 maint/gnulib/lib/argz.c free (src); src 87 maint/gnulib/lib/arpa_inet.in.h (int af, const void *restrict src, src 91 maint/gnulib/lib/arpa_inet.in.h (int af, const void *restrict src, src 96 maint/gnulib/lib/arpa_inet.in.h (int af, const void *restrict src, src 103 maint/gnulib/lib/arpa_inet.in.h (int af, const void *restrict src, src 124 maint/gnulib/lib/arpa_inet.in.h (int af, const char *restrict src, void *restrict dst) src 127 maint/gnulib/lib/arpa_inet.in.h (int af, const char *restrict src, void *restrict dst)); src 131 maint/gnulib/lib/arpa_inet.in.h (int af, const char *restrict src, void *restrict dst) src 135 maint/gnulib/lib/arpa_inet.in.h (int af, const char *restrict src, void *restrict dst)); src 98 maint/gnulib/lib/array-mergesort.h merge_sort_fromto (const ELEMENT *src, ELEMENT *dst, size_t n, ELEMENT *tmp) src 106 maint/gnulib/lib/array-mergesort.h dst[0] = src[0]; src 110 maint/gnulib/lib/array-mergesort.h if (COMPARE (&src[0], &src[1]) <= 0) src 113 maint/gnulib/lib/array-mergesort.h dst[0] = src[0]; src 114 maint/gnulib/lib/array-mergesort.h dst[1] = src[1]; src 118 maint/gnulib/lib/array-mergesort.h dst[0] = src[1]; src 119 maint/gnulib/lib/array-mergesort.h dst[1] = src[0]; src 124 maint/gnulib/lib/array-mergesort.h if (COMPARE (&src[0], &src[1]) <= 0) src 126 maint/gnulib/lib/array-mergesort.h if (COMPARE (&src[1], &src[2]) <= 0) src 129 maint/gnulib/lib/array-mergesort.h dst[0] = src[0]; src 130 maint/gnulib/lib/array-mergesort.h dst[1] = src[1]; src 131 maint/gnulib/lib/array-mergesort.h dst[2] = src[2]; src 133 maint/gnulib/lib/array-mergesort.h else if (COMPARE (&src[0], &src[2]) <= 0) src 136 maint/gnulib/lib/array-mergesort.h dst[0] = src[0]; src 137 maint/gnulib/lib/array-mergesort.h dst[1] = src[2]; src 138 maint/gnulib/lib/array-mergesort.h dst[2] = src[1]; src 143 maint/gnulib/lib/array-mergesort.h dst[0] = src[2]; src 144 maint/gnulib/lib/array-mergesort.h dst[1] = src[0]; src 145 maint/gnulib/lib/array-mergesort.h dst[2] = src[1]; src 150 maint/gnulib/lib/array-mergesort.h if (COMPARE (&src[0], &src[2]) <= 0) src 153 maint/gnulib/lib/array-mergesort.h dst[0] = src[1]; src 154 maint/gnulib/lib/array-mergesort.h dst[1] = src[0]; src 155 maint/gnulib/lib/array-mergesort.h dst[2] = src[2]; src 157 maint/gnulib/lib/array-mergesort.h else if (COMPARE (&src[1], &src[2]) <= 0) src 160 maint/gnulib/lib/array-mergesort.h dst[0] = src[1]; src 161 maint/gnulib/lib/array-mergesort.h dst[1] = src[2]; src 162 maint/gnulib/lib/array-mergesort.h dst[2] = src[0]; src 167 maint/gnulib/lib/array-mergesort.h dst[0] = src[2]; src 168 maint/gnulib/lib/array-mergesort.h dst[1] = src[1]; src 169 maint/gnulib/lib/array-mergesort.h dst[2] = src[0]; src 179 maint/gnulib/lib/array-mergesort.h merge_sort_fromto (src + n1, dst + n1, n2, tmp); src 181 maint/gnulib/lib/array-mergesort.h merge_sort_fromto (src, tmp, n1, dst); src 192 maint/gnulib/lib/array-mergesort.h merge_sort_inplace (ELEMENT *src, size_t n, ELEMENT *tmp) src 202 maint/gnulib/lib/array-mergesort.h if (COMPARE (&src[0], &src[1]) <= 0) src 208 maint/gnulib/lib/array-mergesort.h ELEMENT t = src[0]; src 209 maint/gnulib/lib/array-mergesort.h src[0] = src[1]; src 210 maint/gnulib/lib/array-mergesort.h src[1] = t; src 215 maint/gnulib/lib/array-mergesort.h if (COMPARE (&src[0], &src[1]) <= 0) src 217 maint/gnulib/lib/array-mergesort.h if (COMPARE (&src[1], &src[2]) <= 0) src 221 maint/gnulib/lib/array-mergesort.h else if (COMPARE (&src[0], &src[2]) <= 0) src 224 maint/gnulib/lib/array-mergesort.h ELEMENT t = src[1]; src 225 maint/gnulib/lib/array-mergesort.h src[1] = src[2]; src 226 maint/gnulib/lib/array-mergesort.h src[2] = t; src 231 maint/gnulib/lib/array-mergesort.h ELEMENT t = src[0]; src 232 maint/gnulib/lib/array-mergesort.h src[0] = src[2]; src 233 maint/gnulib/lib/array-mergesort.h src[2] = src[1]; src 234 maint/gnulib/lib/array-mergesort.h src[1] = t; src 239 maint/gnulib/lib/array-mergesort.h if (COMPARE (&src[0], &src[2]) <= 0) src 242 maint/gnulib/lib/array-mergesort.h ELEMENT t = src[0]; src 243 maint/gnulib/lib/array-mergesort.h src[0] = src[1]; src 244 maint/gnulib/lib/array-mergesort.h src[1] = t; src 246 maint/gnulib/lib/array-mergesort.h else if (COMPARE (&src[1], &src[2]) <= 0) src 249 maint/gnulib/lib/array-mergesort.h ELEMENT t = src[0]; src 250 maint/gnulib/lib/array-mergesort.h src[0] = src[1]; src 251 maint/gnulib/lib/array-mergesort.h src[1] = src[2]; src 252 maint/gnulib/lib/array-mergesort.h src[2] = t; src 257 maint/gnulib/lib/array-mergesort.h ELEMENT t = src[0]; src 258 maint/gnulib/lib/array-mergesort.h src[0] = src[2]; src 259 maint/gnulib/lib/array-mergesort.h src[2] = t; src 269 maint/gnulib/lib/array-mergesort.h merge_sort_inplace (src + n1, n2, tmp); src 271 maint/gnulib/lib/array-mergesort.h merge_sort_fromto (src, tmp, n1, tmp + n1); src 273 maint/gnulib/lib/array-mergesort.h merge (tmp, n1, src + n1, n2, src); src 211 maint/gnulib/lib/bitset.c bitset_next (bitset src, bitset_bindex bitno) src 215 maint/gnulib/lib/bitset.c if (!bitset_list (src, &val, 1, &next)) src 230 maint/gnulib/lib/bitset.c bitset_prev (bitset src, bitset_bindex bitno) src 234 maint/gnulib/lib/bitset.c if (!bitset_list_reverse (src, &val, 1, &next)) src 242 maint/gnulib/lib/bitset.c bitset_first (bitset src) src 244 maint/gnulib/lib/bitset.c return bitset_next (src, 0); src 250 maint/gnulib/lib/bitset.c bitset_last (bitset src) src 252 maint/gnulib/lib/bitset.c return bitset_prev (src, 0); src 258 maint/gnulib/lib/bitset.c bitset_only_set_p (bitset src, bitset_bindex bitno) src 263 maint/gnulib/lib/bitset.c if (bitset_list (src, val, 2, &next) != 1) src 336 maint/gnulib/lib/bitset.c bitset_size_ (bitset src) src 338 maint/gnulib/lib/bitset.c return BITSET_NBITS_ (src); src 344 maint/gnulib/lib/bitset.c bitset_count_ (bitset src) src 356 maint/gnulib/lib/bitset.c while ((num = bitset_list (src, list, BITSET_LIST_SIZE, &next))) src 368 maint/gnulib/lib/bitset.c bitset_copy_ (bitset dst, bitset src) src 376 maint/gnulib/lib/bitset.c BITSET_FOR_EACH (iter, src, i, 0) src 290 maint/gnulib/lib/bitset.h bitset_bindex bitset_next (bitset src, bitset_bindex bitno); src 294 maint/gnulib/lib/bitset.h bitset_bindex bitset_prev (bitset src, bitset_bindex bitno); src 298 maint/gnulib/lib/bitset.h bitset_bindex bitset_first (bitset src); src 302 maint/gnulib/lib/bitset.h bitset_bindex bitset_last (bitset src); src 36 maint/gnulib/lib/bitset/array.c abitset_resize (bitset src, bitset_bindex size) src 39 maint/gnulib/lib/bitset/array.c if (BITSET_SIZE_ (src) != size) src 49 maint/gnulib/lib/bitset/array.c abitset_small_list (bitset src, bitset_bindex *list, src 52 maint/gnulib/lib/bitset/array.c bitset_word word = ABITSET_WORDS (src)[0]; src 58 maint/gnulib/lib/bitset/array.c bitset_windex size = BITSET_SIZE_ (src); src 109 maint/gnulib/lib/bitset/array.c abitset_test (MAYBE_UNUSED bitset src, src 123 maint/gnulib/lib/bitset/array.c abitset_list_reverse (bitset src, bitset_bindex *list, src 127 maint/gnulib/lib/bitset/array.c bitset_word *srcp = ABITSET_WORDS (src); src 128 maint/gnulib/lib/bitset/array.c bitset_bindex n_bits = BITSET_SIZE_ (src); src 173 maint/gnulib/lib/bitset/array.c abitset_list (bitset src, bitset_bindex *list, src 178 maint/gnulib/lib/bitset/array.c bitset_windex size = src->b.csize; src 179 maint/gnulib/lib/bitset/array.c bitset_word *srcp = ABITSET_WORDS (src); src 196 maint/gnulib/lib/bitset/array.c if (bitno >= BITSET_SIZE_ (src)) src 298 maint/gnulib/lib/bitset/array.c abitset_copy1 (bitset dst, bitset src) src 300 maint/gnulib/lib/bitset/array.c bitset_word *srcp = ABITSET_WORDS (src); src 310 maint/gnulib/lib/bitset/array.c abitset_not (bitset dst, bitset src) src 312 maint/gnulib/lib/bitset/array.c bitset_word *srcp = ABITSET_WORDS (src); src 323 maint/gnulib/lib/bitset/array.c abitset_equal_p (bitset dst, bitset src) src 325 maint/gnulib/lib/bitset/array.c bitset_word *srcp = ABITSET_WORDS (src); src 337 maint/gnulib/lib/bitset/array.c abitset_subset_p (bitset dst, bitset src) src 339 maint/gnulib/lib/bitset/array.c bitset_word *srcp = ABITSET_WORDS (src); src 351 maint/gnulib/lib/bitset/array.c abitset_disjoint_p (bitset dst, bitset src) src 353 maint/gnulib/lib/bitset/array.c bitset_word *srcp = ABITSET_WORDS (src); src 618 maint/gnulib/lib/bitset/array.c abitset_copy (bitset dst, bitset src) src 620 maint/gnulib/lib/bitset/array.c if (BITSET_COMPATIBLE_ (dst, src)) src 621 maint/gnulib/lib/bitset/array.c abitset_copy1 (dst, src); src 623 maint/gnulib/lib/bitset/array.c bitset_copy_ (dst, src); src 406 maint/gnulib/lib/bitset/list.c lbitset_equal_p (bitset dst, bitset src) src 408 maint/gnulib/lib/bitset/list.c if (src == dst) src 411 maint/gnulib/lib/bitset/list.c lbitset_weed (src); src 415 maint/gnulib/lib/bitset/list.c for (selt = LBITSET_HEAD (src), delt = LBITSET_HEAD (dst); src 431 maint/gnulib/lib/bitset/list.c lbitset_copy_ (bitset dst, bitset src) src 433 maint/gnulib/lib/bitset/list.c if (src == dst) src 438 maint/gnulib/lib/bitset/list.c lbitset_elt *head = LBITSET_HEAD (src); src 467 maint/gnulib/lib/bitset/list.c lbitset_copy (bitset dst, bitset src) src 469 maint/gnulib/lib/bitset/list.c if (BITSET_COMPATIBLE_ (dst, src)) src 470 maint/gnulib/lib/bitset/list.c lbitset_copy_ (dst, src); src 472 maint/gnulib/lib/bitset/list.c bitset_copy_ (dst, src); src 478 maint/gnulib/lib/bitset/list.c lbitset_copy_cmp (bitset dst, bitset src) src 480 maint/gnulib/lib/bitset/list.c if (src == dst) src 485 maint/gnulib/lib/bitset/list.c lbitset_copy (dst, src); src 486 maint/gnulib/lib/bitset/list.c return LBITSET_HEAD (src) != 0; src 489 maint/gnulib/lib/bitset/list.c if (lbitset_equal_p (dst, src)) src 492 maint/gnulib/lib/bitset/list.c lbitset_copy (dst, src); src 498 maint/gnulib/lib/bitset/list.c lbitset_resize (bitset src, bitset_bindex size) src 500 maint/gnulib/lib/bitset/list.c BITSET_NBITS_ (src) = size; src 537 maint/gnulib/lib/bitset/list.c lbitset_test (bitset src, bitset_bindex bitno) src 541 maint/gnulib/lib/bitset/list.c return (lbitset_elt_find (src, windex, LBITSET_FIND) src 542 maint/gnulib/lib/bitset/list.c && ((src->b.cdata[windex - src->b.cindex] src 848 maint/gnulib/lib/bitset/list.c lbitset_not (bitset dst, bitset src) src 857 maint/gnulib/lib/bitset/list.c lbitset_elt *selt = lbitset_elt_find (src, i, LBITSET_SUBST); src 870 maint/gnulib/lib/bitset/list.c lbitset_subset_p (bitset dst, bitset src) src 872 maint/gnulib/lib/bitset/list.c for (lbitset_elt *selt = LBITSET_HEAD (src), *delt = LBITSET_HEAD (dst); src 903 maint/gnulib/lib/bitset/list.c lbitset_disjoint_p (bitset dst, bitset src) src 905 maint/gnulib/lib/bitset/list.c for (lbitset_elt *selt = LBITSET_HEAD (src), *delt = LBITSET_HEAD (dst); src 352 maint/gnulib/lib/bitset/stats.c bitset_stats_toggle (bitset src, bitset_bindex bitno) src 354 maint/gnulib/lib/bitset/stats.c return BITSET_TOGGLE_ (src->s.bset, bitno); src 359 maint/gnulib/lib/bitset/stats.c bitset_stats_test (bitset src, bitset_bindex bitno) src 361 maint/gnulib/lib/bitset/stats.c bitset bset = src->s.bset; src 378 maint/gnulib/lib/bitset/stats.c bitset_stats_resize (bitset src, bitset_bindex size) src 380 maint/gnulib/lib/bitset/stats.c return BITSET_RESIZE_ (src->s.bset, size); src 385 maint/gnulib/lib/bitset/stats.c bitset_stats_size (bitset src) src 387 maint/gnulib/lib/bitset/stats.c return BITSET_SIZE_ (src->s.bset); src 392 maint/gnulib/lib/bitset/stats.c bitset_stats_count (bitset src) src 394 maint/gnulib/lib/bitset/stats.c return BITSET_COUNT_ (src->s.bset); src 420 maint/gnulib/lib/bitset/stats.c bitset_stats_copy (bitset dst, bitset src) src 422 maint/gnulib/lib/bitset/stats.c BITSET_CHECK2_ (dst, src); src 423 maint/gnulib/lib/bitset/stats.c BITSET_COPY_ (dst->s.bset, src->s.bset); src 428 maint/gnulib/lib/bitset/stats.c bitset_stats_disjoint_p (bitset dst, bitset src) src 430 maint/gnulib/lib/bitset/stats.c BITSET_CHECK2_ (dst, src); src 431 maint/gnulib/lib/bitset/stats.c return BITSET_DISJOINT_P_ (dst->s.bset, src->s.bset); src 436 maint/gnulib/lib/bitset/stats.c bitset_stats_equal_p (bitset dst, bitset src) src 438 maint/gnulib/lib/bitset/stats.c BITSET_CHECK2_ (dst, src); src 439 maint/gnulib/lib/bitset/stats.c return BITSET_EQUAL_P_ (dst->s.bset, src->s.bset); src 444 maint/gnulib/lib/bitset/stats.c bitset_stats_not (bitset dst, bitset src) src 446 maint/gnulib/lib/bitset/stats.c BITSET_CHECK2_ (dst, src); src 447 maint/gnulib/lib/bitset/stats.c BITSET_NOT_ (dst->s.bset, src->s.bset); src 452 maint/gnulib/lib/bitset/stats.c bitset_stats_subset_p (bitset dst, bitset src) src 454 maint/gnulib/lib/bitset/stats.c BITSET_CHECK2_ (dst, src); src 455 maint/gnulib/lib/bitset/stats.c return BITSET_SUBSET_P_ (dst->s.bset, src->s.bset); src 125 maint/gnulib/lib/bitset/table.c tbitset_resize (bitset src, bitset_bindex n_bits) src 127 maint/gnulib/lib/bitset/table.c if (n_bits == BITSET_NBITS_ (src)) src 130 maint/gnulib/lib/bitset/table.c bitset_windex oldsize = TBITSET_SIZE (src); src 137 maint/gnulib/lib/bitset/table.c if (newsize > TBITSET_ASIZE (src)) src 145 maint/gnulib/lib/bitset/table.c TBITSET_ELTS (src) src 146 maint/gnulib/lib/bitset/table.c = xrealloc (TBITSET_ELTS (src), size * sizeof (tbitset_elt *)); src 147 maint/gnulib/lib/bitset/table.c TBITSET_ASIZE (src) = size; src 150 maint/gnulib/lib/bitset/table.c memset (TBITSET_ELTS (src) + oldsize, 0, src 160 maint/gnulib/lib/bitset/table.c = realloc (TBITSET_ELTS (src), newsize * sizeof (tbitset_elt *)); src 163 maint/gnulib/lib/bitset/table.c TBITSET_ELTS (src) = p; src 164 maint/gnulib/lib/bitset/table.c TBITSET_ASIZE (src) = newsize; src 171 maint/gnulib/lib/bitset/table.c BITSET_NBITS_ (src) = n_bits; src 390 maint/gnulib/lib/bitset/table.c tbitset_equal_p (bitset dst, bitset src) src 392 maint/gnulib/lib/bitset/table.c if (src == dst) src 396 maint/gnulib/lib/bitset/table.c tbitset_weed (src); src 398 maint/gnulib/lib/bitset/table.c if (TBITSET_SIZE (src) != TBITSET_SIZE (dst)) src 401 maint/gnulib/lib/bitset/table.c tbitset_elts *selts = TBITSET_ELTS (src); src 404 maint/gnulib/lib/bitset/table.c for (bitset_windex j = 0; j < TBITSET_SIZE (src); j++) src 424 maint/gnulib/lib/bitset/table.c tbitset_copy_ (bitset dst, bitset src) src 426 maint/gnulib/lib/bitset/table.c if (src == dst) src 431 maint/gnulib/lib/bitset/table.c if (BITSET_NBITS_ (dst) != BITSET_NBITS_ (src)) src 432 maint/gnulib/lib/bitset/table.c tbitset_resize (dst, BITSET_NBITS_ (src)); src 434 maint/gnulib/lib/bitset/table.c tbitset_elts *selts = TBITSET_ELTS (src); src 436 maint/gnulib/lib/bitset/table.c for (bitset_windex j = 0; j < TBITSET_SIZE (src); j++) src 454 maint/gnulib/lib/bitset/table.c tbitset_copy_cmp (bitset dst, bitset src) src 456 maint/gnulib/lib/bitset/table.c if (src == dst) src 461 maint/gnulib/lib/bitset/table.c tbitset_copy_ (dst, src); src 462 maint/gnulib/lib/bitset/table.c return !TBITSET_ZERO_P (src); src 465 maint/gnulib/lib/bitset/table.c if (tbitset_equal_p (dst, src)) src 468 maint/gnulib/lib/bitset/table.c tbitset_copy_ (dst, src); src 506 maint/gnulib/lib/bitset/table.c tbitset_test (bitset src, bitset_bindex bitno) src 510 maint/gnulib/lib/bitset/table.c return (tbitset_elt_find (src, bitno, TBITSET_FIND) src 511 maint/gnulib/lib/bitset/table.c && ((src->b.cdata[windex - src->b.cindex] src 788 maint/gnulib/lib/bitset/table.c tbitset_not (bitset dst, bitset src) src 790 maint/gnulib/lib/bitset/table.c tbitset_resize (dst, BITSET_NBITS_ (src)); src 792 maint/gnulib/lib/bitset/table.c for (bitset_windex j = 0; j < TBITSET_SIZE (src); j++) src 797 maint/gnulib/lib/bitset/table.c tbitset_elt_find (src, j * TBITSET_ELT_BITS, TBITSET_SUBST); src 811 maint/gnulib/lib/bitset/table.c tbitset_subset_p (bitset dst, bitset src) src 813 maint/gnulib/lib/bitset/table.c tbitset_elts *selts = TBITSET_ELTS (src); src 816 maint/gnulib/lib/bitset/table.c bitset_windex ssize = TBITSET_SIZE (src); src 843 maint/gnulib/lib/bitset/table.c tbitset_disjoint_p (bitset dst, bitset src) src 845 maint/gnulib/lib/bitset/table.c tbitset_elts *selts = TBITSET_ELTS (src); src 848 maint/gnulib/lib/bitset/table.c bitset_windex ssize = TBITSET_SIZE (src); src 1086 maint/gnulib/lib/bitset/table.c tbitset_copy (bitset dst, bitset src) src 1088 maint/gnulib/lib/bitset/table.c if (BITSET_COMPATIBLE_ (dst, src)) src 1089 maint/gnulib/lib/bitset/table.c tbitset_copy_ (dst, src); src 1091 maint/gnulib/lib/bitset/table.c bitset_copy_ (dst, src); src 58 maint/gnulib/lib/bitset/vector.c vbitset_resize (bitset src, bitset_bindex n_bits) src 60 maint/gnulib/lib/bitset/vector.c if (n_bits == BITSET_NBITS_ (src)) src 63 maint/gnulib/lib/bitset/vector.c bitset_windex oldsize = VBITSET_SIZE (src); src 70 maint/gnulib/lib/bitset/vector.c if (newsize > VBITSET_ASIZE (src)) src 78 maint/gnulib/lib/bitset/vector.c VBITSET_WORDS (src) src 79 maint/gnulib/lib/bitset/vector.c = xrealloc (VBITSET_WORDS (src), size * sizeof (bitset_word)); src 80 maint/gnulib/lib/bitset/vector.c VBITSET_ASIZE (src) = size; src 83 maint/gnulib/lib/bitset/vector.c memset (VBITSET_WORDS (src) + oldsize, 0, src 93 maint/gnulib/lib/bitset/vector.c = realloc (VBITSET_WORDS (src), newsize * sizeof (bitset_word)); src 96 maint/gnulib/lib/bitset/vector.c VBITSET_WORDS (src) = p; src 97 maint/gnulib/lib/bitset/vector.c VBITSET_ASIZE (src) = newsize; src 104 maint/gnulib/lib/bitset/vector.c VBITSET_SIZE (src) = newsize; src 105 maint/gnulib/lib/bitset/vector.c BITSET_NBITS_ (src) = n_bits; src 138 maint/gnulib/lib/bitset/vector.c vbitset_test (MAYBE_UNUSED bitset src, src 152 maint/gnulib/lib/bitset/vector.c vbitset_list_reverse (bitset src, bitset_bindex *list, src 157 maint/gnulib/lib/bitset/vector.c bitset_word *srcp = VBITSET_WORDS (src); src 158 maint/gnulib/lib/bitset/vector.c bitset_bindex n_bits = BITSET_SIZE_ (src); src 203 maint/gnulib/lib/bitset/vector.c vbitset_list (bitset src, bitset_bindex *list, src 207 maint/gnulib/lib/bitset/vector.c bitset_windex size = VBITSET_SIZE (src); src 208 maint/gnulib/lib/bitset/vector.c bitset_word *srcp = VBITSET_WORDS (src); src 230 maint/gnulib/lib/bitset/vector.c if (bitno >= BITSET_SIZE_ (src)) src 332 maint/gnulib/lib/bitset/vector.c vbitset_copy1 (bitset dst, bitset src) src 334 maint/gnulib/lib/bitset/vector.c if (src == dst) src 337 maint/gnulib/lib/bitset/vector.c vbitset_resize (dst, BITSET_SIZE_ (src)); src 339 maint/gnulib/lib/bitset/vector.c bitset_word *srcp = VBITSET_WORDS (src); src 341 maint/gnulib/lib/bitset/vector.c bitset_windex ssize = VBITSET_SIZE (src); src 352 maint/gnulib/lib/bitset/vector.c vbitset_not (bitset dst, bitset src) src 354 maint/gnulib/lib/bitset/vector.c vbitset_resize (dst, BITSET_SIZE_ (src)); src 356 maint/gnulib/lib/bitset/vector.c bitset_word *srcp = VBITSET_WORDS (src); src 358 maint/gnulib/lib/bitset/vector.c bitset_windex ssize = VBITSET_SIZE (src); src 371 maint/gnulib/lib/bitset/vector.c vbitset_equal_p (bitset dst, bitset src) src 373 maint/gnulib/lib/bitset/vector.c bitset_word *srcp = VBITSET_WORDS (src); src 375 maint/gnulib/lib/bitset/vector.c bitset_windex ssize = VBITSET_SIZE (src); src 401 maint/gnulib/lib/bitset/vector.c vbitset_subset_p (bitset dst, bitset src) src 403 maint/gnulib/lib/bitset/vector.c bitset_word *srcp = VBITSET_WORDS (src); src 405 maint/gnulib/lib/bitset/vector.c bitset_windex ssize = VBITSET_SIZE (src); src 423 maint/gnulib/lib/bitset/vector.c vbitset_disjoint_p (bitset dst, bitset src) src 425 maint/gnulib/lib/bitset/vector.c bitset_word *srcp = VBITSET_WORDS (src); src 427 maint/gnulib/lib/bitset/vector.c bitset_windex ssize = VBITSET_SIZE (src); src 912 maint/gnulib/lib/bitset/vector.c vbitset_copy (bitset dst, bitset src) src 914 maint/gnulib/lib/bitset/vector.c if (BITSET_COMPATIBLE_ (dst, src)) src 915 maint/gnulib/lib/bitset/vector.c vbitset_copy1 (dst, src); src 917 maint/gnulib/lib/bitset/vector.c bitset_copy_ (dst, src); src 27 maint/gnulib/lib/c32stombs.c c32stombs (char *dest, const char32_t *src, size_t len) src 32 maint/gnulib/lib/c32stombs.c return c32srtombs (dest, &src, len, &state); src 2001 maint/gnulib/lib/dfa.c copy (position_set const *src, position_set *dst) src 2003 maint/gnulib/lib/dfa.c if (dst->alloc < src->nelem) src 2006 maint/gnulib/lib/dfa.c dst->elems = xpalloc (NULL, &dst->alloc, src->nelem - dst->alloc, -1, src 2009 maint/gnulib/lib/dfa.c dst->nelem = src->nelem; src 2010 maint/gnulib/lib/dfa.c if (src->nelem != 0) src 2011 maint/gnulib/lib/dfa.c memcpy (dst->elems, src->elems, src->nelem * sizeof *dst->elems); src 2109 maint/gnulib/lib/dfa.c merge2 (position_set *dst, position_set const *src, position_set *m) src 2111 maint/gnulib/lib/dfa.c if (src->nelem < 4) src 2113 maint/gnulib/lib/dfa.c for (idx_t i = 0; i < src->nelem; i++) src 2114 maint/gnulib/lib/dfa.c insert (src->elems[i], dst); src 2118 maint/gnulib/lib/dfa.c merge (src, dst, m); src 769 maint/gnulib/lib/hash.c transfer_entries (Hash_table *dst, Hash_table *src, bool safe) src 774 maint/gnulib/lib/hash.c for (bucket = src->bucket; bucket < src->bucket_limit; bucket++) src 838 maint/gnulib/lib/hash.c src->n_buckets_used--; src 55 maint/gnulib/lib/inet_ntop.c rpl_inet_ntop (int af, const void *restrict src, src 58 maint/gnulib/lib/inet_ntop.c return inet_ntop (af, src, dst, cnt); src 76 maint/gnulib/lib/inet_ntop.c static const char *inet_ntop4 (const unsigned char *src, char *dst, socklen_t size); src 78 maint/gnulib/lib/inet_ntop.c static const char *inet_ntop6 (const unsigned char *src, char *dst, socklen_t size); src 91 maint/gnulib/lib/inet_ntop.c inet_ntop (int af, const void *restrict src, src 98 maint/gnulib/lib/inet_ntop.c return (inet_ntop4 (src, dst, cnt)); src 103 maint/gnulib/lib/inet_ntop.c return (inet_ntop6 (src, dst, cnt)); src 125 maint/gnulib/lib/inet_ntop.c inet_ntop4 (const unsigned char *src, char *dst, socklen_t size) src 130 maint/gnulib/lib/inet_ntop.c len = sprintf (tmp, "%u.%u.%u.%u", src[0], src[1], src[2], src[3]); src 152 maint/gnulib/lib/inet_ntop.c inet_ntop6 (const unsigned char *src, char *dst, socklen_t size) src 176 maint/gnulib/lib/inet_ntop.c words[i / 2] = (src[i] << 8) | src[i + 1]; src 228 maint/gnulib/lib/inet_ntop.c if (!inet_ntop4 (src + 12, tp, sizeof tmp - (tp - tmp))) src 45 maint/gnulib/lib/inet_pton.c rpl_inet_pton (int af, const char *restrict src, void *restrict dst) src 47 maint/gnulib/lib/inet_pton.c return inet_pton (af, src, dst); src 65 maint/gnulib/lib/inet_pton.c static int inet_pton4 (const char *src, unsigned char *dst); src 67 maint/gnulib/lib/inet_pton.c static int inet_pton6 (const char *src, unsigned char *dst); src 82 maint/gnulib/lib/inet_pton.c inet_pton (int af, const char *restrict src, void *restrict dst) src 87 maint/gnulib/lib/inet_pton.c return (inet_pton4 (src, dst)); src 91 maint/gnulib/lib/inet_pton.c return (inet_pton6 (src, dst)); src 113 maint/gnulib/lib/inet_pton.c inet_pton4 (const char *restrict src, unsigned char *restrict dst) src 121 maint/gnulib/lib/inet_pton.c while ((ch = *src++) != '\0') src 172 maint/gnulib/lib/inet_pton.c inet_pton6 (const char *restrict src, unsigned char *restrict dst) src 184 maint/gnulib/lib/inet_pton.c if (*src == ':') src 185 maint/gnulib/lib/inet_pton.c if (*++src != ':') src 187 maint/gnulib/lib/inet_pton.c curtok = src; src 190 maint/gnulib/lib/inet_pton.c while ((ch = c_tolower (*src++)) != '\0') src 206 maint/gnulib/lib/inet_pton.c curtok = src; src 214 maint/gnulib/lib/inet_pton.c else if (*src == '\0') src 24 maint/gnulib/lib/mbsnrtowcs-impl.h const char *src = *srcp; src 37 maint/gnulib/lib/mbsnrtowcs-impl.h if (srclen == 1 || src[0] == '\0') src 39 maint/gnulib/lib/mbsnrtowcs-impl.h else if (srclen == 2 || src[1] == '\0') src 41 maint/gnulib/lib/mbsnrtowcs-impl.h else if (srclen == 3 || src[2] == '\0') src 43 maint/gnulib/lib/mbsnrtowcs-impl.h else if (MB_LEN_MAX <= 4 || srclen == 4 || src[3] == '\0') src 46 maint/gnulib/lib/mbsnrtowcs-impl.h src_avail = 4 + strnlen1 (src + 4, MIN (srclen, MB_LEN_MAX) - 4); src 49 maint/gnulib/lib/mbsnrtowcs-impl.h ret = MBRTOWC (destptr, src, src_avail, ps); src 60 maint/gnulib/lib/mbsnrtowcs-impl.h src = NULL; src 64 maint/gnulib/lib/mbsnrtowcs-impl.h src += ret; src 68 maint/gnulib/lib/mbsnrtowcs-impl.h *srcp = src; src 85 maint/gnulib/lib/mbsnrtowcs-impl.h if (srclen == 1 || src[0] == '\0') src 87 maint/gnulib/lib/mbsnrtowcs-impl.h else if (srclen == 2 || src[1] == '\0') src 89 maint/gnulib/lib/mbsnrtowcs-impl.h else if (srclen == 3 || src[2] == '\0') src 91 maint/gnulib/lib/mbsnrtowcs-impl.h else if (MB_LEN_MAX <= 4 || srclen == 4 || src[3] == '\0') src 94 maint/gnulib/lib/mbsnrtowcs-impl.h src_avail = 4 + strnlen1 (src + 4, MIN (srclen, MB_LEN_MAX) - 4); src 97 maint/gnulib/lib/mbsnrtowcs-impl.h ret = MBRTOWC (NULL, src, src_avail, &state); src 111 maint/gnulib/lib/mbsnrtowcs-impl.h src += ret; src 119 maint/gnulib/lib/mbsnrtowcs-impl.h *srcp = src; src 24 maint/gnulib/lib/mbsrtowcs-impl.h const char *src = *srcp; src 37 maint/gnulib/lib/mbsrtowcs-impl.h if (src[0] == '\0') src 39 maint/gnulib/lib/mbsrtowcs-impl.h else if (src[1] == '\0') src 41 maint/gnulib/lib/mbsrtowcs-impl.h else if (src[2] == '\0') src 43 maint/gnulib/lib/mbsrtowcs-impl.h else if (MB_LEN_MAX <= 4 || src[3] == '\0') src 46 maint/gnulib/lib/mbsrtowcs-impl.h src_avail = 4 + strnlen1 (src + 4, MB_LEN_MAX - 4); src 49 maint/gnulib/lib/mbsrtowcs-impl.h ret = MBRTOWC (destptr, src, src_avail, ps); src 60 maint/gnulib/lib/mbsrtowcs-impl.h src = NULL; src 64 maint/gnulib/lib/mbsrtowcs-impl.h src += ret; src 67 maint/gnulib/lib/mbsrtowcs-impl.h *srcp = src; src 84 maint/gnulib/lib/mbsrtowcs-impl.h if (src[0] == '\0') src 86 maint/gnulib/lib/mbsrtowcs-impl.h else if (src[1] == '\0') src 88 maint/gnulib/lib/mbsrtowcs-impl.h else if (src[2] == '\0') src 90 maint/gnulib/lib/mbsrtowcs-impl.h else if (MB_LEN_MAX <= 4 || src[3] == '\0') src 93 maint/gnulib/lib/mbsrtowcs-impl.h src_avail = 4 + strnlen1 (src + 4, MB_LEN_MAX - 4); src 96 maint/gnulib/lib/mbsrtowcs-impl.h ret = MBRTOWC (NULL, src, src_avail, &state); src 110 maint/gnulib/lib/mbsrtowcs-impl.h src += ret; src 117 maint/gnulib/lib/mbsrtowcs-impl.h *srcp = src; src 27 maint/gnulib/lib/mbstoc32s.c mbstoc32s (char32_t *dest, const char *src, size_t len) src 32 maint/gnulib/lib/mbstoc32s.c return mbsrtoc32s (dest, &src, len, &state); src 31 maint/gnulib/lib/memcpy.c char const *src = srcaddr; src 34 maint/gnulib/lib/memcpy.c *dest++ = *src++; src 28 maint/gnulib/lib/mempcpy.c mempcpy (void *dest, const void *src, size_t n) src 30 maint/gnulib/lib/mempcpy.c return (char *) memcpy (dest, src, n) + n; src 25 maint/gnulib/lib/memxor.c memxor (void *restrict dest, const void *restrict src, size_t n) src 27 maint/gnulib/lib/memxor.c char const *s = src; src 28 maint/gnulib/lib/memxor.h void *memxor (void *restrict dest, const void *restrict src, size_t n); src 4450 maint/gnulib/lib/mini-gmp.c size_t nails, const void *src) src 4474 maint/gnulib/lib/mini-gmp.c p = (unsigned char *) src; src 290 maint/gnulib/lib/nstrftime.c fwrite_lowcase (FILE *fp, const CHAR_T *src, size_t len) src 294 maint/gnulib/lib/nstrftime.c fputc (TOLOWER ((UCHAR_T) *src, loc), fp); src 295 maint/gnulib/lib/nstrftime.c ++src; src 300 maint/gnulib/lib/nstrftime.c fwrite_uppcase (FILE *fp, const CHAR_T *src, size_t len) src 304 maint/gnulib/lib/nstrftime.c fputc (TOUPPER ((UCHAR_T) *src, loc), fp); src 305 maint/gnulib/lib/nstrftime.c ++src; src 309 maint/gnulib/lib/nstrftime.c static CHAR_T *memcpy_lowcase (CHAR_T *dest, const CHAR_T *src, src 313 maint/gnulib/lib/nstrftime.c memcpy_lowcase (CHAR_T *dest, const CHAR_T *src, size_t len LOCALE_PARAM) src 316 maint/gnulib/lib/nstrftime.c dest[len] = TOLOWER ((UCHAR_T) src[len], loc); src 320 maint/gnulib/lib/nstrftime.c static CHAR_T *memcpy_uppcase (CHAR_T *dest, const CHAR_T *src, src 324 maint/gnulib/lib/nstrftime.c memcpy_uppcase (CHAR_T *dest, const CHAR_T *src, size_t len LOCALE_PARAM) src 327 maint/gnulib/lib/nstrftime.c dest[len] = TOUPPER ((UCHAR_T) src[len], loc); src 109 maint/gnulib/lib/regcomp.c static bin_tree_t *duplicate_tree (const bin_tree_t *src, re_dfa_t *dfa); src 1592 maint/gnulib/lib/regcomp.c Idx src, idx; src 1597 maint/gnulib/lib/regcomp.c for (src = 0; src < dfa->nodes_len; ++src) src 1599 maint/gnulib/lib/regcomp.c Idx *elems = dfa->eclosures[src].elems; src 1600 maint/gnulib/lib/regcomp.c for (idx = 0; idx < dfa->eclosures[src].nelem; ++idx) src 1602 maint/gnulib/lib/regcomp.c ok = re_node_set_insert_last (dfa->inveclosures + elems[idx], src); src 994 maint/gnulib/lib/regex_internal.c re_node_set_init_copy (re_node_set *dest, const re_node_set *src) src 996 maint/gnulib/lib/regex_internal.c dest->nelem = src->nelem; src 997 maint/gnulib/lib/regex_internal.c if (src->nelem > 0) src 1006 maint/gnulib/lib/regex_internal.c memcpy (dest->elems, src->elems, src->nelem * sizeof (Idx)); src 1163 maint/gnulib/lib/regex_internal.c re_node_set_merge (re_node_set *dest, const re_node_set *src) src 1166 maint/gnulib/lib/regex_internal.c if (src == NULL || src->nelem == 0) src 1168 maint/gnulib/lib/regex_internal.c if (dest->alloc < 2 * src->nelem + dest->nelem) src 1170 maint/gnulib/lib/regex_internal.c Idx new_alloc = 2 * (src->nelem + dest->alloc); src 1184 maint/gnulib/lib/regex_internal.c dest->nelem = src->nelem; src 1185 maint/gnulib/lib/regex_internal.c memcpy (dest->elems, src->elems, src->nelem * sizeof (Idx)); src 1191 maint/gnulib/lib/regex_internal.c for (sbase = dest->nelem + 2 * src->nelem, src 1192 maint/gnulib/lib/regex_internal.c is = src->nelem - 1, id = dest->nelem - 1; is >= 0 && id >= 0; ) src 1194 maint/gnulib/lib/regex_internal.c if (dest->elems[id] == src->elems[is]) src 1196 maint/gnulib/lib/regex_internal.c else if (dest->elems[id] < src->elems[is]) src 1197 maint/gnulib/lib/regex_internal.c dest->elems[--sbase] = src->elems[is--]; src 1206 maint/gnulib/lib/regex_internal.c memcpy (dest->elems + sbase, src->elems, (is + 1) * sizeof (Idx)); src 1210 maint/gnulib/lib/regex_internal.c is = dest->nelem + 2 * src->nelem - 1; src 740 maint/gnulib/lib/regex_internal.h bitset_copy (bitset_t dest, const bitset_t src) src 742 maint/gnulib/lib/regex_internal.h memcpy (dest, src, sizeof (bitset_t)); src 758 maint/gnulib/lib/regex_internal.h bitset_merge (bitset_t dest, const bitset_t src) src 762 maint/gnulib/lib/regex_internal.h dest[bitset_i] |= src[bitset_i]; src 766 maint/gnulib/lib/regex_internal.h bitset_mask (bitset_t dest, const bitset_t src) src 770 maint/gnulib/lib/regex_internal.h dest[bitset_i] &= src[bitset_i]; src 107 maint/gnulib/lib/regexec.c re_dfastate_t **src, Idx num); src 1683 maint/gnulib/lib/regexec.c re_dfastate_t **src, Idx num) src 1690 maint/gnulib/lib/regexec.c dst[st_idx] = src[st_idx]; src 1691 maint/gnulib/lib/regexec.c else if (src[st_idx] != NULL) src 1695 maint/gnulib/lib/regexec.c &src[st_idx]->nodes); src 50 maint/gnulib/lib/rename.c rpl_rename (char const *src, char const *dst) src 53 maint/gnulib/lib/rename.c size_t src_len = strlen (src); src 55 maint/gnulib/lib/rename.c char *src_base = last_component (src); src 93 maint/gnulib/lib/rename.c src_slash = ISSLASH (src[src_len - 1]); src 95 maint/gnulib/lib/rename.c if (stat (src, &src_st)) src 130 maint/gnulib/lib/rename.c if (IS_ABSOLUTE_FILE_NAME (src)) src 133 maint/gnulib/lib/rename.c src_temp = chdir (src) ? NULL : getcwd (NULL, 0); src 137 maint/gnulib/lib/rename.c src_temp = chdir (src) ? NULL : getcwd (NULL, 0); src 180 maint/gnulib/lib/rename.c if (MoveFileEx (src, dst, 0)) src 188 maint/gnulib/lib/rename.c if (MoveFileEx (src, dst, MOVEFILE_REPLACE_EXISTING)) src 282 maint/gnulib/lib/rename.c rpl_rename (char const *src, char const *dst) src 284 maint/gnulib/lib/rename.c size_t src_len = strlen (src); src 286 maint/gnulib/lib/rename.c char *src_temp = (char *) src; src 297 maint/gnulib/lib/rename.c return rename (src, dst); /* Let strace see the ENOENT failure. */ src 301 maint/gnulib/lib/rename.c char *src_base = last_component (src); src 324 maint/gnulib/lib/rename.c src_slash = src[src_len - 1] == '/'; src 332 maint/gnulib/lib/rename.c return rename (src, dst); src 339 maint/gnulib/lib/rename.c if (lstat (src, &src_st)) src 385 maint/gnulib/lib/rename.c src_temp = strdup (src); src 439 maint/gnulib/lib/rename.c if (src_temp != src) src 441 maint/gnulib/lib/rename.c src_temp = canonicalize_file_name (src); src 470 maint/gnulib/lib/rename.c if (src_temp != src) src 22 maint/gnulib/lib/renameat.c renameat (int fd1, char const *src, int fd2, char const *dst) src 24 maint/gnulib/lib/renameat.c return renameatu (fd1, src, fd2, dst, 0); src 52 maint/gnulib/lib/renameatu.c rename_noreplace (char const *src, char const *dst) src 57 maint/gnulib/lib/renameatu.c : errno == ENOENT ? rename (src, dst) src 71 maint/gnulib/lib/renameatu.c renameat2ish (int fd1, char const *src, int fd2, char const *dst, src 77 maint/gnulib/lib/renameatu.c int r = renameatx_np (fd1, src, fd2, dst, RENAME_EXCL); src 83 maint/gnulib/lib/renameatu.c return renameat (fd1, src, fd2, dst); src 100 maint/gnulib/lib/renameatu.c renameatu (int fd1, char const *src, int fd2, char const *dst, src 107 maint/gnulib/lib/renameatu.c ret_val = renameat2 (fd1, src, fd2, dst, flags); src 110 maint/gnulib/lib/renameatu.c ret_val = syscall (SYS_renameat2, fd1, src, fd2, dst, flags); src 121 maint/gnulib/lib/renameatu.c char *src_temp = (char *) src; src 153 maint/gnulib/lib/renameatu.c src_len = strlen (src); src 156 maint/gnulib/lib/renameatu.c return renameat2ish (fd1, src, fd2, dst, flags); src 158 maint/gnulib/lib/renameatu.c src_slash = src[src_len - 1] == '/'; src 161 maint/gnulib/lib/renameatu.c return renameat2ish (fd1, src, fd2, dst, flags); src 167 maint/gnulib/lib/renameatu.c if (lstatat (fd1, src, &src_st)) src 191 maint/gnulib/lib/renameatu.c src_temp = strdup (src); src 238 maint/gnulib/lib/renameatu.c if (src_temp != src) src 250 maint/gnulib/lib/renameatu.c return at_func2 (fd1, src, fd2, dst, flags ? rename_noreplace : rename); src 36 maint/gnulib/lib/stpcpy.c __stpcpy (char *dest, const char *src) src 39 maint/gnulib/lib/stpcpy.c register const char *s = src; src 34 maint/gnulib/lib/stpncpy.c (__stpncpy) (char *dest, const char *src, size_t n) src 45 maint/gnulib/lib/stpncpy.c c = *src++; src 49 maint/gnulib/lib/stpncpy.c c = *src++; src 53 maint/gnulib/lib/stpncpy.c c = *src++; src 57 maint/gnulib/lib/stpncpy.c c = *src++; src 75 maint/gnulib/lib/stpncpy.c c = *src++; src 43 maint/gnulib/lib/striconv.c mem_cd_iconv (const char *src, size_t srclen, iconv_t cd, src 65 maint/gnulib/lib/striconv.c const char *inptr = src; src 143 maint/gnulib/lib/striconv.c const char *inptr = src; src 203 maint/gnulib/lib/striconv.c str_cd_iconv (const char *src, iconv_t cd) src 220 maint/gnulib/lib/striconv.c int retval = mem_cd_iconv (src, strlen (src), cd, &result, &length); src 251 maint/gnulib/lib/striconv.c const char *inptr = src; src 252 maint/gnulib/lib/striconv.c size_t inbytes_remaining = strlen (src); src 393 maint/gnulib/lib/striconv.c str_iconv (const char *src, const char *from_codeset, const char *to_codeset) src 395 maint/gnulib/lib/striconv.c if (*src == '\0' || c_strcasecmp (from_codeset, to_codeset) == 0) src 397 maint/gnulib/lib/striconv.c char *result = strdup (src); src 423 maint/gnulib/lib/striconv.c result = str_cd_iconv (src, cd); src 44 maint/gnulib/lib/striconv.h extern int mem_cd_iconv (const char *src, size_t srclen, iconv_t cd, src 55 maint/gnulib/lib/striconv.h extern char * str_cd_iconv (const char *src, iconv_t cd) src 67 maint/gnulib/lib/striconv.h extern char * str_iconv (const char *src, src 350 maint/gnulib/lib/striconveh.c mem_cd_iconveh_internal (const char *src, size_t srclen, src 404 maint/gnulib/lib/striconveh.c const char *inptr = src; src 427 maint/gnulib/lib/striconveh.c offsets[inptr - src] = length; src 599 maint/gnulib/lib/striconveh.c const char *in1ptr = src; src 629 maint/gnulib/lib/striconveh.c offsets[in1ptr - src] = length; src 997 maint/gnulib/lib/striconveh.c mem_cd_iconveh (const char *src, size_t srclen, src 1003 maint/gnulib/lib/striconveh.c return mem_cd_iconveh_internal (src, srclen, cd->cd, cd->cd1, cd->cd2, src 1008 maint/gnulib/lib/striconveh.c str_cd_iconveh (const char *src, src 1018 maint/gnulib/lib/striconveh.c int retval = mem_cd_iconveh_internal (src, strlen (src), src 1037 maint/gnulib/lib/striconveh.c mem_iconveh (const char *src, size_t srclen, src 1064 maint/gnulib/lib/striconveh.c memcpy (result, src, srclen); src 1082 maint/gnulib/lib/striconveh.c retval = mem_cd_iconveh (src, srclen, &cd, handler, offsets, src 1117 maint/gnulib/lib/striconveh.c str_iconveh (const char *src, src 1121 maint/gnulib/lib/striconveh.c if (*src == '\0' || c_strcasecmp (from_codeset, to_codeset) == 0) src 1123 maint/gnulib/lib/striconveh.c char *result = strdup (src); src 1138 maint/gnulib/lib/striconveh.c result = str_cd_iconveh (src, &cd, handler); src 80 maint/gnulib/lib/striconveh.h mem_cd_iconveh (const char *src, size_t srclen, src 96 maint/gnulib/lib/striconveh.h str_cd_iconveh (const char *src, src 117 maint/gnulib/lib/striconveh.h mem_iconveh (const char *src, size_t srclen, src 131 maint/gnulib/lib/striconveh.h str_iconveh (const char *src, src 151 maint/gnulib/lib/striconveha.c mem_iconveha_notranslit (const char *src, size_t srclen, src 157 maint/gnulib/lib/striconveha.c int retval = mem_iconveh (src, srclen, from_codeset, to_codeset, handler, src 178 maint/gnulib/lib/striconveha.c retval = mem_iconveha_notranslit (src, srclen, src 192 maint/gnulib/lib/striconveha.c retval = mem_iconveha_notranslit (src, srclen, src 213 maint/gnulib/lib/striconveha.c mem_iconveha (const char *src, size_t srclen, src 240 maint/gnulib/lib/striconveha.c retval = mem_iconveha_notranslit (src, srclen, src 250 maint/gnulib/lib/striconveha.c return mem_iconveha_notranslit (src, srclen, src 257 maint/gnulib/lib/striconveha.c str_iconveha_notranslit (const char *src, src 261 maint/gnulib/lib/striconveha.c char *result = str_iconveh (src, from_codeset, to_codeset, handler); src 282 maint/gnulib/lib/striconveha.c result = str_iconveha_notranslit (src, src 295 maint/gnulib/lib/striconveha.c result = str_iconveha_notranslit (src, src 315 maint/gnulib/lib/striconveha.c str_iconveha (const char *src, src 320 maint/gnulib/lib/striconveha.c if (*src == '\0' || c_strcasecmp (from_codeset, to_codeset) == 0) src 322 maint/gnulib/lib/striconveha.c char *result = strdup (src); src 342 maint/gnulib/lib/striconveha.c result = str_iconveha_notranslit (src, from_codeset, to_codeset_suffixed, src 351 maint/gnulib/lib/striconveha.c return str_iconveha_notranslit (src, from_codeset, to_codeset, handler); src 50 maint/gnulib/lib/striconveha.h mem_iconveha (const char *src, size_t srclen, src 69 maint/gnulib/lib/striconveha.h str_iconveha (const char *src, src 190 maint/gnulib/lib/string.in.h (void *dest, const void *src, int c, size_t n)); src 193 maint/gnulib/lib/string.in.h (void *dest, const void *src, int c, size_t n)); src 526 maint/gnulib/lib/string.in.h (char *restrict dest, const char *restrict src, size_t n) src 529 maint/gnulib/lib/string.in.h (char *restrict dest, const char *restrict src, size_t n)); src 532 maint/gnulib/lib/string.in.h (char *restrict dest, const char *restrict src, size_t n)); src 24 maint/gnulib/lib/strncat.c strncat (char *dest, const char *src, size_t n) src 28 maint/gnulib/lib/strncat.c for (; n > 0 && (*destptr = *src) != '\0'; src++, destptr++, n--) src 25 maint/gnulib/lib/time_r.c copy_tm_result (struct tm *dest, struct tm const *src) src 27 maint/gnulib/lib/time_r.c if (! src) src 29 maint/gnulib/lib/time_r.c *dest = *src; src 211 maint/gnulib/lib/uchar.in.h (char *dest, const char32_t *src, size_t len) src 214 maint/gnulib/lib/uchar.in.h (char *dest, const char32_t *src, size_t len)); src 286 maint/gnulib/lib/uchar.in.h (char32_t *dest, const char *src, size_t len) src 289 maint/gnulib/lib/uchar.in.h (char32_t *dest, const char *src, size_t len)); src 62 maint/gnulib/lib/uniconv.in.h const char *src, size_t srclen, src 68 maint/gnulib/lib/uniconv.in.h const char *src, size_t srclen, src 74 maint/gnulib/lib/uniconv.in.h const char *src, size_t srclen, src 99 maint/gnulib/lib/uniconv.in.h const uint8_t *src, size_t srclen, src 105 maint/gnulib/lib/uniconv.in.h const uint16_t *src, size_t srclen, src 111 maint/gnulib/lib/uniconv.in.h const uint32_t *src, size_t srclen, src 28 maint/gnulib/lib/uniconv/u-conv-from-enc.h const char *src, size_t srclen, src 36 maint/gnulib/lib/uniconv/u-conv-from-enc.h if (mem_iconveha (src, srclen, fromcode, UTF_NAME, true, handler, src 59 maint/gnulib/lib/uniconv/u-conv-from-enc.h u8_conv_from_encoding (fromcode, handler, src, srclen, offsets, src 28 maint/gnulib/lib/uniconv/u-conv-to-enc.h const UNIT *src, size_t srclen, src 52 maint/gnulib/lib/uniconv/u-conv-to-enc.h if (mem_iconveha ((const char *) src, srclen * sizeof (UNIT), src 93 maint/gnulib/lib/uniconv/u-conv-to-enc.h utf8_src = U_TO_U8 (src, srclen, tmpbuf, &tmpbufsize); src 140 maint/gnulib/lib/uniconv/u-conv-to-enc.h countunit = U_MBLEN (src + iunit, srclen - iunit); src 155 maint/gnulib/lib/uniconv/u-conv-to-enc.h if (!(U_MBLEN (src + iunit, srclen - iunit) < 0)) src 35 maint/gnulib/lib/uniconv/u8-conv-from-enc.c const char *src, size_t srclen, src 44 maint/gnulib/lib/uniconv/u8-conv-from-enc.c if (u8_check ((const uint8_t *) src, srclen)) src 56 maint/gnulib/lib/uniconv/u8-conv-from-enc.c int count = u8_mblen ((const uint8_t *) src + i, srclen - i); src 81 maint/gnulib/lib/uniconv/u8-conv-from-enc.c memcpy ((char *) result, src, srclen); src 90 maint/gnulib/lib/uniconv/u8-conv-from-enc.c if (mem_iconveha (src, srclen, fromcode, "UTF-8", true, handler, src 43 maint/gnulib/lib/uniconv/u8-conv-to-enc.c const uint8_t *src, size_t srclen, src 52 maint/gnulib/lib/uniconv/u8-conv-to-enc.c if (u8_check (src, srclen)) src 72 maint/gnulib/lib/uniconv/u8-conv-to-enc.c memcpy (result, (const char *) src, srclen); src 81 maint/gnulib/lib/uniconv/u8-conv-to-enc.c if (mem_iconveha ((const char *) src, srclen, src 35 maint/gnulib/lib/uninorm/decompose-internal.h gl_uninorm_decompose_merge_sort_inplace (struct ucs4_with_ccc *src, size_t n, src 377 maint/gnulib/lib/unistr.in.h u8_cpy (uint8_t *_UC_RESTRICT dest, const uint8_t *src, size_t n); src 379 maint/gnulib/lib/unistr.in.h u16_cpy (uint16_t *_UC_RESTRICT dest, const uint16_t *src, size_t n); src 381 maint/gnulib/lib/unistr.in.h u32_cpy (uint32_t *_UC_RESTRICT dest, const uint32_t *src, size_t n); src 387 maint/gnulib/lib/unistr.in.h u8_move (uint8_t *dest, const uint8_t *src, size_t n); src 389 maint/gnulib/lib/unistr.in.h u16_move (uint16_t *dest, const uint16_t *src, size_t n); src 391 maint/gnulib/lib/unistr.in.h u32_move (uint32_t *dest, const uint32_t *src, size_t n); src 532 maint/gnulib/lib/unistr.in.h u8_strcpy (uint8_t *_UC_RESTRICT dest, const uint8_t *src); src 534 maint/gnulib/lib/unistr.in.h u16_strcpy (uint16_t *_UC_RESTRICT dest, const uint16_t *src); src 536 maint/gnulib/lib/unistr.in.h u32_strcpy (uint32_t *_UC_RESTRICT dest, const uint32_t *src); src 541 maint/gnulib/lib/unistr.in.h u8_stpcpy (uint8_t *_UC_RESTRICT dest, const uint8_t *src); src 543 maint/gnulib/lib/unistr.in.h u16_stpcpy (uint16_t *_UC_RESTRICT dest, const uint16_t *src); src 545 maint/gnulib/lib/unistr.in.h u32_stpcpy (uint32_t *_UC_RESTRICT dest, const uint32_t *src); src 550 maint/gnulib/lib/unistr.in.h u8_strncpy (uint8_t *_UC_RESTRICT dest, const uint8_t *src, size_t n); src 552 maint/gnulib/lib/unistr.in.h u16_strncpy (uint16_t *_UC_RESTRICT dest, const uint16_t *src, size_t n); src 554 maint/gnulib/lib/unistr.in.h u32_strncpy (uint32_t *_UC_RESTRICT dest, const uint32_t *src, size_t n); src 560 maint/gnulib/lib/unistr.in.h u8_stpncpy (uint8_t *_UC_RESTRICT dest, const uint8_t *src, size_t n); src 562 maint/gnulib/lib/unistr.in.h u16_stpncpy (uint16_t *_UC_RESTRICT dest, const uint16_t *src, size_t n); src 564 maint/gnulib/lib/unistr.in.h u32_stpncpy (uint32_t *_UC_RESTRICT dest, const uint32_t *src, size_t n); src 569 maint/gnulib/lib/unistr.in.h u8_strcat (uint8_t *_UC_RESTRICT dest, const uint8_t *src); src 571 maint/gnulib/lib/unistr.in.h u16_strcat (uint16_t *_UC_RESTRICT dest, const uint16_t *src); src 573 maint/gnulib/lib/unistr.in.h u32_strcat (uint32_t *_UC_RESTRICT dest, const uint32_t *src); src 578 maint/gnulib/lib/unistr.in.h u8_strncat (uint8_t *_UC_RESTRICT dest, const uint8_t *src, size_t n); src 580 maint/gnulib/lib/unistr.in.h u16_strncat (uint16_t *_UC_RESTRICT dest, const uint16_t *src, size_t n); src 582 maint/gnulib/lib/unistr.in.h u32_strncat (uint32_t *_UC_RESTRICT dest, const uint32_t *src, size_t n); src 21 maint/gnulib/lib/unistr/u-cpy.h FUNC (UNIT *dest, const UNIT *src, size_t n) src 27 maint/gnulib/lib/unistr/u-cpy.h *destptr++ = *src++; src 30 maint/gnulib/lib/unistr/u-cpy.h memcpy ((char *) dest, (const char *) src, n * sizeof (UNIT)); src 29 maint/gnulib/lib/unistr/u-move.h FUNC (UNIT *dest, const UNIT *src, size_t n) src 32 maint/gnulib/lib/unistr/u-move.h if (dest < src) src 35 maint/gnulib/lib/unistr/u-move.h const UNIT *srcptr = src; src 40 maint/gnulib/lib/unistr/u-move.h else if (dest > src) src 43 maint/gnulib/lib/unistr/u-move.h const UNIT *srcptr = src + n - 1; src 49 maint/gnulib/lib/unistr/u-move.h memmove ((char *) dest, (const char *) src, n * sizeof (UNIT)); src 27 maint/gnulib/lib/unistr/u-stpcpy.h FUNC (UNIT *dest, const UNIT *src) src 29 maint/gnulib/lib/unistr/u-stpcpy.h for (; (*dest = *src) != 0; src++, dest++) src 27 maint/gnulib/lib/unistr/u-stpncpy.h FUNC (UNIT *dest, const UNIT *src, size_t n) src 29 maint/gnulib/lib/unistr/u-stpncpy.h for (; n > 0 && (*dest = *src) != 0; src++, dest++, n--) src 27 maint/gnulib/lib/unistr/u-strcat.h FUNC (UNIT *dest, const UNIT *src) src 31 maint/gnulib/lib/unistr/u-strcat.h for (; (*destptr = *src) != 0; src++, destptr++) src 27 maint/gnulib/lib/unistr/u-strcpy.h FUNC (UNIT *dest, const UNIT *src) src 31 maint/gnulib/lib/unistr/u-strcpy.h for (; (*destptr = *src) != 0; src++, destptr++) src 27 maint/gnulib/lib/unistr/u-strncat.h FUNC (UNIT *dest, const UNIT *src, size_t n) src 31 maint/gnulib/lib/unistr/u-strncat.h for (; n > 0 && (*destptr = *src) != 0; src++, destptr++, n--) src 27 maint/gnulib/lib/unistr/u-strncpy.h FUNC (UNIT *dest, const UNIT *src, size_t n) src 31 maint/gnulib/lib/unistr/u-strncpy.h for (; n > 0 && (*destptr = *src) != 0; src++, destptr++, n--) src 41 maint/gnulib/lib/unistr/u8-stpcpy.c u8_stpcpy (uint8_t *dest, const uint8_t *src) src 43 maint/gnulib/lib/unistr/u8-stpcpy.c return (uint8_t *) stpcpy ((char *) dest, (const char *) src); src 41 maint/gnulib/lib/unistr/u8-stpncpy.c u8_stpncpy (uint8_t *dest, const uint8_t *src, size_t n) src 43 maint/gnulib/lib/unistr/u8-stpncpy.c return (uint8_t *) stpncpy ((char *) dest, (const char *) src, n); src 34 maint/gnulib/lib/unistr/u8-strcat.c u8_strcat (uint8_t *dest, const uint8_t *src) src 36 maint/gnulib/lib/unistr/u8-strcat.c return (uint8_t *) strcat ((char *) dest, (const char *) src); src 34 maint/gnulib/lib/unistr/u8-strcpy.c u8_strcpy (uint8_t *dest, const uint8_t *src) src 36 maint/gnulib/lib/unistr/u8-strcpy.c return (uint8_t *) strcpy ((char *) dest, (const char *) src); src 34 maint/gnulib/lib/unistr/u8-strncat.c u8_strncat (uint8_t *dest, const uint8_t *src, size_t n) src 36 maint/gnulib/lib/unistr/u8-strncat.c return (uint8_t *) strncat ((char *) dest, (const char *) src, n); src 34 maint/gnulib/lib/unistr/u8-strncpy.c u8_strncpy (uint8_t *dest, const uint8_t *src, size_t n) src 36 maint/gnulib/lib/unistr/u8-strncpy.c return (uint8_t *) strncpy ((char *) dest, (const char *) src, n); src 619 maint/gnulib/lib/wchar.in.h const wchar_t *restrict src, size_t n)); src 623 maint/gnulib/lib/wchar.in.h const wchar_t *restrict src, size_t n)); src 641 maint/gnulib/lib/wchar.in.h (wchar_t *dest, const wchar_t *src, size_t n)); src 644 maint/gnulib/lib/wchar.in.h (wchar_t *dest, const wchar_t *src, size_t n)); src 663 maint/gnulib/lib/wchar.in.h const wchar_t *restrict src, size_t n)); src 667 maint/gnulib/lib/wchar.in.h const wchar_t *restrict src, size_t n)); src 737 maint/gnulib/lib/wchar.in.h (wchar_t *restrict dest, const wchar_t *restrict src)); src 740 maint/gnulib/lib/wchar.in.h (wchar_t *restrict dest, const wchar_t *restrict src)); src 757 maint/gnulib/lib/wchar.in.h (wchar_t *restrict dest, const wchar_t *restrict src)); src 760 maint/gnulib/lib/wchar.in.h (wchar_t *restrict dest, const wchar_t *restrict src)); src 776 maint/gnulib/lib/wchar.in.h const wchar_t *restrict src, size_t n)); src 780 maint/gnulib/lib/wchar.in.h const wchar_t *restrict src, size_t n)); src 799 maint/gnulib/lib/wchar.in.h const wchar_t *restrict src, size_t n)); src 803 maint/gnulib/lib/wchar.in.h const wchar_t *restrict src, size_t n)); src 818 maint/gnulib/lib/wchar.in.h (wchar_t *restrict dest, const wchar_t *restrict src)); src 821 maint/gnulib/lib/wchar.in.h (wchar_t *restrict dest, const wchar_t *restrict src)); src 838 maint/gnulib/lib/wchar.in.h (wchar_t *restrict dest, const wchar_t *restrict src, src 842 maint/gnulib/lib/wchar.in.h (wchar_t *restrict dest, const wchar_t *restrict src, src 19 maint/gnulib/lib/wcpcpy-impl.h wcpcpy (wchar_t *dest, const wchar_t *src) src 21 maint/gnulib/lib/wcpcpy-impl.h for (; (*dest = *src) != (wchar_t)'\0'; src++, dest++) src 19 maint/gnulib/lib/wcpncpy-impl.h wcpncpy (wchar_t *dest, const wchar_t *src, size_t n) src 21 maint/gnulib/lib/wcpncpy-impl.h for (; n > 0 && (*dest = *src) != (wchar_t)'\0'; src++, dest++, n--) src 19 maint/gnulib/lib/wcscat-impl.h wcscat (wchar_t *dest, const wchar_t *src) src 23 maint/gnulib/lib/wcscat-impl.h for (; (*destptr = *src) != (wchar_t)'\0'; src++, destptr++) src 19 maint/gnulib/lib/wcscpy-impl.h wcscpy (wchar_t *dest, const wchar_t *src) src 23 maint/gnulib/lib/wcscpy-impl.h for (; (*destptr = *src) != (wchar_t)'\0'; src++, destptr++) src 19 maint/gnulib/lib/wcsncat-impl.h wcsncat (wchar_t *dest, const wchar_t *src, size_t n) src 23 maint/gnulib/lib/wcsncat-impl.h for (; n > 0 && (*destptr = *src) != (wchar_t)'\0'; src++, destptr++, n--) src 19 maint/gnulib/lib/wcsncpy-impl.h wcsncpy (wchar_t *dest, const wchar_t *src, size_t n) src 23 maint/gnulib/lib/wcsncpy-impl.h for (; n > 0 && (*destptr = *src) != (wchar_t)'\0'; src++, destptr++, n--) src 24 maint/gnulib/lib/wcsnrtombs-impl.h const SCHAR_T *src = *srcp; src 35 maint/gnulib/lib/wcsnrtombs-impl.h for (; srclen > 0 && len > 0; src++, srclen--) src 37 maint/gnulib/lib/wcsnrtombs-impl.h SCHAR_T wc = *src; src 50 maint/gnulib/lib/wcsnrtombs-impl.h src = NULL; src 57 maint/gnulib/lib/wcsnrtombs-impl.h *srcp = src; src 67 maint/gnulib/lib/wcsnrtombs-impl.h for (; srclen > 0; src++, srclen--) src 69 maint/gnulib/lib/wcsnrtombs-impl.h SCHAR_T wc = *src; src 85 maint/gnulib/lib/wcsnrtombs-impl.h *srcp = src; src 24 maint/gnulib/lib/wcsrtombs-impl.h const SCHAR_T *src = *srcp; src 35 maint/gnulib/lib/wcsrtombs-impl.h for (; len > 0; src++) src 37 maint/gnulib/lib/wcsrtombs-impl.h SCHAR_T wc = *src; src 50 maint/gnulib/lib/wcsrtombs-impl.h src = NULL; src 57 maint/gnulib/lib/wcsrtombs-impl.h *srcp = src; src 67 maint/gnulib/lib/wcsrtombs-impl.h for (;; src++) src 69 maint/gnulib/lib/wcsrtombs-impl.h SCHAR_T wc = *src; src 85 maint/gnulib/lib/wcsrtombs-impl.h *srcp = src; src 19 maint/gnulib/lib/wmemcpy-impl.h wmemcpy (wchar_t *dest, const wchar_t *src, size_t n) src 24 maint/gnulib/lib/wmemcpy-impl.h *destptr++ = *src++; src 19 maint/gnulib/lib/wmemmove-impl.h wmemmove (wchar_t *dest, const wchar_t *src, size_t n) src 21 maint/gnulib/lib/wmemmove-impl.h if (dest < src) src 24 maint/gnulib/lib/wmemmove-impl.h const wchar_t *srcptr = src; src 28 maint/gnulib/lib/wmemmove-impl.h else if (dest > src) src 31 maint/gnulib/lib/wmemmove-impl.h const wchar_t *srcptr = src + n - 1; src 25 maint/gnulib/lib/wmempcpy.c wmempcpy (wchar_t *dest, const wchar_t *src, size_t n) src 27 maint/gnulib/lib/wmempcpy.c return wmemcpy (dest, src, n) + n; src 32 maint/gnulib/lib/xstriconv.c xmem_cd_iconv (const char *src, size_t srclen, iconv_t cd, src 35 maint/gnulib/lib/xstriconv.c int retval = mem_cd_iconv (src, srclen, cd, resultp, lengthp); src 43 maint/gnulib/lib/xstriconv.c xstr_cd_iconv (const char *src, iconv_t cd) src 45 maint/gnulib/lib/xstriconv.c char *result = str_cd_iconv (src, cd); src 55 maint/gnulib/lib/xstriconv.c xstr_iconv (const char *src, const char *from_codeset, const char *to_codeset) src 57 maint/gnulib/lib/xstriconv.c char *result = str_iconv (src, from_codeset, to_codeset); src 45 maint/gnulib/lib/xstriconv.h extern int xmem_cd_iconv (const char *src, size_t srclen, iconv_t cd, src 57 maint/gnulib/lib/xstriconv.h extern char * xstr_cd_iconv (const char *src, iconv_t cd) src 70 maint/gnulib/lib/xstriconv.h extern char * xstr_iconv (const char *src, src 32 maint/gnulib/lib/xstriconveh.c xmem_cd_iconveh (const char *src, size_t srclen, src 39 maint/gnulib/lib/xstriconveh.c mem_cd_iconveh (src, srclen, cd, handler, offsets, resultp, lengthp); src 47 maint/gnulib/lib/xstriconveh.c xstr_cd_iconveh (const char *src, src 51 maint/gnulib/lib/xstriconveh.c char *result = str_cd_iconveh (src, cd, handler); src 61 maint/gnulib/lib/xstriconveh.c xmem_iconveh (const char *src, size_t srclen, src 68 maint/gnulib/lib/xstriconveh.c mem_iconveh (src, srclen, from_codeset, to_codeset, handler, offsets, src 77 maint/gnulib/lib/xstriconveh.c xstr_iconveh (const char *src, src 81 maint/gnulib/lib/xstriconveh.c char *result = str_iconveh (src, from_codeset, to_codeset, handler); src 52 maint/gnulib/lib/xstriconveh.h xmem_cd_iconveh (const char *src, size_t srclen, src 69 maint/gnulib/lib/xstriconveh.h xstr_cd_iconveh (const char *src, src 91 maint/gnulib/lib/xstriconveh.h xmem_iconveh (const char *src, size_t srclen, src 106 maint/gnulib/lib/xstriconveh.h xstr_iconveh (const char *src, src 346 maint/gnulib/tests/test-array-mergesort.c struct foo *src; src 351 maint/gnulib/tests/test-array-mergesort.c src = (struct foo *) malloc ((n + 1) * sizeof (struct foo)); src 352 maint/gnulib/tests/test-array-mergesort.c src[n].x = 0x4A6A71FE; /* canary */ src 357 maint/gnulib/tests/test-array-mergesort.c src[i] = data[i]; src 359 maint/gnulib/tests/test-array-mergesort.c merge_sort_inplace (src, n, tmp); src 362 maint/gnulib/tests/test-array-mergesort.c ASSERT (src[n].x == 0x4A6A71FE); src 371 maint/gnulib/tests/test-array-mergesort.c ASSERT (src[i].x == qsort_result[i]); src 375 maint/gnulib/tests/test-array-mergesort.c if (i > 0 && src[i - 1].x == src[i].x) src 376 maint/gnulib/tests/test-array-mergesort.c ASSERT (src[i - 1].index < src[i].index); src 380 maint/gnulib/tests/test-array-mergesort.c free (src); src 44 maint/gnulib/tests/test-c32snrtombs.c const char32_t *src; src 67 maint/gnulib/tests/test-c32snrtombs.c src = input; src 68 maint/gnulib/tests/test-c32snrtombs.c ret = c32snrtombs (NULL, &src, 6, n, NULL); src 70 maint/gnulib/tests/test-c32snrtombs.c ASSERT (src == input); src 72 maint/gnulib/tests/test-c32snrtombs.c src = input; src 73 maint/gnulib/tests/test-c32snrtombs.c ret = c32snrtombs (buf, &src, 6, n, NULL); src 75 maint/gnulib/tests/test-c32snrtombs.c ASSERT (src == (n <= 5 ? input + n : NULL)); src 77 maint/gnulib/tests/test-c32snrtombs.c if (src == NULL) src 79 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); src 80 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); src 81 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); src 96 maint/gnulib/tests/test-c32snrtombs.c src = input; src 97 maint/gnulib/tests/test-c32snrtombs.c ret = c32snrtombs (NULL, &src, 6, n, NULL); src 99 maint/gnulib/tests/test-c32snrtombs.c ASSERT (src == input); src 101 maint/gnulib/tests/test-c32snrtombs.c src = input; src 102 maint/gnulib/tests/test-c32snrtombs.c ret = c32snrtombs (buf, &src, 6, n, NULL); src 108 maint/gnulib/tests/test-c32snrtombs.c ASSERT (src == (n < 1 ? input + n : src 114 maint/gnulib/tests/test-c32snrtombs.c if (src == NULL) src 116 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); src 117 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); src 118 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); src 133 maint/gnulib/tests/test-c32snrtombs.c src = input; src 134 maint/gnulib/tests/test-c32snrtombs.c ret = c32snrtombs (NULL, &src, 6, n, NULL); src 136 maint/gnulib/tests/test-c32snrtombs.c ASSERT (src == input); src 138 maint/gnulib/tests/test-c32snrtombs.c src = input; src 139 maint/gnulib/tests/test-c32snrtombs.c ret = c32snrtombs (buf, &src, 6, n, NULL); src 145 maint/gnulib/tests/test-c32snrtombs.c ASSERT (src == (n < 1 ? input + n : src 151 maint/gnulib/tests/test-c32snrtombs.c if (src == NULL) src 153 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); src 154 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); src 155 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); src 171 maint/gnulib/tests/test-c32snrtombs.c src = input; src 172 maint/gnulib/tests/test-c32snrtombs.c ret = c32snrtombs (NULL, &src, 6, n, NULL); src 174 maint/gnulib/tests/test-c32snrtombs.c ASSERT (src == input); src 176 maint/gnulib/tests/test-c32snrtombs.c src = input; src 177 maint/gnulib/tests/test-c32snrtombs.c ret = c32snrtombs (buf, &src, 6, n, NULL); src 183 maint/gnulib/tests/test-c32snrtombs.c ASSERT (src == (n < 1 ? input + n : src 189 maint/gnulib/tests/test-c32snrtombs.c if (src == NULL) src 191 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); src 192 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); src 193 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); src 44 maint/gnulib/tests/test-c32srtombs.c const char32_t *src; src 67 maint/gnulib/tests/test-c32srtombs.c src = input; src 68 maint/gnulib/tests/test-c32srtombs.c ret = c32srtombs (NULL, &src, n, NULL); src 70 maint/gnulib/tests/test-c32srtombs.c ASSERT (src == input); src 72 maint/gnulib/tests/test-c32srtombs.c src = input; src 73 maint/gnulib/tests/test-c32srtombs.c ret = c32srtombs (buf, &src, n, NULL); src 75 maint/gnulib/tests/test-c32srtombs.c ASSERT (src == (n <= 5 ? input + n : NULL)); src 77 maint/gnulib/tests/test-c32srtombs.c if (src == NULL) src 79 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); src 80 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); src 81 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); src 96 maint/gnulib/tests/test-c32srtombs.c src = input; src 97 maint/gnulib/tests/test-c32srtombs.c ret = c32srtombs (NULL, &src, n, NULL); src 99 maint/gnulib/tests/test-c32srtombs.c ASSERT (src == input); src 101 maint/gnulib/tests/test-c32srtombs.c src = input; src 102 maint/gnulib/tests/test-c32srtombs.c ret = c32srtombs (buf, &src, n, NULL); src 108 maint/gnulib/tests/test-c32srtombs.c ASSERT (src == (n < 1 ? input + n : src 114 maint/gnulib/tests/test-c32srtombs.c if (src == NULL) src 116 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); src 117 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); src 118 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); src 133 maint/gnulib/tests/test-c32srtombs.c src = input; src 134 maint/gnulib/tests/test-c32srtombs.c ret = c32srtombs (NULL, &src, n, NULL); src 136 maint/gnulib/tests/test-c32srtombs.c ASSERT (src == input); src 138 maint/gnulib/tests/test-c32srtombs.c src = input; src 139 maint/gnulib/tests/test-c32srtombs.c ret = c32srtombs (buf, &src, n, NULL); src 145 maint/gnulib/tests/test-c32srtombs.c ASSERT (src == (n < 1 ? input + n : src 151 maint/gnulib/tests/test-c32srtombs.c if (src == NULL) src 153 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); src 154 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); src 155 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); src 171 maint/gnulib/tests/test-c32srtombs.c src = input; src 172 maint/gnulib/tests/test-c32srtombs.c ret = c32srtombs (NULL, &src, n, NULL); src 174 maint/gnulib/tests/test-c32srtombs.c ASSERT (src == input); src 176 maint/gnulib/tests/test-c32srtombs.c src = input; src 177 maint/gnulib/tests/test-c32srtombs.c ret = c32srtombs (buf, &src, n, NULL); src 183 maint/gnulib/tests/test-c32srtombs.c ASSERT (src == (n < 1 ? input + n : src 189 maint/gnulib/tests/test-c32srtombs.c if (src == NULL) src 191 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); src 192 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); src 193 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); src 46 maint/gnulib/tests/test-mbsnrtoc32s.c const char *src; src 50 maint/gnulib/tests/test-mbsnrtoc32s.c src = ""; src 51 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (NULL, &src, 1, 0, &state); src 55 maint/gnulib/tests/test-mbsnrtoc32s.c src = ""; src 56 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (NULL, &src, 1, 1, &state); src 61 maint/gnulib/tests/test-mbsnrtoc32s.c src = ""; src 62 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (&wc, &src, 1, 0, &state); src 68 maint/gnulib/tests/test-mbsnrtoc32s.c src = ""; src 69 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (&wc, &src, 1, 1, &state); src 83 maint/gnulib/tests/test-mbsnrtoc32s.c const char *src; src 114 maint/gnulib/tests/test-mbsnrtoc32s.c src = input + 2; src 116 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (NULL, &src, 4, unlimited ? BUFSIZE : 1, &temp_state); src 118 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (src == input + 2); src 121 maint/gnulib/tests/test-mbsnrtoc32s.c src = input + 2; src 122 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (buf, &src, 4, unlimited ? BUFSIZE : 1, &state); src 124 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (src == (unlimited ? NULL : input + 3)); src 159 maint/gnulib/tests/test-mbsnrtoc32s.c src = input + 2; src 161 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (NULL, &src, 9, unlimited ? BUFSIZE : 2, &temp_state); src 163 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (src == input + 2); src 166 maint/gnulib/tests/test-mbsnrtoc32s.c src = input + 2; src 167 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (buf, &src, 9, unlimited ? BUFSIZE : 2, &state); src 169 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (src == (unlimited ? NULL : input + 5)); src 213 maint/gnulib/tests/test-mbsnrtoc32s.c src = input + 4; src 215 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (NULL, &src, 5, unlimited ? BUFSIZE : 2, &temp_state); src 217 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (src == input + 4); src 220 maint/gnulib/tests/test-mbsnrtoc32s.c src = input + 4; src 221 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (buf, &src, 5, unlimited ? BUFSIZE : 2, &state); src 223 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (src == (unlimited ? NULL : input + 7)); src 258 maint/gnulib/tests/test-mbsnrtoc32s.c src = input + 2; src 260 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (NULL, &src, 11, unlimited ? BUFSIZE : 2, &temp_state); src 262 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (src == input + 2); src 265 maint/gnulib/tests/test-mbsnrtoc32s.c src = input + 2; src 266 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (buf, &src, 11, unlimited ? BUFSIZE : 2, &state); src 268 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (src == (unlimited ? NULL : input + 7)); src 46 maint/gnulib/tests/test-mbsnrtowcs.c const char *src; src 50 maint/gnulib/tests/test-mbsnrtowcs.c src = ""; src 51 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (NULL, &src, 1, 0, &state); src 55 maint/gnulib/tests/test-mbsnrtowcs.c src = ""; src 56 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (NULL, &src, 1, 1, &state); src 61 maint/gnulib/tests/test-mbsnrtowcs.c src = ""; src 62 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (&wc, &src, 1, 0, &state); src 68 maint/gnulib/tests/test-mbsnrtowcs.c src = ""; src 69 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (&wc, &src, 1, 1, &state); src 83 maint/gnulib/tests/test-mbsnrtowcs.c const char *src; src 114 maint/gnulib/tests/test-mbsnrtowcs.c src = input + 2; src 116 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (NULL, &src, 4, unlimited ? BUFSIZE : 1, &temp_state); src 118 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (src == input + 2); src 121 maint/gnulib/tests/test-mbsnrtowcs.c src = input + 2; src 122 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (buf, &src, 4, unlimited ? BUFSIZE : 1, &state); src 124 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (src == (unlimited ? NULL : input + 3)); src 159 maint/gnulib/tests/test-mbsnrtowcs.c src = input + 2; src 161 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (NULL, &src, 6, unlimited ? BUFSIZE : 2, &temp_state); src 163 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (src == input + 2); src 166 maint/gnulib/tests/test-mbsnrtowcs.c src = input + 2; src 167 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (buf, &src, 6, unlimited ? BUFSIZE : 2, &state); src 169 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (src == (unlimited ? NULL : input + 5)); src 213 maint/gnulib/tests/test-mbsnrtowcs.c src = input + 4; src 215 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (NULL, &src, 5, unlimited ? BUFSIZE : 2, &temp_state); src 217 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (src == input + 4); src 220 maint/gnulib/tests/test-mbsnrtowcs.c src = input + 4; src 221 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (buf, &src, 5, unlimited ? BUFSIZE : 2, &state); src 223 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (src == (unlimited ? NULL : input + 7)); src 258 maint/gnulib/tests/test-mbsnrtowcs.c src = input + 2; src 260 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (NULL, &src, 8, unlimited ? BUFSIZE : 2, &temp_state); src 262 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (src == input + 2); src 265 maint/gnulib/tests/test-mbsnrtowcs.c src = input + 2; src 266 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (buf, &src, 8, unlimited ? BUFSIZE : 2, &state); src 268 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (src == (unlimited ? NULL : input + 7)); src 46 maint/gnulib/tests/test-mbsrtoc32s.c const char *src; src 50 maint/gnulib/tests/test-mbsrtoc32s.c src = ""; src 51 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (NULL, &src, 0, &state); src 55 maint/gnulib/tests/test-mbsrtoc32s.c src = ""; src 56 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (NULL, &src, 1, &state); src 61 maint/gnulib/tests/test-mbsrtoc32s.c src = ""; src 62 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (&wc, &src, 0, &state); src 68 maint/gnulib/tests/test-mbsrtoc32s.c src = ""; src 69 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (&wc, &src, 1, &state); src 83 maint/gnulib/tests/test-mbsrtoc32s.c const char *src; src 114 maint/gnulib/tests/test-mbsrtoc32s.c src = input + 2; src 116 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (NULL, &src, unlimited ? BUFSIZE : 1, &temp_state); src 118 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (src == input + 2); src 121 maint/gnulib/tests/test-mbsrtoc32s.c src = input + 2; src 122 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (buf, &src, unlimited ? BUFSIZE : 1, &state); src 124 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (src == (unlimited ? NULL : input + 3)); src 159 maint/gnulib/tests/test-mbsrtoc32s.c src = input + 2; src 161 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (NULL, &src, unlimited ? BUFSIZE : 2, &temp_state); src 163 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (src == input + 2); src 166 maint/gnulib/tests/test-mbsrtoc32s.c src = input + 2; src 167 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (buf, &src, unlimited ? BUFSIZE : 2, &state); src 169 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (src == (unlimited ? NULL : input + 5)); src 213 maint/gnulib/tests/test-mbsrtoc32s.c src = input + 4; src 215 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (NULL, &src, unlimited ? BUFSIZE : 2, &temp_state); src 217 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (src == input + 4); src 220 maint/gnulib/tests/test-mbsrtoc32s.c src = input + 4; src 221 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (buf, &src, unlimited ? BUFSIZE : 2, &state); src 223 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (src == (unlimited ? NULL : input + 7)); src 258 maint/gnulib/tests/test-mbsrtoc32s.c src = input + 2; src 260 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (NULL, &src, unlimited ? BUFSIZE : 2, &temp_state); src 262 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (src == input + 2); src 265 maint/gnulib/tests/test-mbsrtoc32s.c src = input + 2; src 266 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (buf, &src, unlimited ? BUFSIZE : 2, &state); src 268 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (src == (unlimited ? NULL : input + 7)); src 46 maint/gnulib/tests/test-mbsrtowcs.c const char *src; src 50 maint/gnulib/tests/test-mbsrtowcs.c src = ""; src 51 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (NULL, &src, 0, &state); src 55 maint/gnulib/tests/test-mbsrtowcs.c src = ""; src 56 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (NULL, &src, 1, &state); src 61 maint/gnulib/tests/test-mbsrtowcs.c src = ""; src 62 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (&wc, &src, 0, &state); src 68 maint/gnulib/tests/test-mbsrtowcs.c src = ""; src 69 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (&wc, &src, 1, &state); src 83 maint/gnulib/tests/test-mbsrtowcs.c const char *src; src 114 maint/gnulib/tests/test-mbsrtowcs.c src = input + 2; src 116 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (NULL, &src, unlimited ? BUFSIZE : 1, &temp_state); src 118 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (src == input + 2); src 121 maint/gnulib/tests/test-mbsrtowcs.c src = input + 2; src 122 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (buf, &src, unlimited ? BUFSIZE : 1, &state); src 124 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (src == (unlimited ? NULL : input + 3)); src 159 maint/gnulib/tests/test-mbsrtowcs.c src = input + 2; src 161 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (NULL, &src, unlimited ? BUFSIZE : 2, &temp_state); src 163 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (src == input + 2); src 166 maint/gnulib/tests/test-mbsrtowcs.c src = input + 2; src 167 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (buf, &src, unlimited ? BUFSIZE : 2, &state); src 169 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (src == (unlimited ? NULL : input + 5)); src 213 maint/gnulib/tests/test-mbsrtowcs.c src = input + 4; src 215 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (NULL, &src, unlimited ? BUFSIZE : 2, &temp_state); src 217 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (src == input + 4); src 220 maint/gnulib/tests/test-mbsrtowcs.c src = input + 4; src 221 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (buf, &src, unlimited ? BUFSIZE : 2, &state); src 223 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (src == (unlimited ? NULL : input + 7)); src 258 maint/gnulib/tests/test-mbsrtowcs.c src = input + 2; src 260 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (NULL, &src, unlimited ? BUFSIZE : 2, &temp_state); src 262 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (src == input + 2); src 265 maint/gnulib/tests/test-mbsrtowcs.c src = input + 2; src 266 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (buf, &src, unlimited ? BUFSIZE : 2, &state); src 268 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (src == (unlimited ? NULL : input + 7)); src 44 maint/gnulib/tests/test-mbstoc32s.c const char *src; src 46 maint/gnulib/tests/test-mbstoc32s.c src = ""; src 47 maint/gnulib/tests/test-mbstoc32s.c ret = mbstoc32s (NULL, src, 0); src 50 maint/gnulib/tests/test-mbstoc32s.c src = ""; src 51 maint/gnulib/tests/test-mbstoc32s.c ret = mbstoc32s (NULL, src, 1); src 55 maint/gnulib/tests/test-mbstoc32s.c src = ""; src 56 maint/gnulib/tests/test-mbstoc32s.c ret = mbstoc32s (&wc, src, 0); src 61 maint/gnulib/tests/test-mbstoc32s.c src = ""; src 62 maint/gnulib/tests/test-mbstoc32s.c ret = mbstoc32s (&wc, src, 1); src 75 maint/gnulib/tests/test-mbstoc32s.c const char *src; src 102 maint/gnulib/tests/test-mbstoc32s.c src = input + 2; src 103 maint/gnulib/tests/test-mbstoc32s.c ret = mbstoc32s (NULL, src, unlimited ? BUFSIZE : 1); src 106 maint/gnulib/tests/test-mbstoc32s.c src = input + 2; src 107 maint/gnulib/tests/test-mbstoc32s.c ret = mbstoc32s (buf, src, unlimited ? BUFSIZE : 1); src 140 maint/gnulib/tests/test-mbstoc32s.c src = input + 3; src 141 maint/gnulib/tests/test-mbstoc32s.c ret = mbstoc32s (NULL, src, unlimited ? BUFSIZE : 2); src 144 maint/gnulib/tests/test-mbstoc32s.c src = input + 3; src 145 maint/gnulib/tests/test-mbstoc32s.c ret = mbstoc32s (buf, src, unlimited ? BUFSIZE : 2); src 178 maint/gnulib/tests/test-mbstoc32s.c src = input + 3; src 179 maint/gnulib/tests/test-mbstoc32s.c ret = mbstoc32s (NULL, src, unlimited ? BUFSIZE : 2); src 182 maint/gnulib/tests/test-mbstoc32s.c src = input + 3; src 183 maint/gnulib/tests/test-mbstoc32s.c ret = mbstoc32s (buf, src, unlimited ? BUFSIZE : 2); src 215 maint/gnulib/tests/test-mbstoc32s.c src = input + 3; src 216 maint/gnulib/tests/test-mbstoc32s.c ret = mbstoc32s (NULL, src, unlimited ? BUFSIZE : 2); src 219 maint/gnulib/tests/test-mbstoc32s.c src = input + 3; src 220 maint/gnulib/tests/test-mbstoc32s.c ret = mbstoc32s (buf, src, unlimited ? BUFSIZE : 2); src 44 maint/gnulib/tests/test-wcsnrtombs.c const wchar_t *src; src 67 maint/gnulib/tests/test-wcsnrtombs.c src = input; src 68 maint/gnulib/tests/test-wcsnrtombs.c ret = wcsnrtombs (NULL, &src, 6, n, NULL); src 70 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (src == input); src 72 maint/gnulib/tests/test-wcsnrtombs.c src = input; src 73 maint/gnulib/tests/test-wcsnrtombs.c ret = wcsnrtombs (buf, &src, 6, n, NULL); src 75 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (src == (n <= 5 ? input + n : NULL)); src 77 maint/gnulib/tests/test-wcsnrtombs.c if (src == NULL) src 79 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); src 80 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); src 81 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); src 96 maint/gnulib/tests/test-wcsnrtombs.c src = input; src 97 maint/gnulib/tests/test-wcsnrtombs.c ret = wcsnrtombs (NULL, &src, 6, n, NULL); src 99 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (src == input); src 101 maint/gnulib/tests/test-wcsnrtombs.c src = input; src 102 maint/gnulib/tests/test-wcsnrtombs.c ret = wcsnrtombs (buf, &src, 6, n, NULL); src 107 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (src == (n < 1 ? input + n : src 112 maint/gnulib/tests/test-wcsnrtombs.c if (src == NULL) src 114 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); src 115 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); src 116 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); src 131 maint/gnulib/tests/test-wcsnrtombs.c src = input; src 132 maint/gnulib/tests/test-wcsnrtombs.c ret = wcsnrtombs (NULL, &src, 6, n, NULL); src 134 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (src == input); src 136 maint/gnulib/tests/test-wcsnrtombs.c src = input; src 137 maint/gnulib/tests/test-wcsnrtombs.c ret = wcsnrtombs (buf, &src, 6, n, NULL); src 143 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (src == (n < 1 ? input + n : src 149 maint/gnulib/tests/test-wcsnrtombs.c if (src == NULL) src 151 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); src 152 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); src 153 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); src 169 maint/gnulib/tests/test-wcsnrtombs.c src = input; src 170 maint/gnulib/tests/test-wcsnrtombs.c ret = wcsnrtombs (NULL, &src, 6, n, NULL); src 172 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (src == input); src 174 maint/gnulib/tests/test-wcsnrtombs.c src = input; src 175 maint/gnulib/tests/test-wcsnrtombs.c ret = wcsnrtombs (buf, &src, 6, n, NULL); src 180 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (src == (n < 1 ? input + n : src 185 maint/gnulib/tests/test-wcsnrtombs.c if (src == NULL) src 187 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); src 188 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); src 189 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); src 44 maint/gnulib/tests/test-wcsrtombs.c const wchar_t *src; src 67 maint/gnulib/tests/test-wcsrtombs.c src = input; src 68 maint/gnulib/tests/test-wcsrtombs.c ret = wcsrtombs (NULL, &src, n, NULL); src 70 maint/gnulib/tests/test-wcsrtombs.c ASSERT (src == input); src 72 maint/gnulib/tests/test-wcsrtombs.c src = input; src 73 maint/gnulib/tests/test-wcsrtombs.c ret = wcsrtombs (buf, &src, n, NULL); src 75 maint/gnulib/tests/test-wcsrtombs.c ASSERT (src == (n <= 5 ? input + n : NULL)); src 77 maint/gnulib/tests/test-wcsrtombs.c if (src == NULL) src 79 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); src 80 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); src 81 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); src 96 maint/gnulib/tests/test-wcsrtombs.c src = input; src 97 maint/gnulib/tests/test-wcsrtombs.c ret = wcsrtombs (NULL, &src, n, NULL); src 99 maint/gnulib/tests/test-wcsrtombs.c ASSERT (src == input); src 101 maint/gnulib/tests/test-wcsrtombs.c src = input; src 102 maint/gnulib/tests/test-wcsrtombs.c ret = wcsrtombs (buf, &src, n, NULL); src 107 maint/gnulib/tests/test-wcsrtombs.c ASSERT (src == (n < 1 ? input + n : src 112 maint/gnulib/tests/test-wcsrtombs.c if (src == NULL) src 114 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); src 115 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); src 116 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); src 131 maint/gnulib/tests/test-wcsrtombs.c src = input; src 132 maint/gnulib/tests/test-wcsrtombs.c ret = wcsrtombs (NULL, &src, n, NULL); src 134 maint/gnulib/tests/test-wcsrtombs.c ASSERT (src == input); src 136 maint/gnulib/tests/test-wcsrtombs.c src = input; src 137 maint/gnulib/tests/test-wcsrtombs.c ret = wcsrtombs (buf, &src, n, NULL); src 143 maint/gnulib/tests/test-wcsrtombs.c ASSERT (src == (n < 1 ? input + n : src 149 maint/gnulib/tests/test-wcsrtombs.c if (src == NULL) src 151 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); src 152 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); src 153 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); src 169 maint/gnulib/tests/test-wcsrtombs.c src = input; src 170 maint/gnulib/tests/test-wcsrtombs.c ret = wcsrtombs (NULL, &src, n, NULL); src 172 maint/gnulib/tests/test-wcsrtombs.c ASSERT (src == input); src 174 maint/gnulib/tests/test-wcsrtombs.c src = input; src 175 maint/gnulib/tests/test-wcsrtombs.c ret = wcsrtombs (buf, &src, n, NULL); src 180 maint/gnulib/tests/test-wcsrtombs.c ASSERT (src == (n < 1 ? input + n : src 185 maint/gnulib/tests/test-wcsrtombs.c if (src == NULL) src 187 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); src 188 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); src 189 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); src 24 maint/gnulib/tests/unistr/test-cpy-alloc.h static const UNIT src[] = { 'c', 'l', 'i', 'm', 'a', 't', 'e' }; src 27 maint/gnulib/tests/unistr/test-cpy-alloc.h for (n = 0; n <= SIZEOF (src); n++) src 29 maint/gnulib/tests/unistr/test-cpy-alloc.h UNIT *result = U_CPY_ALLOC (src, n); src 34 maint/gnulib/tests/unistr/test-cpy-alloc.h ASSERT (result[i] == src[i]); src 24 maint/gnulib/tests/unistr/test-cpy.h static const UNIT src[] = { 'c', 'l', 'i', 'm', 'a', 't', 'e' }; src 27 maint/gnulib/tests/unistr/test-cpy.h for (n = 0; n <= SIZEOF (src); n++) src 29 maint/gnulib/tests/unistr/test-cpy.h UNIT dest[1 + SIZEOF (src) + 1] = src 34 maint/gnulib/tests/unistr/test-cpy.h ret = U_CPY (dest + 1, src, n); src 38 maint/gnulib/tests/unistr/test-cpy.h ASSERT (dest[1 + i] == src[i]); src 24 maint/gnulib/tests/unistr/test-move.h static const UNIT src[] = { 'c', 'l', 'i', 'm', 'a', 't', 'e' }; src 27 maint/gnulib/tests/unistr/test-move.h for (n = 0; n <= SIZEOF (src); n++) src 29 maint/gnulib/tests/unistr/test-move.h UNIT dest[1 + SIZEOF (src) + 1] = src 34 maint/gnulib/tests/unistr/test-move.h ret = U_MOVE (dest + 1, src, n); src 38 maint/gnulib/tests/unistr/test-move.h ASSERT (dest[1 + i] == src[i]); src 45 maint/gnulib/tests/unistr/test-move.h static const UNIT src[] = { 'c', 'l', 'i', 'm', 'a', 't', 'e' }; src 48 maint/gnulib/tests/unistr/test-move.h for (n = 0; n <= SIZEOF (src); n++) src 50 maint/gnulib/tests/unistr/test-move.h UNIT dest[1 + SIZEOF (src) + 1]; src 56 maint/gnulib/tests/unistr/test-move.h dest[1 + i] = src[i]; src 63 maint/gnulib/tests/unistr/test-move.h ASSERT (dest[1 + i] == src[i]); src 70 maint/gnulib/tests/unistr/test-move.h static const UNIT src[] = { 'c', 'l', 'i', 'm', 'a', 't', 'e' }; src 74 maint/gnulib/tests/unistr/test-move.h ASSERT (SIZEOF (src) == SIZEOF (src2)); src 75 maint/gnulib/tests/unistr/test-move.h for (d = 0; d <= SIZEOF (src); d++) src 79 maint/gnulib/tests/unistr/test-move.h for (n = 0; n <= SIZEOF (src); n++) src 81 maint/gnulib/tests/unistr/test-move.h UNIT dest[1 + 2 * SIZEOF (src) + 1]; src 88 maint/gnulib/tests/unistr/test-move.h for (i = 0; i < SIZEOF (src); i++) src 89 maint/gnulib/tests/unistr/test-move.h dest[1 + SIZEOF (src) + i] = src[i]; src 90 maint/gnulib/tests/unistr/test-move.h dest[1 + 2 * SIZEOF (src)] = MAGIC; src 93 maint/gnulib/tests/unistr/test-move.h U_MOVE (dest + 1 + SIZEOF (src) - d, dest + 1 + SIZEOF (src), n); src 94 maint/gnulib/tests/unistr/test-move.h ASSERT (ret == dest + 1 + SIZEOF (src) - d); src 96 maint/gnulib/tests/unistr/test-move.h for (i = 0; i < SIZEOF (src) - d; i++) src 99 maint/gnulib/tests/unistr/test-move.h ASSERT (dest[1 + SIZEOF (src) - d + i] == src[i]); src 100 maint/gnulib/tests/unistr/test-move.h for (i = SIZEOF (src) - d + n; i < SIZEOF (src2); i++) src 102 maint/gnulib/tests/unistr/test-move.h for (i = (n >= d ? n - d : 0); i < SIZEOF (src); i++) src 103 maint/gnulib/tests/unistr/test-move.h ASSERT (dest[1 + SIZEOF (src) + i] == src[i]); src 104 maint/gnulib/tests/unistr/test-move.h ASSERT (dest[1 + 2 * SIZEOF (src)] == MAGIC); src 111 maint/gnulib/tests/unistr/test-move.h static const UNIT src[] = { 'c', 'l', 'i', 'm', 'a', 't', 'e' }; src 115 maint/gnulib/tests/unistr/test-move.h ASSERT (SIZEOF (src) == SIZEOF (src2)); src 116 maint/gnulib/tests/unistr/test-move.h for (d = 0; d <= SIZEOF (src); d++) src 120 maint/gnulib/tests/unistr/test-move.h for (n = 0; n <= SIZEOF (src); n++) src 122 maint/gnulib/tests/unistr/test-move.h UNIT dest[1 + 2 * SIZEOF (src) + 1]; src 127 maint/gnulib/tests/unistr/test-move.h for (i = 0; i < SIZEOF (src); i++) src 128 maint/gnulib/tests/unistr/test-move.h dest[1 + i] = src[i]; src 130 maint/gnulib/tests/unistr/test-move.h dest[1 + SIZEOF (src) + i] = src2[i]; src 131 maint/gnulib/tests/unistr/test-move.h dest[1 + 2 * SIZEOF (src)] = MAGIC; src 137 maint/gnulib/tests/unistr/test-move.h ASSERT (dest[1 + i] == src[i]); src 139 maint/gnulib/tests/unistr/test-move.h ASSERT (dest[1 + d + i] == src[i]); src 140 maint/gnulib/tests/unistr/test-move.h for (i = d + n; i < SIZEOF (src); i++) src 141 maint/gnulib/tests/unistr/test-move.h ASSERT (dest[1 + i] == src[i]); src 142 maint/gnulib/tests/unistr/test-move.h for (i = (d + n >= SIZEOF (src) ? d + n - SIZEOF (src) : 0); src 145 maint/gnulib/tests/unistr/test-move.h ASSERT (dest[1 + SIZEOF (src) + i] == src2[i]); src 146 maint/gnulib/tests/unistr/test-move.h ASSERT (dest[1 + 2 * SIZEOF (src)] == MAGIC); src 24 maint/gnulib/tests/unistr/test-stpcpy.h static const UNIT src[] = { 'c', 'l', 'i', 'm', 'a', 't', 'e', 0 }; src 27 maint/gnulib/tests/unistr/test-stpcpy.h for (n = 1; n <= SIZEOF (src); n++) src 29 maint/gnulib/tests/unistr/test-stpcpy.h UNIT dest[1 + SIZEOF (src) + 1] = src 36 maint/gnulib/tests/unistr/test-stpcpy.h result = U_STPCPY (dest + 1, src + SIZEOF (src) - n); src 41 maint/gnulib/tests/unistr/test-stpcpy.h ASSERT (dest[1 + i] == src[SIZEOF (src) - n + i]); src 25 maint/gnulib/tests/unistr/test-strcat.h static const UNIT src[] = { 'c', 'l', 'i', 'm', 'a', 't', 'e', 0 }; src 30 maint/gnulib/tests/unistr/test-strcat.h for (n = 1; n <= SIZEOF (src); n++) src 32 maint/gnulib/tests/unistr/test-strcat.h UNIT dest[1 + (SIZEOF (base) - 1) + SIZEOF (src) + 1] = src 43 maint/gnulib/tests/unistr/test-strcat.h result = U_STRCAT (dest + 1, src + SIZEOF (src) - n); src 50 maint/gnulib/tests/unistr/test-strcat.h ASSERT (dest[1 + m + i] == src[SIZEOF (src) - n + i]); src 24 maint/gnulib/tests/unistr/test-strcpy.h static const UNIT src[] = { 'c', 'l', 'i', 'm', 'a', 't', 'e', 0 }; src 27 maint/gnulib/tests/unistr/test-strcpy.h for (n = 1; n <= SIZEOF (src); n++) src 29 maint/gnulib/tests/unistr/test-strcpy.h UNIT dest[1 + SIZEOF (src) + 1] = src 36 maint/gnulib/tests/unistr/test-strcpy.h result = U_STRCPY (dest + 1, src + SIZEOF (src) - n); src 41 maint/gnulib/tests/unistr/test-strcpy.h ASSERT (dest[1 + i] == src[SIZEOF (src) - n + i]); src 24 maint/gnulib/tests/unistr/test-strdup.h static const UNIT src[] = { 'c', 'l', 'i', 'm', 'a', 't', 'e', 0 }; src 27 maint/gnulib/tests/unistr/test-strdup.h for (n = 1; n <= SIZEOF (src); n++) src 29 maint/gnulib/tests/unistr/test-strdup.h UNIT *result = U_STRDUP (src + SIZEOF (src) - n); src 34 maint/gnulib/tests/unistr/test-strdup.h ASSERT (result[i] == src[SIZEOF (src) - n + i]);