Searched refs:from (Results 226 - 250 of 386) sorted by relevance

1234567891011>>

/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_uipc_mbuf2.c17 * may be used to endorse or promote products derived from this software
45 * may be used to endorse or promote products derived from this software
150 * cannot increase from 1, as that would require possession of mbuf
171 * len bytes from <n, off> sits in single mbuf, but the caller does
190 * we need to take hlen from <n, off> and tlen from <n->m_next, 0>,
211 * we need to use m_copydata() to get data from <n->m_next, 0>.
243 /* get hlen from <n, off> into <o, 0> */
247 /* get tlen from <n->m_next, 0> into <o, hlen> */
344 /* Unlink and free a packet tag chain, starting from give
434 m_tag_copy_chain(struct mbuf *to, const struct mbuf *from, int how) argument
[all...]
/haiku/src/tests/system/network/multicast/
H A Dmulticat.c27 /* SSM and protocol-independent API from RFC3678 */
159 struct sockaddr_in6 from; local
160 socklen_t fromlen = sizeof(from);
165 (struct sockaddr *) &from, &fromlen);
168 inet_ntop(AF_INET6, &from.sin6_addr, taddr, sizeof(taddr));
189 printf("Received %d bytes from [%s]:%s.\n", n, address, port);
/haiku/src/system/kernel/arch/m68k/
H A Darch_vm.cpp89 // Throw away any address space mappings we've inherited from the boot
107 arch_vm_aspace_swap(struct VMAddressSpace *from, struct VMAddressSpace *to) argument
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dmbuf.h71 #define M_MOVE_PKTHDR(to, from) m_move_pkthdr((to), (from))
301 int m_dup_pkthdr(struct mbuf *to, const struct mbuf *from, int how);
333 int m_tag_copy_chain(struct mbuf *to, const struct mbuf *from, int how);
/haiku/src/system/kernel/arch/arm/
H A Darch_vm.cpp107 arch_vm_aspace_swap(struct VMAddressSpace *from, struct VMAddressSpace *to) argument
/haiku/src/system/kernel/arch/arm64/
H A Darch_vm.cpp97 arch_vm_aspace_swap(struct VMAddressSpace* from, struct VMAddressSpace* to) argument
/haiku/src/system/kernel/arch/sparc/
H A Darch_thread.cpp100 arch_thread_context_switch(Thread *from, Thread *to) argument
152 /** Restores the frame from a forked team as specified by the provided
154 * Needs to be called from within the child team, ie. instead of
/haiku/headers/private/kernel/arch/riscv64/
H A Darch_thread_types.h81 // from both in a consistent way.
94 void arch_context_switch(arch_context* from, arch_context* to);
/haiku/src/kits/tracker/
H A DUtilities.cpp27 this Software without prior written authorization from Be Incorporated.
492 // "from" is always transparent, "to" opaque.
494 FadeRGBA32Horizontal(uint32* bits, int32 width, int32 height, int32 from, argument
498 if (width < 0 || height < 0 || from < 0 || to < 0)
501 float change = 1.f / (to - from);
502 if (from > to) {
503 int32 temp = from;
504 from = to;
511 for (int32 x = from; x <= to; x++) {
525 "from" i
528 FadeRGBA32Vertical(uint32* bits, int32 width, int32 height, int32 from, int32 to) argument
[all...]
/haiku/src/kits/interface/
H A DSplitLayout.h28 BSplitLayout(BMessage* from);
96 static BArchivable* Instantiate(BMessage* from);
100 virtual status_t ItemUnarchived(const BMessage* from,
173 // concrete width. Cloned lazily from fVerticalLayout when needed.
H A DTwoDimensionalLayout.cpp256 BTwoDimensionalLayout::BTwoDimensionalLayout(BMessage* from) argument
258 BAbstractLayout(from),
268 from->FindRect(kInsetsField, &insets);
271 from->FindFloat(kSpacingField, 0, &fHSpacing);
272 from->FindFloat(kSpacingField, 1, &fVSpacing);
442 BTwoDimensionalLayout::AllUnarchived(const BMessage* from) argument
444 status_t err = BLayout::AllUnarchived(from);
448 BUnarchiver unarchiver(from);
466 BTwoDimensionalLayout::ItemUnarchived(const BMessage* from, BLayoutItem* item, argument
469 return BAbstractLayout::ItemUnarchived(from, ite
[all...]
H A DSplitLayout.cpp198 BSplitLayout::BSplitLayout(BMessage* from) argument
200 BAbstractLayout(BUnarchiver::PrepareArchive(from)),
237 BUnarchiver unarchiver(from);
240 status_t err = from->FindBool(kIsVerticalField, &isVertical);
248 err = from->FindRect(kInsetsField, &insets);
255 err = from->FindFloat(kSplitterSizeField, &fSplitterSize);
257 err = from->FindFloat(kSpacingField, &fSpacing);
776 BSplitLayout::Instantiate(BMessage* from) argument
778 if (validate_instantiation(from, "BSplitLayout"))
779 return new(std::nothrow) BSplitLayout(from);
798 ItemUnarchived(const BMessage* from, BLayoutItem* item, int32 index) argument
[all...]
/haiku/src/apps/pulse/
H A DPulseApp.cpp166 // This message can be posted before ReadyToRun from
171 BMessenger from; local
172 message->FindMessenger("settingsListener", &from);
187 B_TRANSLATE("Pulse settings"), &from,
199 // This message can be posted before ReadyToRun from
309 // Must be 16 pixels high, the width is retrieved from the Prefs class
/haiku/src/apps/webpositive/
H A DBookmarkBar.cpp99 ino_t from, to; local
101 message->FindInt64("from directory", &from);
102 if (from == to) {
116 // fall through: the item was moved from here to
117 // elsewhere, remove it from the bar.
150 // removing a bookmark from it.
167 // See if we can move some items from the "more" menu in the remaining
/haiku/headers/private/net/
H A Dnet_datalink.h126 status_t (*copy_address)(const struct sockaddr* from,
158 const struct sockaddr* from);
166 const struct sockaddr* from);
/haiku/headers/build/
H A DBeOSBuildCompatibility.h124 int _haiku_build_renameat(int fromFD, const char* from, int toFD,
162 # define renameat(fromFD, from, toFD, to) \
163 _haiku_build_renameat(fromFD, from, toFD, to)
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/
H A DCommands.cpp286 MessageEntryList& entries, uint32 from, uint32 to, bool uids)
289 fFrom(from),
345 FetchCommand::FetchCommand(uint32 from, uint32 to, uint32 flags) argument
349 fSequence << from; local
350 if (from != to)
355 /*! Builds the sequence from the passed in UID list, and takes \a max entries
357 than specified. The fetched UIDs will be removed from the \uids list.
285 FetchMessageEntriesCommand( MessageEntryList& entries, uint32 from, uint32 to, bool uids) argument
/haiku/src/add-ons/kernel/network/stack/
H A Dnet_buffer.cpp353 out.Print("net buffer append cloned: buffer: %p, from: %p, "
714 panic("failed to read from buffer %p, offset: %lu, size: %lu",
733 panic("failed to read from source buffer %p, offset: %lu, size: %lu",
859 /*! Tries to allocate \a size bytes from the free space in the header.
992 TRACE(("%d: remove data node %p from header %p (located %p)\n",
1023 /*! Appends up to \a size bytes from the data of the \a from net_buffer to the
1027 append_data_from_buffer(net_buffer* to, const net_buffer* from, size_t size) argument
1029 net_buffer_private* source = (net_buffer_private*)from;
1032 if (size > from
1334 split_buffer(net_buffer* from, uint32 offset) argument
2037 net_buffer_private* from = (net_buffer_private*)_from; local
[all...]
/haiku/src/bin/network/traceroute/
H A Dtraceroute.c15 * or promote products derived from this software without specific prior
28 * icmp "time exceeded" reply from a gateway. We start our probes
34 * round trip time of each probe. If the probe answers come from
120 * is using the ttl from our arriving datagram as the ttl in its
146 * system available from Berkeley: A raw ip socket using proto
156 * data from the original datagram. 8 bytes is the size of a udp
174 * I stole the idea for this program from Steve Deering. Since
176 * IETF working group meetings, I also could have stolen it from Guy
499 register struct sockaddr_in *from = (struct sockaddr_in *)&wherefrom; local
909 setsin(from, a
1390 packet_ok(register u_char *buf, int cc, register struct sockaddr_in *from, register int seq) argument
1691 print(register u_char *buf, register int cc, register struct sockaddr_in *from) argument
[all...]
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dlock.cpp430 // We failed to get the lock -- dequeue from waiter list.
649 mutex_switch_lock(mutex* from, mutex* to) argument
654 if (atomic_add(&from->count, 1) < -1)
656 _mutex_unlock_threads_locked(from);
663 mutex_switch_from_read_lock(rw_lock* from, mutex* to) argument
668 _rw_lock_write_unlock_threads_locked(from);
670 int32 oldCount = atomic_add(&from->count, -1);
672 _rw_lock_read_unlock_threads_locked(from);
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/
H A DIMAPConnectionWorker.cpp130 /*! All commands that inherit from this class will automatically maintain the
338 // Get next mailbox from list, and select it
368 uint32 from = fFirstIndex + kMaxFetchEntries < to local
371 printf("IMAP: get entries from %" B_PRIu32 " to %" B_PRIu32 "\n",
372 from, to);
375 IMAP::FetchMessageEntriesCommand fetch(entries, from, to, false);
388 fMailbox->AddMessageEntry(from + i, entries[i].uid,
400 fLastIndex = from - 1;
402 if (from == 1) {
708 // TODO: remove message from folde
[all...]
/haiku/headers/os/support/
H A DString.h53 BString& Adopt(BString& from);
56 BString& Adopt(BString& from, int32 maxLength);
62 BString& AdoptChars(BString& from, int32 charCount);
147 BString& Remove(int32 from, int32 length);
161 BString& MoveInto(BString& into, int32 from, int32 length);
162 void MoveInto(char* into, int32 from, int32 length);
/haiku/src/servers/app/drawing/Painter/
H A DPainter.cpp323 // from SetPattern
929 // the rectangle ranges from the top-left (.0, .0)
975 // the rectangle ranges from the top-left (.0, .0)
1144 // the rectangle ranges from the top-left (.0, .0)
1170 // the rectangle ranges from the top-left (.0, .0)
1577 // by the AGG renderer and use the colors from the PatternHandler
1996 BGradient::ColorStop* from = gradient.ColorStopAt(0); local
1998 if (!from)
2002 // int32 index = (int32)floorf(colorCount * from->offset + 0.5)
2004 int32 index = (int32)floorf(colorCount * from
2076 BGradient::ColorStop* from = gradient.ColorStopAtFast(i); local
[all...]
/haiku/src/apps/icon-o-matic/transformable/
H A DTransformBox.cpp214 // convert from canvas view coordinates
351 // recalculate the points from the original box
617 TransformBox::_StrokeBWLine(BView* into, BPoint from, BPoint to) const argument
622 float xDiff = to.x - from.x;
623 float yDiff = to.y - from.y;
640 into->StrokeLine(from, to, B_SOLID_LOW);
641 from += offset;
643 into->StrokeLine(from, to, B_SOLID_HIGH);
/haiku/src/apps/packageinstaller/
H A DUninstallView.cpp54 // - Add a status window (reuse the one from PackageInstall)
192 ino_t from, to; local
193 if (msg->FindInt64("from directory", &from) != B_OK
204 } else if (ref.node == from) {
260 "successfully removed from your system."),
265 "The selected package was not removed from your system. "

Completed in 168 milliseconds

1234567891011>>