Home
last modified time | relevance | path

Searched refs:fHeader (Results 1 – 25 of 44) sorted by relevance

12

/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DItem.cpp49 fHeader(NULL) in Item()
56 fHeader(NULL) in Item()
64 fHeader(NULL) in Item()
83 fHeader = const_cast<ItemHeader*>(header); in SetTo()
112 fHeader = NULL; in Unset()
126 return fHeader; in GetHeader()
133 return (fHeader - fNode->GetItemHeaders()); in GetIndex()
140 return (uint8*)fNode->GetData() + fHeader->GetLocation(); in GetData()
147 return fHeader->GetLen(); in GetLen()
154 return fHeader->GetType(); in GetType()
[all …]
/haiku/src/kits/translation/
H A DBitmapStream.cpp38 fHeader.magic = B_TRANSLATOR_BITMAP; in BBitmapStream()
39 fHeader.bounds = fBitmap->Bounds(); in BBitmapStream()
40 fHeader.rowBytes = fBitmap->BytesPerRow(); in BBitmapStream()
41 fHeader.colors = fBitmap->ColorSpace(); in BBitmapStream()
42 fHeader.dataSize = static_cast<uint32> in BBitmapStream()
43 ((fHeader.bounds.Height() + 1) * fHeader.rowBytes); in BBitmapStream()
44 fSize = sizeof(TranslatorBitmap) + fHeader.dataSize; in BBitmapStream()
47 *fBigEndianHeader = fHeader; in BBitmapStream()
49 SwapHeader(&fHeader, fBigEndianHeader); in BBitmapStream()
111 dest = (reinterpret_cast<uint8 *> (&fHeader)) + pos; in WriteAt()
[all …]
/haiku/src/add-ons/kernel/partitioning_systems/gpt/
H A DHeader.cpp62 &fHeader, sizeof(gpt_table_header)); in Header()
64 if (!_IsHeaderValid(fHeader, EFI_HEADER_LOCATION)) in Header()
68 if (fStatus == B_OK && lastBlock != fHeader.AlternateBlock()) { in Header()
70 B_PRIu64 ")\n", fHeader.AlternateBlock(), lastBlock); in Header()
71 lastBlock = fHeader.AlternateBlock(); in Header()
88 fHeader = fBackupHeader; in Header()
89 fHeader.SetAbsoluteBlock(EFI_HEADER_LOCATION); in Header()
90 fHeader.SetEntriesBlock(EFI_PARTITION_ENTRIES_BLOCK); in Header()
91 fHeader.SetAlternateBlock(lastBlock); in Header()
108 fStatus = _Read(fd, fHeader.EntriesBlock() * blockSize, in Header()
[all …]
H A DHeader.h31 { return fHeader.FirstUsableBlock(); } in FirstUsableBlock()
33 { return fHeader.LastUsableBlock(); } in LastUsableBlock()
35 { return fHeader; } in TableHeader()
38 { return fHeader.EntryCount(); } in EntryCount()
41 + fHeader.EntrySize() * index); } in EntryAt()
65 { return fHeader.EntrySize() in _EntryArraySize()
66 * fHeader.EntryCount(); } in _EntryArraySize()
75 gpt_table_header fHeader; variable
/haiku/src/build/libbe/app/
H A DMessage.cpp44 find_thread(NULL), this, fHeader, fFields, fData, what, (char *)&what, \
116 fHeader->what = what = _what; in BMessage()
145 fHeader = (message_header *)malloc(sizeof(message_header)); in operator =()
146 if (fHeader == NULL) in operator =()
149 memcpy(fHeader, other.fHeader, sizeof(message_header)); in operator =()
153 fHeader->flags &= ~(MESSAGE_FLAG_REPLY_REQUIRED | MESSAGE_FLAG_REPLY_DONE in operator =()
158 if (fHeader->field_count > 0) { in operator =()
159 size_t fieldsSize = fHeader->field_count * sizeof(field_header); in operator =()
162 fHeader->field_count = 0; in operator =()
163 fHeader->data_size = 0; in operator =()
[all …]
/haiku/src/kits/app/
H A DMessage.cpp46 find_thread(NULL), this, fHeader, fFields, fData, what, (char*)&what, \
167 fHeader->what = _what; in BMessage()
197 fHeader = (message_header*)malloc(sizeof(message_header)); in operator =()
198 if (fHeader == NULL) in operator =()
201 if (other.fHeader == NULL) in operator =()
204 memcpy(fHeader, other.fHeader, sizeof(message_header)); in operator =()
208 fHeader->flags &= ~(MESSAGE_FLAG_REPLY_REQUIRED | MESSAGE_FLAG_REPLY_DONE in operator =()
213 if (fHeader->field_count > 0) { in operator =()
214 size_t fieldsSize = fHeader->field_count * sizeof(field_header); in operator =()
219 fHeader->field_count = 0; in operator =()
[all …]
/haiku/headers/build/private/app/
H A DMessagePrivate.h102 fMessage->fHeader->target = token; in SetTarget()
109 fMessage->fHeader->reply_port = messengerPrivate.Port(); in SetReply()
110 fMessage->fHeader->reply_target = messengerPrivate.Token(); in SetReply()
111 fMessage->fHeader->reply_team = messengerPrivate.Team(); in SetReply()
117 fMessage->fHeader->reply_port = port; in SetReply()
118 fMessage->fHeader->reply_target = target; in SetReply()
119 fMessage->fHeader->reply_team = team; in SetReply()
125 return fMessage->fHeader->target; in GetTarget()
131 return fMessage->fHeader->target == B_PREFERRED_TOKEN; in UsePreferredTarget()
138 fMessage->fHeader->flags |= MESSAGE_FLAG_WAS_DROPPED; in SetWasDropped()
[all …]
/haiku/src/tools/elfsymbolpatcher/
H A DElfFile.cpp67 bool IsInitialized() const { return fHeader; } in IsInitialized()
70 Elf_Shdr* GetHeader() const { return fHeader; } in GetHeader()
87 Elf_Shdr* fHeader; member in SymbolPatcher::ElfSection
94 fHeader(NULL), in ElfSection()
111 fHeader = header; in SetTo()
120 fHeader = NULL; in Unset()
135 if (fHeader && fFile) { in GetName()
138 if (nameSection && fHeader->sh_name < size) in GetName()
139 name = nameSection + fHeader->sh_name; in GetName()
148 return fHeader->sh_size; in GetSize()
[all …]
/haiku/headers/private/app/
H A DMessagePrivate.h102 fMessage->fHeader->target = token; in SetTarget()
109 fMessage->fHeader->reply_port = messengerPrivate.Port(); in SetReply()
110 fMessage->fHeader->reply_target = messengerPrivate.Token(); in SetReply()
111 fMessage->fHeader->reply_team = messengerPrivate.Team(); in SetReply()
117 fMessage->fHeader->reply_port = port; in SetReply()
118 fMessage->fHeader->reply_target = target; in SetReply()
119 fMessage->fHeader->reply_team = team; in SetReply()
125 return fMessage->fHeader->target; in GetTarget()
131 return fMessage->fHeader->target == B_PREFERRED_TOKEN; in UsePreferredTarget()
138 fMessage->fHeader->flags |= MESSAGE_FLAG_WAS_DROPPED; in SetWasDropped()
[all …]
/haiku/src/system/kernel/messaging/
H A DMessagingService.cpp60 area->fID = create_area("messaging", (void**)&area->fHeader, in Create()
82 fHeader->lock_counter = 1; // create locked in InitHeader()
83 fHeader->size = fSize; in InitHeader()
84 fHeader->kernel_area = fID; in InitHeader()
85 fHeader->next_kernel_area = (fNextArea ? fNextArea->ID() : -1); in InitHeader()
86 fHeader->command_count = 0; in InitHeader()
87 fHeader->first_command = 0; in InitHeader()
88 fHeader->last_command = 0; in InitHeader()
106 if (atomic_add(&fHeader->lock_counter, 1) == 0) in Lock()
116 if (atomic_add(&fHeader->lock_counter, -1) > 1) in Unlock()
[all …]
/haiku/src/servers/registrar/
H A DMessagingService.cpp56 area_id areaID = clone_area("messaging", (void**)&area->fHeader, in Create()
65 area->fSize = area->fHeader->size; in Create()
79 if (atomic_add(&fHeader->lock_counter, 1) == 0) in Lock()
89 if (atomic_add(&fHeader->lock_counter, -1) > 1) in Unlock()
111 return fHeader->command_count; in CountCommands()
118 if (fHeader->command_count == 0) in PopCommand()
123 = (messaging_command*)((char*)fHeader + fHeader->first_command); in PopCommand()
127 if (--fHeader->command_count == 0) in PopCommand()
128 fHeader->first_command = fHeader->last_command = 0; in PopCommand()
130 fHeader->first_command = command->next_command; in PopCommand()
[all …]
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DShortDirectory.cpp15 fHeader = (ShortFormHeader*)(DIR_DFORK_PTR(fInode->Buffer(), fInode->CoreInodeSize())); in ShortDirectory()
36 return (ShortFormEntry*) ((char*) fHeader + HeaderSize()); in FirstEntry()
43 if (fHeader->i8count) in HeaderSize()
53 if (fHeader->i8count) in GetIno()
76 + (fHeader->i8count ? sizeof(uint64) : sizeof(uint32)); in EntrySize()
92 *ino = GetIno(&fHeader->parent); in Lookup()
102 for (int i = 0; i < fHeader->count; i++) { in Lookup()
136 *ino = GetIno(&fHeader->parent); in GetNext()
146 for (int i = 0; i < fHeader->count; i++) { in GetNext()
H A DShortAttribute.cpp15 fHeader = (AShortFormHeader*)(DIR_AFORK_PTR(fInode->Buffer(), in ShortAttribute()
37 return (AShortFormEntry*) ((char*) fHeader + sizeof(AShortFormHeader)); in _FirstEntry()
113 char* ptrToOffset = (char*) fHeader + sizeof(AShortFormHeader) in Read()
131 for (int i = 0; i < fHeader->count; i++) { in GetNext()
161 for (int i = 0; i < fHeader->count; i++) { in Lookup()
178 fHeader->totsize = B_BENDIAN_TO_HOST_INT16(fHeader->totsize); in SwapEndian()
H A DShortAttribute.h50 AShortFormHeader* fHeader; variable
/haiku/src/bin/bfs_tools/lib/
H A DBPlusTree.cpp76 fHeader(NULL), in BPlusTree()
87 fHeader(NULL), in BPlusTree()
98 fHeader(NULL), in BPlusTree()
119 if (fHeader) in Initialize()
120 free(fHeader); in Initialize()
125 fHeader = (bplustree_header *)malloc(fNodeSize); in Initialize()
126 memset(fHeader,0,fNodeSize); in Initialize()
142 fHeader->magic = BPLUSTREE_MAGIC; in SetTo()
143 fHeader->node_size = fNodeSize; in SetTo()
144 fHeader->max_number_of_levels = 1; in SetTo()
[all …]
H A DBPlusTree.h117 int32 Type() const { return fHeader->data_type; } in Type()
169 bplustree_header *fHeader; variable
202 if (fHeader->data_type != BPLUSTREE_STRING_TYPE) in Insert()
209 if (fHeader->data_type != BPLUSTREE_INT32_TYPE) in Insert()
216 if (fHeader->data_type != BPLUSTREE_UINT32_TYPE) in Insert()
223 if (fHeader->data_type != BPLUSTREE_INT64_TYPE) in Insert()
230 if (fHeader->data_type != BPLUSTREE_UINT64_TYPE) in Insert()
237 if (fHeader->data_type != BPLUSTREE_FLOAT_TYPE) in Insert()
244 if (fHeader->data_type != BPLUSTREE_DOUBLE_TYPE) in Insert()
/haiku/headers/private/bluetooth/
H A DCommandManager.h32 fHeader = (struct hci_command_header*) fBuffer; in BluetoothCommand()
35 fContent = (Type*)(fHeader + 1); in BluetoothCommand()
38 fContent = (Type*)fHeader; in BluetoothCommand()
40 fHeader->opcode = B_HOST_TO_LENDIAN_INT16(PACK_OPCODE(ogf, ocf)); in BluetoothCommand()
41 fHeader->clen = paramSize; in BluetoothCommand()
64 struct hci_command_header* fHeader; variable
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DAVCodecDecoder.cpp85 fHeader(), in AVCodecDecoder()
540 = fHeader.u.raw_video.first_active_line; in _NegotiateVideoOutputFormat()
541 inOutFormat->u.raw_video.last_active = fHeader.u.raw_video.line_count; in _NegotiateVideoOutputFormat()
543 = fHeader.u.raw_video.pixel_width_aspect; in _NegotiateVideoOutputFormat()
545 = fHeader.u.raw_video.pixel_height_aspect; in _NegotiateVideoOutputFormat()
574 = fHeader.u.raw_video.display_line_width; in _NegotiateVideoOutputFormat()
576 = fHeader.u.raw_video.display_line_count; in _NegotiateVideoOutputFormat()
578 = fHeader.u.raw_video.bytes_per_row; in _NegotiateVideoOutputFormat()
623 *mediaHeader = fHeader; in _DecodeAudio()
660 *mediaHeader = fHeader; in _DecodeVideo()
[all …]
/haiku/src/kits/debugger/value/value_nodes/
H A DBMessageValueNode.cpp113 fHeader(NULL), in BMessageValueNode()
128 delete fHeader; in ~BMessageValueNode()
248 fHeader = new(std::nothrow) BMessage::message_header(); in ResolvedLocationAndValue()
249 if (fHeader == NULL) in ResolvedLocationAndValue()
252 BMessage::message_header), fHeader); in ResolvedLocationAndValue()
258 if (fHeader->format != MESSAGE_FORMAT_HAIKU in ResolvedLocationAndValue()
259 || (fHeader->flags & MESSAGE_FLAG_VALID) == 0) in ResolvedLocationAndValue()
263 what.SetTo(fHeader->what); in ResolvedLocationAndValue()
265 fHeader->what = what.ToUInt32(); in ResolvedLocationAndValue()
270 size_t fieldsSize = fHeader->field_count * sizeof( in ResolvedLocationAndValue()
[all …]
/haiku/src/tests/kits/interface/flatten_picture/
H A DPictureTestWindow.cpp66 fHeader = new BStringView(b, "header", in BuildGUI()
69 fHeader->GetPreferredSize(&width, &height); in BuildGUI()
70 fHeader->ResizeTo(b.Width(), height); in BuildGUI()
71 backdrop->AddChild(fHeader); in BuildGUI()
72 b.top = fHeader->Frame().bottom + 1; in BuildGUI()
89 fHeader->SetText(text.String()); in UpdateHeader()
H A DPictureTestWindow.h41 BStringView *fHeader; variable
/haiku/src/system/kernel/debug/
H A Dsystem_profiler.cpp187 system_profiler_buffer_header* fHeader; member in SystemProfiler
265 fHeader(NULL), in SystemProfiler()
366 unlock_memory(fHeader, fAreaSize, B_READ_DEVICE); in ~SystemProfiler()
393 fHeader = (system_profiler_buffer_header*)areaBase; in Init()
394 fBufferBase = (uint8*)(fHeader + 1); in Init()
396 fHeader->start = 0; in Init()
397 fHeader->size = 0; in Init()
567 fHeader->size = fBufferSize; in NextBuffer()
568 fHeader->start = fBufferStart; in NextBuffer()
768 fHeader->size = fBufferSize; in ThreadEnqueuedInRunQueue()
[all …]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBPlusTree.cpp135 fMaxLevels(tree->fHeader.MaxNumberOfLevels()), in TreeCheck()
141 sizeof(off_t) * tree->fHeader.MaxNumberOfLevels()); in TreeCheck()
276 memcpy(&fTree->fHeader, fNode, sizeof(bplustree_header)); in Unset()
310 if (offset > fTree->fHeader.MaximumSize() - fTree->fNodeSize in SetTo()
318 if (!fTree->fHeader.CheckNode(fNode)) { in SetTo()
345 if (offset > fTree->fHeader.MaximumSize() - fTree->fNodeSize in SetToWritable()
352 if (!fTree->fHeader.CheckNode(fNode)) { in SetToWritable()
534 if (SetToWritable(transaction, fTree->fHeader.FreeNode(), false) != NULL) { in Allocate()
680 cached.SetToWritable(transaction, fHeader.RootNode(), false); in SetTo()
704 memcpy(&fHeader, header, sizeof(bplustree_header)); in SetTo()
[all …]
H A DBPlusTree.h379 bplustree_header fHeader; variable
450 if (fHeader.DataType() != BPLUSTREE_STRING_TYPE) in Remove()
459 if (fHeader.DataType() != BPLUSTREE_STRING_TYPE) in Insert()
468 if (fHeader.DataType() != BPLUSTREE_INT32_TYPE) in Insert()
477 if (fHeader.DataType() != BPLUSTREE_UINT32_TYPE) in Insert()
486 if (fHeader.DataType() != BPLUSTREE_INT64_TYPE) in Insert()
495 if (fHeader.DataType() != BPLUSTREE_UINT64_TYPE) in Insert()
504 if (fHeader.DataType() != BPLUSTREE_FLOAT_TYPE) in Insert()
513 if (fHeader.DataType() != BPLUSTREE_DOUBLE_TYPE) in Insert()
/haiku/src/system/boot/loader/file_systems/tarfs/
H A Dtarfs.cpp98 tar_header* fHeader; member in TarFS::File
159 const char* LinkPath() const { return fHeader->linkname; } in LinkPath()
164 tar_header* fHeader; member in TarFS::Symlink
254 fHeader(header) in File()
281 memcpy(buffer, (char*)fHeader + BLOCK_SIZE + pos, toRead); in ReadAt()
553 fHeader(header) in Symlink()
584 const char* path = fHeader->linkname; in ReadLink()

12