Searched defs:pos (Results 1 - 22 of 22) sorted by relevance

/bind-9.11.3/unit/atf-src/atf-c++/detail/
H A Dauto_array.hpp160 auto_array< T >::operator[](int pos) argument
163 return m_ptr[pos];
H A Dprocess_test.cpp299 std::vector< std::string >::size_type pos = 0; local
302 ATF_REQUIRE_EQ(*iter, vector[pos]);
303 pos++;
H A Dtext.cpp94 std::string::size_type pos = 0, newpos = 0; local
95 while (pos < str.length() && newpos != std::string::npos) {
96 newpos = str.find(delim, pos);
97 if (newpos != pos)
98 words.push_back(str.substr(pos, newpos - pos));
99 pos = newpos + delim.length();
H A Dprocess.cpp54 std::size_t pos = 0; local
57 argv[pos] = (*iter).c_str();
58 pos++;
60 INV(pos == c.size());
61 argv[pos] = NULL;
/bind-9.11.3/unit/atf-src/tools/
H A Dauto_array.hpp164 auto_array< T >::operator[](int pos) argument
167 return m_ptr[pos];
H A Dtext.cpp93 std::string::size_type pos = 0, newpos = 0; local
94 while (pos < str.length() && newpos != std::string::npos) {
95 newpos = str.find(delim, pos);
96 if (newpos != pos)
97 words.push_back(str.substr(pos, newpos - pos));
98 pos = newpos + delim.length();
H A Dprocess_test.cpp305 std::vector< std::string >::size_type pos = 0; local
308 ATF_REQUIRE_EQ(*iter, vector[pos]);
309 pos++;
H A Dprocess.cpp63 std::size_t pos = 0; local
66 argv[pos] = (*iter).c_str();
67 pos++;
69 assert(pos == c.size());
70 argv[pos] = NULL;
H A Datf-report.cpp646 std::string::size_type pos = str.find(':'); local
647 if (pos == std::string::npos)
650 std::string fmt = str.substr(0, pos);
651 tools::fs::path path = tools::fs::path(str.substr(pos + 1));
H A Dfs.cpp298 std::string::size_type pos = 0; local
300 const std::string::size_type next_pos = in.find('/', pos);
302 const std::string component = in.substr(pos, next_pos - pos);
304 if (pos == 0)
311 pos = next_pos;
313 pos = next_pos + 1;
314 } while (pos != std::string::npos);
H A Dtest-program.cpp333 const std::string::size_type pos = line.find_first_of(":("); local
334 if (pos == std::string::npos) {
338 } else if (line[pos] == ':') {
339 out_state = line.substr(0, pos);
341 out_reason = tools::text::trim(line.substr(pos + 1));
342 } else if (line[pos] == '(') {
343 const std::string::size_type pos2 = line.find("):", pos);
347 out_state = line.substr(0, pos);
348 out_arg = line.substr(pos + 1, pos2 - pos
[all...]
/bind-9.11.3/lib/dns/
H A Diptable.c56 isc_uint16_t bitlen, isc_boolean_t pos)
58 return(dns_iptable_addprefix2(tab, addr, bitlen, pos, ISC_FALSE));
63 isc_uint16_t bitlen, isc_boolean_t pos,
88 node->data[i] = pos ? &dns_iptable_pos
95 node->data[offset] = pos ? &dns_iptable_pos
108 dns_iptable_merge(dns_iptable_t *tab, dns_iptable_t *source, isc_boolean_t pos) argument
130 if (!pos) {
55 dns_iptable_addprefix(dns_iptable_t *tab, isc_netaddr_t *addr, isc_uint16_t bitlen, isc_boolean_t pos) argument
62 dns_iptable_addprefix2(dns_iptable_t *tab, isc_netaddr_t *addr, isc_uint16_t bitlen, isc_boolean_t pos, isc_boolean_t is_ecs) argument
H A Dacl.c127 * If pos is ISC_TRUE, test whether acl is set to "{ any; }"
128 * If pos is ISC_FALSE, test whether acl is set to "{ none; }"
131 dns_acl_isanyornone(dns_acl_t *acl, isc_boolean_t pos) argument
148 *(isc_boolean_t *) (acl->iptable->radix->head->data[0]) == pos)
310 * If pos is set to false, then the nested ACL is to be negated. This
316 dns_acl_merge(dns_acl_t *dest, dns_acl_t *source, isc_boolean_t pos) argument
393 if (!pos && !source->elements[i].negative) {
406 result = dns_iptable_merge(dest->iptable, source->iptable, pos);
H A Djournal.c248 #define POS_VALID(pos) ((pos).offset != 0)
249 #define POS_INVALIDATE(pos) ((pos).offset = 0, (pos).serial = 0)
316 journal_pos_t pos[2]; /*%< Begin/end position */ member in struct:dns_journal::__anon164
779 * Advance '*pos' to the next journal transaction.
782 * *pos refers to a valid journal transaction.
786 * *pos refers to the next journal transaction.
791 * ISC_R_NOMORE *pos pointe
795 journal_next(dns_journal_t *j, journal_pos_t *pos) argument
870 index_add(dns_journal_t *j, journal_pos_t *pos) argument
939 journal_find(dns_journal_t *j, isc_uint32_t serial, journal_pos_t *pos) argument
1272 journal_pos_t pos; local
[all...]
/bind-9.11.3/lib/isc/unix/
H A Difiter_getifaddrs.c34 struct ifaddrs *pos; /*%< Ptr to current ifaddr */ member in struct:isc_interfaceiter
91 iter->pos = NULL;
124 ifa = iter->pos;
127 if (iter->pos == NULL)
192 if (iter->pos != NULL)
193 iter->pos = iter->pos->ifa_next;
194 if (iter->pos == NULL) {
224 iter->pos = iter->ifaddrs;
H A Difiter_sysctl.c45 unsigned int pos; /* Current offset in member in struct:isc_interfaceiter
123 iter->pos = (unsigned int) -1;
150 REQUIRE (iter->pos < (unsigned int) iter->bufused);
152 ifam = (struct ifa_msghdr *) ((char *) iter->buf + iter->pos);
273 REQUIRE (iter->pos < (unsigned int) iter->bufused);
275 ifam = (struct ifa_msghdr *) ((char *) iter->buf + iter->pos);
277 iter->pos += ifam->ifam_msglen;
279 if (iter->pos >= iter->bufused)
295 iter->pos = 0;
H A Difiter_ioctl.c54 unsigned int pos; /* Current offset in member in struct:isc_interfaceiter
298 iter->pos = (unsigned int) -1;
438 iter->pos == (unsigned int)iter->ifc.ifc_len) {
446 INSIST( iter->pos < (unsigned int) iter->ifc.ifc_len);
448 ifrp = (struct ifreq *)((char *) iter->ifc.ifc_req + iter->pos);
810 if (iter->pos < (unsigned int) iter->ifc.ifc_len) {
812 ifrp = (struct ifreq *)((char *) iter->ifc.ifc_req + iter->pos);
815 iter->pos += sizeof(ifrp->ifr_name) +
819 iter->pos += sizeof(struct ifreq);
822 INSIST(iter->pos
[all...]
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Ddynstr.c309 size_t pos; local
311 for (pos = ad->m_length; pos > 0 && ad->m_data[pos - 1] != ch; pos--)
314 return pos == 0 ? atf_dynstr_npos : pos - 1;
H A Dlist.c282 size_t pos = 0; local
283 while (pos < idx &&
286 pos++;
301 size_t pos = 0; local
302 while (pos < idx &&
306 pos++;
/bind-9.11.3/bin/named/
H A Dlwdgrbn.c36 fill_array(int *pos, dns_rdataset_t *rdataset, argument
50 INSIST(*pos < size);
53 rdatas[*pos] = r.base;
54 rdatalen[*pos] = r.length;
56 (*pos)++;
/bind-9.11.3/unit/atf-src/atf-c/
H A Dutils.c148 const char *pos = contents; local
155 if (memcmp(pos, buffer, count) != 0) {
160 pos += count;
/bind-9.11.3/unit/atf-src/atf-c++/
H A Dtests.cpp509 const std::string::size_type pos = tcarg.find(':'); local
510 if (pos == std::string::npos) {
513 const std::string tcname = tcarg.substr(0, pos);
515 const std::string partname = tcarg.substr(pos + 1);

Completed in 45 milliseconds