/bind-9.6-ESV-R11/unit/atf-src/atf-c/ |
H A D | tp.c | 149 const atf_tc_t **array; local 153 array = malloc(sizeof(atf_tc_t *) * 155 if (array == NULL) 160 array[i] = atf_list_citer_data(iter); 161 if (array[i] == NULL) { 162 free(array); 163 array = NULL; 169 array[i] = NULL; 172 return array;
|
H A D | check.c | 255 print_array(const char *const *array, const char *pfx) argument 260 for (ptr = array; *ptr != NULL; ptr++)
|
H A D | utils_test.c | 259 char **array = malloc(sizeof(char *) * 1); local 260 array[0] = NULL; 262 atf_utils_free_charpp(array); 268 char **array = malloc(sizeof(char *) * 4); local 269 array[0] = strdup("first"); 270 array[1] = strdup("second"); 271 array[2] = strdup("third"); 272 array[3] = NULL; 274 atf_utils_free_charpp(array);
|
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/ |
H A D | build_test.cpp | 84 equal_argvs(const atf::process::argv_array& aa, const char* const* array) argument 89 while (equal && (i < aa.size() && array[i] != NULL)) { 90 if (std::strcmp(aa[i], array[i]) != 0) 96 if (equal && (i < aa.size() || array[i] != NULL)) 104 check_equal_argvs(const atf::process::argv_array& aa, const char* const* array) argument 106 print_array("Expected arguments", array); 109 if (!equal_argvs(aa, array)) 125 const char* const array[] = { NULL }; local 128 ATF_REQUIRE(equal_argvs(atf::process::argv_array(argv), array)); 132 const char* const array[] local 139 const char* const array[] = { "foo", NULL }; local 146 const char* const array[] = { "foo", NULL }; local [all...] |
H A D | tests.cpp | 195 auto_array< const char * > array(new const char*[(config.size() * 2) + 1]); 196 const char **ptr = array.get(); 210 array.get()); 256 char **array = atf_tc_get_md_vars(&pimpl->m_tc); local 259 for (ptr = array; *ptr != NULL; ptr += 2) 262 atf_utils_free_charpp(array);
|
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/ |
H A D | process_test.cpp | 50 array_size(const char* const* array) argument 54 for (const char* const* ptr = array; *ptr != NULL; ptr++) 84 "from a C-style array of strings"); 224 "a C-style array of strings works");
|
/bind-9.6-ESV-R11/lib/isc/ |
H A D | heap.c | 41 * element of the heap array is not used; i.e. heap subscripts are 1-based, 60 ! heap->compare(heap->array[(i)], \ 61 heap->array[heap_parent(i)])) 70 void **array; member in struct:isc_heap 97 heap->array = NULL; 114 if (heap->array != NULL) 115 isc_mem_put(heap->mctx, heap->array, 134 if (heap->array != NULL) { 135 memmove(new_array, heap->array, heap->size * sizeof(void *)); 136 isc_mem_put(heap->mctx, heap->array, [all...] |
H A D | netaddr.c | 182 isc_netaddr_format(const isc_netaddr_t *na, char *array, unsigned int size) { argument 186 isc_buffer_init(&buf, array, size); 203 snprintf(array, size, 208 array[size - 1] = '\0';
|
H A D | sockaddr.c | 181 isc_sockaddr_format(const isc_sockaddr_t *sa, char *array, unsigned int size) { argument 188 isc_buffer_init(&buf, array, size); 194 snprintf(array, size, 199 array[size - 1] = '\0';
|
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/ |
H A D | list_test.c | 118 char **array; local 121 ATF_REQUIRE((array = atf_list_to_charpp(&list)) != NULL); 124 ATF_CHECK_EQ(NULL, array[0]); 125 atf_utils_free_charpp(array); 132 char **array; local 142 ATF_REQUIRE((array = atf_list_to_charpp(&list)) != NULL); 145 ATF_CHECK_STREQ("one", array[0]); 146 ATF_CHECK_STREQ("two", array[1]); 147 ATF_CHECK_STREQ("three", array[2]); 148 ATF_CHECK_EQ(NULL, array[ [all...] |
H A D | map_test.c | 75 const char *const array[] = { NULL }; local 78 RE(atf_map_init_charpp(&map, array)); 86 const char *const array[] = { "K1", "V1", "K2", "V2", NULL }; local 90 RE(atf_map_init_charpp(&map, array)); 109 const char *const array[] = { "K1", "V1", "K2", NULL }; local 112 atf_error_t err = atf_map_init_charpp(&map, array); 195 char **array; local 198 ATF_REQUIRE((array = atf_map_to_charpp(&map)) != NULL); 201 ATF_CHECK_EQ(NULL, array[0]); 202 atf_utils_free_charpp(array); 209 char **array; local [all...] |
H A D | list.c | 325 char **array; local 329 array = malloc(sizeof(char *) * (atf_list_size(l) + 1)); 330 if (array == NULL) 335 array[i] = strdup((const char *)atf_list_citer_data(iter)); 336 if (array[i] == NULL) { 337 atf_utils_free_charpp(array); 338 array = NULL; 344 array[i] = NULL; 347 return array;
|
H A D | map.c | 174 atf_map_init_charpp(atf_map_t *m, const char *const *array) argument 177 const char *const *ptr = array; 180 if (array != NULL) { 314 char **array; local 318 array = malloc(sizeof(char *) * (atf_map_size(l) * 2 + 1)); 319 if (array == NULL) 324 array[i] = strdup(atf_map_citer_key(iter)); 325 if (array[i] == NULL) { 326 atf_utils_free_charpp(array); 327 array [all...] |
/bind-9.6-ESV-R11/lib/dns/ |
H A D | nsec.c | 46 set_bit(unsigned char *array, unsigned int index, unsigned int bit) { argument 53 array[index / 8] |= mask; 55 array[index / 8] &= (~mask & 0xFF); 59 bit_isset(unsigned char *array, unsigned int index) { argument 62 byte = array[index / 8];
|
H A D | gssapictx.c | 254 unsigned char array[DNS_NAME_MAXTEXT + 1]; local 272 isc_buffer_init(&namebuf, array, sizeof(array)); 277 dst_gssapi_check_config((char *)array); 310 dst_gssapi_check_config((char *)array); 543 unsigned char array[DNS_NAME_MAXTEXT + 1]; local 549 isc_buffer_init(&namebuf, array, sizeof(array));
|
H A D | rcode.c | 471 char *array, unsigned int size) 479 isc_buffer_init(&buf, array, size); 491 strlcpy(array, "<unknown>", size); 470 dns_rdataclass_format(dns_rdataclass_t rdclass, char *array, unsigned int size) argument
|
H A D | nsec3.c | 54 set_bit(unsigned char *array, unsigned int index, unsigned int bit) { argument 61 array[index / 8] |= mask; 63 array[index / 8] &= (~mask & 0xFF); 67 bit_isset(unsigned char *array, unsigned int index) { argument 70 byte = array[index / 8];
|
H A D | tkey.c | 1003 unsigned char array[4096]; local 1012 isc_buffer_init(&token, array, sizeof(array)); 1238 unsigned char array[1024]; local 1278 isc_buffer_init(outtoken, array, sizeof(array)); 1369 unsigned char array[1024]; local 1403 isc_buffer_init(&outtoken, array, sizeof(array));
|
H A D | rdata.c | 1079 char *array, unsigned int size) 1087 isc_buffer_init(&buf, array, size); 1099 strlcpy(array, "<unknown>", size); 1078 dns_rdatatype_format(dns_rdatatype_t rdtype, char *array, unsigned int size) argument
|
H A D | rbtdb.c | 1194 acachectl_t *array) 1204 if (array == NULL) 1216 INSIST(array[i].entry == NULL && array[i].cbarg == NULL); 1218 isc_mem_put(mctx, array, count * sizeof(acachectl_t)); 8212 * If the deletion array is full, flush it before trying 1193 free_acachearray(isc_mem_t *mctx, rdatasetheader_t *header, acachectl_t *array) argument
|
H A D | zone.c | 4282 set_bit(unsigned char *array, unsigned int index) { argument 4288 array[index / 8] |= mask;
|
/bind-9.6-ESV-R11/bin/tests/dst/ |
H A D | gsstest.c | 141 unsigned char array[DNS_NAME_MAXTEXT + 1]; local 142 isc_buffer_init(&outtoken, array, sizeof(array)); 273 unsigned char array[DNS_NAME_MAXTEXT + 1]; local 306 isc_buffer_init(&outtoken, array, DNS_NAME_MAXTEXT + 1);
|
/bind-9.6-ESV-R11/bin/dnssec/ |
H A D | dnssec-signzone.c | 235 unsigned char array[BUFSIZE]; local 243 isc_buffer_init(&b, array, sizeof(array));
|
/bind-9.6-ESV-R11/bin/named/ |
H A D | update.c | 1737 set_bit(unsigned char *array, unsigned int index) { argument 1743 array[index / 8] |= bit;
|