Home
last modified time | relevance | path

Searched refs:last_pos (Results 1 – 20 of 20) sorted by relevance

/external/u-boot/lib/zstd/
Dzstd_opt.h192 while (last_pos < pos) { \
193 opt[last_pos + 1].price = ZSTD_MAX_PRICE; \
194 last_pos++; \
430 U32 cur, match_num, last_pos, litlen, price; in ZSTD_compressBlock_opt_generic() local
433 last_pos = 0; in ZSTD_compressBlock_opt_generic()
448 last_pos = 1; in ZSTD_compressBlock_opt_generic()
454 if (mlen > last_pos || price < opt[mlen].price) in ZSTD_compressBlock_opt_generic()
464 if (!last_pos && !match_num) { in ZSTD_compressBlock_opt_generic()
473 last_pos = 1; in ZSTD_compressBlock_opt_generic()
478 best_mlen = (last_pos) ? last_pos : minMatch; in ZSTD_compressBlock_opt_generic()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dcompute_memory_pool.c222 int64_t last_pos; in compute_memory_finalize_pending() local
262 last_pos = allocated; in compute_memory_finalize_pending()
268 err = compute_memory_promote_item(pool, item, pipe, last_pos); in compute_memory_finalize_pending()
271 last_pos += align(item->size_in_dw, ITEM_ALIGNMENT); in compute_memory_finalize_pending()
293 int64_t last_pos; in compute_memory_defrag() local
297 last_pos = 0; in compute_memory_defrag()
299 if (src != dst || item->start_in_dw != last_pos) { in compute_memory_defrag()
300 assert(last_pos <= item->start_in_dw); in compute_memory_defrag()
303 item, last_pos, pipe); in compute_memory_defrag()
306 last_pos += align(item->size_in_dw, ITEM_ALIGNMENT); in compute_memory_defrag()
/external/webp/src/utils/
Dbit_reader_utils.c240 static int last_pos = 0; variable
279 if (abs(pos - last_pos) > 32) { in BitTrace()
282 last_pos = 0; in BitTrace()
290 kLabels[i].size += pos - last_pos; in BitTrace()
293 last_pos = pos; in BitTrace()
/external/grpc-grpc/src/compiler/
Dgenerator_helpers.h85 size_t pos, last_pos = 0; in tokenize() local
89 pos = input.find_first_of(delimiters, last_pos); in tokenize()
95 tokens.push_back(input.substr(last_pos, pos - last_pos)); in tokenize()
98 last_pos = pos + 1; in tokenize()
/external/brotli/research/
Dfind_opt_references.cc44 size_t last_pos = 0; in ReadInput() local
48 available_in = fread(storage + last_pos, 1, kFileBufferSize, fin); in ReadInput()
49 last_pos += available_in; in ReadInput()
51 assert(last_pos == input_size); in ReadInput()
/external/stressapptest/src/
Ddisk_blocks.cc107 int last_pos = size_ - 1; in RemoveBlock() local
109 pos_to_addr_[last_pos]); in RemoveBlock()
114 pos_to_addr_[curr_pos] = pos_to_addr_[last_pos]; in RemoveBlock()
/external/tensorflow/tensorflow/core/grappler/
Dmutable_graph_view.cc347 int last_pos = last_idx; in AddAndDedupFanouts() local
348 while (pos <= last_pos) { in AddAndDedupFanouts()
359 node->mutable_input()->SwapElements(pos, last_pos); in AddAndDedupFanouts()
360 --last_pos; in AddAndDedupFanouts()
379 if (last_pos < last_idx) { in AddAndDedupFanouts()
380 node->mutable_input()->DeleteSubrange(last_pos + 1, last_idx - last_pos); in AddAndDedupFanouts()
1575 int last_pos = last_idx; in DeleteNodes() local
1576 while (pos <= last_pos) { in DeleteNodes()
1578 graph()->mutable_node()->SwapElements(pos, last_pos); in DeleteNodes()
1579 --last_pos; in DeleteNodes()
[all …]
/external/webp/src/dsp/
Dupsampling_neon.c205 const int last_pos = 1 + 16 * num_blocks; \
242 top_dst, bottom_dst, last_pos, len - last_pos); \
/external/boringssl/src/crypto/err/
Derr.c433 char *last_pos = &buf[len - 1] - num_colons + i; in ERR_error_string_n() local
435 if (colon == NULL || colon > last_pos) { in ERR_error_string_n()
440 OPENSSL_memset(last_pos, ':', num_colons - i); in ERR_error_string_n()
/external/skqp/src/shaders/gradients/
DSk4fGradientBase.cpp196 const SkScalar last_pos = SK_Scalar1 - first_pos; in init() local
228 fIntervals.emplace_back(clamp_color, last_pos, in init()
/external/skia/src/shaders/gradients/
DSk4fGradientBase.cpp196 const SkScalar last_pos = SK_Scalar1 - first_pos; in init() local
228 fIntervals.emplace_back(clamp_color, last_pos, in init()
/external/mesa3d/src/amd/compiler/
Daco_register_allocation.cpp628 unsigned last_pos = 0xFFFF; in get_reg_simple() local
633 if (last_pos == 0xFFFF) in get_reg_simple()
634 last_pos = current_reg; in get_reg_simple()
643 if (last_pos == 0xFFFF) in get_reg_simple()
647 if (last_pos + size == current_reg) { in get_reg_simple()
648 adjust_max_used_regs(ctx, rc, last_pos); in get_reg_simple()
649 return {PhysReg{last_pos}, true}; in get_reg_simple()
653 if (last_pos + size < current_reg && current_reg - last_pos < gap_size) { in get_reg_simple()
654 best_pos = last_pos; in get_reg_simple()
655 gap_size = current_reg - last_pos; in get_reg_simple()
[all …]
/external/protobuf/src/google/protobuf/
Dtext_format_unittest.cc649 int last_pos = 0; in PrintString() local
654 val.substr(last_pos, newline_pos + 1 - last_pos), generator); in PrintString()
655 last_pos = newline_pos + 1; in PrintString()
656 newline_pos = val.find('\n', last_pos); in PrintString()
658 if (last_pos < val.size()) { in PrintString()
660 TextFormat::FastFieldValuePrinter::PrintString(val.substr(last_pos), in PrintString()
/external/tensorflow/tensorflow/core/grappler/utils/
Dgraph_view.cc548 int last_pos = last_idx; in AddFaninsInternal() local
551 while (pos <= last_pos) { in AddFaninsInternal()
572 node->mutable_input()->SwapElements(pos, last_pos); in AddFaninsInternal()
573 std::swap(node_fanins[pos], node_fanins[last_pos]); in AddFaninsInternal()
574 --last_pos; in AddFaninsInternal()
596 if (last_pos < last_idx) { in AddFaninsInternal()
597 node->mutable_input()->DeleteSubrange(last_pos + 1, last_idx - last_pos); in AddFaninsInternal()
/external/pdfium/core/fpdftext/
Dcpdf_textpage.cpp182 float last_pos, in GenerateSpace() argument
186 if (fabs(last_pos + last_width - pos.x) <= threshold) in GenerateSpace()
190 float pos_difference = pos.x - last_pos; in GenerateSpace()
1232 float last_pos = PrevItem.m_Origin.x; in ProcessInsertObject() local
1312 return GenerateSpace(pos, last_pos, this_width, last_width, threshold2) in ProcessInsertObject()
/external/harfbuzz_ng/src/
Dhb-ot-shape-complex-indic.cc689 indic_position_t last_pos = POS_START; in initial_reordering_consonant_syllable() local
694 info[i].indic_position() = last_pos; in initial_reordering_consonant_syllable()
714 last_pos = (indic_position_t) info[i].indic_position(); in initial_reordering_consonant_syllable()
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamcontentparser.cpp1549 int last_pos = m_pSyntax->GetPos(); in ParsePathObject() local
1608 last_pos = m_pSyntax->GetPos(); in ParsePathObject()
1624 m_pSyntax->SetPos(last_pos); in ParsePathObject()
/external/v8/src/compiler/backend/
Dregister-allocator.cc2552 LifetimePosition last_pos = LifetimePosition::GapFromInstructionIndex( in IntervalPredecessorsCoveredByRange() local
2554 last_pos = last_pos.NextStart().End(); in IntervalPredecessorsCoveredByRange()
2555 if (!range->Covers(last_pos)) return false; in IntervalPredecessorsCoveredByRange()
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/parser/
DParser.java23 private int last_pos; field in Parser
126 this.last_pos = this.lexer.peek().getPos(); in parse()
864 "[" + this.last_line + "," + this.last_pos + "] " + in parse()
/external/deqp/external/openglcts/modules/gles31/
Des31cArrayOfArraysTests.cpp8782 const size_t last_pos = start_pos + n_entries; in execute() local
8783 const size_t buffer_data_size = last_pos * sizeof(glw::GLuint); in execute()