Lines Matching defs:source
35 isc_string_touint64(char *source, char **end, int base) {
38 char *s = source;
43 *end = source;
61 *end = source;
82 *end = source;
88 *end = source;
99 isc_string_copy(char *target, size_t size, const char *source) {
102 if (strlcpy(target, source, size) >= size) {
113 isc_string_copy_truncate(char *target, size_t size, const char *source) {
116 strlcpy(target, source, size);
122 isc_string_append(char *target, size_t size, const char *source) {
126 if (strlcat(target, source, size) >= size) {
137 isc_string_append_truncate(char *target, size_t size, const char *source) {
141 strlcat(target, source, size);
183 isc_string_regiondup(isc_mem_t *mctx, const isc_region_t *source) {
187 REQUIRE(source != NULL);
189 target = (char *) isc_mem_allocate(mctx, source->length + 1);
191 memcpy(source->base, target, source->length);
192 target[source->length] = '\0';