| /llvm-project-15.0.7/third-party/benchmark/test/ |
| H A D | string_util_gtest.cc | 12 size_t pos = 0; in TEST() local 17 size_t pos = 0; in TEST() local 22 size_t pos = 0; in TEST() local 28 size_t pos = 0; in TEST() local 34 size_t pos = 0; in TEST() local 75 size_t pos = 0; in TEST() local 80 size_t pos = 0; in TEST() local 85 size_t pos = 0; in TEST() local 90 size_t pos = 0; in TEST() local 95 size_t pos = 0; in TEST() local [all …]
|
| /llvm-project-15.0.7/lldb/source/Symbol/ |
| H A D | VariableList.cpp | 65 for (pos = m_variables.begin(); pos != end; ++pos) { in FindVariableIndex() 76 for (pos = m_variables.begin(); pos != end; ++pos) { in FindVariable() 92 for (pos = m_variables.begin(); pos != end; ++pos) { in FindVariable() 93 if ((*pos)->NameMatches(name) && (*pos)->GetScope() == value_type) { in FindVariable() 106 for (pos = m_variables.begin(); pos != end; ++pos) in AppendVariablesIfUnique() 116 for (pos = m_variables.begin(); pos != end; ++pos) { in AppendVariablesIfUnique() 133 for (pos = m_variables.begin(); pos != end; ++pos) { in AppendVariablesWithScope() 147 iterator pos; in FindIndexForVariable() local 150 for (pos = m_variables.begin(); pos != end; ++pos) { in FindIndexForVariable() 160 for (pos = m_variables.begin(); pos != end; ++pos) in MemorySize() [all …]
|
| H A D | TypeMap.cpp | 40 pos != end && pos->second->GetID() == type_uid; ++pos) { in InsertUnique() 84 iterator pos, end; in GetTypeAtIndex() local 86 for (pos = m_types.begin(), end = m_types.end(); pos != end; ++pos) { in GetTypeAtIndex() 88 return pos->second; in GetTypeAtIndex() 96 for (auto pos = m_types.begin(), end = m_types.end(); pos != end; ++pos) { in ForEach() local 97 if (!callback(pos->second)) in ForEach() 104 for (auto pos = m_types.begin(), end = m_types.end(); pos != end; ++pos) { in ForEach() local 114 pos != end && pos->first == uid; ++pos) { in Remove() 116 m_types.erase(pos); in Remove() 125 for (iterator pos = m_types.begin(), end = m_types.end(); pos != end; ++pos) { in Dump() local [all …]
|
| H A D | TypeList.cpp | 67 iterator pos, end; in GetTypeAtIndex() local 70 for (pos = m_types.begin(), end = m_types.end(); pos != end; ++pos) { in GetTypeAtIndex() 72 return *pos; in GetTypeAtIndex() 80 for (auto pos = m_types.begin(), end = m_types.end(); pos != end; ++pos) { in ForEach() local 81 if (!callback(*pos)) in ForEach() 88 for (auto pos = m_types.begin(), end = m_types.end(); pos != end; ++pos) { in ForEach() local 89 if (!callback(*pos)) in ForEach() 95 for (iterator pos = m_types.begin(), end = m_types.end(); pos != end; ++pos) { in Dump() local 125 for (pos = m_types.begin(); pos != end; ++pos) { in RemoveMismatchedTypes() 126 Type *the_type = pos->get(); in RemoveMismatchedTypes() [all …]
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/ |
| H A D | DNBBreakpoint.cpp | 57 return &pos->second; in Add() 92 if (pos != end) { in FindBreakpointsThatOverlapRange() 113 ++pos; in FindBreakpointsThatOverlapRange() 123 for (pos = m_breakpoints.begin(); pos != end; ++pos) in Dump() 129 for (pos = m_breakpoints.begin(); pos != end; ++pos) in DisableAll() 138 while (pos != end && (pos->first < (addr + size))) { in RemoveTrapsFromBuffer() 153 ++pos; in RemoveTrapsFromBuffer() 159 for (pos = m_breakpoints.begin(); pos != end; ++pos) in DisableAllBreakpoints() 165 for (pos = m_breakpoints.begin(); pos != end; ++pos) in DisableAllWatchpoints() 173 pos = m_breakpoints.erase(pos); in RemoveDisabled() [all …]
|
| H A D | DNBRegisterInfo.cpp | 37 strlcpy(pos, ", ", end - pos); \ 46 char *pos; in Dump() local 72 pos = str + 2; in Dump() 75 pos += in Dump() 148 pos += in Dump() 165 pos += in Dump() 176 pos += in Dump() 187 pos += in Dump() 198 pos += in Dump() 220 pos += snprintf(pos, end - pos, "%f", value.v_float32[i]); in Dump() [all …]
|
| /llvm-project-15.0.7/lldb/source/Breakpoint/ |
| H A D | WatchpointList.cpp | 47 for (pos = m_watchpoints.begin(); pos != end; ++pos) in DumpWithLevel() 57 for (pos = m_watchpoints.begin(); pos != end; ++pos) { in FindByAddress() 75 for (pos = m_watchpoints.begin(); pos != end; ++pos) in FindBySpec() 116 wp_sp = *pos; in FindByID() 143 wp_sp = *pos; in GetByIndex() 154 wp_sp = *pos; in GetByIndex() 162 for (pos = m_watchpoints.begin(); pos != end; ++pos) in GetWatchpointIDs() 190 for (pos = m_watchpoints.begin(); pos != end; ++pos) in GetHitCount() 214 for (pos = m_watchpoints.begin(); pos != end; ++pos) { in GetDescription() 224 for (pos = m_watchpoints.begin(); pos != end; ++pos) in SetEnabledAll() [all …]
|
| H A D | BreakpointLocationList.cpp | 73 if (pos != end && (*pos)->GetID() == break_id) in FindByID() 74 return *(pos); in FindByID() 85 for (pos = m_locations.begin(); pos != end; ++pos) { in FindInModule() 130 for (pos = m_locations.begin(); pos != end; ++pos) in Dump() 131 (*pos)->Dump(s); in Dump() 156 for (pos = m_locations.begin(); pos != end; ++pos) in ClearAllBreakpointSites() 164 for (pos = m_locations.begin(); pos != end; ++pos) { in ResolveAllBreakpointSites() 165 if ((*pos)->IsEnabled()) in ResolveAllBreakpointSites() 174 for (pos = m_locations.begin(); pos != end; ++pos) in GetHitCount() 183 for (pos = m_locations.begin(); pos != end; ++pos) { in GetNumResolvedLocations() [all …]
|
| H A D | BreakpointLocationCollection.cpp | 37 if (pos != m_break_loc_collection.end()) { in Remove() 38 m_break_loc_collection.erase(pos); in Remove() 83 if (pos != m_break_loc_collection.end()) in FindByIDPair() 84 stop_sp = *pos; in FindByIDPair() 92 collection::const_iterator pos = in FindByIDPair() local 95 stop_sp = *pos; in FindByIDPair() 144 for (pos = begin; pos != end; ++pos) { in ValidForThisThread() 158 for (pos = begin; pos != end; ++pos) { in IsInternal() 173 for (pos = begin; pos != end; ++pos) { in GetDescription() 174 if (pos != begin) in GetDescription() [all …]
|
| H A D | BreakpointSiteList.cpp | 67 m_bp_site_list.erase(pos); in Remove() 77 m_bp_site_list.erase(pos); in RemoveByAddress() 115 if (pos != m_bp_site_list.end()) in FindByID() 116 stop_sp = pos->second; in FindByID() 126 if (pos != m_bp_site_list.end()) in FindByID() 127 stop_sp = pos->second; in FindByID() 145 if (pos != m_bp_site_list.end()) in BreakpointSiteContainsBreakpoint() 157 collection::const_iterator pos; in Dump() local 159 for (pos = m_bp_site_list.begin(); pos != end; ++pos) in Dump() 160 pos->second->Dump(s); in Dump() [all …]
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | ThreadList.cpp | 372 for (pos = m_threads.begin(); pos != end; ++pos) { in ShouldReportStop() 403 for (pos = m_threads.begin(); pos != end; ++pos) { in SetShouldReportStop() 422 for (pos = m_threads.begin(); pos != end; ++pos) { in ShouldReportRun() 471 for (pos = m_threads.begin(); pos != end; ++pos) in RefreshStateAfterStop() 481 for (pos = m_threads.begin(); pos != end; ++pos) in DiscardThreadPlans() 504 for (pos = m_threads.begin(); pos != end; ++pos) { in WillResume() 536 for (pos = m_threads.begin(); pos != end; ++pos) { in WillResume() 555 for (pos = m_threads.begin(); pos != end; ++pos) { in WillResume() 623 for (pos = m_threads.begin(); pos != end; ++pos) { in DidResume() 635 for (pos = m_threads.begin(); pos != end; ++pos) { in DidStop() [all …]
|
| H A D | UnixSignals.cpp | 126 if (pos != m_signals.end()) in RemoveSignal() 127 m_signals.erase(pos); in RemoveSignal() 133 if (pos == m_signals.end()) in GetSignalAsCString() 153 for (pos = m_signals.begin(); pos != end; pos++) { in GetSignalNumberFromName() 158 return pos->first; in GetSignalNumberFromName() 177 if (pos == end) in GetNextSignalNumber() 180 pos++; in GetNextSignalNumber() 181 if (pos == end) in GetNextSignalNumber() 184 return pos->first; in GetNextSignalNumber() 192 if (pos == m_signals.end()) in GetSignalInfo() [all …]
|
| H A D | ThreadPlanStepUntil.cpp | 89 until_collection::iterator pos, end = m_until_points.end(); in Clear() local 90 for (pos = m_until_points.begin(); pos != end; pos++) { in Clear() 91 target.RemoveBreakpointByID((*pos).second); in Clear() 114 for (pos = m_until_points.begin(); pos != end; pos++) { in GetDescription() 116 (*pos).second); in GetDescription() 136 for (pos = m_until_points.begin(); pos != end; pos++) { in ValidatePlan() 137 if (!LLDB_BREAK_ID_IS_VALID((*pos).second)) in ValidatePlan() 193 for (pos = m_until_points.begin(); pos != end; pos++) { in AnalyzeStop() 286 for (pos = m_until_points.begin(); pos != end; pos++) { in DoWillResume() 305 until_collection::iterator pos, end = m_until_points.end(); in WillStop() local [all …]
|
| H A D | Memory.cpp | 64 --pos; in Flush() 67 AddrRange chunk_range(pos->first, pos->second->GetByteSize()); in Flush() 70 pos = m_L1_cache.erase(pos); in Flush() 142 --pos; in Read() 144 AddrRange chunk_range(pos->first, pos->second->GetByteSize()); in Read() 185 if (pos != end) { in Read() 199 for (++pos; (pos != end) && (bytes_left > 0); ++pos) { in Read() 339 for (pos = m_memory_map.begin(); pos != end; ++pos) in Clear() 381 for (PermissionsToBlockMap::iterator pos = range.first; pos != range.second; in AllocateMemory() local 382 ++pos) { in AllocateMemory() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFDeclContext.cpp | 28 collection::const_reverse_iterator pos; in GetQualifiedName() local 31 for (pos = begin; pos != end; ++pos) { in GetQualifiedName() 32 if (pos != begin) in GetQualifiedName() 34 if (pos->name == nullptr) { in GetQualifiedName() 35 if (pos->tag == DW_TAG_namespace) in GetQualifiedName() 60 collection::const_iterator pos; in operator ==() local 69 for (pos = begin, rhs_pos = rhs_begin; pos != end; ++pos, ++rhs_pos) { in operator ==() 70 if (pos->tag != rhs_pos->tag) { in operator ==() 76 if (pos->tag == DW_TAG_class_type && in operator ==() 83 for (pos = begin, rhs_pos = rhs_begin; pos != end; ++pos, ++rhs_pos) { in operator ==() [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | RangeMap.h | 189 if (pos != end && pos->Union(entry)) { in Insert() 246 for (; pos != m_entries.end(); ++pos) { in CombineConsecutiveRanges() 280 for (pos = m_entries.begin(), end = m_entries.end(); pos != end; ++pos) in Slide() 322 if (pos != end && pos->Contains(addr)) { in FindEntryIndexThatContains() 344 if (pos != end && pos->Contains(addr)) { in FindEntryThatContains() 366 if (pos != end && pos->Contains(range)) { in FindEntryThatContains() 497 pos != end; prev = pos++) { in CombineConsecutiveEntriesWithEqualData() 574 if (pos != end && pos->Contains(range)) in FindEntryThatContains() 587 if (pos != end && pos->base == addr) in FindEntryStartsAt() 615 while (pos != begin && pos[-1].Contains(addr)) in FindEntryThatContainsOrFollows() [all …]
|
| /llvm-project-15.0.7/flang/test/Evaluate/ |
| H A D | fold-ibits.f90 | 5 integer, parameter :: res1(*) = [((ibits(not(0),pos,len),len=0,31-pos),pos=0,31)] 6 integer, parameter :: expect1(*) = [((maskr(len),len=0,31-pos),pos=0,31)] 8 logical, parameter :: test2 = all([((ibits(0,pos,len),len=0,31-pos),pos=0,31)] == 0) 10 integer, parameter :: res3(*) = [((ibits(mess,pos,len),len=0,31-pos),pos=0,31)] 11 integer, parameter :: expect3(*) = [((iand(shiftr(mess,pos),maskr(len)),len=0,31-pos),pos=0,31)]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/ |
| H A D | check_consecutive.h | 20 void CheckConsecutiveValues(Iter pos, Iter end, typename Iter::value_type value, size_t count) in CheckConsecutiveValues() argument 24 assert(pos != end); in CheckConsecutiveValues() 25 assert(*pos == value); in CheckConsecutiveValues() 26 ++pos; in CheckConsecutiveValues() 28 assert(pos == end || *pos != value); in CheckConsecutiveValues() 37 assert(pos != end); in CheckConsecutiveKeys() 38 assert(pos->first == key); in CheckConsecutiveKeys() 39 assert(values.find(pos->second) != values.end()); in CheckConsecutiveKeys() 40 values.erase(values.find(pos->second)); in CheckConsecutiveKeys() 41 ++pos; in CheckConsecutiveKeys() [all …]
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | character.h | 49 auto pos{str.find_first_not_of(Space())}; in ADJUSTL() 50 if (pos != Character::npos && pos != 0) { in ADJUSTL() 51 return Character{str.substr(pos) + Character(pos, Space())}; in ADJUSTL() 58 auto pos{str.find_last_not_of(Space())}; in ADJUSTR() 59 if (pos != Character::npos && pos != str.length() - 1) { in ADJUSTR() 60 auto delta{str.length() - 1 - pos}; in ADJUSTR() 69 auto pos{back ? str.rfind(substr) : str.find(substr)}; 70 return static_cast<ConstantSubscript>(pos == str.npos ? 0 : pos + 1); 75 auto pos{back ? str.find_last_of(set) : str.find_first_of(set)}; 76 return static_cast<ConstantSubscript>(pos == str.npos ? 0 : pos + 1); [all …]
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | ValueObjectList.cpp | 65 collection::iterator pos, end = m_value_objects.end(); in FindValueObjectByValueName() local 66 for (pos = m_value_objects.begin(); pos != end; ++pos) { in FindValueObjectByValueName() 67 ValueObject *valobj = (*pos).get(); in FindValueObjectByValueName() 69 val_obj_sp = *pos; in FindValueObjectByValueName() 78 collection::iterator pos, end = m_value_objects.end(); in FindValueObjectByUID() local 80 for (pos = m_value_objects.begin(); pos != end; ++pos) { in FindValueObjectByUID() 83 ValueObject *valobj = (*pos).get(); in FindValueObjectByUID() 85 valobj_sp = *pos; in FindValueObjectByUID() 97 for (pos = m_value_objects.begin(); pos != end; ++pos) { in FindValueObjectByPointer() 98 ValueObject *valobj = (*pos).get(); in FindValueObjectByPointer() [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/ |
| H A D | signal_sync2.cpp | 25 int pos = signals_handled++; in handler() local 26 if (pos >= kSignalCount) in handler() 28 data[pos] = pos; in handler() 29 __atomic_store_n(&ready[pos], 1, __ATOMIC_RELEASE); in handler() 59 for (int pos = 0; pos < kSignalCount; pos++) { in main() local 60 while (__atomic_load_n(&ready[pos], __ATOMIC_ACQUIRE) == 0) { in main() 62 if (data[pos] != pos) { in main() 63 printf("at pos %d, expect %d, got %lld\n", pos, pos, data[pos]); in main()
|
| /llvm-project-15.0.7/lldb/source/DataFormatters/ |
| H A D | TypeCategoryMap.cpp | 51 return Enable(category, pos); in Enable() 65 Position pos_w = pos; in Enable() 68 else if (pos == Last || pos == m_active_categories.size()) in Enable() 78 category->Enable(true, pos); in Enable() 146 while (pos > 0) { in Get() 148 pos--; in Get() 163 for (pos = m_map.begin(); pos != end; pos++) { in AnyMatches() 237 for (pos = m_map.begin(); pos != end; pos++) { in ForEach() 240 if (!callback(pos->second)) in ForEach() 252 for (pos = m_map.begin(); pos != end; pos++) { in GetAtIndex() [all …]
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | ScriptLexer.cpp | 57 if (pos == 0) in getLineNumber() 101 if (pos) in setError() 158 if (pos == 0) in tokenize() 159 pos = 1; in tokenize() 161 s = s.substr(pos); in tokenize() 264 return tokens[pos++]; in next() 271 pos = pos - 1; in peek() 280 pos = pos - 2; in peek2() 296 if (tokens.size() >= pos + 2 && tokens[pos] == tok && in consumeLabel() 298 pos += 2; in consumeLabel() [all …]
|
| /llvm-project-15.0.7/libc/src/__support/File/ |
| H A D | file.cpp | 42 const size_t write_size = pos; in write_unlocked_nbf() 59 const size_t init_pos = pos; in write_unlocked_fbf() 87 bufref[pos + i] = primary[i]; in write_unlocked_fbf() 88 pos += primary.size(); in write_unlocked_fbf() 97 const size_t write_size = pos; in write_unlocked_fbf() 114 pos = remainder.size(); in write_unlocked_fbf() 196 pos += len; in read_unlocked() 203 dataref[i] = bufref[i + pos]; in read_unlocked() 225 pos += transfer_size; in read_unlocked() 249 pos = read_limit = 0; in seek() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-c-test/ |
| H A D | disassemble.c | 23 static void pprint(int pos, unsigned char *buf, int len, const char *disasm) { in pprint() argument 25 printf("%04x: ", pos); in pprint() 42 int pos; in do_disassemble() local 49 pos = 0; in do_disassemble() 50 while (pos < siz) { in do_disassemble() 51 size_t l = LLVMDisasmInstruction(D, buf + pos, siz - pos, 0, outline, in do_disassemble() 54 pprint(pos, buf + pos, 1, "\t???"); in do_disassemble() 55 pos++; in do_disassemble() 57 pprint(pos, buf + pos, l, outline); in do_disassemble() 58 pos += l; in do_disassemble()
|