Home
last modified time | relevance | path

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

12

/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/rust/crates/grpcio-sys/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/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/zstd/lib/compress/
Dzstd_opt.c1078 U32 cur, last_pos = 0; in ZSTD_compressBlock_opt_generic() local
1112 last_pos = ZSTD_totalLen(lastSequence); in ZSTD_compressBlock_opt_generic()
1137 last_pos = pos-1; in ZSTD_compressBlock_opt_generic()
1142 for (cur = 1; cur <= last_pos; cur++) { in ZSTD_compressBlock_opt_generic()
1187 if (cur == last_pos) break; in ZSTD_compressBlock_opt_generic()
1221 last_pos = cur + ZSTD_totalLen(lastSequence); in ZSTD_compressBlock_opt_generic()
1240 if ((pos > last_pos) || (price < opt[pos].price)) { in ZSTD_compressBlock_opt_generic()
1243 …while (last_pos < pos) { opt[last_pos+1].price = ZSTD_MAX_PRICE; last_pos++; } /* fill empty pos… in ZSTD_compressBlock_opt_generic()
1256 lastSequence = opt[last_pos]; in ZSTD_compressBlock_opt_generic()
1257 …cur = last_pos > ZSTD_totalLen(lastSequence) ? last_pos - ZSTD_totalLen(lastSequence) : 0; /* sin… in ZSTD_compressBlock_opt_generic()
[all …]
/external/tensorflow/tensorflow/core/grappler/
Dmutable_graph_view.cc369 int last_pos = last_idx; in AddAndDedupFanouts() local
370 while (pos <= last_pos) { in AddAndDedupFanouts()
381 node->mutable_input()->SwapElements(pos, last_pos); in AddAndDedupFanouts()
382 --last_pos; in AddAndDedupFanouts()
401 if (last_pos < last_idx) { in AddAndDedupFanouts()
402 node->mutable_input()->DeleteSubrange(last_pos + 1, last_idx - last_pos); in AddAndDedupFanouts()
1591 int last_pos = last_idx; in DeleteNodes() local
1592 while (pos <= last_pos) { in DeleteNodes()
1594 graph()->mutable_node()->SwapElements(pos, last_pos); in DeleteNodes()
1595 --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/freetype/src/sdf/
Dftsdf.c347 FT_26D6_Vec last_pos; member
666 contour->last_pos = *to; in sdf_move_to()
698 if ( contour->last_pos.x == to->x && in sdf_line_to()
699 contour->last_pos.y == to->y ) in sdf_line_to()
705 edge->start_pos = contour->last_pos; in sdf_line_to()
710 contour->last_pos = *to; in sdf_line_to()
744 if ( ( contour->last_pos.x == control_1->x && in sdf_conic_to()
745 contour->last_pos.y == control_1->y ) || in sdf_conic_to()
756 edge->start_pos = contour->last_pos; in sdf_conic_to()
762 contour->last_pos = *to; in sdf_conic_to()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/err/
Derr.c571 char *last_pos = &buf[len - 1] - num_colons + i; in ERR_error_string_n() local
573 if (colon == NULL || colon > last_pos) { in ERR_error_string_n()
578 OPENSSL_memset(last_pos, ':', num_colons - i); in ERR_error_string_n()
/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/boringssl/src/crypto/err/
Derr.c585 char *last_pos = &buf[len - 1] - num_colons + i; in ERR_error_string_n() local
587 if (colon == NULL || colon > last_pos) { in ERR_error_string_n()
592 OPENSSL_memset(last_pos, ':', num_colons - i); in ERR_error_string_n()
/external/cronet/third_party/boringssl/src/crypto/err/
Derr.c585 char *last_pos = &buf[len - 1] - num_colons + i; in ERR_error_string_n() local
587 if (colon == NULL || colon > last_pos) { in ERR_error_string_n()
592 OPENSSL_memset(last_pos, ':', num_colons - i); in ERR_error_string_n()
/external/tensorflow/tensorflow/core/grappler/utils/
Dgraph_view.cc550 int last_pos = last_idx; in AddFaninsInternal() local
553 while (pos <= last_pos) { in AddFaninsInternal()
574 node->mutable_input()->SwapElements(pos, last_pos); in AddFaninsInternal()
575 std::swap(node_fanins[pos], node_fanins[last_pos]); in AddFaninsInternal()
576 --last_pos; in AddFaninsInternal()
600 if (last_pos < last_idx) { in AddFaninsInternal()
601 node->mutable_input()->DeleteSubrange(last_pos + 1, last_idx - last_pos); in AddFaninsInternal()
/external/protobuf/src/google/protobuf/
Dtext_format_unittest.cc737 int last_pos = 0; in PrintString() local
742 val.substr(last_pos, newline_pos + 1 - last_pos), generator); in PrintString()
743 last_pos = newline_pos + 1; in PrintString()
744 newline_pos = val.find('\n', last_pos); in PrintString()
746 if (last_pos < val.size()) { in PrintString()
748 TextFormat::FastFieldValuePrinter::PrintString(val.substr(last_pos), in PrintString()
/external/cronet/third_party/protobuf/src/google/protobuf/
Dtext_format_unittest.cc736 int last_pos = 0; in PrintString() local
741 val.substr(last_pos, newline_pos + 1 - last_pos), generator); in PrintString()
742 last_pos = newline_pos + 1; in PrintString()
743 newline_pos = val.find('\n', last_pos); in PrintString()
745 if (last_pos < val.size()) { in PrintString()
747 TextFormat::FastFieldValuePrinter::PrintString(val.substr(last_pos), in PrintString()
/external/pdfium/core/fpdftext/
Dcpdf_textpage.cpp178 float last_pos, in GenerateSpace() argument
182 if (fabs(last_pos + last_width - pos.x) <= threshold) in GenerateSpace()
186 float pos_difference = pos.x - last_pos; in GenerateSpace()
1253 float last_pos = PrevItem.m_Origin.x; in ProcessInsertObject() local
1332 return GenerateSpace(pos, last_pos, this_width, last_width, threshold2) in ProcessInsertObject()
/external/harfbuzz_ng/src/
Dhb-ot-shaper-indic.cc697 indic_position_t last_pos = POS_START; in initial_reordering_consonant_syllable() local
702 info[i].indic_position() = last_pos; in initial_reordering_consonant_syllable()
721 last_pos = (indic_position_t) info[i].indic_position(); in initial_reordering_consonant_syllable()
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamcontentparser.cpp1583 int last_pos = m_pSyntax->GetPos(); in ParsePathObject() local
1651 last_pos = m_pSyntax->GetPos(); in ParsePathObject()
1667 m_pSyntax->SetPos(last_pos); in ParsePathObject()
/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.cpp8840 const size_t last_pos = start_pos + n_entries; in execute() local
8841 const size_t buffer_data_size = last_pos * sizeof(glw::GLuint); in execute()
/external/crosvm/media/ffmpeg/src/
Dffmpeg.rs3163 pub last_pos: i64, field
/external/libbpf/.github/actions/build-selftests/
Dvmlinux.h47107 loff_t last_pos; member
85853 loff_t last_pos; member
/external/bcc/libbpf-tools/powerpc/
Dvmlinux_510.h76344 loff_t last_pos; member
117836 loff_t last_pos; member

12