Lines Matching defs:source
13 * Redistribution and use in source and binary forms, with or without
16 * 1. Redistributions of source code must retain the above copyright
53 isc_string_touint64(char *source, char **end, int base) {
56 char *s = source;
61 *end = source;
79 *end = source;
100 *end = source;
106 *end = source;
117 isc_string_copy(char *target, size_t size, const char *source) {
120 if (strlcpy(target, source, size) >= size) {
131 isc_string_copy_truncate(char *target, size_t size, const char *source) {
134 strlcpy(target, source, size);
140 isc_string_append(char *target, size_t size, const char *source) {
144 if (strlcat(target, source, size) >= size) {
155 isc_string_append_truncate(char *target, size_t size, const char *source) {
159 strlcat(target, source, size);
201 isc_string_regiondup(isc_mem_t *mctx, const isc_region_t *source) {
205 REQUIRE(source != NULL);
207 target = (char *) isc_mem_allocate(mctx, source->length + 1);
209 memmove(source->base, target, source->length);
210 target[source->length] = '\0';