Searched refs:best_offset (Results 1 – 4 of 4) sorted by relevance
57 size_t best_offset = kOffsetNotAssigned; in Allocate() local73 best_offset = aligned_current_offset; in Allocate()78 if (best_offset == kOffsetNotAssigned) { in Allocate()79 best_offset = AlignTo(alignment, current_offset); in Allocate()83 high_water_mark_ = std::max(high_water_mark_, best_offset + size); in Allocate()84 new_alloc->offset = best_offset; in Allocate()
88 size_t best_offset = kNotAssigned; in GreedyBySizeAssignment() local105 best_offset = prev_offset; in GreedyBySizeAssignment()117 if (best_offset == kNotAssigned) { in GreedyBySizeAssignment()118 best_offset = prev_offset; in GreedyBySizeAssignment()125 assignment->offsets[*it] <= best_offset) { in GreedyBySizeAssignment()129 assignment->offsets[rec_with_idx.idx] = best_offset; in GreedyBySizeAssignment()131 std::max(assignment->total_size, best_offset + rec->tensor_size); in GreedyBySizeAssignment()
626 int best_offset; in BackwardReferencesLz77Box() local632 best_offset = VP8LHashChainFindOffset(hash_chain_best, i); in BackwardReferencesLz77Box()634 if (best_offset == window_offsets[ind]) { in BackwardReferencesLz77Box()649 best_offset = use_prev ? best_offset_prev : 0; in BackwardReferencesLz77Box()674 best_offset = in BackwardReferencesLz77Box()694 (best_offset << MAX_LENGTH_BITS) | (uint32_t)best_length; in BackwardReferencesLz77Box()695 best_offset_prev = best_offset; in BackwardReferencesLz77Box()
654 int best_offset = 0; in FindEntry() local712 best_offset = offset; in FindEntry()741 best_offset = offset; in FindEntry()752 ResTable_entry best_entry = LoadedPackage.GetEntryFromOffset(best_type, best_offset); in FindEntry()