/freebsd-10-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-10-stable/contrib/binutils/gas/config/ |
H A D | atof-ieee.c | 140 make_invalid_floating_point_number (LITTLENUM_TYPE *words) 144 words[0] = (LITTLENUM_TYPE) ((unsigned) -1) >> 1; 145 words[1] = (LITTLENUM_TYPE) -1; 146 words[2] = (LITTLENUM_TYPE) -1; 147 words[3] = (LITTLENUM_TYPE) -1; 148 words[4] = (LITTLENUM_TYPE) -1; 149 words[5] = (LITTLENUM_TYPE) -1; 166 LITTLENUM_TYPE *words) /* Build the binary here. */ 172 /* Number of 16-bit words in the format. */ 229 make_invalid_floating_point_number (words); 139 make_invalid_floating_point_number(LITTLENUM_TYPE *words) argument 162 atof_ieee(char *str, int what_kind, LITTLENUM_TYPE *words) argument 252 gen_to_words(LITTLENUM_TYPE *words, int precision, long exponent_bits) argument [all...] |
H A D | atof-vax.c | 143 make_invalid_floating_point_number (LITTLENUM_TYPE *words) 145 *words = 0x8000; /* Floating Reserved Operand Code. */ 152 int *precisionP, /* Number of 16-bit words in the float. */ 196 LITTLENUM_TYPE *words) /* Build the binary here. */ 204 int precision; /* Number of 16-bit words in the format. */ 217 make_invalid_floating_point_number (words); 231 make_invalid_floating_point_number (words); 234 else if (flonum_gen2vax (what_kind, &f, words)) 248 LITTLENUM_TYPE *words) /* Deliver answer here. */ 258 make_invalid_floating_point_number (words); 142 make_invalid_floating_point_number(LITTLENUM_TYPE *words) argument 191 atof_vax(char *str, int what_kind, LITTLENUM_TYPE *words) argument 242 flonum_gen2vax(int format_letter, FLONUM_TYPE *f, LITTLENUM_TYPE *words) argument 396 LITTLENUM_TYPE words[MAXIMUM_NUMBER_OF_LITTLENUMS]; local [all...] |
/freebsd-10-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-10-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-10-stable/crypto/openssl/util/ |
H A D | extract-names.pl | 17 push @words, split ','; 25 print join("\n", @words),"\n";
|
/freebsd-10-stable/share/dict/ |
H A D | Makefile | 6 # XXX MISSING: connectives words 9 SYMLINKS= web2 ${FILESDIR}/words
|
/freebsd-10-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-10-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-10-stable/sys/dev/ixl/ |
H A D | i40e_nvm.c | 42 u16 *words, u16 *data); 44 u16 *words, u16 *data); 46 u32 offset, u16 words, void *data, 74 /* Switching to words (sr_size contains power of 2KB) */ 303 * @words: (in) number of words to read; (out) number of words actually read 304 * @data: words read from the Shadow RAM 306 * Reads 16 bit words (data buffer) from the SR using the i40e_read_nvm_srrd() 311 u16 *words, u1 310 i40e_read_nvm_buffer(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument 331 i40e_read_nvm_buffer_srctl(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument 364 i40e_read_nvm_buffer_aq(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument 423 i40e_read_nvm_aq(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 words, void *data, bool last_command) argument 475 i40e_write_nvm_aq(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 words, void *data, bool last_command) argument 545 i40e_write_nvm_buffer(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 words, void *data) argument 614 u16 words = I40E_SR_SECTOR_SIZE_IN_WORDS; local [all...] |
/freebsd-10-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-10-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-10-stable/sys/netipx/ |
H A D | ipx_cksum.c | 81 int mlen, words; local 97 words = mlen / 2; 99 while (words >= 16) { 104 words -= 16; 106 while (words--)
|
/freebsd-10-stable/contrib/tcpdump/ |
H A D | print-smb.c | 173 print_trans2(const u_char *words, const u_char *dat, const u_char *buf, const u_char *maxbuf) argument 178 const u_char *w = words + 1; 182 TCHECK(words[0]); 191 if (words[0] == 0) { 206 if (words[0] == 8) { 207 smb_fdata(words + 1, 212 smb_fdata(words + 1, 214 words + 1 + 14 * 2, unicodestr); 219 smb_fdata(words + 1, 221 words 336 print_trans(const u_char *words, const u_char *data1, const u_char *buf, const u_char *maxbuf) argument 398 print_negprot(const u_char *words, const u_char *data, const u_char *buf _U_, const u_char *maxbuf) argument 439 print_sesssetup(const u_char *words, const u_char *data, const u_char *buf _U_, const u_char *maxbuf) argument 483 print_lockingandx(const u_char *words, const u_char *data, const u_char *buf _U_, const u_char *maxbuf) argument 801 const u_char *words, *maxwords, *data; local [all...] |
/freebsd-10-stable/lib/libc/inet/ |
H A D | inet_net_ntop.c | 181 int words; local 208 /* how many words need to be displayed in output */ 209 words = (bits + 15) / 16; 210 if (words == 1) 211 words = 2; 215 for (i = 0; i < (words * 2); i += 2) { 234 if (zero_l != words && zero_s == 0 && ((zero_l == 6) || 239 /* Format whole words. */ 240 for (p = 0; p < words; p++) { 245 if (p == words [all...] |
H A D | inet_ntop.c | 117 u_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))) { 177 tp += sprintf(tp, "%x", words[i]);
|
/freebsd-10-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-10-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-10-stable/lib/msun/src/ |
H A D | s_nan.c | 51 _scan_nan(uint32_t *words, int num_words, const char *s) argument 54 int bitpos; /* index into words (in bits) */ 56 bzero(words, num_words * sizeof(uint32_t)); 66 /* Scan backwards, filling in the bits in words[] as we go. */ 74 words[bitpos / 32] |= digittoint(s[si]) << (bitpos % 32);
|
/freebsd-10-stable/sys/dev/e1000/ |
H A D | e1000_nvm.h | 63 s32 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 65 u16 words, u16 *data); 66 s32 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, 71 u16 words, u16 *data); 72 s32 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words,
|
/freebsd-10-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-10-stable/contrib/tcpdump/missing/ |
H A D | inet_ntop.c | 118 u_long words [IN6ADDRSZ / INT16SZ]; local 125 memset (words, 0, sizeof(words)); 127 words[i/2] |= (src[i] << ((1 - (i % 2)) << 3)); 133 if (words[i] == 0) 173 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) 183 tp += sprintf (tp, "%lX", words[i]);
|
/freebsd-10-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]);
|