Home
last modified time | relevance | path

Searched refs:last_index (Results 1 – 25 of 49) sorted by relevance

12

/external/chromium_org/v8/test/cctest/
Dtest-constantpool.cc47 CHECK_EQ(expected_last_idx[i], array->last_index(kTypes[i], kSmall)); in TEST()
91 CHECK_EQ(small_last_idx[i], array->last_index(kTypes[i], kSmall)); in TEST()
103 CHECK_EQ(extended_last_idx[i], array->last_index(kTypes[i], kExtended)); in TEST()
120 i <= array->last_index(ConstantPoolArray::INT32, kSmall); i++) { in TEST()
121 if (i <= array->last_index(ConstantPoolArray::INT64, kSmall)) { in TEST()
123 } else if (i <= array->last_index(ConstantPoolArray::CODE_PTR, kSmall)) { in TEST()
125 } else if (i <= array->last_index(ConstantPoolArray::HEAP_PTR, kSmall)) { in TEST()
128 CHECK(i <= array->last_index(ConstantPoolArray::INT32, kSmall)); in TEST()
133 i <= array->last_index(ConstantPoolArray::INT32, kExtended); i++) { in TEST()
134 if (i <= array->last_index(ConstantPoolArray::INT64, kExtended)) { in TEST()
[all …]
/external/chromium_org/media/base/
Dvector_math.cc88 const int last_index = len - rem; in FMUL_SSE() local
90 for (int i = 0; i < last_index; i += 4) in FMUL_SSE()
94 for (int i = last_index; i < len; ++i) in FMUL_SSE()
100 const int last_index = len - rem; in FMAC_SSE() local
102 for (int i = 0; i < last_index; i += 4) { in FMAC_SSE()
108 for (int i = last_index; i < len; ++i) in FMAC_SSE()
135 const int last_index = len - rem; in EWMAAndMaxPower_SSE() local
150 for (i = 0; i < last_index; i += 4) { in EWMAAndMaxPower_SSE()
193 const int last_index = len - rem; in FMAC_NEON() local
195 for (int i = 0; i < last_index; i += 4) { in FMAC_NEON()
[all …]
/external/chromium_org/ui/app_list/
Dapp_list_item_list.cc101 size_t last_index = app_list_items_.size() - 1; in SetItemPosition() local
102 if (from_index == last_index) in SetItemPosition()
104 new_position = app_list_items_[last_index]->position().CreateAfter(); in SetItemPosition()
227 size_t last_index = index + 1; in FixItemPosition() local
228 for (; last_index < nitems; ++last_index) { in FixItemPosition()
229 if (!app_list_items_[last_index]->position().Equals(prev->position())) in FixItemPosition()
232 AppListItem* last = last_index < nitems ? app_list_items_[last_index] : NULL; in FixItemPosition()
233 for (size_t i = index; i < last_index; ++i) { in FixItemPosition()
/external/chromium_org/cc/trees/
Docclusion_tracker.cc201 int last_index = stack_.size() - 1; in EnterRenderTarget() local
205 stack_[last_index].occlusion_from_outside_target = in EnterRenderTarget()
207 stack_[last_index - 1].occlusion_from_outside_target, in EnterRenderTarget()
211 stack_[last_index].occlusion_from_outside_target.Union( in EnterRenderTarget()
213 stack_[last_index - 1].occlusion_from_inside_target, in EnterRenderTarget()
306 int last_index = stack_.size() - 1; in LeaveToRenderTarget() local
308 stack_.size() > 1 && stack_[last_index - 1].target == new_target; in LeaveToRenderTarget()
314 const LayerType* old_target = stack_[last_index].target; in LeaveToRenderTarget()
320 stack_[last_index].occlusion_from_inside_target, in LeaveToRenderTarget()
327 stack_[last_index].occlusion_from_inside_target, in LeaveToRenderTarget()
[all …]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dpstack.c39 unsigned short i = pstack->top, last_index = pstack->top - 1; in pstack__remove() local
43 if (i < last_index) in pstack__remove()
46 (last_index - i) * sizeof(void *)); in pstack__remove()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc954 int last_index = -1; in GenerateClear() local
973 if (i / 8 != last_index / 8 || last_index < 0) { in GenerateClear()
974 if (last_index >= 0) { in GenerateClear()
982 last_index = i; in GenerateClear()
1005 if (last_index >= 0) { in GenerateClear()
1126 int last_index = -1; in GenerateMergeFrom() local
1136 if (i / 8 != last_index / 8 || last_index < 0) { in GenerateMergeFrom()
1137 if (last_index >= 0) { in GenerateMergeFrom()
1146 last_index = i; in GenerateMergeFrom()
1159 if (last_index >= 0) { in GenerateMergeFrom()
[all …]
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc1184 int last_index = -1; in GenerateClear() local
1200 if (i / 8 != last_index / 8 || last_index < 0) { in GenerateClear()
1201 if (last_index >= 0) { in GenerateClear()
1210 last_index = i; in GenerateClear()
1235 if (last_index >= 0) { in GenerateClear()
1356 int last_index = -1; in GenerateMergeFrom() local
1363 if (i / 8 != last_index / 8 || last_index < 0) { in GenerateMergeFrom()
1364 if (last_index >= 0) { in GenerateMergeFrom()
1374 last_index = i; in GenerateMergeFrom()
1388 if (last_index >= 0) { in GenerateMergeFrom()
[all …]
/external/chromium_org/chrome/browser/
Dprocess_singleton_browsertest.cc318 size_t last_index = pending_starters.front(); in IN_PROC_BROWSER_TEST_F() local
320 if (chrome_starters_[last_index]->process_handle_ != in IN_PROC_BROWSER_TEST_F()
322 KillProcessTree(chrome_starters_[last_index]->process_handle_); in IN_PROC_BROWSER_TEST_F()
323 chrome_starters_[last_index]->done_event_.Wait(); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/search_engines/
Dsearch_engine_tab_helper.cc174 int last_index = controller.GetLastCommittedEntryIndex(); in GenerateKeywordIfNecessary() local
179 if (last_index <= 0) in GenerateKeywordIfNecessary()
183 controller.GetEntryAtIndex(last_index - 1))); in GenerateKeywordIfNecessary()
/external/chromium_org/ui/gfx/animation/
Dmulti_animation.cc48 size_t last_index = current_part_index_; in Step() local
64 if ((current_value_ != last_value || current_part_index_ != last_index) && in Step()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_queryobj.c189 for (i = query->first_index; i <= query->last_index; i++) { in brw_queryobj_get_results()
196 for (i = query->first_index; i <= query->last_index; i++) { in brw_queryobj_get_results()
266 query->last_index = -1; in brw_begin_query()
435 query->last_index = brw->query.index; in brw_emit_query_begin()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dbrw_queryobj.c189 for (i = query->first_index; i <= query->last_index; i++) { in brw_queryobj_get_results()
196 for (i = query->first_index; i <= query->last_index; i++) { in brw_queryobj_get_results()
266 query->last_index = -1; in brw_begin_query()
435 query->last_index = brw->query.index; in brw_emit_query_begin()
/external/chromium_org/third_party/ots/src/
Dots.cc324 uint32_t last_index = 0; in ProcessWOFF() local
344 if (i == 0 || tables[last_index].offset < table.offset) in ProcessWOFF()
345 last_index = i; in ProcessWOFF()
357 if (tables[last_index].offset >= length || in ProcessWOFF()
358 length - tables[last_index].offset < tables[last_index].length) { in ProcessWOFF()
364 static_cast<uint64_t>(tables[last_index].offset) + in ProcessWOFF()
365 static_cast<uint64_t>(tables[last_index].length)); in ProcessWOFF()
/external/qemu/block/
Dqcow2-refcount.c426 int64_t refcount_block_offset, int first_index, int last_index) in write_refcount_block_entries() argument
441 last_index = (last_index + REFCOUNTS_PER_SECTOR) in write_refcount_block_entries()
444 size = (last_index - first_index) << REFCOUNT_SHIFT; in write_refcount_block_entries()
465 int first_index = -1, last_index = -1; in update_refcount() local
493 first_index, last_index); in update_refcount()
499 last_index = -1; in update_refcount()
516 if (block_index > last_index) { in update_refcount()
517 last_index = block_index; in update_refcount()
539 first_index, last_index); in update_refcount()
/external/chromium_org/v8/src/
Dobjects-printer.cc522 for (int i = 0; i <= last_index(INT32, SMALL_SECTION); i++) { in ConstantPoolArrayPrint()
523 if (i < last_index(INT64, SMALL_SECTION)) { in ConstantPoolArrayPrint()
525 } else if (i <= last_index(CODE_PTR, SMALL_SECTION)) { in ConstantPoolArrayPrint()
528 } else if (i <= last_index(HEAP_PTR, SMALL_SECTION)) { in ConstantPoolArrayPrint()
531 } else if (i <= last_index(INT32, SMALL_SECTION)) { in ConstantPoolArrayPrint()
538 i <= last_index(INT32, EXTENDED_SECTION); i++) { in ConstantPoolArrayPrint()
539 if (i < last_index(INT64, EXTENDED_SECTION)) { in ConstantPoolArrayPrint()
541 } else if (i <= last_index(CODE_PTR, EXTENDED_SECTION)) { in ConstantPoolArrayPrint()
544 } else if (i <= last_index(HEAP_PTR, EXTENDED_SECTION)) { in ConstantPoolArrayPrint()
547 } else if (i <= last_index(INT32, EXTENDED_SECTION)) { in ConstantPoolArrayPrint()
/external/chromium_org/ui/message_center/views/
Dmessage_center_view.cc435 int last_index = -1; in AnimateNotificationsBelowTarget() local
443 last_index = i; in AnimateNotificationsBelowTarget()
447 if (last_index > 0) { in AnimateNotificationsBelowTarget()
452 for (int i = last_index; i < child_count(); ++i) { in AnimateNotificationsBelowTarget()
462 int last_index = -1; in AnimateNotificationsAboveTarget() local
470 last_index = i; in AnimateNotificationsAboveTarget()
474 if (last_index >= 0) { in AnimateNotificationsAboveTarget()
478 ? reposition_top_ + child_at(last_index)->height() in AnimateNotificationsAboveTarget()
480 for (int i = last_index; i >= 0; --i) { in AnimateNotificationsAboveTarget()
/external/openssl/crypto/srp/
Dsrp_vfy.c367 char *last_index = NULL; in SRP_VBASE_init() local
392 last_index = SRP_get_default_gN(NULL)->id; in SRP_VBASE_init()
414 last_index = pp[DB_srpid]; in SRP_VBASE_init()
442 if (last_index != NULL) in SRP_VBASE_init()
446 if (((gN = SRP_get_gN_by_id(last_index,SRP_gN_tab))==NULL)) in SRP_VBASE_init()
/external/chromium_org/content/renderer/
Dskia_benchmarking_extension.cc177 int last_index = debug_canvas.getSize() - 1; in Rasterize() local
178 if (last_index >= 0) { in Rasterize()
182 stop_index < 0 ? last_index : std::min(last_index, stop_index)); in Rasterize()
/external/chromium_org/ui/app_list/views/
Dapps_grid_view_unittest.cc691 const int last_index = kItems - 1; in TEST_F() local
706 apps_grid_view_->SetSelectedView(GetItemViewAt(last_index)); in TEST_F()
708 EXPECT_TRUE(apps_grid_view_->IsSelectedView(GetItemViewAt(last_index))); in TEST_F()
710 EXPECT_TRUE(apps_grid_view_->IsSelectedView(GetItemViewAt(last_index))); in TEST_F()
749 last_index))); in TEST_F()
753 last_index))); in TEST_F()
/external/harfbuzz_ng/src/
Dhb-coretext.cc498 unsigned int last_index = 0; in _hb_coretext_shape() local
503 if (event->index != last_index) in _hb_coretext_shape()
560 range->index_first = last_index; in _hb_coretext_shape()
563 last_index = event->index; in _hb_coretext_shape()
Dhb-uniscribe.cc649 unsigned int last_index = 0; in _hb_uniscribe_shape() local
654 if (event->index != last_index) in _hb_uniscribe_shape()
684 range->index_first = last_index; in _hb_uniscribe_shape()
687 last_index = event->index; in _hb_uniscribe_shape()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-uniscribe.cc650 unsigned int last_index = 0; in _hb_uniscribe_shape() local
655 if (event->index != last_index) in _hb_uniscribe_shape()
685 range->index_first = last_index; in _hb_uniscribe_shape()
688 last_index = event->index; in _hb_uniscribe_shape()
Dhb-coretext.cc510 unsigned int last_index = 0; in _hb_coretext_shape() local
515 if (event->index != last_index) in _hb_coretext_shape()
571 range->index_first = last_index; in _hb_coretext_shape()
574 last_index = event->index; in _hb_coretext_shape()
/external/chromium_org/net/quic/
Dquic_connection_logger.cc853 const QuicPacketSequenceNumber last_index = in RecordLossHistograms() local
857 std::min<QuicPacketSequenceNumber>(21, last_index); in RecordLossHistograms()
865 for (size_t i = 1; i <= last_index; ++i) { in RecordLossHistograms()
/external/chromium_org/third_party/cython/src/Cython/Tempita/
D_tempita.py767 def find_position(string, index, last_index, last_pos): argument
769 lines = string.count('\n', last_index, index)
771 column = index - string.rfind('\n', last_index, index)
773 column = last_pos[1] + (index - last_index)

12