Searched refs:index (Results 1 – 4 of 4) sorted by relevance
100 if (index < ctx->conf->search_list_size) in libc_hidden_proto()101 return ctx->conf->search_list[index]; in libc_hidden_proto()107 if (i == index) in libc_hidden_proto()129 if (index < ctx->conf->nameserver_list_size) in __resolv_context_nameserver()130 return ctx->conf->nameserver_list[index]; in __resolv_context_nameserver()133 if (index < ctx->resp->nscount) in __resolv_context_nameserver()159 if (index < ctx->conf->sort_list_size) in __resolv_context_sort_entry()160 return ctx->conf->sort_list[index]; in __resolv_context_sort_entry()163 else if (index < ctx->resp->nsort) in __resolv_context_sort_entry()166 .addr = ctx->resp->sort_list[index].addr, in __resolv_context_sort_entry()[all …]
99 int index = find_name (qname); in response() local101 if (index == name_not_found) in response()103 else if (index >= 0 && items[index].response < 0) in response()104 flags.rcode = -items[index].response; in response()105 else if (index >= 0 && items[index].response > 5 && !ctx->tcp) in response()111 if (flags.tc || index < 0 || items[index].response < 0) in response()116 for (int i = 0; i < items[index].response; ++i) in response()164 index + 1, i + 1); in format_expected_1()184 int index = find_name (fqdn); in format_expected() local185 TEST_VERIFY_EXIT (index >= 0); in format_expected()[all …]
66 unsigned int index = response_data_count - 1; in put_response() local74 response_data_array[index] = data; in put_response()76 return index; in put_response()82 get_response (unsigned int index) in get_response() argument85 TEST_VERIFY_EXIT (index < response_data_count); in get_response()86 struct response_data *result = response_data_array[index]; in get_response()178 unsigned int index = put_response (ctx, qname, qtype); in response() local183 uint32_t addr = htonl (0x0a000000 | index); in response()193 index >> 16, index >> 8, index}; in response()221 unsigned int index = addr[size - 3] * 256 * 256 in decode_address() local[all …]
186 size_t index = resp->_u._ext.__glibc_extension_index ^ INDEX_MAGIC; in resolv_conf_get_1() local188 if (index < resolv_conf_array_size (&global_copy->array)) in resolv_conf_get_1()561 if (index < resolv_conf_array_size (&global_copy->array)) in decrement_at_index()572 global_copy->free_list_start = (index << 1) | 1; in decrement_at_index()587 size_t index; in __resolv_conf_attach() local592 index = global_copy->free_list_start >> 1; in __resolv_conf_attach()612 index = size; in __resolv_conf_attach()627 decrement_at_index (global_copy, index); in __resolv_conf_attach()631 resp->_u._ext.__glibc_extension_index = index ^ INDEX_MAGIC; in __resolv_conf_attach()646 size_t index = resp->_u._ext.__glibc_extension_index ^ INDEX_MAGIC; in __resolv_conf_detach() local[all …]
Completed in 10 milliseconds