reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/openmp/runtime/src/kmp_alloc.cpp
  435   if (size < 0 || size + sizeof(bhead_t) > MaxSize) {
  435   if (size < 0 || size + sizeof(bhead_t) > MaxSize) {
  441   if (size < (bufsize)SizeQ) { // Need at least room for the queue links.
  442     size = SizeQ;
  445   size = (size + (SizeQuant - 1)) & (~(SizeQuant - 1));
  445   size = (size + (SizeQuant - 1)) & (~(SizeQuant - 1));
  448   size += sizeof(bhead_t); // Add overhead in allocated buffer to size required.
  461     for (bin = bget_get_bin(size); bin < MAX_BGET_BINS; ++bin) {
  472           if (b->bh.bb.bsize >= (bufsize)size) {
  486         if ((bufsize)b->bh.bb.bsize >= (bufsize)size) {
  495           if ((b->bh.bb.bsize - (bufsize)size) >
  499             ba = BH(((char *)b) + (b->bh.bb.bsize - (bufsize)size));
  500             bn = BH(((char *)ba) + size);
  505             b->bh.bb.bsize -= (bufsize)size;
  511             ba->bb.bsize = -size;
  523             thr->totalloc += (size_t)size;
  569     if ((thr->compfcn == 0) || (!(*thr->compfcn)(size, ++compactseq))) {
  578     if (size > (bufsize)(thr->exp_incr - sizeof(bhead_t))) {
  583       size += sizeof(bdhead_t) - sizeof(bhead_t);
  588       bdh = BDH((*thr->acqfcn)((bufsize)size));
  598         bdh->tsize = size;
  600         thr->totalloc += (size_t)size;