Searched refs:writer (Results 1 - 25 of 44) sorted by last modified time

12

/haiku/src/add-ons/kernel/drivers/input/usb_hid/
H A DQuirkyDevices.cpp36 sixaxis_build_descriptor(HIDWriter &writer) argument
38 writer.BeginCollection(COLLECTION_APPLICATION,
46 writer.SetReportID(1);
49 writer.DefineInputPadding(1, 8);
52 writer.DefineInputData(19, 1, converter.main_data, 0, 1,
56 writer.DefineInputPadding(13, 1);
59 writer.DefineInputData(1, 8, converter.main_data, 0, 255,
61 writer.DefineInputData(1, 8, converter.main_data, 0, 255,
65 writer.DefineInputData(1, 8, converter.main_data, 0, 255,
67 writer
93 elecom_build_descriptor(HIDWriter &writer) argument
209 xbox360_build_descriptor(HIDWriter &writer) argument
[all...]
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DAVFormatWriter.cpp620 AVFormatWriter* writer = reinterpret_cast<AVFormatWriter*>(cookie); local
622 ssize_t written = writer->fTarget->Write(buffer, bufferSize);
636 AVFormatWriter* writer = reinterpret_cast<AVFormatWriter*>(cookie); local
638 BMediaIO* mediaIO = dynamic_cast<BMediaIO*>(writer->fTarget);
/haiku/src/kits/shared/
H A DJson.cpp280 BJsonMessageWriter* writer = new BJsonMessageWriter(message); local
281 ObjectDeleter<BJsonMessageWriter> writerDeleter(writer);
283 Parse(input, writer);
284 status_t result = writer->ErrorStatus();
/haiku/src/apps/haikudepot/server/
H A DJwtTokenHelper.cpp60 BJsonMessageWriter writer(message);
61 BJson::Parse(&base64DecodingIo, &writer);
63 return writer.ErrorStatus();
/haiku/src/system/kernel/debug/
H A Dcore_dump.cpp1253 void _WriteTeamNote(Writer& writer) argument
1260 writer.Write((uint32)sizeof(note));
1261 writer.Write(note);
1265 writer.Write(args, strlen(args) + 1);
1288 void _WriteFilesNote(Writer& writer) argument
1291 writer.Write(fMappedFilesCount);
1292 writer.Write((size_t)B_PAGE_SIZE);
1301 writer.Write(areaInfo->Base());
1302 writer.Write(areaInfo->Base() + areaInfo->Size());
1303 writer
1338 _WriteAreasNote(Writer& writer) argument
1386 _WriteImagesNote(Writer& writer) argument
1460 _WriteImageSymbolsNote(const ImageInfo* imageInfo, Writer& writer) argument
1494 _WriteThreadsNote(Writer& writer) argument
[all...]
/haiku/src/add-ons/print/drivers/pcl6/
H A DPCL6.cpp35 PCL6Writer* writer)
38 fWriter(writer)
34 DeltaRowStreamCompressor(int rowSize, uchar initialSeed, PCL6Writer* writer) argument
/haiku/src/system/kernel/locks/
H A Dlock.cpp40 bool writer; member in struct:rw_lock_waiter
293 rw_lock_wait(rw_lock* lock, bool writer, InterruptsSpinLocker& locker) argument
299 waiter.writer = writer;
328 // writer at head of queue?
329 if (waiter->writer) {
333 // dequeue writer
361 } while ((waiter = lock->waiters) != NULL && !waiter->writer);
512 // We might be the writer ourselves.
520 // The writer tha
[all...]
/haiku/src/system/libroot/posix/pthread/
H A Dpthread_rwlock.cpp27 Waiter(bool writer) argument
31 writer(writer),
39 bool writer; member in struct:Waiter
189 status_t _Wait(bool writer, uint32 flags, bigtime_t timeout) argument
197 Waiter waiter(writer);
202 if (writer)
216 if (writer)
232 // writer at head of queue?
233 if (waiter->writer) {
[all...]
/haiku/src/system/kernel/fs/
H A Dfifo.cpp186 void NotifyEndClosed(bool writer);
399 // interleaved with other writer's data.
551 // notify writer, if something can be written now
603 Inode::NotifyEndClosed(bool writer) argument
606 writer ? "writer" : "reader");
608 if (writer) {
609 // Our last writer has been closed; if the pipe
683 // TODO: This only works reliable if there is only one writer - we could
698 bool writer local
[all...]
/haiku/src/system/kernel/cache/
H A Dblock_cache.cpp1066 BlockWriter writer(cache);
1072 writer.Add(block);
1076 return writer.Write();
1181 // writer
1257 BlockWriter writer(cache);
1259 writer.Add(block);
1260 return writer.Write();
2604 BlockWriter writer(cache, 64);
2618 if (block->CanBeWritten() && !writer.Add(block)) {
2640 if (!writer
[all...]
/haiku/src/kits/media/
H A DPluginManager.cpp414 PluginManager::CreateWriter(Writer** writer, const media_file_format& mff, argument
424 printf("PluginManager::CreateWriter: can't get writer for file "
442 *writer = writerPlugin->NewWriter();
443 if (*writer == NULL) {
449 (*writer)->Setup(target);
450 (*writer)->fMediaPlugin = plugin;
458 PluginManager::DestroyWriter(Writer* writer) argument
460 if (writer != NULL) {
461 TRACE("PluginManager::DestroyWriter(%p (plugin: %p))\n", writer,
462 writer
[all...]
H A DAddOnManager.cpp372 WriterPlugin* writer = dynamic_cast<WriterPlugin*>(plugin); local
373 if (writer != NULL)
374 _RegisterWriter(writer, ref);
422 // Remove any formats from this writer
497 AddOnManager::_RegisterWriter(WriterPlugin* writer, const entry_ref& ref) argument
504 // we already know this writer
516 if (writer->GetSupportedFileFormats(&fileFormats, &count) != B_OK) {
H A DMediaTrack.cpp867 BMediaTrack::BMediaTrack(BPrivate::media::MediaWriter* writer, argument
877 fWriter = writer;
H A DMediaWriter.cpp24 MediaExtractorChunkWriter(MediaWriter* writer, int32 streamIndex) argument
26 fWriter(writer),
H A DMediaEncoder.cpp242 } *writer = new(std::nothrow) MediaEncoderChunkWriter(this); local
244 if (!writer)
247 fEncoder->SetChunkWriter(writer);
H A DEncoderPlugin.cpp93 Encoder::SetChunkWriter(ChunkWriter* writer) argument
96 fChunkWriter = writer;
H A DAddOnManager.h14 /*! Manager for codec add-ons (reader, writer, encoder, decoder)
75 void _RegisterWriter(WriterPlugin* writer,
/haiku/src/system/kernel/disk_device_manager/
H A DKPartition.cpp1276 KPartition::WriteUserData(UserDataWriter& writer, user_partition_data* data) argument
1279 char* name = writer.PlaceString(Name());
1280 char* contentName = writer.PlaceString(ContentName());
1281 char* type = writer.PlaceString(Type());
1282 char* contentType = writer.PlaceString(ContentType());
1283 char* parameters = writer.PlaceString(Parameters());
1284 char* contentParameters = writer.PlaceString(ContentParameters());
1307 writer.AddRelocationEntry(&data->name);
1308 writer.AddRelocationEntry(&data->content_name);
1309 writer
[all...]
H A DKDiskDevice.cpp323 KDiskDevice::WriteUserData(UserDataWriter& writer, user_partition_data* data) argument
325 KPartition::WriteUserData(writer, data);
330 KDiskDevice::WriteUserData(UserDataWriter& writer) argument
334 = writer.AllocateDeviceData(partition->CountChildren());
335 char* path = writer.PlaceString(Path());
339 writer.AddRelocationEntry(&data->path);
340 partition->WriteUserData(writer, &data->device_partition_data);
342 partition->WriteUserData(writer, NULL);
/haiku/headers/private/kernel/disk_device_manager/
H A DKPartition.h188 virtual void WriteUserData(UserDataWriter &writer,
/haiku/src/build/libbe/interface/
H A DBitmap.cpp1120 \param Writer The pixel writer class.
1122 the reader to the writer.
1137 \param _writer A writer object. The pointer to the data doesn't need to
1151 Writer writer(_writer);
1153 writer.SetTo((char*)outData + outOffset);
1163 && (const char*)writer.pixels <= outEnd) {
1167 while ((const char*)writer.pixels <= outRowEnd) {
1170 writer.Write(color);
1176 && (const char*)writer.pixels <= outRowEnd) {
1179 writer
[all...]
/haiku/src/add-ons/kernel/partitioning_systems/intel/
H A Dwrite_support.cpp995 PartitionMapWriter writer(fd, primary->BlockSize());
997 status_t error = writer.WriteMBR(map, false);
1172 PartitionMapWriter writer(fd, partition->block_size);
1174 error = writer.WriteMBR(map, false);
1231 PartitionMapWriter writer(fd, primary->BlockSize());
1233 status_t error = writer.WriteMBR(map, false);
1308 PartitionMapWriter writer(fd, primary->BlockSize());
1310 status_t error = writer.WriteMBR(map, false);
1350 PartitionMapWriter writer(fd, partition->block_size);
1352 status_t error = writer
[all...]
/haiku/src/add-ons/translators/webp/
H A DWebPTranslator.cpp294 picture.writer = _EncodedWriter;
/haiku/src/add-ons/kernel/partitioning_systems/gpt/
H A DHeader.cpp248 PartitionMapWriter writer(fd, fBlockSize);
249 writer.WriteMBR(&partitionMap, true);
/haiku/src/kits/package/hpkg/
H A DPackageFileHeapWriter.cpp51 ChunkBuffer(PackageFileHeapWriter* writer, size_t bufferSize) argument
53 fWriter(writer),

Completed in 150 milliseconds

12