/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/ |
H A D | bwimac.h | 71 #define MOBJ_WRITE_2(mac, objid, ofs, val) \ 72 bwi_memobj_write_2((mac), (objid), (ofs), (val)) 73 #define MOBJ_WRITE_4(mac, objid, ofs, val) \ 74 bwi_memobj_write_4((mac), (objid), (ofs), (val)) 75 #define MOBJ_READ_2(mac, objid, ofs) \ 76 bwi_memobj_read_2((mac), (objid), (ofs)) 77 #define MOBJ_READ_4(mac, objid, ofs) \ 78 bwi_memobj_read_4((mac), (objid), (ofs)) 80 #define MOBJ_SETBITS_4(mac, objid, ofs, bits) \ 81 MOBJ_WRITE_4((mac), (objid), (ofs), \ [all...] |
H A D | bwirf.h | 111 #define RF_WRITE(mac, ofs, val) bwi_rf_write((mac), (ofs), (val)) 112 #define RF_READ(mac, ofs) bwi_rf_read((mac), (ofs)) 114 #define RF_SETBITS(mac, ofs, bits) \ 115 RF_WRITE((mac), (ofs), RF_READ((mac), (ofs)) | (bits)) 116 #define RF_CLRBITS(mac, ofs, bits) \ 117 RF_WRITE((mac), (ofs), RF_READ((mac), (ofs)) [all...] |
H A D | bwiphy.c | 265 bwi_tbl_write_2(struct bwi_mac *mac, uint16_t ofs, uint16_t data) argument 272 PHY_WRITE(mac, phy->phy_tbl_ctrl, ofs); 277 bwi_tbl_write_4(struct bwi_mac *mac, uint16_t ofs, uint32_t data) argument 286 PHY_WRITE(mac, phy->phy_tbl_ctrl, ofs); 292 bwi_nrssi_write(struct bwi_mac *mac, uint16_t ofs, int16_t data) argument 294 PHY_WRITE(mac, BWI_PHYR_NRSSI_CTRL, ofs); 299 bwi_nrssi_read(struct bwi_mac *mac, uint16_t ofs) argument 301 PHY_WRITE(mac, BWI_PHYR_NRSSI_CTRL, ofs); 439 uint16_t val, ofs; local 449 for (ofs 516 uint16_t ofs, val; local 611 uint16_t val, ofs; local 887 uint16_t ofs; local [all...] |
H A D | bwimac.c | 117 bwi_tmplt_write_4(struct bwi_mac *mac, uint32_t ofs, uint32_t val) argument 124 CSR_WRITE_4(sc, BWI_MAC_TMPLT_CTRL, ofs); 164 int ofs; local 167 ofs = ofs0 / 4; 172 CSR_WRITE_4(sc, BWI_MOBJ_CTRL, BWI_MOBJ_CTRL_VAL(obj_id, ofs)); 180 int ofs; local 182 ofs = ofs0 / 4; 186 CSR_WRITE_4(sc, BWI_MOBJ_CTRL, BWI_MOBJ_CTRL_VAL(obj_id, ofs)); 191 BWI_MOBJ_CTRL_VAL(obj_id, ofs + 1)); 196 CSR_WRITE_4(sc, BWI_MOBJ_CTRL, BWI_MOBJ_CTRL_VAL(obj_id, ofs)); 207 int ofs; local 224 int ofs; local 1167 uint16_t iv_ofs, ofs; local 1427 uint16_t ofs; local [all...] |
H A D | if_bwireg.h | 180 #define BWI_MOBJ_CTRL_VAL(objid, ofs) ((objid) << 16 | (ofs))
|
/haiku-fatelf/src/bin/network/ftpd/ |
H A D | md5hl.c | 50 MD5FileChunk(const char *filename, char *buf, off_t ofs, off_t len) argument 64 if (ofs > stbuf.st_size) 65 ofs = stbuf.st_size; 66 if ((len == 0) || (len > stbuf.st_size - ofs)) 67 len = stbuf.st_size - ofs; 68 if (lseek(f, ofs, SEEK_SET) < 0)
|
/haiku-fatelf/src/add-ons/print/transports/shared/ |
H A D | SocketStream.cpp | 48 ofstream ofs("recv.log", ios::binary | ios::app); 49 ofs.write(__pu, bytes); 86 ofstream ofs("send.log", ios::binary | ios::app); 87 ofs.write(buffer, bytes);
|
/haiku-fatelf/src/add-ons/print/drivers/canon_lips/lips3/ |
H A D | Compress3.cpp | 93 ofstream ofs("test.bin", ios::binary); 94 ofs.write(pOut, cnt);
|
/haiku-fatelf/src/bin/network/tcpdump/libpcap/msdos/ |
H A D | pktdrvr.c | 364 static char pktStr[9] = "PKT DRVR"; /* ASCIIZ string at ofs 3 */
829 WORD ofs = _farpeekw (_dos_ds, realBase+rxOutOfs);
local 831 if (ofs != _farpeekw (_dos_ds, realBase+rxInOfs))
836 head.firstCount = _farpeekw (_dos_ds, realBase+ofs);
837 head.secondCount = _farpeekw (_dos_ds, realBase+ofs+2);
838 head.handle = _farpeekw (_dos_ds, realBase+ofs+4);
844 dosmemget (realBase+ofs+6, len, buf);
849 ofs += sizeof (RX_ELEMENT);
850 if (ofs > LAST_RX_BUF)
852 else _farpokew (_dos_ds, realBase+rxOutOfs, ofs);
860 WORD ofs; local 895 WORD ofs = *(WORD*) (realBase+rxOutOfs); local 926 WORD ofs; local 1247 unsigned sel, ofs; local [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | win32_io.c | 1018 int old_ofs, ofs; local 1021 old_ofs = ofs = old_pos & (NTFS_BLOCK_SIZE - 1); 1022 to_read = (ofs + count + NTFS_BLOCK_SIZE - 1) & 1031 "ofs = %i, to_read = 0x%llx.\n", fd, b, 1032 (long long)count, (long long)old_pos, ofs, 1051 ofs + vol_to_read, alignedbuffer); 1055 if (br < ofs) { 1059 br -= ofs; 1061 ofs = fd->pos & (NTFS_BLOCK_SIZE - 1); 1074 if (i < ofs) 1203 int old_ofs, ofs; local [all...] |
H A D | runlist.h | 60 s64 ofs, const s64 pos, s64 count, void *b);
|
H A D | runlist.c | 1099 s64 bytes_read, to_read, ofs, total; local 1112 for (ofs = 0; rl->length && (ofs + (rl->length << 1114 ofs += (rl->length << vol->cluster_size_bits); 1116 ofs = pos - ofs; 1117 for (total = 0LL; count; rl++, ofs = 0) { 1125 vol->cluster_size_bits) - ofs); 1135 ofs); 1138 vol->cluster_size_bits) + ofs, to_rea 1185 ntfs_rl_pwrite(const ntfs_volume *vol, const runlist_element *rl, s64 ofs, const s64 pos, s64 count, void *b) argument [all...] |
H A D | compress.c | 565 s64 br, to_read, ofs, total, total2; local 642 ofs = pos & cb_size_mask; 673 to_read = min(count, cb_size - ofs); 675 ofs = 0; 694 to_read = min(count, cb_size - ofs); 695 ofs += vcn << vol->cluster_size_bits; 702 br = ntfs_attr_pread(na, ofs, to_read, b); 709 (long long)ofs); 728 ofs += br; 734 ofs [all...] |
H A D | attrib.c | 914 s64 br, to_read, ofs, total, total2, max_read, max_init; local 1049 ofs = pos - (rl->vcn << vol->cluster_size_bits); 1050 for (; count; rl++, ofs = 0) { 1062 ofs = pos + total - (rl->vcn << vol->cluster_size_bits); 1078 vol->cluster_size_bits) - ofs); 1088 ofs); 1090 ntfs_log_trace("Reading %lld bytes from vcn %lld, lcn %lld, ofs" 1092 (long long )rl->lcn, (long long)ofs); 1094 ofs, to_read, b); 1224 static int ntfs_attr_fill_hole(ntfs_attr *na, s64 count, s64 *ofs, argument 1762 s64 written, to_write, ofs, old_initialized_size, old_data_size; local 2309 s64 ofs; local [all...] |
H A D | device.c | 497 * @ofs: offset to test for validity 499 * Test if the offset @ofs is an existing location on the device described 504 static int ntfs_device_offset_valid(struct ntfs_device *dev, s64 ofs) argument 508 if (dev->d_ops->seek(dev, ofs, SEEK_SET) >= 0 &&
|
/haiku-fatelf/src/system/boot/platform/pxe_ia32/ |
H A D | network.cpp | 82 dprintf("PXE API entrypoint at %04x:%04x\n", fPxeData->EntryPointSP.seg, fPxeData->EntryPointSP.ofs);
90 cached_info.Buffer.ofs = 0;
99 char *buf = (char *)(cached_info.Buffer.seg * 16 + cached_info.Buffer.ofs);
277 undi_tx.DestAddr.ofs = OFS((char *)buffer + 16);
279 undi_tx.TBD.ofs = OFS(&undi_tbd);
283 undi_tbd.Xmit.ofs = OFS(buffer);
359 memcpy(buffer, (const void *)(undi_isr.Frame.seg * 16 + undi_isr.Frame.ofs), size);
478 readPacket.buffer.ofs = OFS(scratchBuffer);
|
H A D | pxe_undi.h | 37 uint16 ofs; member in struct:SEGOFF16
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/emuxki/ |
H A D | ac97.h | 96 uint8 ofs:4; member in struct:_ac97_source_info
|
/haiku-fatelf/src/bin/gdb/bfd/ |
H A D | elfxx-ia64.c | 164 bfd_size_type ofs; member in struct:elfNN_ia64_allocate_data 1176 data.ofs = 0; 1182 ia64_info->got_sec->size = data.ofs; 2501 dyn_i->got_offset = x->ofs; 2502 x->ofs += 8; 2506 dyn_i->tprel_offset = x->ofs; 2507 x->ofs += 8; 2513 dyn_i->dtpmod_offset = x->ofs; 2514 x->ofs += 8; 2523 ia64_info->self_dtpmod_offset = x->ofs; 2685 bfd_size_type ofs = x->ofs; local [all...] |
H A D | elf64-hppa.c | 957 bfd_size_type ofs; 1055 dyn_h->dlt_offset = x->ofs; 1056 x->ofs += DLT_ENTRY_SIZE; 1076 dyn_h->plt_offset = x->ofs; 1077 x->ofs += PLT_ENTRY_SIZE; 1102 dyn_h->stub_offset = x->ofs; 1103 x->ofs += sizeof (plt_stub); 1183 dyn_h->opd_offset = x->ofs; 1184 x->ofs += OPD_ENTRY_SIZE; 1674 data.ofs 956 bfd_size_type ofs; member in struct:elf64_hppa_allocate_data [all...] |
/haiku-fatelf/src/bin/pcmcia-cs/ |
H A D | dump_cis.c | 758 if (n + strlen(v1->str + v1->ofs[i]) + 4 > 72) { 765 printf("\"%s\"", v1->str + v1->ofs[i]); 766 n += strlen(v1->str + v1->ofs[i]) + 2; 979 u_int ofs; local 987 ofs = arg->tuple.CISOffset + arg->tuple.TupleLink; 988 if (ofs >= nb) return -1; 989 arg->tuple.TupleCode = buf[ofs++]; 990 arg->tuple.TupleDataLen = arg->tuple.TupleLink = buf[ofs++]; 991 arg->tuple.CISOffset = ofs; 992 memcpy(arg->tuple_parse.data, buf+ofs, ar [all...] |
H A D | pack_cis.c | 313 strcpy((char *)c, p->version_1.str+p->version_1.ofs[i]); 357 static int pack_mfc(u_int ofs, u_char *b) argument 372 b[4+i*5+j] = ((ofs+pos) >> (8*j)) & 0xff; 376 return ofs+pos;
|
/haiku-fatelf/src/bin/gdb/gdb/gdbserver/ |
H A D | server.c | 129 CORE_ADDR ofs; local 132 decode_m_packet (&own_buf[17], &ofs, &len); /* "OFS,LEN" */ 135 n = (*the_target->read_auxv) (ofs, data, len);
|
/haiku-fatelf/src/bin/gawk/ |
H A D | field.c | 136 NODE *ofs; local 144 ofs = force_string(OFS_node->var_value); 145 ofslen = ofs->stlen; 169 *cops++ = ofs->stptr[0]; 171 memcpy(cops, ofs->stptr, ofslen);
|
/haiku-fatelf/headers/os/drivers/pcmcia/ |
H A D | cistpl.h | 102 u_char ofs[CISTPL_MAX_ALTSTR_STRINGS]; member in struct:cistpl_altstr_t 143 u_char ofs[CISTPL_VERS_1_MAX_PROD_STRINGS]; member in struct:cistpl_vers_1_t
|