/bind-9.11.3/unit/atf-src/atf-c++/detail/ |
H A D | text.hpp | 50 //! \brief Joins multiple words into a string. 52 //! Joins a list of words into a string, separating them using the provided 53 //! separator. Empty words are not omitted. 57 join(const T& words, const std::string& separator) argument 61 typename T::const_iterator iter = words.begin(); 62 bool done = iter == words.end(); 66 if (iter != words.end()) 81 //! \brief Splits a string into words. 83 //! Splits the given string into multiple words, all separated by the 85 //! not condensed so that rejoining the words late [all...] |
H A D | text_test.cpp | 69 std::vector< std::string > words; local 72 words.clear(); 73 str = join(words, ","); 76 words.clear(); 77 words.push_back(""); 78 str = join(words, ","); 81 words.clear(); 82 words.push_back(""); 83 words.push_back(""); 84 str = join(words, ","); 104 std::set< std::string > words; local [all...] |
H A D | text.cpp | 92 std::vector< std::string > words; local 98 words.push_back(str.substr(pos, newpos - pos)); 102 return words;
|
/bind-9.11.3/unit/atf-src/tools/ |
H A D | text.hpp | 54 //! \brief Joins multiple words into a string. 56 //! Joins a list of words into a string, separating them using the provided 57 //! separator. Empty words are not omitted. 61 join(const T& words, const std::string& separator) argument 65 typename T::const_iterator iter = words.begin(); 66 bool done = iter == words.end(); 70 if (iter != words.end()) 85 //! \brief Splits a string into words. 87 //! Splits the given string into multiple words, all separated by the 89 //! not condensed so that rejoining the words late [all...] |
H A D | text_test.cpp | 73 std::vector< std::string > words; local 76 words.clear(); 77 str = join(words, ","); 80 words.clear(); 81 words.push_back(""); 82 str = join(words, ","); 85 words.clear(); 86 words.push_back(""); 87 words.push_back(""); 88 str = join(words, ","); 108 std::set< std::string > words; local [all...] |
H A D | text.cpp | 91 std::vector< std::string > words; local 97 words.push_back(str.substr(pos, newpos - pos)); 101 return words;
|
H A D | ui.cpp | 98 std::vector< std::string > words = tools::text::split(text, " "); local 99 for (std::vector< std::string >::const_iterator iter = words.begin(); 100 iter != words.end(); iter++) { 103 if (iter != words.begin() && maxcol > 0 && 110 } else if (iter != words.begin()) {
|
/bind-9.11.3/lib/isc/ |
H A D | inet_ntop.c | 117 unsigned int words[NS_IN6ADDRSZ / NS_INT16SZ]; local 125 memset(words, '\0', sizeof(words)); 127 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3)); 133 if (words[i] == 0) { 170 (best.len == 7 && words[7] != 0x0001) || 171 (best.len == 5 && words[5] == 0xffff))) { 179 tp += snprintf(tp, sizeof(tmp) - (tp - tmp), "%x", words[i]);
|
H A D | md5.c | 132 byteSwap(isc_uint32_t *buf, unsigned words) argument 140 } while (--words);
|
/bind-9.11.3/lib/lwres/ |
H A D | lwinetntop.c | 110 unsigned int words[NS_IN6ADDRSZ / NS_INT16SZ]; local 118 memset(words, '\0', sizeof(words)); 120 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3)); 126 if (words[i] == 0) { 163 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { 170 tp += sprintf(tp, "%x", words[i]); /* XXX */
|
/bind-9.11.3/unit/atf-src/atf-c/ |
H A D | build.c | 45 atf_list_t words; local 48 " ", &words); 52 atf_list_append_list(argv, &words);
|
/bind-9.11.3/unit/atf-src/atf-c/detail/ |
H A D | text.c | 93 atf_text_split(const char *str, const char *delim, atf_list_t *words) argument 99 err = atf_list_init(words); 122 err = atf_list_append(words, atf_dynstr_fini_disown(&word), true); 134 atf_list_fini(words);
|
H A D | text_test.c | 50 array_size(const char *words[]) argument 56 for (word = words; *word != NULL; word++) 64 check_split(const char *str, const char *delim, const char *words[]) argument 73 printf("Expecting %zd words\n", array_size(words)); 74 ATF_CHECK_EQ(atf_list_size(&list), array_size(words)); 76 for (word = words, i = 0; *word != NULL; word++, i++) { 77 printf("Word at position %zd should be '%s'\n", i, words[i]); 78 ATF_CHECK_STREQ((const char *)atf_list_index_c(&list, i), words[i]); 238 const char *words[] local 243 const char *words[] = { NULL }; local 248 const char *words[] = { NULL }; local 253 const char *words[] = { "a", "b", NULL }; local 258 const char *words[] = { "a", "b", "c", "d", NULL }; local 263 const char *words[] = { "foo", "bar", NULL }; local 268 const char *words[] = { "foo", "bar", "baz", "foobar", NULL }; local 273 const char *words[] = { "foo", "bar", NULL }; local 278 const char *words[] = { "foo", "bar", NULL }; local 283 const char *words[] = { "foo", "bar", NULL }; local 288 const char *words[] = { "foo", "bar", NULL }; local 303 const char *words[] = { NULL }; local 308 const char *words[] = { " ", NULL }; local 313 const char *words[] = { " ", NULL }; local 318 const char *words[] = { "a", "b", NULL }; local 323 const char *words[] = { "a", "bcd", "ef", NULL }; local [all...] |
/bind-9.11.3/bin/tests/ |
H A D | hash_test.c | 29 unsigned int words) 34 for (i = 0; i < words; i++) { 28 print_digest(const char *s, const char *hash, unsigned char *d, unsigned int words) argument
|
/bind-9.11.3/lib/dns/ |
H A D | rpz.c | 97 * Get bit #n from the array of words of an IP address. 614 int i, words, wlen; local 625 words = prefix / DNS_RPZ_CIDR_WORD_BITS; 628 while (i < words) { 1045 * find the first differing words
|