Lines Matching refs:it
92 for (auto it = fileSource_.begin(); it != fileSource_.end(); it++) { in GetFileName() local
93 std::cout << "scriptID : " << it->first; in GetFileName()
94 std::cout << " fileName : " << it->second.first <<std::endl; in GetFileName()
108 auto it = fileSource_.find(scriptId); in SetFileSource() local
109 if (it != fileSource_.end() && it->second.second.empty()) { in SetFileSource()
114 it->second.second.push_back(line); in SetFileSource()
118 it->second.second.push_back(fileSource.substr(startPos)); in SetFileSource()
126 auto it = fileSource_.find(scriptId); in GetFileSource() local
127 if (it != fileSource_.end()) { in GetFileSource()
129 for (const std::string& value : it->second.second) { in GetFileSource()
132 return it->second.second; in GetFileSource()
169 auto it = fileSource_.find(scriptId_); in GetDebugSources() local
170 if (it != fileSource_.end()) { in GetDebugSources()
171 std::cout << (debugLineNum_ + 1) << " " << it->second.second[debugLineNum_] << std::endl; in GetDebugSources()
185 auto it = fileSource_.find(scriptId_); in ListSourceCodeWithParameters() local
186 if (it == fileSource_.end()) { in ListSourceCodeWithParameters()
190 if (startLine >= static_cast<int>(it->second.second.size()) + STATR_LINE_OFFSET || in ListSourceCodeWithParameters()
193 static_cast<int>(it->second.second.size()) << " lines" << std::endl; in ListSourceCodeWithParameters()
203 if (endLine > static_cast<int>(it->second.second.size())) { in ListSourceCodeWithParameters()
204 endLine = static_cast<int>(it->second.second.size()); in ListSourceCodeWithParameters()
207 std::cout << (showLine + 1) << " " << it->second.second[showLine] << std::endl; in ListSourceCodeWithParameters()
210 auto it = fileSource_.find(scriptId_); in ListSourceCodeWithParameters() local
211 if (it == fileSource_.end()) { in ListSourceCodeWithParameters()
215 if (startLine > static_cast<int>(it->second.second.size()) || in ListSourceCodeWithParameters()
216 endLine > static_cast<int>(it->second.second.size()) || in ListSourceCodeWithParameters()
219 static_cast<int>(it->second.second.size()) << " lines" << std::endl; in ListSourceCodeWithParameters()
222 if (endLine > static_cast<int>(it->second.second.size())) { in ListSourceCodeWithParameters()
223 endLine = static_cast<int>(it->second.second.size()); in ListSourceCodeWithParameters()
226 std::cout << (showLine + 1) << " " << it->second.second[showLine] << std::endl; in ListSourceCodeWithParameters()
238 auto it = fileSource_.find(scriptId_); in ListSource() local
239 if (it == fileSource_.end()) { in ListSource()
250 if (endLine > static_cast<int>(it->second.second.size())) { in ListSource()
251 endLine = static_cast<int>(it->second.second.size()); in ListSource()
254 std::cout << (showLine + 1) << " " << it->second.second[showLine] << std::endl; in ListSource()