Searched refs:from (Results 76 - 100 of 386) sorted by relevance

1234567891011>>

/haiku/src/system/kernel/arch/generic/
H A DGenericVMPhysicalPageMapper.h37 virtual status_t MemcpyFromPhysical(void* to, phys_addr_t from,
40 const void* from, size_t length, bool user);
42 phys_addr_t from);
/haiku/src/system/libroot/posix/glibc/locale/
H A Dgen-translit.pl44 my($from) = $1;
46 my($fromlen) = cstrlen($from);
49 push(@froms, $from);
/haiku/src/system/kernel/arch/x86/paging/
H A Dx86_physical_page_mapper.h73 status_t MemcpyFromPhysical(void* to, phys_addr_t from, size_t length,
75 status_t MemcpyToPhysical(phys_addr_t to, const void* from,
77 void MemcpyPhysicalPage(phys_addr_t to, phys_addr_t from) override;
/haiku/src/system/libroot/posix/string/arch/x86_64/
H A Darch_string.cpp82 auto from = reinterpret_cast<const uint64_t*>(source); local
83 *to = *from;
85 from = reinterpret_cast<const uint64_t*>(source + length - 8);
86 *to = *from;
116 auto from = reinterpret_cast<const __m128i*>(source); local
120 copy_sse<4>(to, from);
122 from += 4;
126 table_sse[length / 16](to, from);
141 auto from = static_cast<const uint8_t*>(source); local
143 memcpy_small(to, from, lengt
[all...]
/haiku/src/apps/haikudepot/model/
H A DValidationFailure.h23 ValidationFailure(BMessage* from);
43 ValidationFailures(BMessage* from);
59 void _AddFromMessage(const BMessage* from);
H A DCaptcha.cpp18 Captcha::Captcha(BMessage* from) argument
23 if (from->FindString(KEY_TOKEN, &fToken) != B_OK) {
31 if (from->FindData(KEY_PNG_IMAGE_DATA, B_ANY_TYPE, &data, &len) != B_OK)
H A DDeskbarLink.cpp12 * Note that this file has been re-factored from `PackageManager.cpp` and
47 DeskbarLink::DeskbarLink(BMessage* from) argument
49 if (from->FindString(kPathKey, &fPath) != B_OK) {
54 if (from->FindString(kLinkKey, &fLink) != B_OK) {
H A DAccessToken.cpp16 AccessToken::AccessToken(BMessage* from) argument
21 if (from->FindString(KEY_TOKEN, &fToken) != B_OK) {
26 if (from->FindUInt64(KEY_EXPIRY_TIMESTAMP, &fExpiryTimestamp) != B_OK) {
H A DValidationFailure.cpp19 ValidationFailure::ValidationFailure(BMessage* from) argument
21 from->FindString(KEY_PROPERTY, &fProperty);
32 result = from->FindString(name, &message);
104 ValidationFailures::ValidationFailures(BMessage* from) argument
108 _AddFromMessage(from);
217 ValidationFailures::_AddFromMessage(const BMessage* from) argument
225 if (from->FindMessage(key, &itemMessage) != B_OK)
/haiku/src/system/kernel/arch/arm64/
H A DPMAPPhysicalPageMapper.h42 virtual status_t MemcpyFromPhysical(void* to, phys_addr_t from,
45 const void* from, size_t length,
48 phys_addr_t from);
/haiku/src/libs/print/libprint/
H A DPrintUtils.cpp127 AddFields(BMessage* to, const BMessage* from, const char* excludeList[], argument
130 if (to == from)
135 for (int32 i = 0; from->GetInfo(B_ANY_TYPE, i, &name, &type, &count)
152 if (from->FindData(name, type, j, &data, &size) == B_OK) {
157 from->FindMessage(name, j, &m);
/haiku/src/kits/interface/
H A DCardLayout.cpp30 BCardLayout::BCardLayout(BMessage* from) argument
32 BAbstractLayout(BUnarchiver::PrepareArchive(from)),
39 BUnarchiver(from).Finish();
230 BCardLayout::AllUnarchived(const BMessage* from) argument
232 status_t err = BLayout::AllUnarchived(from);
237 err = from->FindInt32(kVisibleItemField, &visibleIndex);
253 BCardLayout::ItemUnarchived(const BMessage* from, BLayoutItem* item, argument
256 return BAbstractLayout::ItemUnarchived(from, item, index);
262 BCardLayout::Instantiate(BMessage* from) argument
264 if (validate_instantiation(from, "BCardLayou
[all...]
H A DGroupLayout.cpp46 BGroupLayout::BGroupLayout(BMessage* from) argument
48 BTwoDimensionalLayout(from)
51 if (from->FindBool(kVerticalField, &isVertical) != B_OK)
210 BGroupLayout::AllUnarchived(const BMessage* from) argument
212 return BTwoDimensionalLayout::AllUnarchived(from);
217 BGroupLayout::Instantiate(BMessage* from) argument
219 if (validate_instantiation(from, "BGroupLayout"))
220 return new(nothrow) BGroupLayout(from);
234 BGroupLayout::ItemUnarchived(const BMessage* from, argument
238 status_t result = from
[all...]
H A DAbstractLayoutItem.cpp31 BAbstractLayoutItem::BAbstractLayoutItem(BMessage* from) argument
33 BLayoutItem(from),
39 from->FindSize(kSizesField, 0, &fMinSize);
40 from->FindSize(kSizesField, 1, &fMaxSize);
41 from->FindSize(kSizesField, 2, &fPreferredSize);
42 from->FindAlignment(kAlignmentField, &fAlignment);
/haiku/src/apps/cortex/TipManager/
H A DTipView.cpp17 * derived from this software without specific prior written permission.
83 // Adapted from c.lenz' ToolTipView::Draw()
109 uint32 from = m_lineSet[n]; local
113 if(to > from)
115 m_text.String() + from,
116 to - from,
220 uint32 from = m_lineSet[n]; local
224 m_text.String() + from,
225 to - from);
/haiku/src/tests/servers/app/gradients/
H A Dmain.cpp97 BPoint from(100, 0);
99 BGradientLinear l(from, to);
124 BGradientLinear lo(from, to);
174 BPoint from(275, 10);
176 BGradientLinear l(from, to);
184 BPoint from(10, 10);
186 BGradientLinear l(from, to);
/haiku/src/add-ons/print/drivers/preview/
H A DJobSetupWindow.cpp55 fFrom = new BTextControl("from", "From:", "SomeSpaceHere", NULL);
123 int32 from = 1; local
126 from = atoi(fFrom->Text());
128 if (from <= 0) from = 1;
129 if (to < from) to = from;
137 fSetupMsg->AddInt32("first_page", from);
/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A Dl2cap_address.cpp26 l2cap_copy_address(const sockaddr *from, sockaddr **to, argument
38 if (from == NULL)
40 if (from->sa_family != AF_BLUETOOTH)
47 memcpy(*to, from, sizeof(sockaddr_l2cap));
207 l2cap_set_to(sockaddr *address, const sockaddr *from) argument
209 if (address == NULL || from == NULL)
212 if (from->sa_family != AF_BLUETOOTH)
215 memcpy(address, from, sizeof(sockaddr_l2cap));
233 const sockaddr_l2cap *from = (const sockaddr_l2cap *)_from; local
235 if (address == NULL || from
[all...]
/haiku/src/system/kernel/arch/ppc/
H A Darch_cpu.cpp179 arch_cpu_user_memcpy(void *to, const void *from, size_t size, argument
183 char *s = (char *)from;
202 /** \brief Copies at most (\a size - 1) characters from the string in \a from to
206 * \param from Pointer to the source C-string.
209 * \return strlen(\a from).
213 arch_cpu_user_strlcpy(char *to, const char *from, size_t size, addr_t *faultHandler) argument
225 for ( ; size; size--, from_length++, to++, from++) {
226 if ((*to = *from) == '\0')
230 // count any leftover from char
[all...]
/haiku/src/add-ons/kernel/partitioning_systems/gpt/
H A Dutility.cpp38 to_utf8(const uint16* from, size_t maxFromLength, char* to, size_t toSize) argument
44 uint16 w1 = B_LENDIAN_TO_HOST_INT16(from[i]);
56 uint16 w2 = B_LENDIAN_TO_HOST_INT16(from[i + 1]);
94 to_ucs2(const char* from, size_t fromLength, uint16* to, size_t maxToLength) argument
97 while (from[0] != '\0' && index < maxToLength) {
98 uint32 c = UTF8ToCharCode(&from);
/haiku/src/servers/app/drawing/
H A DPatternHandler.h52 Pattern& operator=(const Pattern& from) argument
53 { fPattern.type64 = from.fPattern.type64; return *this; }
55 Pattern& operator=(const int64 &from) argument
56 { fPattern.type64 = from; return *this; }
58 Pattern& operator=(const pattern &from) argument
59 { memcpy(&fPattern.type64, &from, sizeof(pattern)); return *this; }
/haiku/src/system/kernel/arch/m68k/
H A Darch_thread.cpp63 * sure that such iframe exists; ie. from syscalls, but usually not
64 * from standard kernel threads.
99 m68k_next_page_directory(Thread *from, Thread *to) argument
102 if (from->team->address_space == toAddressSpace) {
201 arch_thread_context_switch(Thread *from, Thread *to) argument
205 newPageDirectory = (addr_t)m68k_next_page_directory(from, to);
209 #warning M68K: export from arch_vm.c
214 m68k_context_switch(&from->arch_info.sp, to->arch_info.sp);
268 /** Restores the frame from a forked team as specified by the provided
270 * Needs to be called from withi
[all...]
/haiku/src/libs/icon/style/
H A DGradientTransformable.cpp408 BGradient::ColorStop* from = ColorAt(0); local
410 if (!from)
415 if (step->offset < from->offset)
416 from = step;
420 int32 index = (int32)floorf(count * from->offset + 0.5);
429 c[0] = from->color.red;
430 c[1] = from->color.green;
431 c[2] = from->color.blue;
432 c[3] = from->color.alpha;
440 if (step != from)
[all...]
/haiku/src/add-ons/media/media-add-ons/usb_webcam/
H A DCamFilterInterface.cpp37 CamFilterInterface::DetachFilter(CamFilterInterface *from) argument
39 if (from && (fNextOfKin != from))
/haiku/headers/private/fs_shell/
H A Dfssh_stdio.h21 extern int fssh_rename(const char *from, const char *to);

Completed in 204 milliseconds

1234567891011>>