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

12

/haiku/src/add-ons/kernel/network/protocols/ipv6/
H A Dipv6_utils.cpp62 uint16 words[NS_IN6ADDRSZ / NS_INT16SZ]; local
71 memset(words, '\0', sizeof words);
73 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
79 if (words[i] == 0) {
117 (best.len == 7 && words[7] != 0x0001) ||
118 (best.len == 5 && words[5] == 0xffff))) {
125 tp += SPRINTF((tp, "%x", words[i]));
/haiku/src/system/kernel/util/
H A Dinet_ntop.c124 u_int words[NS_IN6ADDRSZ / NS_INT16SZ]; local
132 memset(words, '\0', sizeof words);
134 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))) {
184 tp += SPRINTF((tp, "%x", words[i]));
/haiku/src/system/libnetwork/netresolv/inet/
H A Dinet_net_ntop.c180 size_t words; local
207 /* how many words need to be displayed in output */
208 words = (bits + 15) / 16;
209 if (words == 1)
210 words = 2;
214 for (i = 0; i < (words * 2); i += 2) {
233 if (zero_l != words && zero_s == 0 && ((zero_l == 6) ||
238 /* Format whole words. */
239 for (p = 0; p < words; p++) {
244 if (p == words
[all...]
H A Dinet_cidr_ntop.c177 u_int words[NS_IN6ADDRSZ / NS_INT16SZ]; local
190 memset(words, '\0', sizeof words);
192 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
198 if (words[i] == 0) {
235 (best.len == 7 && words[7] != 0x0001) ||
236 (best.len == 5 && words[5] == 0xffff))) {
253 tp += SPRINTF((tp, "%x", words[i]));
H A Dinet_net_pton.c286 int words; local
353 words = (bits + 15) / 16;
354 if (words < 2)
355 words = 2;
357 words = 8;
358 endp = tmp + 2 * words;
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_nvm.h81 s32 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
83 u16 words, u16 *data);
84 s32 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words,
89 u16 words, u16 *data);
90 s32 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words,
H A De1000_i210.h44 u16 words, u16 *data);
46 u16 words, u16 *data);
H A De1000_i210.c41 static s32 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words,
84 * @words: number of words to read
90 s32 e1000_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words, argument
101 for (i = 0; i < words; i += E1000_EERD_EEWR_MAX_COUNT) {
102 count = (words - i) / E1000_EERD_EEWR_MAX_COUNT > 0 ?
103 E1000_EERD_EEWR_MAX_COUNT : (words - i);
123 * @words: number of words to write
135 s32 e1000_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 words, argument
176 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
275 e1000_read_invm_i210(struct e1000_hw *hw, u16 offset, u16 E1000_UNUSEDARG words, u16 *data) argument
[all...]
H A De1000_nvm.c443 * @words: number of words to read
448 s32 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
458 /* A check for invalid values: offset too large, too many words,
459 * and not enough words.
461 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) ||
462 (words == 0)) {
488 for (i = 0; i < words; i++) {
503 * @words: number of words t
508 e1000_read_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
563 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
611 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
691 e1000_write_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
[all...]
H A De1000_api.h106 s32 e1000_read_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
109 s32 e1000_write_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
H A De1000_82571.c57 u16 words, u16 *data);
84 u16 words, u16 *data);
670 * @words: number of words to write
678 static s32 e1000_write_nvm_82571(struct e1000_hw *hw, u16 offset, u16 words, argument
689 ret_val = e1000_write_nvm_eewr_82571(hw, offset, words, data);
693 ret_val = e1000_write_nvm_spi(hw, offset, words, data);
786 * @words: number of words to write
797 u16 words, u1
796 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
[all...]
H A De1000_api.c1334 * @words: number of 16-bit words to read
1340 s32 e1000_read_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
1343 return hw->nvm.ops.read(hw, offset, words, data);
1352 * @words: number of 16-bit words to write
1358 s32 e1000_write_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
1361 return hw->nvm.ops.write(hw, offset, words, data);
H A De1000_ich8lan.c95 u16 words, u16 *data);
96 static s32 e1000_read_nvm_spt(struct e1000_hw *hw, u16 offset, u16 words,
99 u16 words, u16 *data);
3521 * @words: Size of data to read in words.
3526 static s32 e1000_read_nvm_spt(struct e1000_hw *hw, u16 offset, u16 words, argument
3540 if ((offset >= nvm->word_size) || (words > nvm->word_size - offset) ||
3541 (words == 0)) {
3560 for (i = 0; i < words; i += 2) {
3561 if (words
3621 e1000_read_nvm_ich8lan(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
4041 e1000_write_nvm_ich8lan(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
[all...]
H A De1000_80003es2lan.c53 u16 words, u16 *data);
539 * @words: number of words to write
542 * Write "words" of data to the ESB2 NVM.
545 u16 words, u16 *data)
549 return e1000_write_nvm_spi(hw, offset, words, data);
544 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/
H A Digc_nvm.h23 s32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words,
27 s32 igc_write_nvm_spi(struct igc_hw *hw, u16 offset, u16 words,
H A Digc_nvm.c373 * @words: number of words to read
378 s32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words, u16 *data) argument
386 /* A check for invalid values: offset too large, too many words,
387 * too many words for the offset, and not enough words.
389 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) ||
390 (words == 0)) {
395 for (i = 0; i < words; i++) {
418 * @words
426 igc_write_nvm_spi(struct igc_hw *hw, u16 offset, u16 words, u16 *data) argument
[all...]
H A Digc_i225.h17 u16 words, u16 *data);
19 u16 words, u16 *data);
H A Digc_api.h52 s32 igc_read_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data);
53 s32 igc_write_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data);
H A Digc_i225.c19 static s32 __igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words,
440 * @words: number of words to read
446 s32 igc_read_nvm_srrd_i225(struct igc_hw *hw, u16 offset, u16 words, argument
458 for (i = 0; i < words; i += IGC_EERD_EEWR_MAX_COUNT) {
459 count = (words - i) / IGC_EERD_EEWR_MAX_COUNT > 0 ?
460 IGC_EERD_EEWR_MAX_COUNT : (words - i);
479 * @words: number of words to write
491 s32 igc_write_nvm_srwr_i225(struct igc_hw *hw, u16 offset, u16 words, argument
532 __igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words, u16 *data) argument
[all...]
H A Digc_api.c661 * @words: number of 16-bit words to read
667 s32 igc_read_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data) argument
670 return hw->nvm.ops.read(hw, offset, words, data);
679 * @words: number of 16-bit words to write
685 s32 igc_write_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data) argument
688 return hw->nvm.ops.write(hw, offset, words, data);
/haiku/src/add-ons/kernel/debugger/hangman/
H A Dhangman.c46 char words[MAX_CACHED_WORDS][MAX_LETTERS+1]; variable
124 memset((void *)words, 0, sizeof(words));
158 strncpy(&(words[current][0]), &(bigbuffer[beg]), end - beg);
167 dprintf("%s\n", words[current]);
180 memset((void *)words, 0, sizeof(words));
203 strncpy(&(words[current][0]), &(p[beg]), end - beg);
212 dprintf("%s\n", words[current]);
236 while (words[curren
[all...]
/haiku/src/system/libroot/posix/glibc/include/arch/ppc/
H A Dsysdep.h155 #define EALIGN_W_0 /* No words to insert. */
164 /* EALIGN is like ENTRY, but does alignment to 'words'*4 bytes
167 #define EALIGN(name, alignt, words) \
175 EALIGN_W_##words; \
178 #define EALIGN(name, alignt, words) \
182 EALIGN_W_##words; \
/haiku/src/system/kernel/debug/
H A Ddebug_builtin_commands.cpp276 uint64 words; member in struct:user_data
288 userData->words = 0;
296 userData->lines, userData->words, userData->chars);
304 // count words and chars in this line
311 userData->words++;
397 "Counts the lines, words, and characters of another command's output",
399 "Should be used in a command pipe. It prints how many lines, words,\n"
/haiku/src/kits/mail/
H A Dmail_util.cpp410 // Ignore spaces between two encoded "words". RFC2047 says the words
412 // sentences which have no spaces yet need to be broken into "words" to
584 BList words; local
586 // Break the header into words. White space characters (including tabs and
587 // newlines) separate the words. Each word includes any space before it as
589 // (",()<>@) are treated as separate words of their own so that they don't
592 // space between encoded words, which can be inserted so that older mail
624 // No English words are that long (46 is the longest),
627 // two bits are both ones). Note that two encoded words i
[all...]
/haiku/src/apps/mail/
H A DMailApp.cpp96 static const char *kWordsPath = "/boot/optional/goodies/words";
516 dataPath.Append("words");
520 // If "/boot/optional/goodies/words" exists but there is no
521 // system dictionary, copy words
523 BFile words(kWordsPath, B_READ_ONLY);
528 while ((size = words.Read( buffer, 4096)) > 0)

Completed in 183 milliseconds

12