Lines Matching defs:totalCost
219 ClientManager(int32_t totalCost);
349 ClientManager<KEY, VALUE, LISTENER>::ClientManager(int32_t totalCost) : mMaxCost(totalCost) {}
389 int64_t totalCost = getCurrentCostLocked() + cost;
425 } else if (conflicting || ((totalCost > mMaxCost && curCost > 0) &&
435 totalCost -= curCost;
440 if (curPriority > priority && (conflicting || (totalCost > mMaxCost && curCost > 0))) {
453 if (totalCost > mMaxCost && highestPriorityOwner != owner) {
637 int64_t totalCost = 0;
639 totalCost += x->getCost();
641 return totalCost;