Searched refs:words (Results 1 - 11 of 11) sorted by relevance

/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/
H A Dtext_test.cpp73 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 Dtext.hpp54 //! \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 Dui.cpp99 std::vector< std::string > words = atf::text::split(text, " "); local
100 for (std::vector< std::string >::const_iterator iter = words.begin();
101 iter != words.end(); iter++) {
104 if (iter != words.begin() && maxcol > 0 &&
111 } else if (iter != words.begin()) {
H A Dtext.cpp96 std::vector< std::string > words; local
102 words.push_back(str.substr(pos, newpos - pos));
106 return words;
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dtext_test.c53 array_size(const char *words[]) argument
59 for (word = words; *word != NULL; word++)
67 check_split(const char *str, const char *delim, const char *words[]) argument
76 printf("Expecting %zd words\n", array_size(words));
77 ATF_CHECK_EQ(atf_list_size(&list), array_size(words));
79 for (word = words, i = 0; *word != NULL; word++, i++) {
80 printf("Word at position %zd should be '%s'\n", i, words[i]);
81 ATF_CHECK_STREQ((const char *)atf_list_index_c(&list, i), words[i]);
241 const char *words[] local
246 const char *words[] = { NULL }; local
251 const char *words[] = { NULL }; local
256 const char *words[] = { "a", "b", NULL }; local
261 const char *words[] = { "a", "b", "c", "d", NULL }; local
266 const char *words[] = { "foo", "bar", NULL }; local
271 const char *words[] = { "foo", "bar", "baz", "foobar", NULL }; local
276 const char *words[] = { "foo", "bar", NULL }; local
281 const char *words[] = { "foo", "bar", NULL }; local
286 const char *words[] = { "foo", "bar", NULL }; local
291 const char *words[] = { "foo", "bar", NULL }; local
306 const char *words[] = { NULL }; local
311 const char *words[] = { " ", NULL }; local
316 const char *words[] = { " ", NULL }; local
321 const char *words[] = { "a", "b", NULL }; local
326 const char *words[] = { "a", "bcd", "ef", NULL }; local
[all...]
H A Dtext.c97 atf_text_split(const char *str, const char *delim, atf_list_t *words) argument
103 err = atf_list_init(words);
126 err = atf_list_append(words, atf_dynstr_fini_disown(&word), true);
138 atf_list_fini(words);
/bind-9.6-ESV-R11/lib/isc/
H A Dinet_ntop.c122 unsigned int words[NS_IN6ADDRSZ / NS_INT16SZ]; local
130 memset(words, '\0', sizeof(words));
132 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
136 if (words[i] == 0) {
173 (best.len == 7 && words[7] != 0x0001) ||
174 (best.len == 5 && words[5] == 0xffff))) {
181 tp += sprintf(tp, "%x", words[i]);
H A Dmd5.c46 byteSwap(isc_uint32_t *buf, unsigned words) argument
54 } while (--words);
/bind-9.6-ESV-R11/lib/lwres/
H A Dlwinetntop.c119 unsigned int words[NS_IN6ADDRSZ / NS_INT16SZ]; local
127 memset(words, '\0', sizeof(words));
129 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
135 if (words[i] == 0) {
172 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) {
179 tp += sprintf(tp, "%x", words[i]); /* XXX */
/bind-9.6-ESV-R11/unit/atf-src/atf-c/
H A Dbuild.c49 atf_list_t words; local
51 err = atf_text_split(atf_config_get(var), " ", &words);
55 atf_list_append_list(argv, &words);
/bind-9.6-ESV-R11/bin/tests/
H A Dhash_test.c35 unsigned int words)
40 for (i = 0; i < words; i++) {
34 print_digest(const char *s, const char *hash, unsigned char *d, unsigned int words) argument

Completed in 17 milliseconds