Searched refs:alloc (Results 101 - 125 of 259) sorted by relevance

1234567891011

/freebsd-11-stable/contrib/bsnmp/snmpd/
H A Dconfig.c901 u_long alloc; local
925 alloc = 0;
931 if (alloc == value->v.octetstring.len) {
932 alloc += 100;
933 noct = realloc(value->v.octetstring.octets, alloc);
1095 volatile size_t alloc, length; local
1100 alloc = 100;
1102 if ((string = malloc(alloc)) == NULL)
1116 if (alloc == length) {
1117 alloc *
[all...]
/freebsd-11-stable/contrib/binutils/bfd/
H A Di386linux.c447 char *alloc = NULL;
452 alloc = (char *) bfd_malloc ((bfd_size_type) strlen (name) + 1);
454 if (p == NULL || alloc == NULL)
459 strcpy (alloc, name);
460 p = strrchr (alloc, '_');
464 alloc, p);
465 free (alloc);
446 char *alloc = NULL; local
H A Dsparclinux.c445 char *alloc = NULL; local
450 alloc = (char *) bfd_malloc ((bfd_size_type) strlen (name) + 1);
452 if (p == NULL || alloc == NULL)
457 strcpy (alloc, name);
458 p = strrchr (alloc, '_');
462 alloc, p);
463 free (alloc);
H A Drs6000-core.c641 size_t alloc; local
662 alloc = 100;
663 path = bfd_malloc ((bfd_size_type) alloc);
678 if (s == path + alloc)
682 alloc *= 2;
683 n = bfd_realloc (path, (bfd_size_type) alloc);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptRuntime.h431 bool RefreshAllocation(AllocationDetails *alloc, StackFrame *frame_ptr);
524 std::shared_ptr<uint8_t> GetAllocationData(AllocationDetails *alloc,
545 bool JITDataPointer(AllocationDetails *alloc, StackFrame *frame_ptr,
548 bool JITTypePointer(AllocationDetails *alloc, StackFrame *frame_ptr);
550 bool JITTypePacked(AllocationDetails *alloc, StackFrame *frame_ptr);
555 bool JITAllocationSize(AllocationDetails *alloc, StackFrame *frame_ptr);
560 bool JITAllocationStride(AllocationDetails *alloc, StackFrame *frame_ptr);
/freebsd-11-stable/contrib/gcc/
H A Dvec.h197 #define VEC_alloc(T,A,N) (VEC_OP(T,A,alloc)(N MEM_STAT_INFO))
458 unsigned alloc; \
466 unsigned alloc; \
569 vec_->alloc = alloc_; \
576 return vec_ ? vec_->alloc - vec_->num >= (unsigned)alloc_ : !alloc_; \
584 VEC_ASSERT (vec_->num < vec_->alloc, "push", T, base); \
626 VEC_ASSERT (vec_->num < vec_->alloc, "insert", T, base); \
707 static inline VEC(T,A) *VEC_OP (T,A,alloc) \
854 vec_->alloc = alloc_; \
861 return vec_ ? vec_->alloc
[all...]
/freebsd-11-stable/contrib/binutils/binutils/
H A Dwrstabs.c879 size_t alloc;
881 alloc = *cache_alloc;
882 if (alloc == 0)
883 alloc = 10;
884 while ((size_t) targindex >= alloc)
885 alloc *= 2;
886 *cache = (long *) xrealloc (*cache, alloc * sizeof (long));
888 (alloc - *cache_alloc) * sizeof (long));
889 *cache_alloc = alloc;
1268 size_t alloc;
877 size_t alloc; local
1266 size_t alloc; local
[all...]
H A Dstabs.c1454 unsigned int alloc; local
1474 alloc = 10;
1475 args = (debug_type *) xmalloc (alloc * sizeof *args);
1486 if (n + 1 >= alloc)
1488 alloc += 10;
1490 xrealloc (args, alloc * sizeof *args));
1931 unsigned int alloc; local
1949 alloc = 10;
1950 names = (const char **) xmalloc (alloc * sizeof *names);
1951 values = (bfd_signed_vma *) xmalloc (alloc * sizeo
2198 unsigned int alloc; local
2503 unsigned int alloc; local
4410 unsigned int alloc, count; local
5115 unsigned int alloc, count; local
[all...]
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_srq.c229 srq->srqn = mthca_alloc(&dev->srq_table.alloc);
314 mthca_free(&dev->srq_table.alloc, srq->srqn);
360 mthca_free(&dev->srq_table.alloc, srq->srqn);
674 err = mthca_alloc_init(&dev->srq_table.alloc,
684 mthca_alloc_cleanup(&dev->srq_table.alloc);
695 mthca_alloc_cleanup(&dev->srq_table.alloc);
/freebsd-11-stable/contrib/ntp/libntp/
H A Dauthkeys.c307 symkey_alloc * alloc; local
318 for (alloc = authallocs; alloc != NULL; alloc = next_alloc) {
319 next_alloc = alloc->link;
320 free(alloc->mem);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Unix/
H A DProcess.inc95 size_t alloc, sz;
97 if (mallctl("stats.allocated", &alloc, &sz, NULL, 0) == 0)
98 return alloc;
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp78 llvm::BumpPtrAllocator &alloc,
80 : Eng(SubEng), EnvMgr(alloc), GDMFactory(alloc),
81 svalBuilder(createSimpleSValBuilder(alloc, Ctx, *this)),
82 CallEventMgr(new CallEventManager(alloc)), Alloc(alloc) {
75 ProgramStateManager(ASTContext &Ctx, StoreManagerCreator CreateSMgr, ConstraintManagerCreator CreateCMgr, llvm::BumpPtrAllocator &alloc, SubEngine *SubEng) argument
/freebsd-11-stable/contrib/mdocml/
H A Dcompat_ohash.c60 p = (i->alloc)(i->key_offset + (*end - start) + 1, i->data);
208 h->info.alloc = info->alloc;
/freebsd-11-stable/contrib/gdb/gdb/
H A Dinfptrace.c519 int alloc = count * sizeof (PTRACE_XFER_TYPE);
557 buffer = (PTRACE_XFER_TYPE *) alloca (alloc);
561 buffer = (PTRACE_XFER_TYPE *) xmalloc (alloc);
515 int alloc = count * sizeof (PTRACE_XFER_TYPE); local
/freebsd-11-stable/lib/libopenbsd/
H A Dohash.c53 p = (i->alloc)(i->key_offset + (*end - start) + 1, i->data);
201 h->info.alloc = info->alloc;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_posix_libcdep.cpp329 static InternalSymbolizer *get(LowLevelAllocator *alloc) { argument
332 return new(*alloc) InternalSymbolizer();
387 static InternalSymbolizer *get(LowLevelAllocator *alloc) { return 0; } argument
/freebsd-11-stable/contrib/binutils/gas/
H A Dhash.c111 unsigned long alloc; local
118 alloc = size * sizeof (struct hash_entry *);
119 ret->table = obstack_alloc (&ret->memory, alloc);
120 memset (ret->table, 0, alloc);
/freebsd-11-stable/contrib/unbound/libunbound/
H A Dcontext.h44 #include "util/alloc.h"
102 * List of alloc-cache-id points per threadnum for notinuse threads.
123 * with a user event base inside, if so, clean up the pluggable alloc*/
188 /** alloc failure */
259 * Get a new alloc. Creates a new one or uses a cached one.
261 * @param locking: if true, cfglock is locked while getting alloc.
262 * @return an alloc, or NULL on mem error.
267 * Release an alloc. Puts it into the cache.
269 * @param locking: if true, cfglock is locked while releasing alloc.
270 * @param alloc
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/BlocksRuntime/
H A Druntime.c231 void _Block_use_GC( void *(*alloc)(const unsigned long, const bool isOne, const bool isObject),
238 _Block_allocator = alloc;
254 void _Block_use_GC5( void *(*alloc)(const unsigned long, const bool isOne, const bool isObject),
259 _Block_use_GC(alloc, setHasRefcount, gc_assign, gc_assign_weak, _Block_memmove_gc_broken);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DExecutionDomainFix.h153 DomainValue *alloc(int domain = -1);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DExecutionDomainFix.cpp25 DomainValue *ExecutionDomainFix::alloc(int domain) {
108 setLiveReg(rx, alloc(domain));
124 setLiveReg(rx, alloc(domain));
376 dv = alloc();
/freebsd-11-stable/contrib/llvm-project/lld/COFF/
H A DPDB.cpp91 : alloc(), symtab(symtab), builder(alloc), tMerger(alloc) {
167 BumpPtrAllocator alloc; member in class:lld::coff::__anon1105::PDBLinker
902 alloc.Allocate(totalRealignedSize, alignOf(CodeViewContainer::Pdb));
984 static ArrayRef<uint8_t> relocateDebugChunk(BumpPtrAllocator &alloc, argument
986 uint8_t *buffer = alloc.Allocate<uint8_t>(debugChunk.getSize());
1034 relocateDebugChunk(linker.alloc, debugS), debugS.getSectionName());
1245 relocateDebugChunk(alloc, *debugChunk);
1660 ons, alloc, CodeViewContaine
[all...]
/freebsd-11-stable/contrib/wpa/src/tls/
H A Dlibtommath.c127 int used, alloc, sign; member in struct:__anon3760
239 if (c->alloc < max + 1) {
317 if (c->alloc < max) {
393 a->alloc = MP_PREC;
417 a->alloc = a->used = 0;
967 if (a->alloc < 2) {
1122 for (n = 0; n < a->alloc; n++) {
1139 if (b->alloc < a->used) {
1269 /* if the alloc size is smaller alloc mor
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Devthread-internal.h78 ((lockvar) = evthread_lock_fns_.alloc ? \
79 evthread_lock_fns_.alloc(locktype) : NULL)
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
H A Drtree.h83 rtree_node_alloc_t *alloc; member in struct:rtree_s
98 bool rtree_new(rtree_t *rtree, unsigned bits, rtree_node_alloc_t *alloc,

Completed in 480 milliseconds

1234567891011