Searched refs:header (Results 151 - 175 of 256) sorted by last modified time

1234567891011

/haiku/src/add-ons/kernel/file_systems/cdda/
H A Dcdda.cpp593 scsi_toc_general *header = (scsi_toc_general *)buffer; local
595 uint32 packLength = B_BENDIAN_TO_HOST_INT16(header->data_length) - 2;
596 cdtext_pack_data *pack = (cdtext_pack_data *)(header + 1);
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DItem.cpp27 \brief Represents the on-disk structure for an item header.
62 Item::Item(LeafNode *node, const ItemHeader *header) argument
66 SetTo(node, header);
77 Item::SetTo(LeafNode *node, const ItemHeader *header) argument
80 status_t error = (node && header ? B_OK : B_BAD_VALUE);
83 fHeader = const_cast<ItemHeader*>(header);
H A DBlock.cpp385 const ItemHeader *header = NULL; local
387 header = GetItemHeaders() + index;
388 return header;
397 if (const ItemHeader *header = ItemHeaderAt(0))
398 header->GetKey(k);
411 if (const ItemHeader *header = ItemHeaderAt(CountItems() - 1))
412 header->GetKey(k);
/haiku/src/apps/softwareupdater/
H A DSoftwareUpdaterWindow.h152 void UpdatesApplying(const char* header,
167 void FinalUpdate(const char* header,
/haiku/src/kits/media/
H A DMediaTrack.cpp349 char* _buffer, int64* _frameCount, media_header* header)
351 return self->ReadFrames(_buffer, _frameCount, header, 0);
357 BMediaTrack::ReadFrames(void* buffer, int64* _frameCount, media_header* header) argument
359 return ReadFrames(buffer, _frameCount, header, NULL);
375 media_header header;
377 _header = &header;
379 // Always clear the header first, as the decoder may not set all fields.
420 const media_header* header)
593 media_header header;
595 _header = &header;
348 ReadFrames__11BMediaTrackPcPxP12media_header(BMediaTrack* self, char* _buffer, int64* _frameCount, media_header* header) argument
419 ReplaceFrames(const void* inBuffer, int64* _frameCount, const media_header* header) argument
1102 GetNextChunk(const void** chunkBuffer, size_t* chunkSize, media_header* header) argument
[all...]
H A DChunkCache.cpp138 &chunk->header);
H A DChunkCache.h28 media_header header; member in struct:BPrivate::media::chunk_buffer
H A DBufferProducer.cpp439 command.header = *buffer->Header();
440 command.header.buffer = command.buffer;
441 command.header.source_port = source.port;
442 command.header.source = source.id;
443 command.header.destination = destination.id;
444 command.header.owner = 0; // XXX fill with "buffer owner info area"
445 command.header.start_time += fDelay;
448 //printf("BBufferProducer::SendBuffer node %2ld, buffer %2ld, start_time %12Ld with lateness %6Ld\n", ID(), buffer->Header()->buffer, command.header.start_time, TimeSource()->Now() - command.header.start_time);
/haiku/headers/os/media/
H A DMediaTrack.h116 media_header* header = NULL);
119 media_header* header,
124 const media_header* header);
/haiku/src/libs/compat/freebsd_network/tools/
H A Dusbdevs2h.awk43 function header(file) function
242 header(dfile)
244 header(hfile)
/haiku/src/add-ons/kernel/network/datalink_protocols/ethernet_frame/
H A Dethernet_frame.cpp45 ether_header& header = bufferHeader.Data();
46 uint16 type = B_BENDIAN_TO_HOST_INT16(header.type);
55 source.sdl_e_type = header.type;
58 memcpy(source.sdl_data, header.source, ETHER_ADDRESS_LENGTH);
64 destination.sdl_e_type = header.type;
67 memcpy(destination.sdl_data, header.destination, ETHER_ADDRESS_LENGTH);
70 if (!memcmp(header.destination, kBroadcastAddress, ETHER_ADDRESS_LENGTH))
72 else if ((header.destination[0] & 0x01) != 0)
153 ether_header &header = bufferHeader.Data();
155 header
[all...]
/haiku/src/kits/translation/
H A DTranslationUtils.cpp354 // make sure there is enough data to fill the stream header
359 // copy the stream header from the mallio buffer
360 TranslatorStyledTextStreamHeader header =
363 // convert the stm_header.header struct to the host format
365 swap_data(B_UINT32_TYPE, &header.header, kRecordHeaderSize, B_SWAP_BENDIAN_TO_HOST);
366 swap_data(B_INT32_TYPE, &header.version, sizeof(int32), B_SWAP_BENDIAN_TO_HOST);
368 if (header.header.magic != 'STXT')
371 // copy the text header fro
[all...]
/haiku/src/add-ons/mail_daemon/outbound_protocols/smtp/
H A DSMTP.cpp455 BMessage header;
456 file >> header; local
458 const char *from = header.FindString("MAIL:from");
459 const char *to = header.FindString("MAIL:recipients");
461 to = header.FindString("MAIL:to");
/haiku/src/kits/media/legacy/
H A DOldAudioModule.cpp259 BDACRenderer::_WriteDAC(void *arg, char *buf, uint32 bytes, void *header) argument
268 BDACRenderer::WriteDAC(short *buf, int32 frames, audio_buffer_header *header) argument
419 BADCSource::_ReadADC(void *arg, char *buf, uint32 bytes, void *header) argument
428 BADCSource::ReadADC(short *buf, int32 frames, audio_buffer_header *header) argument
/haiku/headers/private/package/hpkg/
H A DRepositoryWriterImpl.h55 status_t _WriteRepositoryInfo(hpkg_repo_header& header,
58 hpkg_repo_header& header, uint64& _length);
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_mci.c1184 static void ar9300_mci_queue_unsent_gpm(struct ath_hal *ah, u_int8_t header, argument
1194 header,
1200 "(MCI) ERROR: Send fail: %02x\n", header);
1204 if (header == MCI_GPM) {
1282 HAL_BOOL ar9300_mci_send_message(struct ath_hal *ah, u_int8_t header, argument
1296 __func__, header, ahp->ah_chip_full_sleep);
1297 ar9300_mci_queue_unsent_gpm(ah, header, payload, AH_TRUE);
1303 __func__, header);
1304 ar9300_mci_queue_unsent_gpm(ah, header, payload, AH_TRUE);
1321 ar9300_mci_print_msg(ah, AH_TRUE, header, le
[all...]
/haiku/src/kits/package/hpkg/
H A DRepositoryWriterImpl.cpp279 hpkg_repo_header header; local
283 status_t result = _WriteRepositoryInfo(header, infoLength);
289 _WritePackageAttributes(header, packagesLength);
298 header.heap_compression = B_HOST_TO_BENDIAN_INT16(
300 header.heap_chunk_size = B_HOST_TO_BENDIAN_INT32(fHeapWriter->ChunkSize());
301 header.heap_size_compressed = B_HOST_TO_BENDIAN_INT64(compressedHeapSize);
302 header.heap_size_uncompressed = B_HOST_TO_BENDIAN_INT64(
305 fListener->OnRepositoryDone(sizeof(header), infoLength,
309 // update the general header info and write the header
442 _WriteRepositoryInfo(hpkg_repo_header& header, uint64& _length) argument
474 _WritePackageAttributes(hpkg_repo_header& header, uint64& _length) argument
[all...]
/haiku/docs/develop/kits/storage/resources/
H A DResourcesFormat.tex82 PPC resource files begin with a PEF container header, after which the
129 will not cause any modification to its data (i.e. ELF header, program header
130 table, section header table or sections), but will enlarge the file by some
136 supposed to be the maximum of the end offsets of ELF header, program header
137 table (if any), section header table (if any), sections and segments.
172 its header.
175 even if they differ only in the format of the header (see section
178 first field of the resources header (\cod
[all...]
/haiku/src/system/boot/loader/net/
H A DUDP.cpp316 const udp_header *header = (const udp_header*)data; local
317 uint16 source = ntohs(header->source);
318 uint16 destination = ntohs(header->destination);
319 uint16 length = ntohs(header->length);
321 // check the header
323 || (header->checksum != 0 // 0 => checksum disabled
363 // prepend the UDP header
364 udp_header header;
365 ChainBuffer headerBuffer(&header, sizeof(header), buffe
426 pseudo_header header = { local
[all...]
/haiku/src/kits/debugger/elf/
H A DCoreFile.cpp345 WARNING("Remaining bytes in notes segment too short for header\n");
349 const Nhdr* header = (const Nhdr*)notes; local
350 uint32 nameSize = Get(header->n_namesz);
351 uint32 dataSize = Get(header->n_descsz);
352 uint32 type = Get(header->n_type);
/haiku/src/bin/bfs_tools/lib/
H A Ddump.h27 extern void dump_bplustree_header(const bplustree_header* header);
29 const bplustree_header* header, Disk* disk = NULL);
H A DBPlusTree.cpp141 // initialize b+tree header
158 bplustree_header header; local
159 ssize_t read = stream->ReadAt(0,&header,sizeof(bplustree_header));
163 // is header valid?
169 //dump_bplustree_header(&header);
171 if (header.magic != BPLUSTREE_MAGIC
172 || header.maximum_size != size
173 || (header.root_node_pointer % header.node_size) != 0
174 || !header
[all...]
/haiku/src/bin/bfs_tools/
H A Dbfsinfo.cpp40 bplustree_header *header = (bplustree_header *)buffer; local
41 int32 nodeSize = header->node_size;
43 dump_bplustree_header(header);
50 dump_bplustree_node(node, header, &disk);
54 dump_block((char *)node, header->node_size, 0);
/haiku/src/add-ons/kernel/network/ppp/pppoe/
H A Dpppoe.cpp170 pppoe_header &header = bufferheader.Data();
173 if (header.code == PADI) {
179 if (header.code == PADO || header.code == PADR || header.code == PADS || header.code == PADT)
184 const char *str = header.code == PADI ? "PADI" :
185 header.code == PADO ? "PADO" :
186 header.code == PADR ? "PADR" :
187 header
[all...]
H A DDiscoveryPacket.cpp29 pppoe_header &header = bufferheader.Data(); local
31 SetCode(header.code);
33 uint16 length = ntohs(header.length);
49 tag = (pppoe_tag*) (header.data + position);
137 pppoe_header *header ; local
138 status_t status = gBufferModule->append_size(packet, 1492, (void **)&header);
144 header->version = PPPoE_VERSION;
145 header->type = PPPoE_TYPE;
146 header->code = Code();
147 header
[all...]

Completed in 329 milliseconds

1234567891011