Searched defs:copy (Results 1 - 9 of 9) sorted by relevance

/bind-9.11.3/unit/atf-src/atf-c++/detail/
H A Dtext_test.cpp49 char* copy = duplicate(orig); local
50 ATF_REQUIRE_EQ(std::strlen(copy), 3);
51 ATF_REQUIRE(std::strcmp(copy, "foo") == 0);
53 std::strcpy(copy, "bar");
54 ATF_REQUIRE(std::strcmp(copy, "bar") == 0);
H A Dtext.cpp48 char* copy = new char[std::strlen(str) + 1]; local
49 std::strcpy(copy, str);
50 return copy;
/bind-9.11.3/unit/atf-src/tools/
H A Dtext_test.cpp53 char* copy = duplicate(orig); local
54 ATF_REQUIRE_EQ(std::strlen(copy), 3);
55 ATF_REQUIRE(std::strcmp(copy, "foo") == 0);
57 std::strcpy(copy, "bar");
58 ATF_REQUIRE(std::strcmp(copy, "bar") == 0);
H A Dtext.cpp47 char* copy = new char[std::strlen(str) + 1]; local
48 std::strcpy(copy, str);
49 return copy;
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Ddynstr_test.c254 ATF_TC(copy); variable
255 ATF_TC_HEAD(copy, tc)
259 ATF_TC_BODY(copy, tc)
614 ATF_TP_ADD_TC(tp, copy);
/bind-9.11.3/lib/dns/
H A Drdata.c5 * License, v. 2.0. If a copy of the MPL was not distributed with this
408 void *copy; local
412 copy = isc_mem_allocate(mctx, length);
413 if (copy != NULL)
414 memmove(copy, source, length);
416 return (copy);
850 * and copy the validated rdata to 'dest'. Otherwise return an error.
H A Dzone.c5 * License, v. 2.0. If a copy of the MPL was not distributed with this
1627 char *copy; local
1630 copy = isc_mem_strdup(zone->mctx, value);
1631 if (copy == NULL)
1634 copy = NULL;
1640 *field = copy;
4381 * copy of its database; if we succeeded, we need it to send its
/bind-9.11.3/bin/dig/
H A Ddighost.c5 * License, v. 2.0. If a copy of the MPL was not distributed with this
632 * Create a copy of the server list from the lwres configuration structure.
3679 isc_boolean_t copy = ISC_TRUE; local
3700 copy = ISC_FALSE;
3705 copy = ISC_FALSE;
3707 if (copy) {
/bind-9.11.3/bin/named/
H A Dserver.c5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6221 * string or NULL, with a dynamically allocated copy of the
6226 char *copy; local
6229 copy = isc_mem_strdup(server->mctx, value);
6230 if (copy == NULL)
6233 copy = NULL;
6239 *field = copy;
9258 * return either that value (lex->data) or NULL. It is necessary to copy
9303 * set '*zonep' to NULL, and f 'zonename' is not NULL, copy

Completed in 126 milliseconds