Home
last modified time | relevance | path

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

/external/v8/src/objects/
Djs-list-format.cc269 int last_pos = 0; in GenerateListFormatParts() local
271 int found = formatted.indexOf(items[i], last_pos); in GenerateListFormatParts()
273 if (found > last_pos) { in GenerateListFormatParts()
277 Intl::ToString(isolate, formatted, last_pos, found), JSArray); in GenerateListFormatParts()
281 last_pos = found + items[i].length(); in GenerateListFormatParts()
284 isolate, substring, Intl::ToString(isolate, formatted, found, last_pos), in GenerateListFormatParts()
289 if (last_pos < formatted.length()) { in GenerateListFormatParts()
293 Intl::ToString(isolate, formatted, last_pos, formatted.length()), in GenerateListFormatParts()
/external/mesa3d/src/gallium/drivers/r600/
Dcompute_memory_pool.c282 int64_t last_pos; in compute_memory_finalize_pending() local
322 last_pos = allocated; in compute_memory_finalize_pending()
328 err = compute_memory_promote_item(pool, item, pipe, last_pos); in compute_memory_finalize_pending()
331 last_pos += align(item->size_in_dw, ITEM_ALIGNMENT); in compute_memory_finalize_pending()
353 int64_t last_pos; in compute_memory_defrag() local
357 last_pos = 0; in compute_memory_defrag()
359 if (src != dst || item->start_in_dw != last_pos) { in compute_memory_defrag()
360 assert(last_pos <= item->start_in_dw); in compute_memory_defrag()
363 item, last_pos, pipe); in compute_memory_defrag()
366 last_pos += align(item->size_in_dw, ITEM_ALIGNMENT); in compute_memory_defrag()
/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.cc346 int last_pos = last_idx; in AddAndDedupFanouts() local
347 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()
1572 int last_pos = last_idx; in DeleteNodes() local
1573 while (pos <= last_pos) { in DeleteNodes()
1575 graph()->mutable_node()->SwapElements(pos, last_pos); in DeleteNodes()
1576 --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/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/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/pdfium/core/fpdftext/
Dcpdf_textpage.cpp1277 float last_pos = PrevItem.m_Origin.x; in ProcessInsertObject() local
1360 if (fabs(last_pos + last_width - pos.x) > threshold && curChar != L' ' && in ProcessInsertObject()
1363 if ((pos.x - last_pos - last_width) > threshold || in ProcessInsertObject()
1364 (last_pos - pos.x - last_width) > threshold) { in ProcessInsertObject()
1367 if (pos.x < 0 && (last_pos - pos.x - last_width) > threshold) in ProcessInsertObject()
1369 if ((pos.x - last_pos - last_width) > this_width || in ProcessInsertObject()
1370 (pos.x - last_pos - this_width) > last_width) { in ProcessInsertObject()
/external/harfbuzz_ng/src/
Dhb-ot-shape-complex-indic.cc720 indic_position_t last_pos = POS_START; in initial_reordering_consonant_syllable() local
725 info[i].indic_position() = last_pos; in initial_reordering_consonant_syllable()
745 last_pos = (indic_position_t) info[i].indic_position(); in initial_reordering_consonant_syllable()
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamcontentparser.cpp1550 int last_pos = m_pSyntax->GetPos(); in ParsePathObject() local
1609 last_pos = m_pSyntax->GetPos(); in ParsePathObject()
1627 m_pSyntax->SetPos(last_pos); in ParsePathObject()
/external/v8/src/compiler/
Dregister-allocator.cc2523 LifetimePosition last_pos = LifetimePosition::GapFromInstructionIndex( in IntervalPredecessorsCoveredByRange() local
2525 last_pos = last_pos.NextStart().End(); in IntervalPredecessorsCoveredByRange()
2526 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()