/freebsd-10.0-release/contrib/atf/atf-c++/detail/ |
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.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...] |
/freebsd-10.0-release/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.0-release/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.0-release/contrib/atf/atf-c/detail/ |
H A D | text_test.c | 53 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...] |
/freebsd-10.0-release/crypto/openssl/util/ |
H A D | extract-names.pl | 17 push @words, split ','; 25 print join("\n", @words),"\n";
|
/freebsd-10.0-release/share/dict/ |
H A D | Makefile | 6 # XXX MISSING: connectives words 9 SYMLINKS= web2 ${FILESDIR}/words
|
/freebsd-10.0-release/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.0-release/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.0-release/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.0-release/contrib/ntp/libisc/ |
H A D | inet_ntop.c | 120 unsigned int words[NS_IN6ADDRSZ / NS_INT16SZ]; local 128 memset(words, '\0', sizeof(words)); 130 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3)); 136 if (words[i] == 0) { 173 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { 180 tp += SPRINTF((tp, "%x", words[i]));
|
/freebsd-10.0-release/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.0-release/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.0-release/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.0-release/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.0-release/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.0-release/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.0-release/sys/dev/e1000/ |
H A D | e1000_nvm.h | 65 s32 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 67 u16 words, u16 *data); 68 s32 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, 73 u16 words, u16 *data); 74 s32 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words,
|
/freebsd-10.0-release/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.0-release/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.0-release/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-10.0-release/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]);
|