/external/chromium_org/gpu/command_buffer/service/ |
transfer_buffer_manager.cc | 29 BufferMap::iterator it = registered_buffers_.begin(); local 30 DCHECK(shared_memory_bytes_allocated_ >= it->second->size()); 31 shared_memory_bytes_allocated_ -= it->second->size(); 32 registered_buffers_.erase(it); 72 BufferMap::iterator it = registered_buffers_.find(id); local 73 if (it == registered_buffers_.end()) { 78 DCHECK(shared_memory_bytes_allocated_ >= it->second->size()); 79 shared_memory_bytes_allocated_ -= it->second->size(); 83 registered_buffers_.erase(it); 90 BufferMap::iterator it = registered_buffers_.find(id) [all...] |
vertex_array_manager.cc | 51 VertexAttribManagerMap::iterator it = vertex_attrib_managers_.find(client_id); local 52 return it != vertex_attrib_managers_.end() ? it->second.get() : NULL; 56 VertexAttribManagerMap::iterator it = vertex_attrib_managers_.find(client_id); local 57 if (it != vertex_attrib_managers_.end()) { 58 VertexAttribManager* vertex_attrib_manager = it->second.get(); 60 vertex_attrib_managers_.erase(it); 76 // This doesn't need to be fast. It's only used during slow queries. 77 for (VertexAttribManagerMap::const_iterator it = 79 it != vertex_attrib_managers_.end(); ++it) [all...] |
/external/chromium_org/net/quic/ |
quic_utils_chromium.h | 19 // Returns a const reference to the value associated with the given key if it 26 // * It has a side-effect of inserting missing keys 27 // * It is not thread-safe (even when it is not inserting, it can still 29 // * It invalidates iterators (when it chooses to resize) 30 // * It default constructs a value object even if it doesn't need to 32 // This version assumes the key is printable, and includes it in the fatal lo 38 typename Collection::const_iterator it = collection.find(key); local 48 typename Collection::iterator it = collection.find(key); local 59 typename Collection::const_iterator it = collection.find(key); local 71 typename Collection::iterator it = collection.find(key); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
DOMWindowLifecycleNotifier.cpp | 65 for (DOMWindowObserverSet::iterator it = m_windowObservers.begin(); it != m_windowObservers.end(); ++it) 66 (*it)->didAddEventListener(window, eventType); 72 for (DOMWindowObserverSet::iterator it = m_windowObservers.begin(); it != m_windowObservers.end(); ++it) 73 (*it)->didRemoveEventListener(window, eventType); 79 for (DOMWindowObserverSet::iterator it = m_windowObservers.begin(); it != m_windowObservers.end(); ++it [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
KeyframeList.cpp | 5 * This library is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU Library General Public 10 * This library is distributed in the hope that it will be useful, 70 for (Vector<KeyframeValue>::const_iterator it = m_keyframes.begin(); it != m_keyframes.end(); ++it) { 71 const KeyframeValue& currKeyframe = *it; 72 for (HashSet<CSSPropertyID>::const_iterator it = currKeyframe.properties().begin(); it != currKeyframe.properties().end(); ++it) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
TextBoundaries.cpp | 64 TextBreakIterator* it = wordBreakIterator(chars, len); local 67 position = it->following(position); 74 position = it->following(position); 79 position = it->preceding(position); 86 position = it->preceding(position); 95 TextBreakIterator* it = wordBreakIterator(chars, len); local 96 *end = it->following(position); 98 *end = it->last(); 99 *start = it->previous(); 104 TextBreakIterator* it = wordBreakIterator(chars, len) local [all...] |
TextBreakIterator.cpp | 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Library General Public 11 * This library is distributed in the hope that it will be useful, 38 NonSharedCharacterBreakIterator it(string); 39 if (!it) 43 while (it.next() != TextBreakDone) 59 NonSharedCharacterBreakIterator it(string); 60 if (!it) 64 if (it.next() == TextBreakDone) 67 return it.current() [all...] |
/external/chromium_org/third_party/webrtc/modules/bitrate_controller/ |
bitrate_controller_impl.cc | 46 for (ReportBlockList::const_iterator it = report_blocks.begin(); 47 it != report_blocks.end(); ++it) { 49 ssrc_to_last_received_extended_high_seq_num_.find(it->sourceSSRC); 53 number_of_packets = it->extendedHighSeqNum - 56 fraction_lost_aggregate += number_of_packets * it->fractionLost; 60 ssrc_to_last_received_extended_high_seq_num_[it->sourceSSRC] = 61 it->extendedHighSeqNum; 102 BitrateObserverConfList::iterator it = bitrate_observers_.begin(); local 103 while (it != bitrate_observers_.end()) 118 BitrateObserverConfList::iterator it = bitrate_observers_.begin(); local 134 BitrateObserverConfList::iterator it = FindObserverConfigurationPair( local 146 BitrateObserverConfList::iterator it; local 179 BitrateObserverConfList::iterator it; local 199 BitrateObserverConfList::iterator it = FindObserverConfigurationPair( local 288 BitrateObserverConfList::iterator it; local 307 BitrateObserverConfList::iterator it; local 344 BitrateControllerImpl::BitrateObserverConfList::iterator it; local 355 BitrateControllerImpl::BitrateObserverConfList::iterator it; local [all...] |
/external/chromium_org/extensions/common/features/ |
complex_feature.cc | 17 for (FeatureList::const_iterator it = features_.begin() + 1; 18 it != features_.end(); 19 ++it) { 20 DCHECK(first_is_internal == (*it)->IsInternal()) 23 DCHECK(no_parent_ == (*it)->no_parent()) 45 for (FeatureList::const_iterator it = features_.begin() + 1; 46 it != features_.end(); ++it) { 47 Availability availability = (*it)->IsAvailableToManifest( 67 for (FeatureList::const_iterator it = features_.begin() + 1 [all...] |
/external/chromium-trace/trace-viewer/third_party/gl-matrix/spec/gl-matrix/ |
vec4-spec.js | 30 it("should return a 4 element array initialized to 0s", function() { expect(result).toBeEqualish([0, 0, 0, 0]); }); 35 it("should return a 4 element array initialized to the values in vecA", function() { expect(result).toBeEqualish(vecA); }); 40 it("should return a 4 element array initialized to the values passed", function() { expect(result).toBeEqualish([1, 2, 3, 4]); }); 45 it("should place values into out", function() { expect(out).toBeEqualish([1, 2, 3, 4]); }); 46 it("should return out", function() { expect(result).toBe(out); }); 51 it("should place values into out", function() { expect(out).toBeEqualish([1, 2, 3, 4]); }); 52 it("should return out", function() { expect(result).toBe(out); }); 59 it("should place values into out", function() { expect(out).toBeEqualish([6, 8, 10, 12]); }); 60 it("should return out", function() { expect(result).toBe(out); }); 61 it("should not modify vecA", function() { expect(vecA).toBeEqualish([1, 2, 3, 4]); }) [all...] |
mat2d-spec.js | 54 it("should return a 6 element array initialized to a 2x3 identity matrix", function() { expect(result).toBeEqualish(identity); }); 59 it("should return a 6 element array initialized to the values in matA", function() { expect(result).toBeEqualish(matA); }); 64 it("should place values into out", function() { expect(out).toBeEqualish(matA); }); 65 it("should return out", function() { expect(result).toBe(out); }); 70 it("should place values into out", function() { expect(result).toBeEqualish(identity); }); 71 it("should return out", function() { expect(result).toBe(out); }); 78 it("should place values into out", function() { expect(out).toBeEqualish([ -2, 1, 1.5, -0.5, 1, -2 ]); }); 79 it("should return out", function() { expect(result).toBe(out); }); 80 it("should not modify matA", function() { expect(matA).toBeEqualish(oldA); }); 86 it("should place values into matA", function() { expect(matA).toBeEqualish([ -2, 1, 1.5, -0.5, 1, -2 (…) [all...] |
/external/chromium_org/base/containers/ |
scoped_ptr_hash_map.h | 43 iterator it = find(key); local 44 if (it != end()) { 45 delete it->second; 46 it->second = data.release(); 47 return it; 62 void erase(iterator it) { 63 delete it->second; 64 data_.erase(it); 68 iterator it = data_.find(k); local 69 if (it == data_.end() 86 iterator it = find(k); local 104 iterator it = find(k); local 114 const_iterator it = find(k); local [all...] |
/external/llvm/lib/Option/ |
ArgList.cpp | 51 for (const_reverse_iterator it = rbegin(), ie = rend(); it != ie; ++it) 52 if ((*it)->getOption().matches(Id)) 53 return *it; 59 for (const_iterator it = begin(), ie = end(); it != ie; ++it) { 60 if ((*it)->getOption().matches(Id)) { 61 Res = *it; [all...] |
/external/chromium_org/chrome/browser/precache/ |
most_visited_urls_provider.cc | 22 for (MostVisitedURLList::const_iterator it = most_visited_urls.begin(); 23 it != most_visited_urls.end(); ++it) { 24 if (it->url.SchemeIs("http")) { 25 urls.push_back(it->url);
|
/external/chromium_org/chrome/browser/sync/glue/ |
invalidation_helper.cc | 24 for (ModelTypeSet::Iterator it = model_types.First(); it.Good(); it.Inc()) { 26 if (!RealModelTypeToObjectId(it.Get(), &model_type_as_id)) { 27 DLOG(WARNING) << "Invalid model type " << it.Get();
|
/external/chromium_org/sync/tools/ |
invalidation_helper.cc | 24 for (ModelTypeSet::Iterator it = model_types.First(); it.Good(); it.Inc()) { 26 if (!RealModelTypeToObjectId(it.Get(), &model_type_as_id)) { 27 DLOG(WARNING) << "Invalid model type " << it.Get();
|
/external/chromium_org/third_party/WebKit/Source/web/painting/ |
ContinuousPainter.cpp | 56 Vector<GraphicsLayer*>::const_iterator it; local 57 for (it = children.begin(); it != children.end(); ++it) 58 setNeedsDisplayRecursive(*it, pageOverlays);
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/ |
normalize_utf8.h | 32 for (UnicodeText::const_iterator it = number_as_unicode.begin(); 33 it != number_as_unicode.end(); 34 ++it) { 35 int32_t digitValue = u_charDigitValue(*it); 39 int len = it.get_utf8(utf8);
|
regexp_cache.cc | 44 it = cache_impl_->begin(); it != cache_impl_->end(); ++it) { 45 delete it->second; 51 CacheImpl::const_iterator it = cache_impl_->find(pattern); local 52 if (it != cache_impl_->end()) return *it->second;
|
/external/chromium_org/components/omnibox/ |
answers_cache.cc | 24 for (Cache::iterator it = cache_.begin(); it != cache_.end(); ++it) { 26 if (StartsWith(it->full_query_text, collapsed_query, false)) { 28 cache_.splice(cache_.begin(), cache_, it); 38 for (Cache::iterator it = cache_.begin(); it != cache_.end(); ++it) { 39 if (full_query_text == it->full_query_text && 40 query_type == it->query_type) [all...] |
/external/chromium_org/net/ftp/ |
ftp_auth_cache.cc | 28 for (EntryList::iterator it = entries_.begin(); it != entries_.end(); ++it) { 29 if (it->origin == origin) 30 return &(*it); 53 for (EntryList::iterator it = entries_.begin(); it != entries_.end(); ++it) { 54 if (it->origin == origin && it->credentials.Equals(credentials)) [all...] |
/external/chromium_org/net/spdy/ |
spdy_header_block.cc | 17 for (SpdyHeaderBlock::const_iterator it = headers->begin(); 18 it != headers->end(); ++it) { 20 it->first, 22 ElideHeaderValueForNetLog(log_level, it->first, it->second))); 42 for (base::DictionaryValue::Iterator it(*header_dict); !it.IsAtEnd(); 43 it.Advance()) { 44 if (!it.value().GetAsString(&(*headers)[it.key()])) [all...] |
/external/llvm/lib/Support/ |
DAGDeltaAlgorithm.cpp | 27 // well formed predicates, this doesn't happen, but it commonly occurs in 131 for (changeset_ty::const_iterator it = S.begin(), 132 ie = S.end(); it != ie; ++it) 133 for (succ_iterator_ty it2 = succ_begin(*it), 134 ie2 = succ_end(*it); it2 != ie2; ++it2) 192 for (changeset_ty::const_iterator it = Changes.begin(), 193 ie = Changes.end(); it != ie; ++it) { 194 Predecessors.insert(std::make_pair(*it, std::vector<change_ty>())) [all...] |
/external/chromium_org/chrome/browser/ |
process_singleton_startup_lock.cc | 30 for (std::vector<DelayedStartupMessage>::const_iterator it = 32 it != saved_startup_messages_.end(); ++it) { 33 if (replayed_messages.find(*it) != replayed_messages.end()) 35 original_callback_.Run(CommandLine(it->first), it->second); 36 replayed_messages.insert(*it); 45 // If locked, it means we are not ready to process this message because
|
/external/chromium_org/sandbox/win/src/ |
win2k_threadpool.cc | 35 PoolObjects::iterator it = pool_objects_.begin(); local 36 while (it != pool_objects_.end()) { 37 if (it->cookie == cookie) { 38 HANDLE wait = it->wait; 39 it = pool_objects_.erase(it); 42 ++it;
|