Searched refs:find (Results 1 - 25 of 198) sorted by relevance

12345678

/gem5/src/base/
H A Dinifile.test.cc77 auto ret = simConfigDB.find("General", "Test2", value);
81 ret = simConfigDB.find("Junk", "Test3", value);
85 ret = simConfigDB.find("Junk", "Test4", value);
89 ret = simConfigDB.find("General", "Test1", value);
93 ret = simConfigDB.find("General", "Test3", value);
105 auto ret = simConfigDB.find("Junk2", "test3", value);
108 ret = simConfigDB.find("Junk", "test4", value);
H A Daddr_range_map.hh84 return find(r, [r](const AddrRange r1) { return r.isSubset(r1); });
89 return find(r, [r](const AddrRange r1) { return r.isSubset(r1); });
126 return find(r, [r](const AddrRange r1) { return r.intersects(r1); });
131 return find(r, [r](const AddrRange r1) { return r.intersects(r1); });
240 find(const AddrRange &r, std::function<bool(const AddrRange)> cond)
277 find(const AddrRange &r, std::function<bool(const AddrRange)> cond) const
279 return const_cast<AddrRangeMap *>(this)->find(r, cond);
H A Doutput.cc150 auto i = files.find(file->name());
227 if (!no_gz && name.find(".gz", name.length() - 3) < name.length()) {
243 OutputDirectory::find(const string &name) const function in class:OutputDirectory
249 auto i = files.find(name);
260 OutputStream *os(find(name));
271 if (find(name) != NULL) return true;
282 if (new_dir.find(directory()) == string::npos)
296 if (fname.find(directory()) == string::npos)
301 auto i = files.find(fname);
H A Dinifile.cc83 EntryTable::iterator ei = table.find(entryName);
103 string::size_type offset = assignment.find('=');
129 EntryTable::const_iterator ei = table.find(entryName);
138 SectionTable::iterator i = table.find(sectionName);
155 SectionTable::const_iterator i = table.find(sectionName);
166 // find ':'
167 string::size_type offset = str.find(':');
217 IniFile::find(const string &sectionName, const string &entryName, function in class:IniFile
279 (std::find(unref_ok_entries.begin(), unref_ok_entries.end(),
/gem5/ext/dsent/libutil/
H A DConfig.cc61 line = line.substr(0, line.find(comment));
65 if((sentry != "") && (line.find(sentry) != String::npos)) return;
71 pos delimPos = line.find(delimiter);
97 nextline = nextline.substr(0, nextline.find(comment));
98 //if(nextline.find(delim) != String::npos)
100 if((sentry != "") && (nextline.find(sentry) != String::npos))
H A DMap.h64 Iterator find(const String& key_);
65 ConstIterator find(const String& key_) const;
120 ConstIterator it = mMap.find(key_);
128 it = mMap.find(key_);
151 template<class T> typename Map<T>::Iterator Map<T>::find(const String& key_) function in class:LibUtil::Map
153 return mMap.find(key_);
156 template<class T> typename Map<T>::ConstIterator Map<T>::find(const String& key_) const function in class:LibUtil::Map
158 return mMap.find(key_);
H A DString.cc119 pos = find(str1_);
124 pos = find(str1_, pos);
176 nextPos = find(delimiters_[0]);
190 nextPos = find(delimiters_[0], currPos);
202 size_t tempPos = find(delimiters_[i], currPos);
226 size_t tempPos = find(delimiters_[i], currPos);
245 return (find(str_) != String::npos);
/gem5/src/arch/generic/
H A Ddecode_cache.cc49 auto iter = instMap.find(mach_inst);
/gem5/src/mem/slicc/ast/
H A DInPortDeclAST.py47 void_type = symtab.find("void", Type)
70 type = symtab.find("Event", Type)
76 type = symtab.find("Addr", Type)
104 type = symtab.find("Event", Type)
111 type = symtab.find("Addr", Type)
H A DOperatorExprAST.py80 left_input_type = self.symtab.find(expected_type[0], Type)
81 right_input_type = self.symtab.find(expected_type[1], Type)
95 return self.symtab.find(output, Type)
115 type_in_symtab = self.symtab.find(opmap[self.op], Type)
129 return self.symtab.find(output, Type)
H A DIsValidPtrExprAST.py51 type = self.symtab.find("bool", Type)
H A DTypeAST.py46 type = self.symtab.find(self.ident, Type)
H A DStateDeclAST.py69 self.symtab.find("std::string", Type), [ t ], [], "",
79 self.symtab.find("AccessPermission", Type), [ t ], [], "",
H A DVarExprAST.py46 var = self.symtab.find(self._var, Var)
52 expected_type = self.symtab.find(type_ident, Type)
H A DLiteralExprAST.py50 type = self.symtab.find(self.type, Type)
52 # Can't find the type
H A DMemberExprAST.py60 interface_type = self.symtab.find(return_type["interface"]);
/gem5/ext/googletest/googlemock/scripts/generator/cpp/
H A Dtokenize.py90 i = source.find('"', i+1)
101 i = source.find('"', i+1)
107 i = source.find("'", i+1)
112 i = source.find("'", i+1)
165 i = source.find('\n', i)
170 i = source.find('*/', i) + 2
229 i1 = source.find('\n', i)
230 i2 = source.find('//', i)
231 i3 = source.find('/*', i)
232 i4 = source.find('"',
[all...]
/gem5/src/mem/
H A Dpage_table.cc58 auto it = pTable.find(vaddr);
85 auto new_it M5_VAR_USED = pTable.find(new_vaddr);
86 auto old_it = pTable.find(vaddr);
112 auto it = pTable.find(vaddr);
127 if (pTable.find(vaddr + offset) != pTable.end())
137 PTableItr iter = pTable.find(page_addr);
/gem5/src/mem/ruby/structures/
H A DPersistentTable.cc100 AddressMap::const_iterator i = m_map.find(address);
121 AddressMap::const_iterator i = m_map.find(address);
131 AddressMap::const_iterator i = m_map.find(address);
146 AddressMap::iterator i = m_map.find(address);
172 AddressMap::const_iterator i = m_map.find(address);
184 AddressMap::const_iterator i = m_map.find(address);
/gem5/src/sim/
H A Dfutex_map.hh129 auto it = find(key);
147 auto it = find(key);
176 auto it = find(key);
197 auto it = find(key);
239 auto it1 = find(key1);
264 auto it2 = find(key2);
H A Dcxx_config_ini.cc49 return iniFile.find(object_name, param_name, value);
58 bool ret = iniFile.find(object_name, param_name, value);
H A Dserialize.cc116 if (!cp.find(section, "version_tags", str)) {
130 if (cpt_tags.find(t) == cpt_tags.end()) {
149 if (version_tags.find(t) == version_tags.end()) {
260 currentDirectory = (name.find("%") != string::npos) ?
294 CheckpointIn::find(const string &section, const string &entry, string &value) function in class:CheckpointIn
296 return db->find(section, entry, value);
305 if (!db->find(section, entry, path))
/gem5/src/sim/power/
H A Dmathexpr_powermodel.cc68 if (i->name.find(basename) == 0) {
71 } else if (i->name.find(".") == std::string::npos) {
135 const auto it = stats_map.find(name);
137 warn("Failed to find stat '%s'\n", name);
/gem5/src/arch/riscv/insts/
H A Dstandard.cc63 auto data = CSRData.find(csr);
/gem5/src/gpu-compute/
H A Dlds_state.hh327 auto dispatchIter = chunkMap.find(dispatchId);
331 auto workgroup = dispatchIter->second.find(wgId);
333 "could not find this workgroup id within this dispatch id"
336 auto refCountIter = refCounter.find(dispatchId);
340 auto workgroup = refCountIter->second.find(wgId);
342 fatal("could not find this workgroup id within this dispatch id"
361 if (chunkMap.find(dispatchId) != chunkMap.end()) {
363 chunkMap[dispatchId].find(wgId) != chunkMap[dispatchId].end(),
466 auto dispatchIter = chunkMap.find(x_dispatchId);
471 auto workgroupIter = dispatchIter->second.find(x_wgI
[all...]

Completed in 27 milliseconds

12345678