/dragonfly/contrib/diffutils/src/ |
H A D | io.c | 101 current->bufsize = sizeof (word); in sip() 106 current->bufsize = buffer_lcm (sizeof (word), in sip() 108 PTRDIFF_MAX - 2 * sizeof (word)); in sip() 169 cc = file_size + 2 * sizeof (word) - file_size % sizeof (word); in slurp() 201 if (PTRDIFF_MAX / 2 - sizeof (word) < current->bufsize) in slurp() 210 cc = current->buffered + 2 * sizeof (word); in slurp() 211 current->bufsize = cc - cc % sizeof (word); in slurp() 509 memset (p + buffered, 0, sizeof (word)); in prepare_text() 532 word *w0, *w1; in find_identical_ends()
|
/dragonfly/contrib/cvs-1.12/diff/ |
H A D | io.c | 32 #ifndef word 33 #define word int macro 90 current->bufsize = sizeof (word); 142 cc = current->stat.st_size + 1 + sizeof (word); 179 current->bufsize = current->buffered_chars + 1 + sizeof (word); 406 bzero (p + buffered_chars, sizeof (word)); 416 word *w0, *w1; 461 w0 = (word *) p0; 462 w1 = (word *) p1;
|
/dragonfly/games/adventure/ |
H A D | wizard.c | 109 char *word, *x; in wizard() local 113 getin(&word, &x); in wizard() 114 if (!weq(word, magic)) { in wizard()
|
/dragonfly/usr.bin/fmt/ |
H A D | fmt.c | 527 output_word(size_t indent0, size_t indent1, const wchar_t *word, size_t length, size_t spaces) { in output_word() argument 534 for (p = word, width = 0; p < &word[length]; p++) in output_word() 545 spaces = wcschr(sentence_enders, word[length-1]) ? 2 : 1; in output_word() 554 wmemcpy(output_buffer+output_buffer_length, word, length); in output_word() 579 wprintf(L"%.*ls", (int)length, word); in output_word() 584 wmemcpy(output_buffer, word, length); in output_word()
|
/dragonfly/sys/dev/netif/ig_hal/ |
H A D | e1000_nvm.c | 965 &pba->word[0]); in e1000_read_pba_raw() 970 pba->word[0] = eeprom_buf[NVM_PBA_OFFSET_0]; in e1000_read_pba_raw() 977 if (pba->word[0] == NVM_PBA_PTR_GUARD) { in e1000_read_pba_raw() 991 ret_val = e1000_read_nvm(hw, pba->word[1], in e1000_read_pba_raw() 997 if (eeprom_buf_size > (u32)(pba->word[1] + in e1000_read_pba_raw() 1000 &eeprom_buf[pba->word[1]], in e1000_read_pba_raw() 1032 &pba->word[0]); in e1000_write_pba_raw() 1044 if (pba->word[0] == NVM_PBA_PTR_GUARD) { in e1000_write_pba_raw() 1049 ret_val = e1000_write_nvm(hw, pba->word[1], in e1000_write_pba_raw() 1055 if (eeprom_buf_size > (u32)(pba->word[1] + in e1000_write_pba_raw() [all …]
|
/dragonfly/sys/bus/iicbus/ |
H A D | iicsmb.c | 89 static int iicsmb_writew(device_t dev, u_char slave, char cmd, short word); 91 static int iicsmb_readw(device_t dev, u_char slave, char cmd, short *word); 354 iicsmb_writew(device_t dev, u_char slave, char cmd, short word) in iicsmb_writew() argument 359 char low = (char)(word & 0xff); in iicsmb_writew() 360 char high = (char)((word & 0xff00) >> 8); in iicsmb_writew() 402 iicsmb_readw(device_t dev, u_char slave, char cmd, short *word) in iicsmb_readw() argument 421 *word = BUF2SHORT(buf[0], buf[1]); in iicsmb_readw()
|
/dragonfly/sys/dev/drm/i915/ |
H A D | intel_color.c | 328 uint32_t word = in i9xx_load_luts_internal() local 334 I915_WRITE(PALETTE(pipe, i), word); in i9xx_load_luts_internal() 336 I915_WRITE(LGC_PALETTE(pipe, i), word); in i9xx_load_luts_internal() 340 uint32_t word = (i << 16) | (i << 8) | i; in i9xx_load_luts_internal() local 343 I915_WRITE(PALETTE(pipe, i), word); in i9xx_load_luts_internal() 345 I915_WRITE(LGC_PALETTE(pipe, i), word); in i9xx_load_luts_internal() 400 uint32_t word = in bdw_load_degamma_lut() local 405 I915_WRITE(PREC_PAL_DATA(pipe), word); in bdw_load_degamma_lut() 435 uint32_t word = in bdw_load_gamma_lut() local 440 I915_WRITE(PREC_PAL_DATA(pipe), word); in bdw_load_gamma_lut()
|
/dragonfly/contrib/gcc-8.0/libstdc++-v3/src/c++11/ |
H A D | debug.cc | 571 print_literal(PrintContext& ctx, const char(&word)[Length]) in print_literal() 572 { print_word(ctx, word, Length - 1); } in print_literal() 575 print_word(PrintContext& ctx, const char* word, in print_word() argument 578 size_t length = count >= 0 ? count : __builtin_strlen(word); in print_word() 583 if (word[0] == '\n') in print_word() 587 ++word; in print_word() 595 = isspace(word[length - 1]) ? length - 1 : length; in print_word() 612 int written = fprintf(stderr, "%s", word); in print_word() 614 if (word[length - 1] == '\n') in print_word() 625 print_word(ctx, word, count); in print_word()
|
/dragonfly/contrib/gdb-7/gdb/cli/ |
H A D | cli-decode.c | 1774 if (word == text) in VEC() 1776 else if (word > text) in VEC() 1779 strcpy (match, ptr->name + (word - text)); in VEC() 1784 strncpy (match, word, text - word); in VEC() 1785 match[text - word] = '\0'; in VEC() 1812 char *word) in VEC() 1825 if (word == text) in VEC() 1827 else if (word > text) in VEC() 1830 strcpy (match, name + (word - text)); in VEC() 1835 strncpy (match, word, text - word); in VEC() [all …]
|
/dragonfly/sys/platform/vkernel64/platform/ |
H A D | copyio.c | 444 suword64(uint64_t *base, uint64_t word) in suword64() argument 446 if (copyout(&word, base, sizeof(word)) == 0) in suword64() 452 suword32(uint32_t *base, int word) in suword32() argument 454 if (copyout(&word, base, sizeof(word)) == 0) in suword32()
|
/dragonfly/sys/platform/pc64/x86_64/ |
H A D | mpboot.S | 83 .word bootcode-gdt /* index in gdt for 32 bit code */ 147 .word kernelcode-gdt /* index in gdt for 64 bit code */ 216 .word gdtend-gdt /* Length */
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | bitmap.c | 781 BITMAP_WORD word; in bitmap_first_set_bit() local 788 word = elt->bits[ix]; in bitmap_first_set_bit() 789 if (word) in bitmap_first_set_bit() 808 if (!(word & 0xffff)) in bitmap_first_set_bit() 810 if (!(word & 0xff)) in bitmap_first_set_bit() 812 if (!(word & 0xf)) in bitmap_first_set_bit() 814 if (!(word & 0x3)) in bitmap_first_set_bit() 816 if (!(word & 0x1)) in bitmap_first_set_bit() 832 BITMAP_WORD word; in bitmap_last_set_bit() local 842 if (word) in bitmap_last_set_bit() [all …]
|
/dragonfly/usr.sbin/ppp/ |
H A D | chap_ms.c | 77 unsigned int word; in Get7Bits() local 79 word = (unsigned)input[startBit / 8] << 8; in Get7Bits() 80 word |= (unsigned)input[startBit / 8 + 1]; in Get7Bits() 82 word >>= 15 - (startBit % 8 + 7); in Get7Bits() 84 return word & 0xFE; in Get7Bits()
|
/dragonfly/sys/bus/smbus/amdsmb/ |
H A D | amdsmb.c | 444 amdsmb_writew(device_t dev, u_char slave, char cmd, short word) in amdsmb_writew() argument 451 amdsmb_ec_write(sc, SMB_DATA, word); in amdsmb_writew() 452 amdsmb_ec_write(sc, SMB_DATA + 1, word >> 8); in amdsmb_writew() 459 "error=0x%x\n", slave, cmd, word, error)); in amdsmb_writew() 466 amdsmb_readw(device_t dev, u_char slave, char cmd, short *word) in amdsmb_readw() argument 480 *word = temp[0] | (temp[1] << 8); in amdsmb_readw() 484 "error=0x%x\n", slave, cmd, (unsigned short)*word, error)); in amdsmb_readw()
|
/dragonfly/sys/dev/drm/include/linux/ |
H A D | wait_bit.h | 32 int wait_on_bit_timeout(unsigned long *word, int bit, 35 int wait_on_bit(unsigned long *word, int bit, unsigned mode);
|
/dragonfly/contrib/tcsh-6/ |
H A D | sh.file.c | 497 tsearch(Char *word, COMMAND command, size_t max_word_length) in tsearch() argument 509 looking_for_lognames = (*word == '~') && (Strchr(word, '/') == NULL); in tsearch() 514 name = word + 1; /* name sans ~ */ in tsearch() 519 extract_dir_and_name(word, &dir, &name); in tsearch() 571 copyn(word, STRtilde, 2);/*FIXBUF, sort of */ in tsearch() 574 copyn(word, dir, max_word_length);/*FIXBUF*/ in tsearch() 576 catn(word, extended_name, max_word_length);/*FIXBUF*/ in tsearch()
|
/dragonfly/contrib/file/magic/Magdir/ |
H A D | rtf | 24 # The word for character set must precede any text or most other control words 27 # control word \pca 62 # else look for default language to be used when the \plain control word is encountered 88 # https://reposcope.com/mimetype/application/x-pocket-word 89 !:mime application/x-pocket-word
|
/dragonfly/contrib/binutils-2.27/gas/doc/ |
H A D | c-xc16x.texi | 30 This directive assembles a half-word (8-bit) constant. 32 @cindex @code{word} directive, xc16x 33 @item .word @var{expr} 34 This assembles a word (16-bit) constant.
|
/dragonfly/gnu/usr.bin/cvs/contrib/ |
H A D | easy-import.pl | 103 local($word, $tmp); 110 foreach $word (split) { 111 $columns = $tmp if $word eq "columns;"; # the number preceding 112 $tmp = $word;
|
/dragonfly/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_eeprom.c | 3412 u_int16_t word; in ar9300_check_eeprom() 3419 eep->base_eep_header.length = word; in ar9300_check_eeprom() 3422 eep->base_eep_header.checksum = word; in ar9300_check_eeprom() 3425 eep->base_eep_header.version = word; in ar9300_check_eeprom() 3434 eep->base_eep_header.rf_silent = word; in ar9300_check_eeprom() 3892 u_int8_t word[MOUTPUT]; in ar9300_eeprom_restore_internal_address() local 3905 if (word[0] == blank && word[1] == blank && word[2] == blank && word[3] == blank) in ar9300_eeprom_restore_internal_address() 3924 ah, cptr, word, in ar9300_eeprom_restore_internal_address() 4290 u_int16_t word; in ar9300_swap_eeprom() local 4294 eep->base_eep_header.reg_dmn[0] = word; in ar9300_swap_eeprom() [all …]
|
/dragonfly/usr.sbin/config/ |
H A D | mkmakefile.c | 50 char *word; \ 52 word = get_word(fp); \ 53 if (word == (char *)EOF) \ 56 wd = word; \ 60 char *word; \ 62 word = get_quoted_word(fp); \ 63 if (word == (char *)EOF) \ 66 wd = word; \
|
/dragonfly/contrib/gdb-7/include/cgen/ |
H A D | basic-ops.h | 314 SUBWORDSIHI (SI in, int word) in SUBWORDSIHI() argument 316 if (word == 0) in SUBWORDSIHI() 330 SUBWORDDIHI (DI in, int word) in SUBWORDDIHI() argument 332 assert (word >= 0 && word <= 3); in SUBWORDDIHI() 333 return (UHI) (in >> (16 * (3 - word))) & 0xFFFF; in SUBWORDDIHI() 337 SUBWORDDISI (DI in, int word) in SUBWORDDISI() argument 339 if (word == 0) in SUBWORDDISI()
|
/dragonfly/sys/dev/powermng/alpm/ |
H A D | alpm.c | 477 alpm_writew(device_t dev, u_char slave, char cmd, short word) in alpm_writew() argument 491 ALPM_SMBOUTB(sc, SMBHDATA, word & 0x00ff); in alpm_writew() 492 ALPM_SMBOUTB(sc, SMBHDATB, (word & 0xff00) >> 8); in alpm_writew() 498 …ALPM_DEBUG(kprintf("alpm: WRITEW to 0x%x, cmd=0x%x, word=0x%x, error=0x%x\n", slave, cmd, word, er… in alpm_writew() 505 alpm_readw(device_t dev, u_char slave, char cmd, short *word) in alpm_readw() argument 527 *word = ((high & 0xff) << 8) | (low & 0xff); in alpm_readw() 530 …ALPM_DEBUG(kprintf("alpm: READW from 0x%x, cmd=0x%x, word=0x%x, error=0x%x\n", slave, cmd, *word, … in alpm_readw()
|
/dragonfly/sys/dev/smbus/smb/ |
H A D | smb.h | 42 short word; member 47 short word; member
|
/dragonfly/contrib/gcc-4.7/libgcc/ |
H A D | libgcc2.c | 533 UWtype word, count, add; in __ffsDI2() local 536 word = uu.s.low, add = 0; in __ffsDI2() 722 UWtype word; in __clzDI2() local 726 word = uu.s.high, add = 0; in __clzDI2() 730 count_leading_zeros (ret, word); in __clzDI2() 754 UWtype word; in __ctzDI2() local 758 word = uu.s.low, add = 0; in __ctzDI2() 789 UWtype word; in __clrsbDI2() local 797 word = uu.s.high, add = 0; in __clrsbDI2() 799 word = ~uu.s.high, add = 0; in __clrsbDI2() [all …]
|