Home
last modified time | relevance | path

Searched refs:Location (Results 1 – 25 of 60) sorted by relevance

123

/system/tools/hidl/
DLocation.cpp56 Location::Location(const Position& begin, const Position& end) in Location() function in android::Location
59 void Location::setLocation(const Position& begin, const Position& end) { in setLocation()
65 bool Location::isValid() const { in isValid()
69 const Position& Location::begin() const { in begin()
73 const Position& Location::end() const { in end()
77 Location Location::startOf(const std::string& path) { in startOf()
78 return Location(Position(path, 1, 1), Position(path, 1, 1)); in startOf()
81 bool Location::inSameFile(const Location& lhs, const Location& rhs) { in inSameFile()
85 bool Location::intersect(const Location& lhs, const Location& rhs) { in intersect()
90 bool Location::operator<(const Location& loc) const { in operator <()
[all …]
DLocation.h28 Location { \
56 struct Location { struct
57 Location() = default;
58 Location(const Position& begin, const Position& end);
66 static Location startOf(const std::string& path);
68 static bool inSameFile(const Location& lhs, const Location& rhs);
69 static bool intersect(const Location& lhs, const Location& rhs);
71 bool operator<(const Location& loc) const;
82 std::ostream& operator<<(std::ostream& ostr, const Location& loc); argument
DDocComment.h44 DocComment(const std::string& comment, const Location& location,
47 DocComment(const std::vector<std::string>& lines, const Location& location,
56 const Location& location() const { return mLocation; } in location()
61 Location mLocation;
DReference.h39 Reference(const std::string& localName, const FQName& fqName, const Location& location,
47 Reference(const std::string& localName, T* type, const Location& location,
65 Reference(const Reference<OtherT>& ref, const Location& location) in Reference()
118 const Location& location() const { in location()
134 Location mLocation;
154 NamedReference(const std::string& name, const Reference<T>& reference, const Location& location) in NamedReference()
DNamedType.h31 NamedType(const std::string& localName, const FQName& fullName, const Location& loc,
43 const Location& location() const;
52 const Location mLocation;
Dhidl-gen_y-helpers.h27 struct Location;
31 android::Location convertYYLoc(const yy::parser::location_type& loc, const android::AST* ast);
Dmain.cpp69 Coordinator::Location location, std::string* file) const { in getOutputFile()
78 Coordinator::Location location, in appendOutputFiles()
80 if (location == Coordinator::Location::STANDARD_OUT) { in appendOutputFiles()
97 Coordinator::Location location) const { in generate()
127 Coordinator::Location mLocation; // how to compute location relative to the output directory
510 coordinator->getFilepath(fqName, Coordinator::Location::PACKAGE_ROOT, fileName, &path); in hasVariantFile()
1029 Coordinator::Location::STANDARD_OUT,
1044 Coordinator::Location::GEN_OUTPUT,
1053 Coordinator::Location::GEN_OUTPUT,
1062 Coordinator::Location::GEN_OUTPUT,
[all …]
DNamedType.cpp23 NamedType::NamedType(const std::string& localName, const FQName& fullName, const Location& loc, in NamedType()
43 const Location &NamedType::location() const { in location()
DMethod.h57 std::vector<Annotation*>* annotations, const Location& location);
109 const Location& location() const;
125 const Location mLocation;
DEnumType.h34 EnumType(const std::string& localName, const FQName& fullName, const Location& location,
152 EnumValue(const std::string& name, ConstantExpression* value, const Location& location);
164 const Location& location() const;
169 const Location mLocation;
DCoordinator.h57 enum class Location { enum
65 status_t getFilepath(const FQName& fqName, Location location, const std::string& fileName,
68 Formatter getFormatter(const FQName& fqName, Location location,
DScope.h37 Scope(const std::string& localName, const FQName& fullName, const Location& location,
102 RootScope(const char* localName, const FQName& fullName, const Location& location,
DDocComment.cpp30 DocComment::DocComment(const std::string& comment, const Location& location, CommentType type) in DocComment()
62 DocComment::DocComment(const std::vector<std::string>& lines, const Location& location, in DocComment()
/system/tools/hidl/test/host_test/
Dmain.cpp74 using Location = Coordinator::Location; in TEST_F() typedef
87 EXPECT_EQ_OK("foo/x.y", coordinator.getFilepath, kName, Location::DIRECT, "x.y"); in TEST_F()
88 EXPECT_EQ_OK("foo/a1/b1/c/1.2/x.y", coordinator.getFilepath, kName, Location::PACKAGE_ROOT, in TEST_F()
90 EXPECT_EQ_OK("foo/a/b/c/1.2/x.y", coordinator.getFilepath, kName, Location::GEN_OUTPUT, "x.y"); in TEST_F()
91 EXPECT_EQ_OK("foo/a/b/c/V1_2/x.y", coordinator.getFilepath, kName, Location::GEN_SANITIZED, in TEST_F()
95 EXPECT_EQ_OK("foo/", coordinator.getFilepath, kName, Location::DIRECT, ""); in TEST_F()
96 EXPECT_EQ_OK("foo/a1/b1/c/1.2/", coordinator.getFilepath, kName, Location::PACKAGE_ROOT, ""); in TEST_F()
97 EXPECT_EQ_OK("foo/a/b/c/1.2/", coordinator.getFilepath, kName, Location::GEN_OUTPUT, ""); in TEST_F()
98 EXPECT_EQ_OK("foo/a/b/c/V1_2/", coordinator.getFilepath, kName, Location::GEN_SANITIZED, ""); in TEST_F()
102 Location a{{"file", 3, 4}, {"file", 3, 5}}; in TEST_F()
[all …]
/system/tools/hidl/lint/
DLint.h32 Lint(LintLevel level, const Location& location, const std::string& message = "");
44 const Location& getLocation() const;
52 Location mLocation;
DLint.cpp27 Lint::Lint(LintLevel level, const Location& location, const std::string& message) in Lint()
45 const Location& Lint::getLocation() const { in getLocation()
/system/unwinding/libunwindstack/include/unwindstack/
DRegs.h43 struct Location { struct
44 Location(LocationEnum type, int16_t value) : type(type), value(value) {} in Location() function
50 Regs(uint16_t total_regs, const Location& return_loc) in Regs() argument
94 Location return_loc_;
101 RegsImpl(uint16_t total_regs, Location return_loc) in RegsImpl()
/system/hardware/interfaces/media/aidl/android/media/audio/common/
DMicrophoneInfo.aidl46 enum Location { enum
57 Location location = Location.UNKNOWN;
/system/bpf/loader/include/
Dlibbpf_android.h27 struct Location { struct
35 int loadProg(const char* elfPath, bool* isCritical, const Location &location = {}); argument
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/2/android/media/audio/common/
DMicrophoneInfo.aidl39 …ndroid.media.audio.common.MicrophoneInfo.Location location = android.media.audio.common.Microphone…
50 enum Location { enum
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/current/android/media/audio/common/
DMicrophoneInfo.aidl40 …ndroid.media.audio.common.MicrophoneInfo.Location location = android.media.audio.common.Microphone…
51 enum Location { enum
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/3/android/media/audio/common/
DMicrophoneInfo.aidl40 …ndroid.media.audio.common.MicrophoneInfo.Location location = android.media.audio.common.Microphone…
51 enum Location { enum
/system/update_engine/common/
Dscoped_task_id.h58 [[nodiscard]] bool PostTask(const base::Location& from_here,
63 [[nodiscard]] bool PostTask(const base::Location& from_here,
99 [[nodiscard]] bool PostTask(const base::Location& from_here, in PostTask()
/system/extras/power_profile/gps_on/Application/src/main/java/com/example/android/powerprofile/gpson/
DGpsActivity.java22 import android.location.Location;
70 public void onLocationChanged(Location location) {} in initLocation()
/system/tools/hidl/lint/lints/
Dsafeunion.cpp71 if (!Location::inSameFile(scope->location(), nextRef->location())) continue; in lintUnionRecursively()
74 if (Location::inSameFile(scope->location(), compoundType->location())) continue; in lintUnionRecursively()

123