Searched refs:to (Results 76 - 100 of 284) sorted by relevance

1234567891011>>

/haiku/src/system/kernel/arch/arm64/
H A Darch_thread.cpp93 extern "C" void _arch_context_swap(arch_thread *from, arch_thread *to);
97 arch_thread_context_switch(Thread *from, Thread *to) argument
99 arm64_set_tls_context(to);
100 _arch_context_swap(&from->arch_info, &to->arch_info);
/haiku/src/add-ons/media/media-add-ons/usb_webcam/
H A DCamFilterInterface.cpp27 CamFilterInterface::ChainFilter(CamFilterInterface *to) argument
31 fNextOfKin = to;
/haiku/src/apps/soundrecorder/
H A DDrawingTidbits.cpp50 ReplaceColor(BBitmap *bitmap, rgb_color from, rgb_color to) argument
57 uint32 toIndex = screen.IndexForColor(to);
/haiku/src/add-ons/kernel/drivers/graphics/radeon/
H A Dirq.c123 // probably, ATI wanted to make capture interrupt control independant of main control
151 /* get the pointer to the device we're handling this time */
158 /* are we suppoesed to handle interrupts still? */
162 timer *to; local
166 /* insert code to sync to interrupts here */
177 to = (timer *)&di->ti_a;
178 if (to == te)
179 to = (timer *)&di->ti_b;
181 /* our guess as to whe
[all...]
/haiku/src/system/kernel/util/
H A Dring_buffer.cpp23 * It does not provide any locking - you are supposed to ensure thread-safety
25 * the functions are safe to be called with interrupts turned off as well (not
60 // need to copy both ends
103 // need to copy both ends
234 \param offset The offset relative to the beginning of the data in the ring
235 buffer at which to start reading.
236 \param data The buffer to which to copy the data.
237 \param length The number of bytes to read at maximum.
259 // need to cop
313 ring_buffer_move(struct ring_buffer *to, ssize_t length, struct ring_buffer *from) argument
[all...]
/haiku/src/add-ons/kernel/network/ppp/shared/libppp/
H A DMessageDriverSettingsUtils.cpp17 static bool AddParameters(const BMessage& message, driver_settings *to);
56 AddParameters(const BMessage& message, driver_parameter *to) argument
58 if (!to)
62 reinterpret_cast<driver_settings*>(&to->parameter_count));
68 AddParameters(const BMessage& message, driver_settings *to) argument
81 add_driver_parameter(parameter, to);
/haiku/src/add-ons/network_settings/dialup/
H A DMessageDriverSettingsUtils.cpp19 static bool AddParameters(const BMessage& message, driver_settings *to);
58 AddParameters(const BMessage& message, driver_parameter *to) argument
60 if(!to)
64 reinterpret_cast<driver_settings*>(&to->parameter_count));
70 AddParameters(const BMessage& message, driver_settings *to) argument
83 add_driver_parameter(parameter, to);
/haiku/headers/os/interface/
H A DListView.h117 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/libs/stdc++/legacy/
H A Deditbuf.cc16 along with this library; see the file COPYING. If not, write to the Free
20 compiled with a GNU compiler to produce an executable, this does not cause
21 the resulting executable to be covered by the GNU General Public License.
46 // Any edit_streambuf that is actively doing insertion (as opposed to
47 // replacing) // must have its pptr() pointing to the start of the gap.
49 // edit_buffer; the edit_buffer's _writer field points to that edit_streambuf.
117 register buf_char *to, *from; local
123 to = from + gap_size();
131 /* I gets number of characters left to copy. */
137 Change POS to b
168 register buf_char *to, *from; local
519 delete_range(buf_index from, buf_index to) argument
[all...]
/haiku/src/add-ons/kernel/network/protocols/ipv4/
H A Dipv4_address.cpp25 that is put into \a to.
28 If a \a mask is given it is applied to \a from (such that \a to is the
32 \return B_BAD_VALUE if any of \a from or \a mask refers to an uninitialized
37 ipv4_copy_address(const sockaddr *from, sockaddr **to, argument
41 *to = (sockaddr *)malloc(sizeof(sockaddr_in));
42 if (*to == NULL)
45 memset(*to, 0, sizeof(sockaddr_in));
46 (*to)->sa_family = AF_INET;
47 (*to)
[all...]
/haiku/src/add-ons/kernel/network/protocols/ipv6/
H A Dipv6_address.cpp42 that is put into \a to.
45 If a \a mask is given it is applied to \a from (such that \a to is the
49 \return B_BAD_VALUE if any of \a from or \a mask refers to an uninitialized
54 ipv6_copy_address(const sockaddr *from, sockaddr **to, argument
58 *to = (sockaddr *)malloc(sizeof(sockaddr_in6));
59 if (*to == NULL)
62 memset(*to, 0, sizeof(sockaddr_in6));
63 (*to)->sa_family = AF_INET6;
64 (*to)
[all...]
/haiku/src/libs/icon/style/
H A DGradientTransformable.cpp437 // put all steps that we need to interpolate to into a list
444 // interpolate "from" to "to"
448 BGradient::ColorStop* to = NULL; local
454 to = step;
458 if (!to)
461 nextSteps.RemoveItem((void*)to);
464 int32 offset = (int32)floorf((count - 1) * to->offset + 0.5);
474 uint16 toRed = kGammaTable[to
[all...]
/haiku/src/system/kernel/arch/x86/paging/
H A Dx86_physical_page_mapper_large_memory.cpp9 memory, i.e. more than we can afford to completely map into the kernel
77 // Used when copying from/to user memory. This can cause a page fault
78 // which might need to memcpy()/memset() a page when being handled.
150 virtual status_t MemcpyFromPhysical(void* to, phys_addr_t from,
152 virtual status_t MemcpyToPhysical(phys_addr_t to,
154 virtual void MemcpyPhysicalPage(phys_addr_t to,
234 // wait for a free slot to turn up
256 // wait for two free slot to turn up
323 panic("PhysicalPageOpsCPUData::Init(): Failed to get initial "
348 // put our slots back to th
603 uint8* to = (uint8*)_to; local
640 MemcpyToPhysical(phys_addr_t to, const void* _from, size_t length, bool user) argument
680 MemcpyPhysicalPage(phys_addr_t to, phys_addr_t from) argument
[all...]
/haiku/src/system/kernel/arch/m68k/paging/
H A Dm68k_physical_page_mapper_large_memory.cpp9 memory, i.e. more than we can afford to completely map into the kernel
85 // Used when copying from/to user memory. This can cause a page fault
86 // which might need to memcpy()/memset() a page when being handled.
157 virtual status_t MemcpyFromPhysical(void* to, phys_addr_t from,
159 virtual status_t MemcpyToPhysical(phys_addr_t to,
161 virtual void MemcpyPhysicalPage(phys_addr_t to,
241 // wait for a free slot to turn up
263 // wait for two free slot to turn up
330 panic("PhysicalPageOpsCPUData::Init(): Failed to get initial "
355 // put our slots back to th
606 uint8* to = (uint8*)_to; local
643 MemcpyToPhysical(phys_addr_t to, const void* _from, size_t length, bool user) argument
683 MemcpyPhysicalPage(phys_addr_t to, phys_addr_t from) argument
[all...]
/haiku/src/system/kernel/arch/arm/paging/
H A Darm_physical_page_mapper_large_memory.cpp10 memory, i.e. more than we can afford to completely map into the kernel
79 // Used when copying from/to user memory. This can cause a page fault
80 // which might need to memcpy()/memset() a page when being handled.
152 virtual status_t MemcpyFromPhysical(void* to, phys_addr_t from,
154 virtual status_t MemcpyToPhysical(phys_addr_t to,
156 virtual void MemcpyPhysicalPage(phys_addr_t to,
236 // wait for a free slot to turn up
258 // wait for two free slot to turn up
325 panic("PhysicalPageOpsCPUData::Init(): Failed to get initial "
350 // put our slots back to th
608 uint8* to = (uint8*)_to; local
645 MemcpyToPhysical(phys_addr_t to, const void* _from, size_t length, bool user) argument
685 MemcpyPhysicalPage(phys_addr_t to, phys_addr_t from) argument
[all...]
/haiku/src/system/kernel/arch/arm/
H A Darch_thread.cpp67 // Currently nothing to do, i.e. zero initialized is just fine.
76 // Nothing to do. The structure is empty.
139 arch_thread_context_switch(Thread *from, Thread *to) argument
141 arm_set_tpidruro(to->user_local_storage);
148 VMAddressSpace *newAddressSpace = to->team->address_space;
161 from, from->name, from->arch_info.sp, to, to->name, to->arch_info.sp);
163 arm_restore_fpu(&to->arch_info.fpuContext);
164 arm_context_switch(&from->arch_info, &to
[all...]
/haiku/src/add-ons/kernel/network/protocols/unix/
H A DUnixAddress.cpp47 unix_copy_address(const sockaddr *from, sockaddr **to, bool replaceWithZeros, argument
57 *to = (sockaddr*)newAddress;
63 *to = (sockaddr*)malloc(from->sa_len);
64 if (*to == NULL)
67 memcpy(*to, from, from->sa_len);
/haiku/src/kits/network/libnetapi/
H A DNetworkRoute.cpp330 sockaddr*& to)
335 if (to == NULL) {
336 to = (sockaddr*)malloc(sizeof(sockaddr_storage));
337 if (to == NULL)
341 memcpy(to, &from, from.sa_len);
329 _AllocateAndSetAddress(const sockaddr& from, sockaddr*& to) argument
/haiku/headers/private/kernel/
H A Dlock.h63 // to wait at the time the last writer unlocked.
74 // Define to 1 if you want to use ASSERT_READ_LOCKED_RW_LOCK().
134 recursive_lock* to);
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
138 // "to".
140 recursive_lock* to);
[all...]
/haiku/docs/develop/kits/storage/resources/
H A DResourcesFormat.tex40 Resources provide a means to store structured but flat data in files. Unlike
44 (resource files), on the other hand these are file formats extended to
118 \item{All other fields must be set to 0.}
127 In an ELF file, resources are appended to rather than contained in the
128 regular data of the file. That is adding resources to an existing ELF file
129 will not cause any modification to its data (i.e. ELF header, program header
133 Therefore two values have to be known: The size of the actual ELF file and the
134 block size to which the resources must be aligned. As ELF files do not contain
135 a size field, it has to be deduced, where the file ends. This end offset is
136 supposed to b
[all...]
/haiku/src/kits/textencoding/
H A Dutf8_conversions.cpp78 convert_encoding(const char* from, const char* to, const char* src, argument
83 // nothing to do!
89 iconv_t conversion = iconv_open(to, from);
117 case EILSEQ: // unable to generate a corresponding character
122 // prepare to convert the substitute character to target encoding
131 // likely to have a mapping to almost any target encoding.
132 iconv_t iso8859_1to = iconv_open(to,"ISO-8859-1");
/haiku/headers/private/kernel/vm/
H A DVMTranslationMap.h135 virtual status_t MemcpyFromPhysical(void* to, phys_addr_t from,
137 virtual status_t MemcpyToPhysical(phys_addr_t to,
140 virtual void MemcpyPhysicalPage(phys_addr_t to,
/haiku/src/bin/
H A Dleak_analyser.sh15 environment variables prefixed and pipe the output to a file:
34 able to generate such allocations.
46 and they will be ored to form the final expression.
/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
129 /* be sure to point non-empty mbuf */
141 * data region to require all of the following:
142 * (i) mbuf _has_ to have M_EXT set; if it is just a regular
144 * (ii) since mbuf has M_EXT, the ext_type _has_ to be
153 * to 1), but we'll fail to notice it unless we re-evaluate
173 * chop the current mbuf into two pieces, set off to 0.
190 * we need to tak
434 m_tag_copy_chain(struct mbuf *to, const struct mbuf *from, int how) argument
[all...]
/haiku/src/apps/icon-o-matic/
H A DIconEditorApp.cpp95 // Try to cast the window while the pointer must be valid.
153 if (message->FindMessenger("reply to", &messenger) < B_OK) {
233 // When appending, we need to know a window.
299 IconEditorApp::_SyncPanels(BFilePanel* from, BFilePanel* to) argument
303 if (to->Window()->Lock()) {
305 to->Window()->MoveTo(frame.left, frame.top);
306 to->Window()->ResizeTo(frame.Width(), frame.Height());
307 to->Window()->Unlock();
312 to->SetPanelDirectory(&panelDir);
416 // pressing the shift key to forc
[all...]

Completed in 157 milliseconds

1234567891011>>