/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
standalone_malloc_test.cc | 26 bool allocate = (i % 5) <= 2; // 60% malloc, 40% free local in function:MallocThread 28 allocate = i % 2; // then switch to 50% malloc, 50% free 29 if (allocate) {
|
/src/sys/external/bsd/drm/dist/bsd-core/ |
drm_sman.h | 30 * Simple memory MANager interface that keeps track on allocate regions on a 60 /* Allocate a memory block with given size and alignment. 63 void *(*allocate) (void *private, unsigned long size, member in struct:drm_sman_mm 105 * Allocate structures for a manager. 138 * Allocate a memory block. Aligment is not implemented yet.
|
/src/usr.sbin/makefs/v7fs/ |
v7fs_populate.c | 81 allocate(struct v7fs_self *fs, struct v7fs_inode *parent_inode, fsnode *node, function in typeref:typename:int 156 /* Allocate file */ 157 if ((error = allocate(fs, parent_inode, node, 0, &inode))) { 158 errmsg = "file allocate"; 212 if ((error = allocate(fs, parent_inode, cur, 221 /* Allocate this directory. */ 222 if ((error = allocate(fs, parent_inode, cur, 0, 241 if ((error = allocate(fs, parent_inode, cur, 0,
|
/src/sys/external/bsd/compiler_rt/dist/lib/xray/ |
xray_allocator.h | 40 template <class T> T *allocate() XRAY_NEVER_INSTRUMENT { function in namespace:__xray 70 "XRay Profiling: Failed to allocate memory of size %d; Error = %d.\n", 119 "XRay Profiling: Failed to allocate memory of size %d; Error = %d.\n", 187 Report("XRay Profiling: Failed to allocate memory for allocator.\n"); 278 Block Allocate() XRAY_NEVER_INSTRUMENT { return {Alloc()}; }
|
/src/sbin/nvmectl/ |
bignum.c | 102 allocate(size_t n, size_t m) function in typeref:typename:void * 425 /* allocate memory required and clear it */ 426 a->dp = allocate(1, sizeof(*a->dp) * MP_PREC); 506 a->dp = allocate(1, sizeof(*a->dp) * size); 5031 if ((s = allocate(1, (size_t)len)) != NULL) { 5267 if ((a = allocate(1, sizeof(*a))) != NULL) { 5532 return allocate(1, sizeof(BN_CTX)); 5540 if ((c->v = allocate(sizeof(*c->v), c->arraysize)) == NULL) {
|