/third_party/gn/src/gn/ |
H A D | location.h | 13 class Location { class 15 Location(); 16 Location(const InputFile* file, int line_number, int column_number); 21 bool is_null() const { return *this == Location(); } in is_null() 23 bool operator==(const Location& other) const; 24 bool operator!=(const Location& other) const; 25 bool operator<(const Location& other) const; 26 bool operator<=(const Location& other) const; 27 bool operator>(const Location& other) const { return !(*this <= other); } in operator >() 28 bool operator>=(const Location in operator >() [all...] |
H A D | location.cc | 13 Location::Location() = default; 15 Location::Location(const InputFile* file, int line_number, int column_number) in Location() function in Location 18 bool Location::operator==(const Location& other) const { in operator ==() 23 bool Location::operator!=(const Location& other) const { in operator !=() 27 bool Location::operator<(const Location [all...] |
H A D | token.h | 61 Token(const Location& location, Type t, std::string_view v); 63 static Token ClassifyAndMake(const Location& location, std::string_view v); 67 const Location& location() const { return location_; } in location() 68 void set_location(Location location) { location_ = location; } in set_location() 72 Location(location_.file(), location_.line_number(), in range() 83 Location location_;
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/ |
H A D | Location.hpp | 25 // Location holds a file path and line number. 26 struct Location struct 28 Location() = default; 29 inline Location(const std::shared_ptr<File> &file, int line, int column = 0); 31 inline bool operator==(const Location &o) const; 32 inline bool operator!=(const Location &o) const; 33 inline bool operator<(const Location &o) const; 40 Location::Location(const std::shared_ptr<File> &file, int line, int column /* = 0 */) in Location() function in vk::dbg::Location 46 bool Location [all...] |
/third_party/vixl/src/aarch32/ |
H A D | location-aarch32.h | 52 class Location : public LocationBase<int32_t> { class 61 Location() in Location() function in vixl::aarch32::Location 65 Location() = delete; 66 Location(AllocatorWrapper allocator) in Location() function in vixl::aarch32::Location 74 ~Location() VIXL_NEGATIVE_TESTING_ALLOW_EXCEPTION { 78 VIXL_ABORT_WITH_MSG("Location, label or literal used but not bound.\n"); 99 Location::Offset /*pc*/, in Encode() 100 const Location* /*label*/) const { in Encode() 121 ForwardRef(const Location::EmitOperator* op, in ForwardRef() 134 const Location 244 Location(uint32_t type, int size, int alignment) Location() function in vixl::aarch32::Location 247 Location(AllocatorWrapper allocator, uint32_t type, int size, int alignment) Location() function in vixl::aarch32::Location 253 explicit Location(Offset location) Location() function in vixl::aarch32::Location 257 Location(AllocatorWrapper allocator, Offset location) Location() function in vixl::aarch32::Location [all...] |
H A D | location-aarch32.cc | 36 bool Location::Needs16BitPadding(int32_t location) const { in Needs16BitPadding() 44 void Location::ResolveReferences(internal::AssemblerBase* assembler) { in ResolveReferences() 59 void Location::EncodeLocationFor(internal::AssemblerBase* assembler, in EncodeLocationFor() 61 const Location::EmitOperator* encoder) { in EncodeLocationFor() 87 void Location::AddForwardRef(int32_t instr_location, in AddForwardRef() 104 int Location::GetMaxAlignment() const { in GetMaxAlignment() 106 for (ForwardRefListIterator it(const_cast<Location*>(this)); !it.Done(); in GetMaxAlignment() 115 int Location::GetMinLocation() const { in GetMinLocation() 117 for (ForwardRefListIterator it(const_cast<Location*>(this)); !it.Done(); in GetMinLocation()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkBuilderUtil.hpp | 130 class Location class in vk::DescriptorSetUpdateBuilder 133 static inline Location binding (deUint32 binding_) in binding() 135 return Location(binding_, 0u); in binding() 137 static inline Location bindingArrayElement (deUint32 binding_, deUint32 arrayElement) in bindingArrayElement() 139 return Location(binding_, arrayElement); in bindingArrayElement() 144 inline Location (deUint32 binding_, deUint32 arrayElement) in Location() function in vk::DescriptorSetUpdateBuilder::Location 184 const Location& destLocation, in writeSingle() 192 const Location& destLocation, in writeSingle() 200 const Location& destLocation, in writeSingle() 209 const Location in writeSingle() [all...] |
/third_party/skia/third_party/externals/tint/src/ |
H A D | source.h | 62 /// Location holds a 1-based line and column index. 63 class Location { class in tint::Source 73 inline bool operator<(const Source::Location& rhs) { in operator <() 80 inline bool operator==(const Location& rhs) const { in operator ==() 87 inline bool operator!=(const Location& rhs) const { in operator !=() 92 /// Range holds a Location interval described by [begin, end). 100 inline constexpr explicit Range(const Location& loc) in Range() 106 inline constexpr Range(const Location& b, const Location& e) in Range() 129 Location begi [all...] |
/third_party/node/deps/v8/src/ast/ |
H A D | modules.h | 9 #include "src/parsing/scanner.h" // Only for Scanner::Location. 42 const Scanner::Location loc, 43 const Scanner::Location specifier_loc, Zone* zone); 49 const Scanner::Location loc, 50 const Scanner::Location specifier_loc, Zone* zone); 57 const Scanner::Location specifier_loc, Zone* zone); 66 const Scanner::Location loc, Zone* zone); 74 const Scanner::Location loc, 75 const Scanner::Location specifier_loc, Zone* zone); 80 const Scanner::Location lo [all...] |
/third_party/skia/third_party/externals/tint/src/resolver/ |
H A D | entry_point_validation_test.cc | 57 {Stage(ast::PipelineStage::kFragment)}, {Location(0)}); in TEST_F() 95 {Location(Source{{13, 43}}, 0), in TEST_F() 113 "Output", {Member("a", ty.f32(), {Location(0)}), in TEST_F() 134 {Location(Source{{13, 43}}, 0), in TEST_F() 157 "Output", {Member(Source{{13, 43}}, "a", ty.f32(), {Location(0)}), in TEST_F() 195 auto* param = Param("param", ty.f32(), {Location(0)}); in TEST_F() 218 {Location(Source{{13, 43}}, 0), in TEST_F() 236 "Input", {Member("a", ty.f32(), {Location(0)}), in TEST_F() 255 {Location(Source{{13, 43}}, 0), in TEST_F() 276 "Input", {Member(Source{{13, 43}}, "a", ty.f32(), {Location( in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | ReactorDebugInfo.hpp | 43 struct Location struct 48 bool operator==(const Location &rhs) const { return function == rhs.function && line == rhs.line; } in operator ==() 49 bool operator!=(const Location &rhs) const { return !(*this == rhs); } in operator !=() 53 std::size_t operator()(const Location &l) const noexcept 61 using Backtrace = std::vector<Location>;
|
H A D | ReactorDebugInfo.cpp | 81 std::vector<Location> locations; in getCallerBacktrace() 85 static std::unordered_map<bs::frame::native_frame_ptr_t, Location> cache; in getCallerBacktrace() 89 Location location; in getCallerBacktrace() 125 static Location lastLocation; in emitPrintLocation() 130 Location currLocation = backtrace[backtrace.size() - 1]; in emitPrintLocation()
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/cov/ |
H A D | span.go | 22 // Location describes a single line-column position in a source file. 23 type Location struct { type 27 func (l Location) String() string { 32 func (l Location) Compare(o Location) int { 47 func (l Location) Before(o Location) bool { return l.Compare(o) == -1 } 50 func (l Location) After(o Location) bool { return l.Compare(o) == 1 } 54 Start, End Location [all...] |
/third_party/node/deps/v8/src/parsing/ |
H A D | scanner.h | 259 struct Location { struct in v8::internal::Scanner 260 Location(int b, int e) : beg_pos(b), end_pos(e) { } in Location() function 261 Location() : beg_pos(0), end_pos(0) { } in Location() function 266 static Location invalid() { return Location(-1, 0); } in invalid() 292 const Location& location() const { return current().location; } in location() 297 const Location& error_location() const { return scanner_error_location_; } in error_location() 312 Location invalid_template_escape_location() const { in invalid_template_escape_location() 322 const Location& peek_location() const { return next().location; } in peek_location() 375 Location octal_positio [all...] |
H A D | expression-scope.h | 137 void RecordAsyncArrowParametersError(const Scanner::Location& loc, in RecordAsyncArrowParametersError() 148 void RecordParameterInitializerError(const Scanner::Location& loc, in RecordParameterInitializerError() 172 void RecordPatternError(const Scanner::Location& loc, in RecordPatternError() 182 void RecordStrictModeParameterError(const Scanner::Location& loc, in RecordStrictModeParameterError() 199 void RecordDeclarationError(const Scanner::Location& loc, in RecordDeclarationError() 209 void RecordExpressionError(const Scanner::Location& loc, in RecordExpressionError() 256 void Report(const Scanner::Location& loc, MessageTemplate message) const { in Report() 385 Scanner::Location(pos, pos + name->length()), in Declare() 447 duplicate_loc_ = Scanner::Location(pos, pos + name->length()); in Declare() 454 const Scanner::Location [all...] |
H A D | scanner.cc | 27 ErrorState(MessageTemplate* message_stack, Scanner::Location* location_stack) in ErrorState() 33 *location_stack_ = Location::invalid(); in ErrorState() 50 *location_stack_ = Location::invalid(); in MoveErrorTo() 56 Scanner::Location* const location_stack_; 57 Scanner::Location const old_location_; 99 octal_pos_(Location::invalid()), in Scanner() 127 ReportScannerError(Location(begin, begin + expected_length + 2), in ScanHexNumber() 150 ReportScannerError(Location(beg_pos, source_pos() + 1), in ScanUnlimitedLengthHexNumber() 418 octal_pos_ = Location(source_pos() - 2, source_pos() - 1); in ScanEscape() 448 octal_pos_ = Location(source_po in ScanOctalEscape() [all...] |
/third_party/rust/crates/codespan/codespan/src/ |
H A D | location.rs | 9 pub struct Location { structure names 16 impl Location { impls 18 pub fn new(line: impl Into<LineIndex>, column: impl Into<ColumnIndex>) -> Location { in new() 19 Location { in new()
|
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/ |
H A D | Input.h | 33 struct Location struct in angle::pp::Input 38 Location() : sIndex(0), cIndex(0) {} in Location() function 40 const Location &readLoc() const { return mReadLoc; } in readLoc() 52 Location mReadLoc;
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/ |
H A D | Input.h | 39 struct Location struct in pp::Input 44 Location() : sIndex(0), cIndex(0) {} in Location() function 46 const Location &readLoc() const { return mReadLoc; } in readLoc() 58 Location mReadLoc;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | AddDiscriminators.cpp | 177 using Location = std::pair<StringRef, unsigned>; in addDiscriminators() 179 using LocationBBMap = DenseMap<Location, BBSet>; in addDiscriminators() 180 using LocationDiscriminatorMap = DenseMap<Location, unsigned>; in addDiscriminators() 181 using LocationSet = DenseSet<Location>; in addDiscriminators() 202 Location L = std::make_pair(DIL->getFilename(), DIL->getLine()); in addDiscriminators() 245 Location L = in addDiscriminators()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
H A D | X86DiscriminateMemOps.cpp | 47 using Location = std::pair<StringRef, unsigned>; 49 Location diToLocation(const DILocation *Loc) { in diToLocation() 101 DenseMap<Location, unsigned> MemOpDiscriminators; in runOnMachineFunction() 104 // Figure out the largest discriminator issued for each Location. When we in runOnMachineFunction() 115 Location Loc = diToLocation(DI); in runOnMachineFunction() 121 // Keep track of the discriminators seen at each Location. If an instruction's in runOnMachineFunction() 122 // DebugInfo has a Location and discriminator we've already seen, replace its in runOnMachineFunction() 124 DenseMap<Location, DenseSet<unsigned>> Seen; in runOnMachineFunction() 138 Location L = diToLocation(DI); in runOnMachineFunction()
|
/third_party/vixl/examples/aarch32/ |
H A D | custom-aarch32-disasm.cc | 44 std::map<Location::Offset, const char*> symbols_; 48 std::map<Location::Offset, const char*>& GetSymbols() { return symbols_; } in GetSymbols() 51 std::map<Location::Offset, const char*>::iterator symbol = 79 std::map<Location::Offset, const char*>::iterator symbol = 107 std::pair<Location::Offset, const char*>(GetLocation(), name_)); in ~NamedLabel()
|
/third_party/protobuf/conformance/third_party/jsoncpp/ |
H A D | json.h | 1284 typedef const Char* Location; typedef in Json::Reader 1427 Location start_; 1428 Location end_; 1435 Location extra_; 1442 bool match(Location pattern, int patternLength); 1458 Location& current, 1459 Location end, 1462 Location& current, 1463 Location end, 1465 bool addError(const std::string& message, Token& token, Location extr [all...] |
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/json/ |
H A D | json.h | 1233 typedef const Char* Location; typedef in Json::Reader 1376 Location start_; 1377 Location end_; 1384 Location extra_; 1391 bool match(Location pattern, int patternLength); 1407 Location& current, 1408 Location end, 1411 Location& current, 1412 Location end, 1414 bool addError(const std::string& message, Token& token, Location extr [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/json/ |
H A D | json.h | 1233 typedef const Char* Location; typedef in Json::Reader 1376 Location start_; 1377 Location end_; 1384 Location extra_; 1391 bool match(Location pattern, int patternLength); 1407 Location& current, 1408 Location end, 1411 Location& current, 1412 Location end, 1414 bool addError(const std::string& message, Token& token, Location extr [all...] |