/external/tensorflow/tensorflow/core/lib/core/ |
arena.cc | 70 // Returns true iff it advances freestart_ to the first position 203 // it separately to avoid wasting too much space in leftover bytes. 228 // pointer you pass in was actually allocated by us, or that it 242 std::vector<AllocatedBlock>::iterator it; local 243 for (it = overflow_blocks_->begin(); it != overflow_blocks_->end(); ++it) { 244 port::AlignedFree(it->mem);
|
/external/tensorflow/tensorflow/core/util/ |
cuda_kernel_helper.h | 97 IntType* it = nullptr; local 100 it = first; 102 it += step; 103 if (!(val < *it)) { 104 first = ++it;
|
/external/turbine/java/com/google/turbine/binder/lookup/ |
MemberImportIndex.java | 97 private final Iterator<Supplier<ClassSymbol>> it; field in class:MemberImportIndex.WildcardSymbols 99 public WildcardSymbols(Iterator<Supplier<ClassSymbol>> it) { 100 this.it = it; 105 return it.hasNext(); 110 return it.next().get();
|
/external/v8/src/compiler/ |
control-flow-optimizer.cc | 93 auto it = if_false->uses().begin(); local 94 if (it == if_false->uses().end()) break; 95 Node* branch1 = *it++; 98 if (it != if_false->uses().end()) break;
|
/external/v8/src/runtime/ |
runtime-forin.cc | 49 LookupIterator it = local 52 for (; it.IsFound(); it.Next()) { 53 switch (it.state()) { 59 result = JSProxy::GetPropertyAttributes(&it); 63 Handle<JSProxy> proxy = it.GetHolder<JSProxy>(); 76 return it.GetName(); 80 result = JSObject::GetPropertyAttributesWithInterceptor(&it); 82 if (result.FromJust() != ABSENT) return it.GetName(); 86 if (it.HasAccess()) continue [all...] |
/external/vulkan-validation-layers/libs/vkjson/ |
vkjson_unittest.cc | 79 auto it = device2.formats.find(kv.first); local 80 EXPECT(it != device2.formats.end()); 81 EXPECT(!memcmp(&kv.second, &it->second, sizeof(kv.second)));
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
decoder_database_unittest.cc | 136 // Get the decoder info struct and check it too. 145 // Expect not to delete the decoder when removing it from the database, since 146 // it was declared externally. 184 PacketList::iterator it = packet_list.begin(); local 185 while (it != packet_list.end()) { 187 it = packet_list.erase(it);
|
dtmf_buffer.cc | 20 // longer required, this #define should be removed (and the code that it 89 // bit stream using the ParseEvent method above before inserting it in the 92 // is not known when the first packet describing it is sent. To deal with that, 94 // event as it is being created (typically, as the user is pressing the key). 107 DtmfList::iterator it = buffer_.begin(); local 108 while (it != buffer_.end()) { 109 if (MergeEvents(it, event)) { 113 ++it; 122 DtmfList::iterator it = buffer_.begin(); local 123 while (it != buffer_.end()) [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
RTPchange.cc | 118 std::vector<NETEQTEST_RTPpacket *>::iterator it; local 119 for (it = packet_vec.begin(); it != packet_vec.end(); it++) { 121 if ((*it)->writeToFile(out_file) < 0) { 126 delete *it;
|
/external/webrtc/webrtc/modules/pacing/ |
packet_router.cc | 37 auto it = std::find(rtp_modules_.begin(), rtp_modules_.end(), rtp_module); local 38 RTC_DCHECK(it != rtp_modules_.end()); 39 rtp_modules_.erase(it);
|
/external/webrtc/webrtc/modules/video_coding/test/ |
stream_generator.cc | 79 std::list<VCMPacket>::iterator it = GetPacketIterator(index); local 80 if (it == packets_.end()) 83 *packet = (*it); 84 packets_.erase(it); 89 std::list<VCMPacket>::iterator it = GetPacketIterator(index); local 90 if (it == packets_.end()) 93 *packet = (*it); 121 std::list<VCMPacket>::iterator it = packets_.begin(); local 123 ++it; 124 if (it == packets_.end() [all...] |
/external/webrtc/webrtc/video/ |
encoder_state_feedback.cc | 69 SsrcEncoderMap::iterator it = encoders_.begin(); local 70 while (it != encoders_.end()) { 71 if (it->second == encoder) { 72 encoders_.erase(it++); 74 ++it; 85 SsrcEncoderMap::iterator it = encoders_.find(ssrc); local 86 if (it == encoders_.end()) 89 it->second->OnReceivedIntraFrameRequest(ssrc); 94 SsrcEncoderMap::iterator it = encoders_.find(ssrc); local 95 if (it == encoders_.end() 103 SsrcEncoderMap::iterator it = encoders_.find(ssrc); local 113 SsrcEncoderMap::iterator it = encoders_.find(old_ssrc); local [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
ARawAudioAssembler.cpp | 62 List<sp<ABuffer> >::iterator it = queue->begin(); local 63 while (it != queue->end()) { 64 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) { 68 it = queue->erase(it);
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
Collection.h | 64 * It also set the key as the unique identifier of the policy element. 94 CollectionConstIterator it = (*this).find(key); local 95 return (it == (*this).end()) ? NULL : it->second; 112 CollectionConstIterator it; local 113 for (it = (*this).begin(); it != (*this).end(); ++it) { 114 T *element = it->second; 127 CollectionIterator it; local [all...] |
/frameworks/base/cmds/statsd/src/anomaly/ |
AnomalyTracker.h | 51 // If a bucket for bucketNum already exists, it will be replaced. 57 // given bucketValue. If the bucket does not exist, it will be created. 99 const auto& it = mRefractoryPeriodEndsSec.find(key); local 100 return it != mRefractoryPeriodEndsSec.end() ? it->second : 0; 109 // and removes it from firedAlarms. Does NOT remove the alarm from the AlarmMonitor. 117 // Returns the alarm timestamp in seconds for the query dimension if it exists. Otherwise 154 // Specifically, since it is now too old, removes the data for 165 // From mSumOverPastBuckets[key], subtracts bucketValue, removing it if it is now 0 [all...] |
/frameworks/base/cmds/statsd/src/condition/ |
StateTracker.cpp | 125 // it has been evaluated. 156 auto it = mSlicedState.find(primaryKey); local 157 if (it == mSlicedState.end()) { 162 } else if (!(it->second == state)) { 163 mLastChangedToFalseDimensions.insert(it->second); 187 // it has been evaluated. 208 auto it = mSlicedState.find(primaryKey); local 209 if (it != mSlicedState.end()) { 211 dimensionsKeySet.insert(it->second);
|
/frameworks/base/media/mca/filterfw/native/base/ |
utilities.h | 32 // For hash_[multi]set, it is important that this deletes behind the iterator 33 // because the hash_set may call the hash function on the iterator when it is 48 // in the case it's given a NULL pointer. 65 typename Collection::const_iterator it = collection.find(key); local 66 if (it == collection.end()) { 69 return &it->second; 119 typename Collection::const_iterator it = collection.find(key); local 120 if (it == collection.end()) { 123 return it->second;
|
/frameworks/base/media/mca/filterpacks/native/base/ |
utilities.h | 44 // For hash_[multi]set, it is important that this deletes behind the iterator 45 // because the hash_set may call the hash function on the iterator when it is 60 // in the case it's given a NULL pointer. 77 typename Collection::const_iterator it = collection.find(key); local 78 if (it == collection.end()) { 81 return &it->second; 131 typename Collection::const_iterator it = collection.find(key); local 132 if (it == collection.end()) { 135 return it->second;
|
/frameworks/compile/mclinker/lib/LD/ |
DebugString.cpp | 43 SectionData::iterator it, end = pSection.getSectionData()->end(); local 44 for (it = pSection.getSectionData()->begin(); it != end; ++it) { 45 if ((*it).getKind() == Fragment::Region) { 46 RegionFragment* frag = llvm::cast<RegionFragment>(&(*it));
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
AArch64CA53ErratumStub.cpp | 57 for (const_fixup_iterator it = pBegin, ie = pEnd; it != ie; ++it) { 58 addFixup(**it); 103 fixup_iterator it = fixup_begin(); local 106 Relocation::Create((*it)->type(), 107 *(FragmentRef::Create(*this, (*it)->offset())), 108 (*it)->addend()); 118 ++it; 119 reloc = Relocation::Create((*it)->type() [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
ARMException.cpp | 25 for (SectionData::iterator it = sectData->begin(), 26 end = sectData->end(); it != end; ++it) { 27 if (it->getKind() == Fragment::Region) { 28 return static_cast<RegionFragment*>(&*it); 45 for (ARMInputExMap::iterator it = exMap->begin(), end = exMap->end(); 46 it != end; ++it) { 47 ARMExSectionTuple* exTuple = it->second.get(); 54 for (Module::obj_iterator it = pModule.obj_begin() 82 ARMInputExMap::iterator it = exMap->begin(); local [all...] |
/frameworks/minikin/libs/minikin/ |
HyphenatorMap.cpp | 64 auto it = mMap.find(toLocale.getIdentifier()); local 65 if (it == mMap.end()) { 70 mMap[fromLocale.getIdentifier()] = it->second; 116 auto it = mMap.find(id); local 117 return it == mMap.end() ? nullptr : it->second;
|
LocaleListCache.cpp | 85 SplitIterator it(input, ','); 86 while (it.hasNext()) { 87 StringPiece localeStr = it.next(); 108 // The default locale list has only one Locale and it is the unsupported locale. 115 const auto& it = mLocaleListLookupTable.find(locales); local 116 if (it != mLocaleListLookupTable.end()) { 117 return it->second; 120 // Given locale list is not in cache. Insert it and return newly assigned ID.
|
/frameworks/native/vulkan/vkjson/ |
vkjson_unittest.cc | 79 auto it = device2.formats.find(kv.first); local 80 EXPECT(it != device2.formats.end()); 81 EXPECT(!memcmp(&kv.second, &it->second, sizeof(kv.second)));
|
/hardware/interfaces/tests/trie/1.0/default/ |
Trie.cpp | 73 auto it = std::find_if(vec.begin(), vec.end(), local 76 if (it == vec.end()) { 78 it = vec.end() - 1; 79 it->character = ch; 80 it->node.isTerminal = false; 83 currNode = &(it->node); 95 auto it = std::find_if(vec.begin(), vec.end(), local 98 if (it == vec.end()) return false; 99 currNode = &(it->node);
|