Lines Matching refs:Label
18 class Label {
20 Label();
24 Label(const SourceDir& dir,
30 Label(const SourceDir& dir, const base::StringPiece& name);
31 ~Label();
36 static Label Resolve(const SourceDir& current_dir,
37 const Label& current_toolchain,
49 // Returns the current label's toolchain as its own Label.
50 Label GetToolchainLabel() const;
53 Label GetWithNoToolchain() const;
64 std::string GetUserVisibleName(const Label& default_toolchain) const;
66 bool operator==(const Label& other) const {
71 bool operator!=(const Label& other) const {
74 bool operator<(const Label& other) const {
88 bool ToolchainsEqual(const Label& other) const {
104 template<> struct hash<Label> {
105 std::size_t operator()(const Label& v) const {
114 inline size_t hash_value(const Label& v) {