Searched refs:size (Results 26 - 50 of 2734) sorted by relevance

1234567891011>>

/haiku/src/system/libroot/os/
H A Dteam.c22 _get_team_usage_info(team_id team, int32 who, team_usage_info *info, size_t size) argument
24 return _kern_get_team_usage_info(team, who, info, size);
36 _get_team_info(team_id team, team_info *info, size_t size) argument
38 return _kern_get_team_info(team, info, size);
43 _get_next_team_info(int32 *cookie, team_info *info, size_t size) argument
45 return _kern_get_next_team_info(cookie, info, size);
/haiku/src/system/libroot/posix/glibc/arch/x86/
H A Dmul_1.S34 #define size ecx define
48 movl SIZE(%esp), %size
51 shll $2, %size /* convert limbs to bytes */
52 CHECK_BOUNDS_BOTH_WIDE (%res_ptr, RES(%esp), %size)
53 CHECK_BOUNDS_BOTH_WIDE (%s1_ptr, S1(%esp), %size)
54 shrl $2, %size
56 leal (%res_ptr,%size,4), %res_ptr
57 leal (%s1_ptr,%size,4), %s1_ptr
58 negl %size
63 movl (%s1_ptr,%size,
[all...]
/haiku/src/add-ons/kernel/busses/scsi/ahci/
H A Dutil.cpp18 round_to_pagesize(uint32 size) argument
20 return (size + B_PAGE_SIZE - 1) & ~(B_PAGE_SIZE - 1);
25 alloc_mem(void **virt, phys_addr_t *phy, size_t size, uint32 protection, argument
33 TRACE("allocating %ld bytes for %s\n", size, name);
35 size = round_to_pagesize(size);
36 areaid = create_area(name, &virtadr, B_ANY_KERNEL_ADDRESS, size,
42 rv = get_memory_map(virtadr, size, &pe, 1);
52 TRACE("area = %" B_PRId32 ", size = %ld, virt = %p, phy = %#" B_PRIxPHYSADDR "\n",
53 areaid, size, virtad
59 map_mem(void **virt, phys_addr_t phy, size_t size, uint32 protection, const char *name) argument
103 size_t size = min_c(dataSize, sgTable[i].size); local
120 swap_words(void *data, size_t size) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Defs.h24 int ntfs_get_efs_info(ntfs_inode *ni, char *value, size_t size);
27 const char *value, size_t size, int flags);
H A Dmst.h30 extern int ntfs_mst_post_read_fixup(NTFS_RECORD *b, const u32 size);
31 extern int ntfs_mst_post_read_fixup_warn(NTFS_RECORD *b, const u32 size,
33 extern int ntfs_mst_pre_write_fixup(NTFS_RECORD *b, const u32 size);
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Dalloca.h36 # define alloca(size) __builtin_alloca (size)
/haiku/src/kits/debugger/dwarf/
H A DAttributeValue.cpp14 AttributeValue::ToString(char* buffer, size_t size) argument
18 snprintf(buffer, size, "%#" B_PRIx64, address);
21 snprintf(buffer, size, "(%p, %#" B_PRIx64 ")", block.data,
25 snprintf(buffer, size, "%#" B_PRIx64, constant);
28 snprintf(buffer, size, "%s", flag ? "true" : "false");
38 snprintf(buffer, size, "%#" B_PRIx64, pointer);
41 snprintf(buffer, size, "%p", reference);
44 snprintf(buffer, size, "\"%s\"", string);
/haiku/src/system/boot/loader/
H A Dmisc.cpp13 user_memcpy(void* to, const void* from, size_t size) argument
15 memcpy(to, from, size);
/haiku/src/system/libroot/posix/glibc/include/bits/
H A Dstdio.h130 # define fread_unlocked(ptr, size, n, stream) \
131 (__extension__ ((__builtin_constant_p (size) && __builtin_constant_p (n) \
132 && (size_t) ((size) * (n)) <= 8 && (size) != 0) \
136 for (__cnt = (size) * (n); __cnt > 0; --__cnt) \
143 ((size_t) ((size) * (n)) - __cnt) / (size); }) \
144 : (((__builtin_constant_p (size) && (size) == 0) \
147 ? ((void) (ptr), (void) (stream), (void) (size), \
[all...]
/haiku/src/system/libroot/posix/glibc/arch/generic/
H A Dcmp.c32 mpn_cmp (mp_srcptr op1_ptr, mp_srcptr op2_ptr, mp_size_t size) argument
34 mpn_cmp (op1_ptr, op2_ptr, size)
37 mp_size_t size;
43 for (i = size - 1; i >= 0; i--)
/haiku/src/system/libroot/posix/glibc/libio/
H A Diofread_u.c34 fread_unlocked (buf, size, count, fp)
36 _IO_size_t size;
40 _IO_size_t bytes_requested = size * count;
46 return bytes_requested == bytes_read ? count : bytes_read / size;
H A Diofwrite_u.c34 fwrite_unlocked (buf, size, count, fp)
36 _IO_size_t size;
40 _IO_size_t request = size * count;
52 return written / size;
/haiku/src/tests/system/boot/loader/
H A Dplatform_mmu.cpp14 platform_allocate_region(void **_address, size_t size, uint8 protection, argument
17 printf("platform_allocate_region(address = %p, size = %lu, protection = %u, exactAdress = %d)\n",
18 *_address, size, protection, exactAddress);
20 void *address = malloc(size);
30 platform_free_region(void *address, size_t size) argument
/haiku/src/add-ons/kernel/partitioning_systems/gpt/
H A Dcrc32.h12 uint32 crc32(const uint8* buffer, size_t size);
/haiku/src/add-ons/kernel/drivers/dvb/cx23882/
H A Dutil.h30 area_id map_mem(void **virt, phys_addr_t phy, size_t size, uint32 protection,
32 area_id alloc_mem(void **virt, phys_addr_t *phy, size_t size, uint32 protection,
36 #define ROUNDUP(size, blocksize) (((size) + (blocksize) - 1) & ~((blocksize) - 1))
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dutil.c30 round_to_pagesize(uint32 size) argument
32 return (size + B_PAGE_SIZE - 1) & ~(B_PAGE_SIZE - 1);
37 alloc_mem(void **virt, void **phy, size_t size, uint32 protection, argument
46 TRACE("allocating %ld bytes for %s\n", size, name);
48 size = round_to_pagesize(size);
49 area = create_area(name, &virtadr, B_ANY_KERNEL_ADDRESS, size,
57 rv = get_memory_map(virtadr, size, &pe, 1);
63 memset(virtadr, 0, size);
68 TRACE("area = %" B_PRId32 ", size
75 map_mem(void **virt, void *phy, size_t size, uint32 protection, const char *name) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A Dcpp.h27 inline void *operator new(size_t size, const nothrow_t&) throw() argument
29 return malloc(size);
32 inline void *operator new[](size_t size, const nothrow_t&) throw() argument
34 return malloc(size);
/haiku/src/add-ons/print/drivers/gutenprint/
H A DOutputStream.h17 virtual void Write(const void *buffer, size_t size)
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dvm.cpp18 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/src/system/libroot/posix/stdlib/
H A Dheapsort.c48 * Swap two areas of size number of bytes. Although qsort(3) permits random
54 #define SWAP(a, b, count, size, tmp) { \
55 count = size; \
63 /* Copy one block of size size to another. */
64 #define COPY(a, b, count, size, tmp1, tmp2) { \
65 count = size; \
80 #define CREATE(initval, nmemb, par_i, child_i, par, child, size, count, tmp) { \
83 child = base + child_i * size; \
84 if (child_i < nmemb && COMPAR(child, child + size) <
143 heapsort(void *vbase, size_t nmemb, size_t size, int (*compar)(const void *, const void *)) argument
[all...]
/haiku/headers/private/kernel/arch/mipsel/
H A Darch_vm_translation_map.h15 phys_addr_t physicalAddress, size_t size);
17 void mipsel_unmap_address_range(addr_t virtualAddress, size_t size);
19 status_t mipsel_remap_address_range(addr_t *virtualAddress, size_t size,
/haiku/src/kits/package/hpkg/
H A DPoolBuffer.cpp19 PoolBuffer::PoolBuffer(size_t size) argument
22 fBuffer(malloc(size)),
23 fSize(size),
/haiku/headers/private/kernel/arch/ppc/
H A Darch_vm_translation_map.h17 phys_addr_t physicalAddress, size_t size);
18 void ppc_unmap_address_range(addr_t virtualAddress, size_t size);
19 status_t ppc_remap_address_range(addr_t *virtualAddress, size_t size,
/haiku/headers/private/kernel/arch/m68k/
H A Darch_vm_translation_map.h17 phys_addr_t physicalAddress, size_t size);
18 void m68k_unmap_address_range(addr_t virtualAddress, size_t size);
19 status_t m68k_remap_address_range(addr_t *virtualAddress, size_t size,
/haiku/src/system/boot/platform/u-boot/
H A Dmmu.h24 size_t size, uint32 flags);
25 extern void *mmu_allocate(void *virtualAddress, size_t size);
26 extern void mmu_free(void *virtualAddress, size_t size);

Completed in 309 milliseconds

1234567891011>>