Lines Matching defs:source
37 static isc_result_t bind_ttl(isc_textregion_t *source, isc_uint32_t *ttl);
134 dns_counter_fromtext(isc_textregion_t *source, isc_uint32_t *ttl) {
135 return (bind_ttl(source, ttl));
139 dns_ttl_fromtext(isc_textregion_t *source, isc_uint32_t *ttl) {
142 result = bind_ttl(source, ttl);
149 bind_ttl(isc_textregion_t *source, isc_uint32_t *ttl) {
160 if (source->length > sizeof(buf) - 1)
162 /* Copy source->length bytes and NUL terminate. */
163 snprintf(buf, sizeof(buf), "%.*s", (int)source->length, source->base);