/haiku/src/apps/soundrecorder/ |
H A D | DrawingTidbits.cpp | 5 * Inspired by SoundCapture from Be newsletter (Media Kit Basics: Consumers 50 ReplaceColor(BBitmap *bitmap, rgb_color from, rgb_color to) argument 56 uint32 fromIndex = screen.IndexForColor(from);
|
/haiku/headers/os/interface/ |
H A D | LayoutItem.h | 22 BLayoutItem(BMessage* from); 66 virtual status_t AllUnarchived(const BMessage* from);
|
H A D | ListView.h | 117 void Select(int32 from, int32 to, 138 bool MoveItem(int32 from, int32 to); 162 struct Move { int32 from; int32 to; } move; member in struct:BListView::MiscData::Move 178 bool _Select(int32 from, int32 to, bool extend); 189 bool _MoveItem(int32 from, int32 to); 191 void _RescanSelection(int32 from, int32 to);
|
/haiku/src/kits/interface/ |
H A D | SplitView.cpp | 27 BSplitView::BSplitView(BMessage* from) argument 29 BView(BUnarchiver::PrepareArchive(from)), 32 BUnarchiver(from).Finish(); 343 BSplitView::AllUnarchived(const BMessage* from) argument 345 status_t err = BView::AllUnarchived(from); 358 BSplitView::Instantiate(BMessage* from) argument 360 if (validate_instantiation(from, "BSplitView")) 361 return new BSplitView(from);
|
H A D | AbstractLayout.cpp | 278 BAbstractLayout::BAbstractLayout(BMessage* from) argument 280 BLayout(BUnarchiver::PrepareArchive(from)), 283 BUnarchiver(from).Finish(); 434 BAbstractLayout::AllUnarchived(const BMessage* from) argument 436 status_t err = fExplicitData->RestoreDataFromArchive(from); 440 return BLayout::AllUnarchived(from); 453 BAbstractLayout::ItemUnarchived(const BMessage* from, BLayoutItem* item, argument 456 return BLayout::ItemUnarchived(from, item, index);
|
H A D | Layout.cpp | 70 BLayout::BLayout(BMessage* from) argument 72 BLayoutItem(BUnarchiver::PrepareArchive(from)), 81 BUnarchiver unarchiver(from); 468 BLayout::AllUnarchived(const BMessage* from) argument 470 BUnarchiver unarchiver(from); 471 status_t err = BLayoutItem::AllUnarchived(from); 489 err = ItemUnarchived(from, item, i); 513 BLayout::ItemUnarchived(const BMessage* from, BLayoutItem* item, int32 index) argument 555 BLayout::DetachedFromLayout(BLayout* from) argument 558 from [all...] |
H A D | TextControl.cpp | 73 LabelLayoutItem(BMessage* from); 92 static BArchivable* Instantiate(BMessage* from); 103 TextViewLayoutItem(BMessage* from); 122 static BArchivable* Instantiate(BMessage* from); 287 BTextControl::AllUnarchived(const BMessage* from) argument 290 if ((err = BControl::AllUnarchived(from)) != B_OK) 293 _InitText(NULL, from); 295 BUnarchiver unarchiver(from); 1286 BTextControl::LabelLayoutItem::LabelLayoutItem(BMessage* from) argument 1288 BAbstractLayoutItem(from), 1394 Instantiate(BMessage* from) argument 1416 TextViewLayoutItem(BMessage* from) argument 1530 Instantiate(BMessage* from) argument [all...] |
H A D | SpaceLayoutItem.cpp | 230 BSpaceLayoutItem::Instantiate(BMessage* from) argument 232 if (validate_instantiation(from, "BSpaceLayoutItem")) 233 return new(std::nothrow) BSpaceLayoutItem(from);
|
/haiku/headers/private/net/ |
H A D | AddressUtilities.h | 84 status_t SetTo(const sockaddr* from) argument 86 return fModule->set_to(fAddress, from); 89 status_t SetTo(const sockaddr_storage* from) argument 91 return SetTo((sockaddr*)from); 114 status_t UpdateTo(const sockaddr* from) argument 116 return fModule->update_to(fAddress, from);
|
/haiku/src/system/kernel/arch/riscv64/ |
H A D | RISCV64VMTranslationMap.cpp | 404 remove from VMArea and vm_page `mappings` list 772 // Only called from interrupt handler with interrupts disabled for CPUs that don't support 963 RISCV64VMTranslationMap::MemcpyToMap(addr_t to, const char *from, size_t size) argument 966 B_PRIxADDR ", %" B_PRIuSIZE ")\n", to, (addr_t)from, size); 983 memcpy(VirtFromPhys(pa0 + (to - va0)), from, n); 986 from += n; 994 RISCV64VMTranslationMap::MemcpyFromMap(char *to, addr_t from, size_t size) argument 998 (addr_t)to, from, size); 1001 uint64 va0 = ROUNDDOWN(from, B_PAGE_SIZE); 1017 uint64 n = B_PAGE_SIZE - (from 1071 StrlcpyFromMap(char *to, addr_t from, size_t size) argument 1080 StrlcpyToMap(addr_t to, const char *from, size_t size) argument 1169 MemcpyFromPhysical(void* to, phys_addr_t from, size_t length, bool user) argument 1180 MemcpyToPhysical(phys_addr_t to, const void* from, size_t length, bool user) argument 1191 MemcpyPhysicalPage(phys_addr_t to, phys_addr_t from) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | BTree.cpp | 136 BTree::Node::_CalculateSpace(uint32 from, uint32 to, uint8 type) const argument 138 if (to < from || to >= ItemCount()) 142 return sizeof(btrfs_index) * (to - from + 1); 146 result += sizeof(btrfs_entry) * (to - from + 1); 149 result += Item(from)->Offset() + Item(from)->Size() 174 BTree::Node::_Copy(const Node* origin, uint32 at, uint32 from, uint32 to, argument 177 TRACE("Node::_Copy() at: %d from: %d to: %d length: %d\n", 178 at, from, to, length); 181 memcpy(Item(at), origin->Item(from), origi 481 int from, to; local [all...] |
/haiku/src/system/kernel/locks/ |
H A D | lock.cpp | 151 recursive_lock_switch_lock(recursive_lock* from, recursive_lock* to) argument 156 "disabled for locks %p, %p", from, to); 160 if (--from->recursion > 0) 164 from->holder = -1; 171 mutex_unlock(&from->lock); 175 status_t status = mutex_switch_lock(&from->lock, &to->lock); 177 from->recursion++; 179 from->holder = thread; 193 recursive_lock_switch_from_mutex(mutex* from, recursive_lock* to) argument 198 "disabled for locks %p, %p", from, t 223 recursive_lock_switch_from_read_lock(rw_lock* from, recursive_lock* to) argument 911 mutex_switch_lock(mutex* from, mutex* to) argument 940 mutex_switch_from_read_lock(rw_lock* from, mutex* to) argument [all...] |
/haiku/src/libs/stdc++/legacy/ |
H A D | editbuf.cc | 35 /* NOTE: Some of the code here is taken from GNU emacs */ 117 register buf_char *to, *from; local 122 from = gap_start(); 123 to = from + gap_size(); 149 *--to = *--from; 168 register buf_char *to, *from; local 174 from = i + gap_end(); 200 *to++ = *from++; 211 __gap_end_pos = from - data; 240 /* Transfer the new free space from th 519 delete_range(buf_index from, buf_index to) argument [all...] |
/haiku/src/kits/support/ |
H A D | Archivable.cpp | 308 BArchivable::BArchivable(BMessage* from) argument 312 if (BUnarchiver::IsArchiveManaged(from)) { 313 BUnarchiver::PrepareArchive(from); 314 BUnarchiver(from).RegisterArchivable(this); 345 BArchivable::Instantiate(BMessage* from) argument 589 BUnarchiver::InstantiateObject<BArchivable>(BMessage* from, argument 592 BUnarchiver unarchiver(BUnarchiver::PrepareArchive(from)); 593 object = instantiate_object(from); 649 // Get class name from archive 659 // Get sig from archiv 742 instantiate_object(BMessage* from) argument 752 validate_instantiation(BMessage* from, const char* className) argument [all...] |
/haiku/src/system/kernel/arch/x86/paging/ |
H A D | x86_physical_page_mapper_large_memory.cpp | 46 // The number of slots we reserve per translation map from mapping page tables. 77 // Used when copying from/to user memory. This can cause a page fault 150 virtual status_t MemcpyFromPhysical(void* to, phys_addr_t from, 153 const void* from, size_t length, bool user); 155 phys_addr_t from); 359 // get our slots from the global pool 525 // get a slot from the per-cpu user pool 600 LargeMemoryPhysicalPageMapper::MemcpyFromPhysical(void* _to, phys_addr_t from, argument 604 addr_t pageOffset = from % B_PAGE_SIZE; 617 slot->Map(from 643 const uint8* from = (const uint8*)_from; local 680 MemcpyPhysicalPage(phys_addr_t to, phys_addr_t from) argument [all...] |
/haiku/src/system/kernel/arch/m68k/paging/ |
H A D | m68k_physical_page_mapper_large_memory.cpp | 48 // The number of slots we reserve per translation map from mapping page tables. 85 // Used when copying from/to user memory. This can cause a page fault 157 virtual status_t MemcpyFromPhysical(void* to, phys_addr_t from, 160 const void* from, size_t length, bool user); 162 phys_addr_t from); 366 // get our slots from the global pool 528 // get a slot from the per-cpu user pool 603 LargeMemoryPhysicalPageMapper::MemcpyFromPhysical(void* _to, phys_addr_t from, argument 607 addr_t pageOffset = from % B_PAGE_SIZE; 620 slot->Map(from 646 const uint8* from = (const uint8*)_from; local 683 MemcpyPhysicalPage(phys_addr_t to, phys_addr_t from) argument [all...] |
/haiku/src/system/kernel/arch/arm/paging/ |
H A D | arm_physical_page_mapper_large_memory.cpp | 47 // The number of slots we reserve per translation map from mapping page tables. 79 // Used when copying from/to user memory. This can cause a page fault 152 virtual status_t MemcpyFromPhysical(void* to, phys_addr_t from, 155 const void* from, size_t length, bool user); 157 phys_addr_t from); 361 // get our slots from the global pool 530 // get a slot from the per-cpu user pool 605 LargeMemoryPhysicalPageMapper::MemcpyFromPhysical(void* _to, phys_addr_t from, argument 609 addr_t pageOffset = from % B_PAGE_SIZE; 622 slot->Map(from 648 const uint8* from = (const uint8*)_from; local 685 MemcpyPhysicalPage(phys_addr_t to, phys_addr_t from) argument [all...] |
/haiku/src/servers/app/ |
H A D | IntRect.h | 173 IntRect::operator=(const IntRect& from) argument 175 left = from.left; 176 top = from.top; 177 right = from.right; 178 bottom = from.bottom;
|
/haiku/headers/private/kernel/ |
H A D | lock.h | 133 extern status_t recursive_lock_switch_lock(recursive_lock* from, 135 // Unlocks "from" and locks "to" such that unlocking and starting to wait 136 // for the lock is atomic. I.e. if "from" guards the object "to" belongs 137 // to, the operation is safe as long as "from" is held while destroying 139 extern status_t recursive_lock_switch_from_mutex(mutex* from, 141 // Like recursive_lock_switch_lock(), just for switching from a mutex. 142 extern status_t recursive_lock_switch_from_read_lock(rw_lock* from, 144 // Like recursive_lock_switch_lock(), just for switching from a read-locked 159 extern status_t mutex_switch_lock(mutex* from, mutex* to); 160 // Unlocks "from" an [all...] |
/haiku/src/libs/icon/shape/ |
H A D | VectorPath.h | 73 VectorPath(const VectorPath& from); 91 VectorPath& operator=(const VectorPath& from); 92 bool operator==(const VectorPath& from) const; 146 // from the start of the segment to the end
|
/haiku/src/servers/syslog_daemon/ |
H A D | syslog_output.cpp | 125 // parse & nicely print the time stamp from the message 148 message.from); 181 if (message.from == sLastThread 197 sLastThread = message.from;
|
/haiku/headers/private/kernel/vm/ |
H A D | VMTranslationMap.h | 135 virtual status_t MemcpyFromPhysical(void* to, phys_addr_t from, 138 const void* from, size_t length, 141 phys_addr_t from) = 0;
|
H A D | VMCache.h | 89 inline bool SwitchLock(mutex* from); 90 inline bool SwitchFromReadLock(rw_lock* from); 268 VMCache::SwitchLock(mutex* from) argument 270 return mutex_switch_lock(from, &fLock) == B_OK; 275 VMCache::SwitchFromReadLock(rw_lock* from) argument 277 return mutex_switch_from_read_lock(from, &fLock) == B_OK;
|
/haiku/src/system/kernel/arch/arm64/ |
H A D | arch_thread.cpp | 93 extern "C" void _arch_context_swap(arch_thread *from, arch_thread *to); 97 arch_thread_context_switch(Thread *from, Thread *to) argument 100 _arch_context_swap(&from->arch_info, &to->arch_info);
|
/haiku/src/apps/cortex/addons/common/ |
H A D | audio_buffer_tools.h | 17 * derived from this software without specific prior written permission. 45 // 31mar99: providing conversion to and from float, and defining 180 // copy from linear buffer to circular buffer; no rescaling 205 // copy from a linear buffer in one sample format to a circular buffer 231 // copy from linear buffer to circular buffer; no rescaling 256 // copy from a circular buffer in one sample format to a linear buffer 293 // mix from a linear buffer to a circular buffer (no rescaling) 344 // mix from a linear buffer in one sample format to a 378 to_sample_t from; 379 convert_sample(*pFrom++, from); [all...] |