/haiku/src/apps/cortex/addons/AudioAdapter/ |
H A D | AudioAdapterNode.h | 5 * Redistribution and use in source and binary forms, with or without 9 * 1. Redistributions of source code must retain the above copyright 68 virtual status_t Connected(const media_source& source, 73 virtual void Connect(status_t status, const media_source& source,
|
/haiku/src/kits/translation/ |
H A D | FuncTranslator.h | 25 status_t (*identify_hook)(BPositionIO* source, const translation_format* format, 28 status_t (*translate_hook)(BPositionIO* source, const translator_info* info,
|
H A D | BitmapStream.cpp | 76 void *source; local 80 source = (reinterpret_cast<uint8 *>(fBigEndianHeader)) + pos; 83 source = (reinterpret_cast<uint8 *>(fBitmap->Bits())) + pos - 89 memcpy(buffer, source, toRead); 251 // Swaps the byte order of source, no matter the byte order, and 254 BBitmapStream::SwapHeader(const TranslatorBitmap* source, argument 257 if (source == NULL || destination == NULL) 260 *destination = *source;
|
/haiku/headers/posix/sys/ |
H A D | select.h | 53 #define FD_COPY(source, target) (*(target) = *(source))
|
/haiku/headers/os/app/ |
H A D | MessageFilter.h | 48 message_source source, filter_hook func = NULL); 50 message_source source, uint32 what,
|
/haiku/src/apps/tv/ |
H A D | VideoView.cpp | 380 "Overlay restrictions: source horizontal_alignment %d\n", 381 restrict.source.horizontal_alignment); 382 printf("Overlay restrictions: source vertical_alignment %d\n", 383 restrict.source.vertical_alignment); 384 printf("Overlay restrictions: source width_alignment %d\n", 385 restrict.source.width_alignment); 386 printf("Overlay restrictions: source height_alignment %d\n", 387 restrict.source.height_alignment); 388 printf("Overlay restrictions: source min_width %d\n", 389 restrict.source [all...] |
/haiku/src/apps/mail/ |
H A D | QueryList.h | 25 virtual void EntryCreated(QueryList& source, 27 virtual void EntryRemoved(QueryList& source,
|
/haiku/src/tools/fs_shell/ |
H A D | kernel_export.cpp | 32 fssh_user_memcpy(void *dest, const void *source, fssh_size_t length) argument 34 memcpy(dest, source, length);
|
/haiku/src/kits/network/libnetapi/ |
H A D | NetworkRoute.cpp | 52 SET_ADDRESS(source, SetSource) 141 return fRouteEntry.source; 146 BNetworkRoute::SetSource(const sockaddr& source) argument 148 return _AllocateAndSetAddress(source, fRouteEntry.source); 155 _FreeAndUnsetAddress(fRouteEntry.source); 199 RETURN_FAMILY_IF_SET(source) 297 // Note that source is not provided in the buffer. 298 routeEntry.source = NULL;
|
/haiku/src/add-ons/kernel/network/protocols/ipv6/ |
H A D | ipv6_utils.h | 37 ipv6_checksum(const struct in6_addr* source, argument 47 sum += compute_wordsum((uint8*)source, sizeof(in6_addr));
|
/haiku/headers/os/interface/ |
H A D | IconUtils.h | 41 static status_t ConvertFromCMAP8(BBitmap* source, 43 static status_t ConvertToCMAP8(BBitmap* source,
|
/haiku/src/apps/mediaplayer/media_node_framework/audio/ |
H A D | AudioResampler.cpp | 83 AudioResampler::AudioResampler(AudioReader* source, float frameRate, argument 91 SetSource(source); 119 // calculate position and frames in the source data 196 AudioResampler::SetSource(AudioReader* source) argument 198 if (!source) { 199 TRACE("AudioResampler::SetSource() - NULL source\n"); 203 if (source->Format().type != B_MEDIA_RAW_AUDIO) { 210 if (source->Format().u.raw_audio.byte_order != hostByteOrder) { 217 fSource = source; 218 fFormat = source [all...] |
/haiku/src/kits/locale/ |
H A D | Language.cpp | 214 BLanguage::operator=(const BLanguage& source) argument 216 if (&source != this) { 219 fICULocale = source.fICULocale != NULL 220 ? source.fICULocale->clone() 222 fDirection = source.fDirection;
|
/haiku/src/tests/system/libroot/os/ |
H A D | DriverSettingsTest.cpp | 52 /** Concatenates the source string to the destination, writes 61 strlcat(char *dest, const char *source, size_t maxLength) argument 67 return destLength + strlen(source); 73 for (; i < maxLength - 1 && source[i]; i++) { 74 dest[i] = source[i]; 79 return destLength + i + strlen(source + i);
|
/haiku/src/tests/kits/media/mp3_reader_test/ |
H A D | main.cpp | 37 TRACE("main: opening source file...\n"); 39 BDataIO *source; local 41 source = new BFile(argc == 2 ? argv[1] : FILENAME, O_RDWR); 43 source = new FileDataIO(argc == 2 ? argv[1] : FILENAME, O_RDWR); 47 reader->Setup(source); 137 delete source;
|
/haiku/src/tests/kits/media/wav_reader_test/ |
H A D | main.cpp | 37 TRACE("main: opening source file...\n"); 39 BDataIO *source; local 41 source = new BFile(argc == 2 ? argv[1] : FILENAME, O_RDWR); 43 source = new FileDataIO(argc == 2 ? argv[1] : FILENAME, O_RDWR); 47 reader->Setup(source); 137 delete source;
|
/haiku/src/kits/media/ |
H A D | SoundPlayNode.cpp | 124 fOutput.source.port = ControlPort(); 125 fOutput.source.id = 0; 191 if (output != fOutput.source) { 217 SoundPlayNode::FormatChangeRequested(const media_source& source, argument 259 if (forSource != fOutput.source) { 314 if (what != fOutput.source) { 383 *_source = fOutput.source; 390 SoundPlayNode::Connect(status_t error, const media_source& source, argument 397 if (source != fOutput.source) { 546 AdditionalBufferRequested(const media_source& source, media_buffer_id previousBuffer, bigtime_t previousTime, const media_seek_tag* previousTag) argument 557 LatencyChanged(const media_source& source, const media_destination& destination, bigtime_t newLatency, uint32 flags) argument [all...] |
/haiku/src/kits/debugger/elf/ |
H A D | ElfSymbolLookup.cpp | 20 CachedSymbolLookupSource(ElfSymbolLookupSource* source) argument 22 fSource(source), 138 ElfSymbolLookupImpl(ElfSymbolLookupSource* source, uint64 symbolTable, argument 151 SetSource(source); 165 void SetSource(ElfSymbolLookupSource* source) argument 167 if (source == fSource) 173 fSource = source; 184 // Create a cached source, if requested. 326 ElfSymbolLookup::Create(ElfSymbolLookupSource* source, uint64 symbolTable, argument 334 lookup = new(std::nothrow) ElfSymbolLookupImpl<ElfClass64>(source, [all...] |
/haiku/src/kits/tracker/ |
H A D | IconCache.cpp | 281 BBitmap* source = (size == IconCache::sMiniIconSize) ? fMiniIcon : fLargeIcon; local 282 ASSERT(source != NULL); 284 return ConstructBitmap(source, requestedMode, kNormalIcon, size, 488 IconSource &source, IconDrawMode mode, BSize size, 497 if (source == kUnknownSource || source == kUnknownNotFromNode 498 || source == kPreferredAppForNode) { 509 source = kPreferredAppForNode; 515 if (source == kPreferredAppForNode) 516 source 487 GetIconFromFileTypes(ModelNodeLazyOpener* modelOpener, IconSource &source, IconDrawMode mode, BSize size, LazyBitmapAllocator* lazyBitmap, IconCacheEntry* entry) argument 576 GetVolumeIcon(AutoLock<SimpleIconCache>*nodeCacheLocker, AutoLock<SimpleIconCache>* sharedCacheLocker, AutoLock<SimpleIconCache>** resultingOpenCache, Model* model, IconSource &source, IconDrawMode mode, BSize size, LazyBitmapAllocator* lazyBitmap) argument 655 GetRootIcon(AutoLock<SimpleIconCache>*, AutoLock<SimpleIconCache>* sharedCacheLocker, AutoLock<SimpleIconCache>** resultingOpenCache, Model*, IconSource &source, IconDrawMode mode, BSize size, LazyBitmapAllocator* lazyBitmap) argument 671 GetWellKnownIcon(AutoLock<SimpleIconCache>*, AutoLock<SimpleIconCache>* sharedCacheLocker, AutoLock<SimpleIconCache>** resultingOpenCache, Model* model, IconSource &source, IconDrawMode mode, BSize size, LazyBitmapAllocator* lazyBitmap) argument 784 GetNodeIcon(ModelNodeLazyOpener* modelOpener, AutoLock<SimpleIconCache>* nodeCacheLocker, AutoLock<SimpleIconCache>** resultingOpenCache, Model* model, IconSource& source, IconDrawMode mode, BSize size, LazyBitmapAllocator* lazyBitmap, IconCacheEntry* entry, bool permanent) argument 849 GetGenericIcon(AutoLock<SimpleIconCache>* sharedCacheLocker, AutoLock<SimpleIconCache>** resultingOpenCache, Model* model, IconSource &source, IconDrawMode mode, BSize size, LazyBitmapAllocator* lazyBitmap, IconCacheEntry* entry) argument 930 IconSource source = model->IconFrom(); local 1312 MakeTransformedIcon(const BBitmap* source, BSize , int32 colorTransformTable[], LazyBitmapAllocator* lazyBitmap) argument [all...] |
/haiku/src/apps/cortex/addons/audioOps/ |
H A D | AudioAdapterOp.cpp | 5 * Redistribution and use in source and binary forms, with or without 9 * 1. Redistributions of source code must retain the above copyright 87 // - source and destination channel_count must be identical 88 // - source and destination must be host-endian 103 const AudioBuffer& source, 110 int32 inChannels = source.format().channel_count; 118 ((in_t*)source.data()) + (uint32)sourceFrame*inChannels; 157 // - source and destination channel_count must be identical 173 const AudioBuffer& source, 180 int32 inChannels = source 102 process( const AudioBuffer& source, AudioBuffer& destination, double& sourceFrame, uint32& destinationFrame, uint32 framesRequired, bigtime_t performanceTime) argument 172 process( const AudioBuffer& source, AudioBuffer& destination, double& sourceFrame, uint32& destinationFrame, uint32 framesRequired, bigtime_t performanceTime) argument 237 process( const AudioBuffer& source, AudioBuffer& destination, double& sourceFrame, uint32& destinationFrame, uint32 framesRequired, bigtime_t performanceTime) argument 296 process( const AudioBuffer& source, AudioBuffer& destination, double& sourceFrame, uint32& destinationFrame, uint32 framesRequired, bigtime_t performanceTime) argument 356 process( const AudioBuffer& source, AudioBuffer& destination, double& sourceFrame, uint32& destinationFrame, uint32 framesRequired, bigtime_t performanceTime) argument 419 process( const AudioBuffer& source, AudioBuffer& destination, double& sourceFrame, uint32& destinationFrame, uint32 framesRequired, bigtime_t performanceTime) argument [all...] |
/haiku/src/add-ons/kernel/network/stack/ |
H A D | net_buffer.cpp | 143 struct sockaddr_storage source; member in struct:net_buffer_private::__anon1 340 AppendCloned(net_buffer* buffer, net_buffer* source, uint32 offset, argument 344 fSource(source), 616 dump_address("source", buffer->source, buffer->interface_address); 723 check_buffer_contents(net_buffer* buffer, size_t offset, net_buffer* source, 730 if (read_data(source, sourceOffset, bufferData, size) == B_OK) { 733 panic("failed to read from source buffer %p, offset: %lu, size: %lu", 734 source, sourceOffset, size); 1024 \a to net_buffer. The source buffe 1029 net_buffer_private* source = (net_buffer_private*)from; local 1069 copy_metadata(net_buffer* destination, const net_buffer* source) argument 1948 net_buffer_private* source = (net_buffer_private*)_source; local 2147 net_buffer_private* source = (net_buffer_private*)_source; local [all...] |
/haiku/src/apps/debuganalyzer/gui/chart/ |
H A D | LineChartRenderer.cpp | 21 ChartDataSource* source; member in struct:LineChartRenderer::DataSourceInfo 28 DataSourceInfo(ChartDataSource* source, 37 LineChartRenderer::DataSourceInfo::DataSourceInfo(ChartDataSource* source, argument 40 source(source), 76 source->GetSamples(domain.min, domain.max, samples, sampleCount); 123 if (info->source == dataSource) {
|
/haiku/src/bin/bfs_tools/lib/ |
H A D | Inode.h | 67 const char* Path(Inode::Source* source = NULL); 69 Inode::Source* source = NULL); 88 status_t _FindPath(Inode::Source *source = NULL); 137 Inode::Source *source = NULL); 149 Inode::Source *source = NULL); 163 Inode::Source *source = NULL); 192 Inode::Source *source = NULL);
|
/haiku/src/add-ons/media/media-add-ons/vst_host/ |
H A D | VSTNode.cpp | 80 fInputMedia.source = media_source::null; 84 fOutputMedia.source.port = ControlPort(); 85 fOutputMedia.source.id = ID_AUDIO_OUTPUT; 177 status_t err = SendBuffer(buffer, fOutputMedia.source, 244 VSTNode::Connected(const media_source& source, argument 251 if (fInputMedia.source != media_source::null) 254 fInputMedia.source = source; 265 if(fInputMedia.source!=src || dst!=fInputMedia.destination) 268 fInputMedia.source [all...] |
/haiku/src/add-ons/media/media-add-ons/equalizer/ |
H A D | EqualizerNode.cpp | 82 fInputMedia.source = media_source::null; 86 fOutputMedia.source.port = ControlPort(); 87 fOutputMedia.source.id = ID_AUDIO_OUTPUT; 164 status_t err = SendBuffer(buffer, fOutputMedia.source, 238 EqualizerNode::Connected(const media_source& source, argument 245 if (fInputMedia.source != media_source::null) 248 fInputMedia.source = source; 261 if (fInputMedia.source != src || dst != fInputMedia.destination) 264 fInputMedia.source [all...] |