/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
D | stroker.c | 85 static VGPathCommand stroke_itr_command(struct stroke_iterator *itr) in stroke_itr_command() argument 87 return itr->current_command(itr); in stroke_itr_command() 90 static void stroke_itr_coords(struct stroke_iterator *itr, VGfloat *coords) in stroke_itr_coords() argument 92 itr->current_coords(itr, coords); in stroke_itr_coords() 95 static void stroke_fw_itr_coords(struct stroke_iterator *itr, VGfloat *coords) in stroke_fw_itr_coords() argument 97 if (itr->position >= itr->num_commands) in stroke_fw_itr_coords() 99 switch (stroke_itr_command(itr)) { in stroke_fw_itr_coords() 101 coords[0] = itr->coords[itr->coord_position]; in stroke_fw_itr_coords() 102 coords[1] = itr->coords[itr->coord_position + 1]; in stroke_fw_itr_coords() 105 coords[0] = itr->coords[itr->coord_position]; in stroke_fw_itr_coords() [all …]
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | stroker.c | 85 static VGPathCommand stroke_itr_command(struct stroke_iterator *itr) in stroke_itr_command() argument 87 return itr->current_command(itr); in stroke_itr_command() 90 static void stroke_itr_coords(struct stroke_iterator *itr, VGfloat *coords) in stroke_itr_coords() argument 92 itr->current_coords(itr, coords); in stroke_itr_coords() 95 static void stroke_fw_itr_coords(struct stroke_iterator *itr, VGfloat *coords) in stroke_fw_itr_coords() argument 97 if (itr->position >= itr->num_commands) in stroke_fw_itr_coords() 99 switch (stroke_itr_command(itr)) { in stroke_fw_itr_coords() 101 coords[0] = itr->coords[itr->coord_position]; in stroke_fw_itr_coords() 102 coords[1] = itr->coords[itr->coord_position + 1]; in stroke_fw_itr_coords() 105 coords[0] = itr->coords[itr->coord_position]; in stroke_fw_itr_coords() [all …]
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
D | task_dependency_manager.cc | 19 for (typename Container1::const_iterator itr = items_to_erase.begin(); in EraseContainer() local 20 itr != items_to_erase.end(); ++itr) { in EraseContainer() 21 container->erase(*itr); in EraseContainer() 31 for (iterator itr = items_to_insert.begin(); in InsertAllOrNone() local 32 itr != items_to_insert.end(); ++itr) { in InsertAllOrNone() 33 if (!container->insert(*itr).second) { in InsertAllOrNone() 35 iterator end = itr; in InsertAllOrNone() 36 itr = items_to_insert.begin(); in InsertAllOrNone() 37 for (; itr != end; ++itr) in InsertAllOrNone() 38 container->erase(*itr); in InsertAllOrNone() [all …]
|
D | metadata_db_migration_util_unittest.cc | 152 scoped_ptr<leveldb::Iterator> itr(db->NewIterator(leveldb::ReadOptions())); in TEST() local 156 itr->Seek(kDatabaseVersionKey); in TEST() 157 EXPECT_TRUE(itr->Valid()); in TEST() 158 EXPECT_TRUE(base::StringToInt64(itr->value().ToString(), &database_version)); in TEST() 163 itr->Seek(kChangeStampKey); in TEST() 164 EXPECT_TRUE(itr->Valid()); in TEST() 165 EXPECT_TRUE(base::StringToInt64(itr->value().ToString(), &changestamp)); in TEST() 169 itr->Seek(kSyncRootDirectoryKey); in TEST() 170 EXPECT_TRUE(itr->Valid()); in TEST() 171 EXPECT_EQ(kSyncRootResourceId, itr->value().ToString()); in TEST() [all …]
|
D | metadata_db_migration_util.cc | 144 scoped_ptr<leveldb::Iterator> itr(db->NewIterator(leveldb::ReadOptions())); in MigrateDatabaseFromV0ToV1() local 145 for (itr->Seek(kDriveMetadataKeyPrefix); itr->Valid(); itr->Next()) { in MigrateDatabaseFromV0ToV1() 146 std::string key = itr->key().ToString(); in MigrateDatabaseFromV0ToV1() 159 write_batch.Put(new_key, itr->value()); in MigrateDatabaseFromV0ToV1() 203 scoped_ptr<leveldb::Iterator> itr(db->NewIterator(leveldb::ReadOptions())); in MigrateDatabaseFromV1ToV2() local 204 for (itr->SeekToFirst(); itr->Valid(); itr->Next()) { in MigrateDatabaseFromV1ToV2() 205 std::string key = itr->key().ToString(); in MigrateDatabaseFromV1ToV2() 209 write_batch.Put(key, RemoveWapiIdPrefix(itr->value().ToString())); in MigrateDatabaseFromV1ToV2() 216 bool success = metadata.ParseFromString(itr->value().ToString()); in MigrateDatabaseFromV1ToV2() 235 write_batch.Put(key, RemoveWapiIdPrefix(itr->value().ToString())); in MigrateDatabaseFromV1ToV2() [all …]
|
D | callback_tracker.cc | 22 for (AbortClosureByHelper::iterator itr = helpers.begin(); in AbortAll() local 23 itr != helpers.end(); ++itr) { in AbortAll() 24 delete itr->first; in AbortAll() 25 itr->second.Run(); in AbortAll()
|
/external/eigen/bench/btl/generic_bench/timers/ |
D | x86_timer.hh | 123 std::map<unsigned long long , unsigned long long>::iterator itr; in dump_statistics() local 124 for(itr=_counted_clicks.begin() ; itr!=_counted_clicks.end() ; itr++) in dump_statistics() 126 outfile << (*itr).first << " " << (*itr).second << endl ; in dump_statistics() 155 std::map<unsigned long long,unsigned long long>::iterator itr; in get_mean_clicks() local 159 for(itr=_counted_clicks.begin() ; itr!=_counted_clicks.end() ; itr++) in get_mean_clicks() 162 mean_clicks+=(*itr).second*(*itr).first; in get_mean_clicks() 189 std::map<unsigned long long,unsigned long long>::iterator itr; in get_most_occured_clicks() local 191 for(itr=_counted_clicks.begin() ; itr!=_counted_clicks.end() ; itr++) in get_most_occured_clicks() 194 if (max_occurence<=(*itr).second){ in get_most_occured_clicks() 195 max_occurence=(*itr).second; in get_most_occured_clicks() [all …]
|
/external/chromium_org/media/filters/ |
D | chunk_demuxer.cc | 48 for (RangesList::const_iterator itr = activeRanges.begin(); in ComputeIntersection() local 49 itr != activeRanges.end(); ++itr) { in ComputeIntersection() 50 if (!itr->size()) in ComputeIntersection() 53 highest_end_time = std::max(highest_end_time, itr->end(itr->size() - 1)); in ComputeIntersection() 63 for (RangesList::const_iterator itr = activeRanges.begin(); in ComputeIntersection() local 64 itr != activeRanges.end(); ++itr) { in ComputeIntersection() 67 Ranges<TimeDelta> source_ranges = *itr; in ComputeIntersection() 342 for (TextStreamMap::iterator itr = text_stream_map_.begin(); in Remove() local 343 itr != text_stream_map_.end(); ++itr) { in Remove() 344 itr->second->Remove(start, end, duration); in Remove() [all …]
|
D | source_buffer_stream.cc | 296 for (std::list<media::SourceBufferRange*>::const_iterator itr = in IsRangeListSorted() local 297 ranges.begin(); itr != ranges.end(); ++itr) { in IsRangeListSorted() 298 if (prev != media::kNoTimestamp() && prev >= (*itr)->GetStartTimestamp()) in IsRangeListSorted() 300 prev = (*itr)->GetEndTimestamp(); in IsRangeListSorted() 509 BufferQueue::const_iterator itr = buffers.begin(); in Append() local 512 while (itr != buffers.end() && !(*itr)->IsKeyframe()) { in Append() 513 ++itr; in Append() 518 if (itr == buffers.end()) { in Append() 522 } else if (itr != buffers.begin()) { in Append() 525 trimmed_buffers.assign(itr, buffers.end()); in Append() [all …]
|
D | frame_processor_base.cc | 91 for (TrackBufferMap::iterator itr = track_buffers_.begin(); in SetAllTrackBuffersNeedRandomAccessPoint() local 92 itr != track_buffers_.end(); in SetAllTrackBuffersNeedRandomAccessPoint() 93 ++itr) { in SetAllTrackBuffersNeedRandomAccessPoint() 94 itr->second->set_needs_random_access_point(true); in SetAllTrackBuffersNeedRandomAccessPoint() 100 for (TrackBufferMap::iterator itr = track_buffers_.begin(); in Reset() local 101 itr != track_buffers_.end(); ++itr) { in Reset() 102 itr->second->Reset(); in Reset() 107 TrackBufferMap::iterator itr = track_buffers_.find(id); in FindTrack() local 108 if (itr == track_buffers_.end()) in FindTrack() 111 return itr->second; in FindTrack() [all …]
|
/external/chromium_org/chrome/browser/ui/webui/quota_internals/ |
D | quota_internals_handler.cc | 51 for (iterator itr(hosts.begin()); itr != hosts.end(); ++itr) { in ReportPerHostInfo() local 52 values.Append(itr->NewValue()); in ReportPerHostInfo() 62 for (iterator itr(origins.begin()); itr != origins.end(); ++itr) { in ReportPerOriginInfo() local 63 origins_value.Append(itr->NewValue()); in ReportPerOriginInfo() 72 for (iterator itr(stats.begin()); itr != stats.end(); ++itr) { in ReportStatistics() local 73 dict.SetString(itr->first, itr->second); in ReportStatistics()
|
D | quota_internals_proxy.cc | 130 for (iterator itr(entries.begin()); itr != entries.end(); ++itr) { in DidDumpQuotaTable() local 131 PerHostStorageInfo info(itr->host, itr->type); in DidDumpQuotaTable() 132 info.set_quota(itr->quota); in DidDumpQuotaTable() 145 for (iterator itr(entries.begin()); itr != entries.end(); ++itr) { in DidDumpOriginInfoTable() local 146 PerOriginStorageInfo info(itr->origin, itr->type); in DidDumpOriginInfoTable() 147 info.set_used_count(itr->used_count); in DidDumpOriginInfoTable() 148 info.set_last_access_time(itr->last_access_time); in DidDumpOriginInfoTable() 149 info.set_last_modified_time(itr->last_modified_time); in DidDumpOriginInfoTable() 191 for (std::set<GURL>::iterator itr(origins.begin()); in RequestPerOriginInfo() local 192 itr != origins.end(); ++itr) { in RequestPerOriginInfo() [all …]
|
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
D | mediarecorder.cc | 115 std::map<BaseChannel*, SinkPair*>::iterator itr; in ~MediaRecorder() local 116 for (itr = sinks_.begin(); itr != sinks_.end(); ++itr) { in ~MediaRecorder() 117 delete itr->second; in ~MediaRecorder() 165 std::map<BaseChannel*, SinkPair*>::iterator itr = sinks_.find(channel); in RemoveChannel() local 166 if (sinks_.end() != itr) { in RemoveChannel() 167 channel->UnregisterSendSink(itr->second->send_sink.get(), type); in RemoveChannel() 168 channel->UnregisterRecvSink(itr->second->recv_sink.get(), type); in RemoveChannel() 169 delete itr->second; in RemoveChannel() 170 sinks_.erase(itr); in RemoveChannel() 178 std::map<BaseChannel*, SinkPair*>::iterator itr = sinks_.find(channel); in EnableChannel() local [all …]
|
/external/stressapptest/src/ |
D | error_diag.cc | 37 for (std::map<string, DeviceTree*>::iterator itr = subdevices_.begin(); in ~DeviceTree() local 38 itr != subdevices_.end(); in ~DeviceTree() 39 ++itr) { in ~DeviceTree() 40 delete itr->second; in ~DeviceTree() 43 for (std::list<ErrorInstance*>::iterator itr = errors_.begin(); in ~DeviceTree() local 44 itr != errors_.end(); in ~DeviceTree() 45 ++itr) { in ~DeviceTree() 46 delete (*itr); in ~DeviceTree() 64 std::map<string, DeviceTree*>::iterator itr = subdevices_.find(name); in UnlockedFindInSubTree() local 65 if (itr != subdevices_.end()) { in UnlockedFindInSubTree() [all …]
|
/external/chromium_org/content/browser/service_worker/ |
D | service_worker_database.cc | 364 scoped_ptr<leveldb::Iterator> itr(db_->NewIterator(leveldb::ReadOptions())); in GetOriginsWithRegistrations() local 365 for (itr->Seek(kUniqueOriginKey); itr->Valid(); itr->Next()) { in GetOriginsWithRegistrations() 366 status = LevelDBStatusToStatus(itr->status()); in GetOriginsWithRegistrations() 374 if (!RemovePrefix(itr->key().ToString(), kUniqueOriginKey, &origin)) in GetOriginsWithRegistrations() 399 scoped_ptr<leveldb::Iterator> itr(db_->NewIterator(leveldb::ReadOptions())); in GetRegistrationsForOrigin() local 400 for (itr->Seek(prefix); itr->Valid(); itr->Next()) { in GetRegistrationsForOrigin() 401 status = LevelDBStatusToStatus(itr->status()); in GetRegistrationsForOrigin() 408 if (!RemovePrefix(itr->key().ToString(), prefix, NULL)) in GetRegistrationsForOrigin() 412 status = ParseRegistrationData(itr->value().ToString(), ®istration); in GetRegistrationsForOrigin() 436 scoped_ptr<leveldb::Iterator> itr(db_->NewIterator(leveldb::ReadOptions())); in GetAllRegistrations() local [all …]
|
/external/llvm/include/llvm/ADT/ |
D | ImmutableMap.h | 207 typename TreeTy::iterator itr; variable 210 iterator(TreeTy* t) : itr(t) {} in iterator() 220 typename iterator::reference operator*() const { return itr->getValue(); } 221 typename iterator::pointer operator->() const { return &itr->getValue(); } 223 key_type_ref getKey() const { return itr->getValue().first; } in getKey() 224 data_type_ref getData() const { return itr->getValue().second; } in getData() 226 iterator& operator++() { ++itr; return *this; } 227 iterator operator++(int) { iterator tmp(*this); ++itr; return tmp; } 228 iterator& operator--() { --itr; return *this; } 229 iterator operator--(int) { iterator tmp(*this); --itr; return tmp; } [all …]
|
/external/chromium_org/chrome/browser/browsing_data/ |
D | browsing_data_quota_helper_impl.cc | 89 for (std::set<GURL>::const_iterator itr = origins.begin(); in GotOrigins() local 90 itr != origins.end(); in GotOrigins() 91 ++itr) in GotOrigins() 92 if (BrowsingDataHelper::HasWebScheme(*itr)) in GotOrigins() 93 pending_hosts_.insert(std::make_pair(itr->host(), type)); in GotOrigins() 124 PendingHosts::iterator itr = pending_hosts_.begin(); in ProcessPendingHosts() local 125 std::string host = itr->first; in ProcessPendingHosts() 126 quota::StorageType type = itr->second; in ProcessPendingHosts() 127 pending_hosts_.erase(itr); in ProcessPendingHosts() 171 for (std::map<std::string, QuotaInfo>::iterator itr = quota_info_.begin(); in OnComplete() local [all …]
|
/external/stlport/test/unit/ |
D | istmit_test.cpp | 140 istream_iterator<int> itr(is); in copy_n_test() local 141 itr = copy_n(itr, 0, back_inserter(ints)).first; in copy_n_test() 143 itr = copy_n(itr, -1, back_inserter(ints)).first; in copy_n_test() 145 itr = copy_n(itr, 2, back_inserter(ints)).first; in copy_n_test() 149 itr = copy_n(itr, 2, back_inserter(ints)).first; in copy_n_test() 153 itr = copy_n(itr, 2, back_inserter(ints)).first; in copy_n_test()
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/ |
D | drive_metadata_store.cc | 124 scoped_ptr<leveldb::Iterator> itr(db->NewIterator(leveldb::ReadOptions())); in IsDBEmpty() local 125 itr->SeekToFirst(); in IsDBEmpty() 126 return !itr->Valid(); in IsDBEmpty() 197 scoped_ptr<leveldb::Iterator> itr( in ReadContents() local 199 for (itr->SeekToFirst(); itr->Valid(); itr->Next()) { in ReadContents() 200 std::string key = itr->key().ToString(); in ReadContents() 202 bool success = base::StringToInt64(itr->value().ToString(), in ReadContents() 209 std::string resource_id = itr->value().ToString(); in ReadContents() 222 bool success = metadata.ParseFromString(itr->value().ToString()); in ReadContents() 241 ? drive_backend::AddWapiFolderPrefix(itr->value().ToString()) in ReadContents() [all …]
|
D | drive_file_sync_service_sync_unittest.cc | 120 for (iterator itr = file_systems_.begin(); in TearDown() local 121 itr != file_systems_.end(); ++itr) { in TearDown() 122 itr->second->TearDown(); in TearDown() 123 delete itr->second; in TearDown() 255 for (ScopedVector<ResourceEntry>::iterator itr = remote_entries.begin(); in VerifyConsistency() local 256 itr != remote_entries.end(); in VerifyConsistency() 257 ++itr) { in VerifyConsistency() 258 const ResourceEntry& remote_entry = **itr; in VerifyConsistency() 260 origin_root_by_title[remote_entry.title()] = *itr; in VerifyConsistency() 263 for (std::map<GURL, CannedSyncableFileSystem*>::const_iterator itr = in VerifyConsistency() local [all …]
|
/external/chromium_org/media/base/ |
D | text_renderer.cc | 53 for (TextTrackStateMap::iterator itr = text_track_state_map_.begin(); in Play() local 54 itr != text_track_state_map_.end(); ++itr) { in Play() 55 TextTrackState* state = itr->second; in Play() 61 Read(state, itr->first); in Play() 88 for (TextTrackStateMap::iterator itr = text_track_state_map_.begin(); in Flush() local 89 itr != text_track_state_map_.end(); ++itr) { in Flush() 90 pending_eos_set_.insert(itr->first); in Flush() 91 itr->second->text_ranges_.Reset(); in Flush() 139 TextTrackStateMap::iterator itr = text_track_state_map_.find(text_stream); in RemoveTextStream() local 140 DCHECK(itr != text_track_state_map_.end()); in RemoveTextStream() [all …]
|
/external/chromium_org/chrome/browser/printing/ |
D | print_job_manager.cc | 40 for (PrinterQueries::iterator itr = queued_queries_.begin(); in PopPrinterQuery() local 41 itr != queued_queries_.end(); ++itr) { in PopPrinterQuery() 42 if ((*itr)->cookie() == document_cookie && !(*itr)->is_callback_pending()) { in PopPrinterQuery() 43 scoped_refptr<printing::PrinterQuery> current_query(*itr); in PopPrinterQuery() 44 queued_queries_.erase(itr); in PopPrinterQuery() 69 for (PrinterQueries::iterator itr = queries_to_stop.begin(); in Shutdown() local 70 itr != queries_to_stop.end(); ++itr) { in Shutdown() 71 (*itr)->message_loop()->PostTask( in Shutdown() 72 FROM_HERE, base::Bind(&PrinterQuery::StopWorker, *itr)); in Shutdown()
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_params.h | 85 NameMap::const_iterator itr; in java_package() local 87 itr = java_packages_.find(file_name); in java_package() 88 if (itr == java_packages_.end()) { in java_package() 91 return itr->second; in java_package() 107 NameMap::const_iterator itr; in java_outer_classname() local 109 itr = java_outer_classnames_.find(file_name); in java_outer_classname() 110 if (itr == java_outer_classnames_.end()) { in java_outer_classname() 113 return itr->second; in java_outer_classname()
|
/external/chromium_org/chrome/browser/media/ |
D | media_browsertest.cc | 37 std::vector<StringPair>::const_iterator itr = query_params->begin(); in RunMediaTestPage() local 38 query = itr->first + "=" + itr->second; in RunMediaTestPage() 39 ++itr; in RunMediaTestPage() 40 for (; itr != query_params->end(); ++itr) { in RunMediaTestPage() 41 query.append("&" + itr->first + "=" + itr->second); in RunMediaTestPage()
|
/external/chromium_org/chrome/installer/util/ |
D | work_item_list.cc | 22 for (WorkItemIterator itr = list_.begin(); itr != list_.end(); ++itr) { in ~WorkItemList() local 23 delete (*itr); in ~WorkItemList() 25 for (WorkItemIterator itr = executed_list_.begin(); in ~WorkItemList() local 26 itr != executed_list_.end(); ++itr) { in ~WorkItemList() 27 delete (*itr); in ~WorkItemList() 62 for (WorkItemIterator itr = executed_list_.begin(); in Rollback() local 63 itr != executed_list_.end(); ++itr) { in Rollback() 64 (*itr)->Rollback(); in Rollback()
|