Lines Matching refs:source
22 * Redistribution and use in source and binary forms, with or without
25 * 1. Redistributions of source code must retain the above copyright
62 isc_string_touint64(char *source, char **end, int base) {
65 char *s = source;
70 *end = source;
88 *end = source;
109 *end = source;
115 *end = source;
126 isc_string_copy(char *target, size_t size, const char *source) {
129 if (strlcpy(target, source, size) >= size) {
140 isc_string_copy_truncate(char *target, size_t size, const char *source) {
143 strlcpy(target, source, size);
149 isc_string_append(char *target, size_t size, const char *source) {
153 if (strlcat(target, source, size) >= size) {
164 isc_string_append_truncate(char *target, size_t size, const char *source) {
168 strlcat(target, source, size);
210 isc_string_regiondup(isc_mem_t *mctx, const isc_region_t *source) {
214 REQUIRE(source != NULL);
216 target = (char *) isc_mem_allocate(mctx, source->length + 1);
218 memmove(source->base, target, source->length);
219 target[source->length] = '\0';