HomeSort by: relevance | last modified time | path
    Searched refs:words (Results 1 - 25 of 138) sorted by relevancy

1 2 3 4 5 6

  /src/sys/arch/hpc/hpc/
platid_copyright.awk 37 words = ""
41 words=sprintf("%s%s\n", words, $0)
48 printf("%s", words)
51 words = ""
  /src/usr.bin/make/
str.c 107 * Fracture a string into an array of words (as delineated by tabs or spaces)
117 * Returns the fractured words, which must be freed later using Words_Free,
118 * unless the returned Words.words was NULL.
126 Substring *words; local
136 /* words_buf holds the words, separated by '\0'. */
141 words = bmake_malloc((words_cap + 1) * sizeof(words[0]));
191 * end of a token -- make sure there's enough words
200 words = bmake_realloc(words
279 Words words; local
    [all...]
  /src/sys/lib/libsa/
byteorder.c 52 uint32_t words[2]; member in union:__anon6917
162 un.words[BE64_HI] = sa_htobe32(val >> 32);
163 un.words[BE64_LO] = sa_htobe32(val & 0xffffffffU);
173 un.words[LE64_HI] = sa_htole32(val >> 32);
174 un.words[LE64_LO] = sa_htole32(val & 0xffffffffU);
186 un.words[BE64_HI] = sa_be32toh(un.words[BE64_HI]);
187 un.words[BE64_LO] = sa_be32toh(un.words[BE64_LO]);
189 rv = (((uint64_t)un.words[BE64_HI]) << 32)
    [all...]
  /src/share/dict/
Makefile 4 # Missing: connectives, words
10 LINKS= ${FILESDIR}/web2 ${FILESDIR}/words
  /src/sys/fs/efs/
efs_extent.h 42 uint32_t words[2]; member in union:efs_dextent::__anon6723
46 #define ex_words ex_muddle.words
  /src/usr.bin/ftp/
complete.c 70 * Otherwise, list choices. words is assumed to be filtered
75 * words stringlist containing possible matches
79 complete_ambiguous(char *word, int list, StringList *words)
87 if (words->sl_cur == 0)
90 if (words->sl_cur == 1) { /* only once choice available */
91 p = words->sl_str[0] + wordlen;
102 lastmatch = words->sl_str[0];
104 for (i = 1 ; i < words->sl_cur ; i++) {
105 for (j = wordlen; j < strlen(words->sl_str[i]); j++)
106 if (lastmatch[j] != words->sl_str[i][j]
134 StringList *words; local
163 StringList *words; local
246 StringList *words; local
277 StringList *words; local
    [all...]
  /src/distrib/sets/
join.awk 31 # Similar to join(1), this reads a list of words from F1
85 words[f1] = $0
92 f1 in words \
95 print words[f1] $0
  /src/games/battlestar/
parse.c 108 if ((wp = lookup(words[n])) == NULL) {
123 strlcpy(words[i - 1], words[i], WORDLEN);
129 if (wordvalue[n] == AND && words[n][0] == ','
143 strlcpy(words[i - 1], words[i], WORDLEN);
166 strcpy(tmpword, words[n - 1]);
167 strlcpy(words[n - 1], words[n + 1], WORDLEN);
168 strcpy(words[n + 1], tmpword)
    [all...]
  /src/sys/dev/
dev_verbose.c 40 dev_untokenstring(const char *words, const uint32_t *token, char *buf,
48 newlen = strlcat(buf, words + *token, len - 2);
60 dev_findvendor(char *buf, size_t len, const char *words, size_t nwords,
68 return dev_untokenstring(words, &vendors[n + 1],
81 dev_findproduct(char *buf, size_t len, const char *words, size_t nwords,
89 return dev_untokenstring(words, &products[n + 2],
devlist2h.awk 141 if (words[$f, 1] == 0) {
146 words[$f, 1] = nwords;
147 words[$f, 2] = l;
152 wordlist[words[$f, 1], 2]++;
153 vendors[nvendors, i] = words[$f, 1];
203 if (words[$f, 1] == 0) {
208 words[$f, 2] = l;
209 words[$f, 1] = nwords;
214 productlen += words[$f, 2] + 1;
215 wordlist[words[$f, 1], 2]++
    [all...]
  /src/lib/libm/src/
s_nan.c 65 _scan_nan(uint32_t *words, int num_words, const char *s)
68 int bitpos; /* index into words (in bits) */
70 memset(words, 0, num_words * sizeof(*words));
80 /* Scan backwards, filling in the bits in words[] as we go. */
88 words[bitpos / 32] |= digittoint(s[si]) << (bitpos % 32);
  /src/usr.sbin/gspa/gspa/
gsp_pseu.c 47 u_int16_t words[2]; local
92 words[0] = val;
94 words[1] = val >> 16;
95 putcode(words, 2);
99 putcode(words, 1);
  /src/usr.bin/mail/
complete.c 88 * List words in stringlist, vertically arranged
239 * Otherwise, list choices. words is assumed to be filtered
244 * words stringlist containing possible matches
248 complete_ambiguous(EditLine *el, char *word, int dolist, StringList *words)
255 if (words->sl_cur == 0)
258 if (words->sl_cur == 1) { /* only once choice available */
259 p = words->sl_str[0] + wordlen;
271 lastmatch = words->sl_str[0];
273 for (i = 1; i < words->sl_cur; i++) {
274 for (j = wordlen; j < strlen(words->sl_str[i]); j++
304 StringList *words; local
333 StringList *words; local
496 StringList *words; local
555 StringList *words; local
594 StringList *words; local
640 StringList *words; local
701 StringList *words; local
1029 StringList *words; local
    [all...]
  /src/bin/ksh/
edit.c 454 x_print_expansions(nwords, words, is_command)
456 char *const *words;
469 && (prefix_len = x_longest_prefix(nwords, words)) > 0)
475 prefix_len = x_basename(words[0], (char *) 0);
478 if (x_basename(words[i] + prefix_len, (char *) 0)
484 && !ISDIRSEP(words[0][prefix_len - 1]))
489 XPput(l, words[i] + prefix_len);
499 pr_list(use_copy ? (char **) XPptrv(l) : words);
520 char **words; local
545 * Convert "foo*" (toglob) to an array of strings (words)
665 char **words = (char **) XPptrv(w); local
690 char **words = (char **) XPptrv(w); local
785 char **words; local
960 char **words; local
    [all...]
edit.h 56 void x_print_expansions ARGS((int nwords, char *const *words, int is_command));
59 int x_longest_prefix ARGS((int nwords, char *const *words));
61 void x_free_words ARGS((int nwords, char **words));
  /src/lib/libc/arch/x86_64/string/
swab.S 22 testq $7,%rdx # copy first group of 1 to 7 words
31 L2: shrq $3,%rdx # copy remainder 8 words at a time
  /src/lib/libc/inet/
inet_net_ntop.c 181 size_t 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 - 1
    [all...]
inet_ntop.c 136 u_int words[NS_IN6ADDRSZ / NS_INT16SZ]; local
148 memset(words, '\0', sizeof words);
150 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
156 if (words[i] == 0) {
198 (best.len == 7 && words[7] != 0x0001) ||
199 (best.len == 5 && words[5] == 0xffff))) {
205 advance = snprintf(tp, (size_t)(ep - tp), "%x", words[i]);
  /src/usr.bin/make/unit-tests/
varmod-order-string.mk 3 # Tests for the :O variable modifier, which returns the words, sorted in
6 # Simple words are sorted lexicographically.
7 WORDS= one two three four five six seven eight nine ten
8 .if ${WORDS:O} != "eight five four nine one seven six ten three two"
9 . error ${WORDS:O}
12 # Double quotes and single quotes delimit words, while backticks are just
21 # To sort the words numerically, use ':On' instead; since var.c 1.939 from
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,
varmod-select-words.exp 4 in target "mod-squarebrackets-empty" from varmod-select-words.mk:54
45 in target "mod-squarebrackets-n-error-1" from varmod-select-words.mk:100
49 in target "mod-squarebrackets-n-error-2" from varmod-select-words.mk:103
57 in target "mod-squarebrackets-n-error-3" from varmod-select-words.mk:111
61 in target "mod-squarebrackets-n-error-4" from varmod-select-words.mk:114
83 in target "mod-squarebrackets-start-end-error-1" from varmod-select-words.mk:137
87 in target "mod-squarebrackets-start-end-error-2" from varmod-select-words.mk:140
91 in target "mod-squarebrackets-start-end-error-3" from varmod-select-words.mk:143
96 in target "mod-squarebrackets-start-end-error-4" from varmod-select-words.mk:148
104 in target "mod-squarebrackets-start-end-error-5" from varmod-select-words.mk:15
    [all...]
  /src/common/dist/zlib/
crc32.c 35 A CRC of a message is computed on N braids of words in the message, where
38 indices in the array of words: 0, 3, 6, ..., 1, 4, 7, ..., and 2, 5, 8, ...
573 #define Z_BATCH 3990 /* number of words in a batch */
575 #define Z_BATCH_MIN 800 /* fewest words in a final batch */
603 /* Prepare to compute the CRC on full 64-bit words word[0..num-1]. */
609 instruction per cycle. Each CRC is calculated on Z_BATCH words. The
628 /* Do one last smaller batch with the remaining words, if there are enough
650 /* Compute the CRC on any remaining words. */
713 z_word_t const *words; local
726 words = (z_word_t const *)buf
    [all...]
  /src/usr.bin/vndcompress/
Makefile 18 head -c 512 < /usr/share/dict/words > ${.TARGET}.tmp \
25 head -c 5120 < /usr/share/dict/words > ${.TARGET}.tmp \
32 head -c 12345 < /usr/share/dict/words > ${.TARGET}.tmp \
40 head -c 54321 < /usr/share/dict/words \
46 head -c 65536 < /usr/share/dict/words > ${.TARGET}.tmp \
51 head -c 655360 < /usr/share/dict/words > ${.TARGET}.tmp \
58 head -c $$((65536 + 512)) < /usr/share/dict/words > ${.TARGET}.tmp \
65 head -c 123456 < /usr/share/dict/words > ${.TARGET}.tmp \
71 head -c 512 < /usr/share/dict/words > ${.TARGET}.tmp \
77 head -c 5120 < /usr/share/dict/words > ${.TARGET}.tmp
    [all...]
  /src/lib/libc/arch/m68k/string/
swab.S 9 lsrl #1,%d0 | count is in bytes; we need words
  /src/lib/libc/arch/i386/string/
swab.S 26 testl $7,%ecx # copy first group of 1 to 7 words
36 L2: shrl $3,%ecx # copy remainder 8 words at a time

Completed in 32 milliseconds

1 2 3 4 5 6