Lines Matching refs:source
100 isc_buffer_t source;
117 isc_buffer_init(&source, buf1, sizeof(buf1));
120 RUNTIME_CHECK(dns_name_towire(name1, &cctx, &source) == ISC_R_SUCCESS);
123 RUNTIME_CHECK(dns_compress_localinit(&cctx, name1, &source) ==
127 RUNTIME_CHECK(dns_name_towire(name2, &cctx, &source) == ISC_R_SUCCESS);
128 RUNTIME_CHECK(dns_name_towire(name2, &cctx, &source) == ISC_R_SUCCESS);
129 RUNTIME_CHECK(dns_name_towire(name3, &cctx, &source) == ISC_R_SUCCESS);
139 for (i = 0; i < source.used; /* */ ) {
141 ((unsigned char *)source.base)[i]);
145 if (i == source.used)
152 isc_buffer_setactive(&source, source.used);
157 RUNTIME_CHECK(dns_name_fromwire(&name, &source, &dctx, ISC_FALSE,
161 dns_decompress_localinit(&dctx, &name, &source);
163 RUNTIME_CHECK(dns_name_fromwire(&name, &source, &dctx, ISC_FALSE,
165 RUNTIME_CHECK(dns_name_fromwire(&name, &source, &dctx, ISC_FALSE,
167 RUNTIME_CHECK(dns_name_fromwire(&name, &source, &dctx, ISC_FALSE,