Searched refs:size (Results 51 - 75 of 3482) sorted by relevance

1234567891011>>

/haiku-fatelf/src/add-ons/kernel/drivers/audio/echo/
H A Dutil.c39 uint32 round_to_pagesize(uint32 size);
60 round_to_pagesize(uint32 size) argument
62 return (size + B_PAGE_SIZE - 1) & ~(B_PAGE_SIZE - 1);
67 alloc_mem(phys_addr_t *phy, void **log, size_t size, const char *name) argument
74 LOG(("allocating %d bytes for %s\n",size,name));
76 size = round_to_pagesize(size);
77 area = create_area(name, &logadr, B_ANY_KERNEL_ADDRESS, size,
85 rv = get_memory_map(logadr, size, &pe, 1);
91 memset(logadr, 0, size);
103 map_mem(void **log, phys_addr_t phy, size_t size, const char *name) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/dp83815/
H A Dutil.c36 uint32 round_to_pagesize(uint32 size);
57 round_to_pagesize(uint32 size) argument
59 return (size + B_PAGE_SIZE - 1) & ~(B_PAGE_SIZE - 1);
64 alloc_mem(void **log, void **phy, size_t size, const char *name) argument
72 dprintf("dp83815: allocating %ld bytes for %s\n",size,name);
74 size = round_to_pagesize(size);
75 areaid = create_area(name, &logadr, B_ANY_KERNEL_ADDRESS, size,
83 rv = get_memory_map(logadr,size,&pe,1);
89 memset(logadr,0,size);
105 map_mem(void **log, void *phy, size_t size, const char *name) argument
[all...]
/haiku-fatelf/src/bin/gdb/libiberty/
H A Dxmalloc.c32 @deftypefn Replacement void* xrealloc (void *@var{ptr}, size_t @var{size})
111 xmalloc_failed (size)
112 size_t size;
125 (unsigned long) size, (unsigned long) allocated);
130 (unsigned long) size);
136 xmalloc (size)
137 size_t size;
141 if (size == 0)
142 size = 1;
143 newmem = malloc (size);
[all...]
/haiku-fatelf/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-fatelf/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
98 size_t size = min_c(dataSize, sgTable[i].size); local
115 swap_words(void *data, size_t size) argument
[all...]
/haiku-fatelf/headers/private/kernel/boot/
H A Daddr_range.h15 uint64 size; member in struct:addr_range
24 uint32 maxRanges, uint64 start, uint64 size);
26 uint32 maxRanges, uint64 start, uint64 size);
28 uint64 size, uint64* _rangeBase);
30 uint64 size);
33 status_t insert_physical_memory_range(uint64 start, uint64 size);
34 status_t insert_physical_allocated_range(uint64 start, uint64 size);
35 status_t insert_virtual_allocated_range(uint64 start, uint64 size);
/haiku-fatelf/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);
/haiku-fatelf/src/apps/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");
34 snprintf(buffer, size, "%#" B_PRIx64, pointer);
37 snprintf(buffer, size, "%p", reference);
40 snprintf(buffer, size, "\"%s\"", string);
/haiku-fatelf/src/bin/gdb/gdb/
H A Ddwarf2loc.h41 unsigned short size; member in struct:dwarf2_locexpr_baton
57 unsigned short size; member in struct:dwarf2_loclist_baton
/haiku-fatelf/src/bin/gdb/gdb/rdi-share/
H A Dcrc.h58 * size number of bytes of data to be processed
64 extern unsigned int crc32(unsigned char *address, unsigned int size,
76 * size number of bytes of data to be processed
83 extern unsigned short crc16(unsigned char *address, unsigned int size,
/haiku-fatelf/src/system/boot/loader/
H A Dvm.cpp13 user_memcpy(void* to, const void* from, size_t size) argument
15 memcpy(to, from, size);
/haiku-fatelf/src/system/libroot/posix/glibc/stdlib/
H A Dalloca.h36 # define alloca(size) __builtin_alloca (size)
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/signal_h/
H A D19-1.c9 size_t size; variable
15 size = t.ss_size;
/haiku-fatelf/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-fatelf/headers/posix/arch/m68k/
H A Darch_setjmp.h11 #warning M68K: fix jmpbuf size
/haiku-fatelf/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 = %ld, size
75 map_mem(void **virt, void *phy, size_t size, uint32 protection, const char *name) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/rtl8169/
H A Dutil.c30 round_to_pagesize(uint32 size) argument
32 return (size + B_PAGE_SIZE - 1) & ~(B_PAGE_SIZE - 1);
37 alloc_contiguous(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 areaid = 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 = %ld, size
74 map_mem(void **virt, void *phy, size_t size, uint32 protection, const char *name) argument
[all...]
/haiku-fatelf/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-fatelf/src/bin/gdb/gdb/regformats/
H A Dregdef.h31 by the size of a byte (to match the layout of each register in
37 /* The size (in bits) of the value of this register, as transmitted. */
38 int size; member in struct:reg
/haiku-fatelf/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-fatelf/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-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/
H A Dcpp.h26 inline void *operator new(size_t size, const nothrow_t&) throw() argument
28 return malloc(size);
31 inline void *operator new[](size_t size, const nothrow_t&) throw() argument
33 return malloc(size);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/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-fatelf/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

Completed in 159 milliseconds

1234567891011>>