/freebsd-13-stable/contrib/atf/atf-c++/detail/ |
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.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...] |
/freebsd-13-stable/contrib/ipfilter/lib/ |
H A D | findword.c | 12 wordtab_t *findword(words, name) 13 wordtab_t *words; 18 for (w = words; w->w_word != NULL; w++)
|
H A D | printfieldhdr.c | 14 printfieldhdr(words, field) 15 wordtab_t *words, *field; 22 for (i = 0, w = words; w->w_word != NULL; ) { 24 printfieldhdr(words, w); 35 for (w = words; w->w_word != NULL; w++) {
|
/freebsd-13-stable/contrib/atf/atf-c/detail/ |
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...] |
/freebsd-13-stable/share/dict/ |
H A D | Makefile | 4 # XXX MISSING: connectives words 7 SYMLINKS= web2 ${FILESDIR}/words
|
/freebsd-13-stable/sys/powerpc/amigaone/ |
H A D | cpld.h | 34 * Write 'words' to 'offset' offset in dual-port RAM, then write cmd to mailbox. 40 void *words; member in struct:cpld_cmd_data
|
/freebsd-13-stable/lib/libc/db/test/hash.tests/ |
H A D | makedb.sh | 5 awk '{i++; print $0; print i;}' /usr/share/dict/words > WORDS
|
/freebsd-13-stable/contrib/tnftp/src/ |
H A D | complete.c | 77 * Otherwise, list choices. words is assumed to be filtered 82 * words stringlist containing possible matches 86 complete_ambiguous(char *word, int list, StringList *words) argument 94 if (words->sl_cur == 0) 97 if (words->sl_cur == 1) { /* only once choice available */ 98 p = words->sl_str[0] + wordlen; 110 lastmatch = words->sl_str[0]; 112 for (i = 1 ; i < words->sl_cur ; i++) { 113 for (j = wordlen ; j < strlen(words->sl_str[i]); j++) 114 if (lastmatch[j] != words 142 StringList *words; local 171 StringList *words; local 254 StringList *words; local 285 StringList *words; local [all...] |
/freebsd-13-stable/tools/tools/notescheck/ |
H A D | notescheck.py | 216 # Split a line into words on whitespace with the exception that quoted 234 words = [] 237 words.append(group) 241 words.append(word) 243 return words 249 words = tokenize(line) 252 if words[0] == 'include': 256 if words[1] == 'standard': 260 if words[1] != 'optional' and words[ [all...] |
/freebsd-13-stable/lib/msun/src/ |
H A D | s_nan.c | 53 _scan_nan(uint32_t *words, int num_words, const char *s) argument 56 int bitpos; /* index into words (in bits) */ 58 bzero(words, num_words * sizeof(uint32_t)); 68 /* Scan backwards, filling in the bits in words[] as we go. */ 73 words[bitpos / 32] |= digittoint(s[si]) << (bitpos % 32); 75 words[num_words - 1 - bitpos / 32] |=
|
/freebsd-13-stable/crypto/heimdal/lib/hx509/ |
H A D | sel-gram.y | 59 %type <expr> word words 84 words : word { $$ = _hx509_make_expr(expr_WORDS, $1, NULL); } label 85 | word ',' words { $$ = _hx509_make_expr(expr_WORDS, $1, $3); } 91 | word kw_IN '(' words ')' { $$ = _hx509_make_expr(comp_IN, $1, $4); } 104 function: IDENTIFIER '(' words ')' {
|
/freebsd-13-stable/contrib/kyua/utils/cmdline/ |
H A D | options_test.cpp | 300 const cmdline::list_option::option_type words = local 302 ATF_REQUIRE(words.empty()); 307 const cmdline::list_option::option_type words = local 309 ATF_REQUIRE_EQ(1, words.size()); 310 ATF_REQUIRE_EQ("foo", words[0]); 315 const cmdline::list_option::option_type words = local 317 ATF_REQUIRE_EQ(3, words.size()); 318 ATF_REQUIRE_EQ("foo", words[0]); 319 ATF_REQUIRE_EQ("bar", words[1]); 320 ATF_REQUIRE_EQ("baz", words[ 325 const cmdline::list_option::option_type words = local 335 const cmdline::list_option::option_type words = local 345 const cmdline::list_option::option_type words = local [all...] |
/freebsd-13-stable/tools/tools/locale/tools/ |
H A D | convert_map.pl | 98 @words = split /\s+/; 99 $name = $words[0]; 100 $utf8val = $words[1]; 128 @words = split /\s+/; 129 $utf8 = $words[1]; 132 $val = $words[0];
|
/freebsd-13-stable/lib/libc/inet/ |
H A D | inet_net_ntop.c | 174 int words; local 201 /* how many words need to be displayed in output */ 202 words = (bits + 15) / 16; 203 if (words == 1) 204 words = 2; 208 for (i = 0; i < (words * 2); i += 2) { 227 if (zero_l != words && zero_s == 0 && ((zero_l == 6) || 232 /* Format whole words. */ 233 for (p = 0; p < words; p++) { 238 if (p == words [all...] |
H A D | inet_ntop.c | 118 u_int words[NS_IN6ADDRSZ / NS_INT16SZ]; local 126 memset(words, '\0', sizeof words); 128 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3)); 134 if (words[i] == 0) { 171 (best.len == 7 && words[7] != 0x0001) || 172 (best.len == 5 && words[5] == 0xffff))) { 180 tp += sprintf(tp, "%x", words[i]);
|
/freebsd-13-stable/contrib/bmake/ |
H A D | str.c | 119 * Fracture a string into an array of words (as delineated by tabs or spaces) 125 * Returns the fractured words, which must be freed later using Words_Free, 126 * unless the returned Words.words was NULL. 134 char **words; local 144 /* words_buf holds the words, separated by '\0'. */ 149 words = bmake_malloc((words_cap + 1) * sizeof(char *)); 199 * end of a token -- make sure there's enough words 210 words = bmake_realloc(words, new_size); 212 words[words_le [all...] |
/freebsd-13-stable/contrib/ntp/lib/isc/ |
H A D | inet_ntop.c | 125 unsigned int words[NS_IN6ADDRSZ / NS_INT16SZ]; local 133 memset(words, '\0', sizeof(words)); 135 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3)); 140 if (words[i] == 0) { 177 (best.len == 7 && words[7] != 0x0001) || 178 (best.len == 5 && words[5] == 0xffff))) { 185 tp += snprintf(tp, sizeof(tmp) - (tp - tmp), "%x", words[i]);
|
/freebsd-13-stable/sys/libkern/ |
H A D | inet_ntop.c | 106 u_int words[NS_IN6ADDRSZ / NS_INT16SZ]; local 114 memset(words, '\0', sizeof words); 116 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3)); 122 if (words[i] == 0) { 159 (best.len == 7 && words[7] != 0x0001) || 160 (best.len == 5 && words[5] == 0xffff))) { 166 tp += sprintf(tp, "%x", words[i]);
|
/freebsd-13-stable/crypto/openssl/include/crypto/ |
H A D | bn.h | 16 BIGNUM *bn_wexpand(BIGNUM *a, int words); 17 BIGNUM *bn_expand2(BIGNUM *a, int words); 35 /* Set all words to zero */ 39 * Copy the internal BIGNUM words into out which holds size elements (and size 47 * Set the internal data words in a to point to words which contains size 50 void bn_set_static_words(BIGNUM *a, const BN_ULONG *words, int size); 53 * Copy words into the BIGNUM |a|, reallocating space as necessary. 61 int bn_set_words(BIGNUM *a, const BN_ULONG *words, int num_words);
|
/freebsd-13-stable/contrib/bmake/unit-tests/ |
H A D | varmod-to-many-words.mk | 1 # $NetBSD: varmod-to-many-words.mk,v 1.3 2020/12/20 23:29:50 rillig Exp $ 3 # Tests for the :tw modifier, which treats the variable as many words,
|
/freebsd-13-stable/sys/dev/e1000/ |
H A D | e1000_nvm.h | 64 s32 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 66 u16 words, u16 *data); 67 s32 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, 72 u16 words, u16 *data); 73 s32 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words,
|
/freebsd-13-stable/contrib/unbound/compat/ |
H A D | inet_ntop.c | 125 u_int words[IN6ADDRSZ / INT16SZ]; local 134 memset(words, '\0', sizeof words); 136 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3)); 142 if (words[i] == 0) { 186 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { 192 advance = snprintf(tp, ep - tp, "%x", words[i]);
|
/freebsd-13-stable/contrib/ldns/compat/ |
H A D | inet_ntop.c | 125 u_int words[IN6ADDRSZ / INT16SZ]; local 134 memset(words, '\0', sizeof words); 136 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3)); 142 if (words[i] == 0) { 186 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { 192 advance = snprintf(tp, ep - tp, "%x", words[i]);
|
/freebsd-13-stable/crypto/openssh/openbsd-compat/ |
H A D | inet_ntop.c | 120 u_int words[IN6ADDRSZ / INT16SZ]; local 129 memset(words, '\0', sizeof words); 131 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3)); 135 if (words[i] == 0) { 179 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { 185 advance = snprintf(tp, ep - tp, "%x", words[i]);
|