/haiku/src/libs/compat/openbsd_network/compat/sys/ |
H A D | timeout.h | 18 timeout_set(struct timeout *to, void (*fn)(void *), void *arg) argument 20 callout_init_mtx(&to->c, &Giant, 0); 21 callout_reset(&to->c, -1, fn, arg); 26 timeout_pending(struct timeout *to) argument 28 return callout_pending(&to->c); 33 timeout_add_usec(struct timeout *to, int usec) argument 35 return (callout_schedule(&to->c, USEC_2_TICKS(usec)) ? 0 : 1); 40 timeout_add_msec(struct timeout *to, int msec) argument 42 return timeout_add_usec(to, msec * 1000); 47 timeout_add_sec(struct timeout *to, in argument 54 timeout_del(struct timeout *to) argument [all...] |
/haiku/headers/os/drivers/pcmcia/ |
H A D | mem_op.h | 4 * The contents of this file are subject to the Mozilla Public License 21 * above. If you wish to allow the use of your version of this file 22 * only under the terms of the GPL and not to allow others to use 37 to copy between a card and kernel memory. These routines do 32-bit 47 static inline void copy_pc_to_user(void *to, const void *from, size_t n) argument 52 put_user(readl_ns(from), (int *)to); 53 (char *)from += 4; (char *)to += 4; n -= 4; 56 put_user(readb((char *)from++), (char *)to++); 59 static inline void copy_user_to_pc(void *to, cons argument 78 copy_from_pc(void *to, const void *from, size_t n) argument 90 copy_to_pc(void *to, const void *from, size_t n) argument 102 copy_pc_to_user(void *to, const void *from, size_t n) argument 114 copy_user_to_pc(void *to, const void *from, size_t n) argument [all...] |
/haiku/src/system/libroot/posix/stdio/ |
H A D | rename.c | 16 rename(const char *from, const char *to) argument 18 RETURN_AND_SET_ERRNO(_kern_rename(-1, from, -1, to)); 23 renameat(int fromFD, const char* from, int toFD, const char* to) argument 25 RETURN_AND_SET_ERRNO(_kern_rename(fromFD, from, toFD, to));
|
/haiku/src/system/boot/loader/ |
H A D | misc.cpp | 13 user_memcpy(void* to, const void* from, size_t size) argument 15 memcpy(to, from, size);
|
/haiku/src/tests/add-ons/kernel/kernelland_emu/ |
H A D | vm.cpp | 18 user_memcpy(void *to, const void *from, size_t size) argument 20 memcpy(to, from, size); 26 user_strlcpy(char *to, const char *from, size_t size) argument 28 return strlcpy(to, from, size);
|
/haiku/3rdparty/mmu_man/irc/Haiku/ |
H A D | plugin.py | 15 # contributors to this software may be used to endorse or promote products 112 to = None 114 to = args[0] 115 t = "If you think there is a bug in Haiku, please report a bug so we can remember to fix it. cf. http://dev.haiku-os.org/wiki/ReportingBugs" 116 irc.reply(t, to = to) 124 to = None 126 to = args[0] 128 irc.reply(t, to [all...] |
/haiku/headers/private/kernel/arch/ |
H A D | user_memory.h | 18 status_t _arch_cpu_user_memcpy(void* to, const void* from, size_t size, 20 ssize_t _arch_cpu_user_strlcpy(char* to, const char* from, size_t size, 29 arch_cpu_user_memcpy(void* to, const void* from, size_t size) argument 31 return _arch_cpu_user_memcpy(to, from, size, 37 arch_cpu_user_strlcpy(char* to, const char* from, size_t size) argument 39 return _arch_cpu_user_strlcpy(to, from, size,
|
/haiku/src/system/kernel/arch/generic/ |
H A D | generic_vm_physical_page_ops.h | 18 status_t generic_vm_memcpy_from_physical(void* to, phys_addr_t from, 20 status_t generic_vm_memcpy_to_physical(phys_addr_t to, const void* from, 22 void generic_vm_memcpy_physical_page(phys_addr_t to, phys_addr_t from);
|
H A D | GenericVMPhysicalPageMapper.cpp | 84 GenericVMPhysicalPageMapper::MemcpyFromPhysical(void* to, phys_addr_t from, argument 87 return generic_vm_memcpy_from_physical(to, from, length, user); 92 GenericVMPhysicalPageMapper::MemcpyToPhysical(phys_addr_t to, const void* from, argument 95 return generic_vm_memcpy_to_physical(to, from, length, user); 100 GenericVMPhysicalPageMapper::MemcpyPhysicalPage(phys_addr_t to, argument 103 generic_vm_memcpy_physical_page(to, from);
|
H A D | generic_vm_physical_page_ops.cpp | 45 uint8* to = (uint8*)_to; local 61 error = user_memcpy(to, (void*)(virtualAddress + pageOffset), 64 memcpy(to, (void*)(virtualAddress + pageOffset), toCopy); 71 to += toCopy; 82 generic_vm_memcpy_to_physical(phys_addr_t to, const void* _from, size_t length, argument 86 phys_addr_t pageOffset = to % B_PAGE_SIZE; 95 status_t error = vm_get_physical_page_current_cpu(to - pageOffset, 111 to += toCopy; 122 be blocking, since we need to call it twice and could thus deadlock. 125 generic_vm_memcpy_physical_page(phys_addr_t to, phys_addr_ argument [all...] |
/haiku/src/add-ons/kernel/partitioning_systems/gpt/ |
H A D | utility.cpp | 24 put_utf8_byte(char*& to, size_t& left, char c) argument 29 *(to++) = c; 38 to_utf8(const uint16* from, size_t maxFromLength, char* to, size_t toSize) argument 40 const char* start = to; 69 put_utf8_byte(to, toSize, c); 71 put_utf8_byte(to, toSize, 0xc0 | (c >> 6)); 72 put_utf8_byte(to, toSize, 0x80 | (c & 0x3f)); 74 put_utf8_byte(to, toSize, 0xe0 | (c >> 12)); 75 put_utf8_byte(to, toSize, 0x80 | ((c >> 6) & 0x3f)); 76 put_utf8_byte(to, toSiz 94 to_ucs2(const char* from, size_t fromLength, uint16* to, size_t maxToLength) argument [all...] |
H A D | utility.h | 21 size_t to_utf8(const uint16* from, size_t maxFromLength, char* to, size_t toSize); 25 size_t to_ucs2(const char* from, size_t fromLength, uint16* to,
|
/haiku/src/system/kernel/arch/arm64/ |
H A D | PMAPPhysicalPageMapper.cpp | 39 PMAPPhysicalPageMapper::MemcpyFromPhysical(void* to, phys_addr_t from, size_t length, bool user) 45 memcpy(to, reinterpret_cast<void*>(KERNEL_PMAP_BASE + from), length); 52 PMAPPhysicalPageMapper::MemcpyToPhysical(phys_addr_t to, const void* from, size_t length, bool user) 57 ASSERT(to < KERNEL_PMAP_SIZE); 58 memcpy(reinterpret_cast<void*>(KERNEL_PMAP_BASE + to), from, length); 65 PMAPPhysicalPageMapper::MemcpyPhysicalPage(phys_addr_t to, phys_addr_t from) 67 ASSERT(to < KERNEL_PMAP_SIZE); 69 memcpy(reinterpret_cast<void*>(KERNEL_PMAP_BASE + to),
|
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/ |
H A D | settings_tools.cpp | 112 copy_driver_parameter(const driver_parameter *from, driver_parameter *to) argument 114 if (!from || !to) 117 free_driver_parameter_fields(to); 120 to->name = strdup(from->name); 122 to->name = NULL; 124 to->value_count = from->value_count; 126 to->values = (char**) malloc(from->value_count * sizeof(char*)); 128 to->values = NULL; 130 for (int32 index = 0; index < to->value_count; index++) 131 to 167 add_driver_parameter_value(const char *value, driver_parameter *to) argument 191 add_driver_parameter(driver_parameter *add, driver_settings *to) argument [all...] |
/haiku/3rdparty/mmu_man/scripts/ |
H A D | bebook | 13 hey BeHappy set Book of Window $LASTWIN to "Be Book" > /dev/null 14 hey BeHappy set Topic of Window $LASTWIN to "$1" > /dev/null
|
H A D | bman | 13 hey BeHappy set Book of Window $LASTWIN to "Man pages" > /dev/null 14 hey BeHappy set Topic of Window $LASTWIN to "$1" > /dev/null
|
/haiku/src/system/libroot/posix/locale/ |
H A D | LocaleInternal.cpp | 45 int from, to; local 47 // we need to check each real category if all of them should be set 49 to = LC_LAST; 51 from = to = category; 54 for (int lc = from; lc <= to; lc++) {
|
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/ |
H A D | settings_tools.h | 20 extern bool copy_driver_parameter(const driver_parameter *from, driver_parameter *to); 22 extern bool add_driver_parameter_value(const char *value, driver_parameter *to); 23 extern bool add_driver_parameter(driver_parameter *add, driver_settings *to); 43 add_driver_parameter(driver_parameter *add, driver_parameter *to) argument 45 if(!to) 48 return add_driver_parameter(add, (driver_settings*) &to->parameter_count);
|
/haiku/src/bin/mail_utils/ |
H A D | mail.cpp | 31 "[-b bcc-addr] to-addr ...\n", argv[0]); 38 BString to; local 55 if (to.Length() > 0) 56 to.Append(", "); 57 to.Append(argv[i]); 63 fprintf(stdout, "To:\t%s\n", to.String()); 71 if (strcmp(to.String(), "") == 0 && 76 "in to, cc or bcc fields.\n"); 83 "Type '.' alone on a line to end your text and send it.\n"); 112 mail.AddHeaderField(B_MAIL_TO, to [all...] |
/haiku/src/system/libroot/posix/glibc/include/ |
H A D | string.h | 6 /* map the internal glibc interface to the public one */ 7 #define __memcpy(to, from, size) memcpy(to, from, size) 26 __mempcpy(void *to, const void *from, size_t size) argument 28 memcpy(to, from, size); 29 return (unsigned char *)to + size;
|
/haiku/src/system/kernel/arch/x86/paging/ |
H A D | x86_physical_page_mapper_mapped.h | 152 X86PhysicalPageMapper::MemcpyFromPhysical(void* to, phys_addr_t _from, argument 161 return user_memcpy(to, from, length); 163 memcpy(to, from, length); 176 auto to = (void*)(_to + KERNEL_PMAP_BASE); 179 return user_memcpy(to, from, length); 181 memcpy(to, from, length); 187 X86PhysicalPageMapper::MemcpyPhysicalPage(phys_addr_t to, argument 190 memcpy((void*)(to + KERNEL_PMAP_BASE), (void*)(from + KERNEL_PMAP_BASE),
|
/haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/ |
H A D | h2cfg.h | 30 #error BLUETOOTH_DEVICE_TRANSPORT must be defined to build the publishing path 34 #error BLUETOOTH_DEVICE_NAME must be defined to build the publishing path
|
/haiku/src/apps/haikudepot/textview/ |
H A D | ParagraphLayout.cpp | 149 // if whitespace follows (not perfect, but seems to do the right thing most 548 // // Try to find a tab stop that is farther than the current x 577 // The current glyph extends outside the width, we need to wrap 578 // to the next line. See what previous offset can be the end 587 // Found a place to perform a line break. 590 // Adjust the glyph info to point at the changed buffer 603 // * Adjust the baseline offset according to the max ascent 665 // the position of the character determines the available space to be 678 // If the character is visible, the width of the character needs to 766 // add the additional space to th [all...] |
/haiku/src/system/kernel/arch/x86/ |
H A D | arch_thread.cpp | 135 x86_next_page_directory(Thread* from, Thread* to) argument 137 VMAddressSpace* toAddressSpace = to->team->address_space; 151 /*! Returns to the userland environment given by \a frame for a thread not 154 Before returning to userland all potentially necessary kernel exit work is 158 \param frame The iframe defining the userland environment. Must point to a 171 // return to userland 196 arch_thread_context_switch(Thread* from, Thread* to) argument 198 cpu_ent* cpuData = to->cpu; 200 cpuData->arch.tss.sp0 = to->kernel_stack_top; 201 x86_set_syscall_stack(to [all...] |
/haiku/src/system/libroot/os/arch/x86/ |
H A D | syscalls.inc | 13 * esp + 4 points to the syscall parameters 14 * branch to the syscall vector in the commpage
|