Home
last modified time | relevance | path

Searched refs:SourceId (Results 1 – 15 of 15) sorted by relevance

/external/v8/src/torque/
Dsource-positions.h18 class SourceId {
20 static SourceId Invalid() { return SourceId(-1); } in Invalid()
22 int operator==(const SourceId& s) const { return id_ == s.id_; }
23 bool operator<(const SourceId& s) const { return id_ < s.id_; }
26 explicit SourceId(int id) : id_(id) {} in SourceId() function
47 SourceId source;
52 SourcePosition pos{SourceId::Invalid(), LineAndColumn::Invalid(), in Invalid()
75 DECLARE_CONTEXTUAL_VARIABLE(CurrentSourceFile, SourceId);
81 static const std::string& PathFromV8Root(SourceId file);
82 static std::string PathFromV8RootWithoutExtension(SourceId file);
[all …]
Dsource-positions.cc19 const std::string& SourceFileMap::PathFromV8Root(SourceId file) { in DEFINE_CONTEXTUAL_VARIABLE()
25 std::string SourceFileMap::AbsolutePath(SourceId file) { in AbsolutePath()
32 std::string SourceFileMap::PathFromV8RootWithoutExtension(SourceId file) { in PathFromV8RootWithoutExtension()
42 SourceId SourceFileMap::AddSource(std::string path) { in AddSource()
44 return SourceId(static_cast<int>(Get().sources_.size()) - 1); in AddSource()
48 SourceId SourceFileMap::GetSourceId(const std::string& path) { in GetSourceId()
51 return SourceId(static_cast<int>(i)); in GetSourceId()
54 return SourceId::Invalid(); in GetSourceId()
58 std::vector<SourceId> SourceFileMap::AllSources() { in AllSources()
60 std::vector<SourceId> result; in AllSources()
[all …]
Dserver-data.h27 using DefinitionsMap = std::map<SourceId, Definitions>;
34 using SymbolsMap = std::map<SourceId, Symbols>;
47 SourceId source, LineAndColumn pos);
59 static const Symbols& SymbolsForSourceId(SourceId id) { in SymbolsForSourceId()
Dserver-data.cc22 SourceId source, LineAndColumn pos) { in FindDefinition()
45 SourceId source = declarable->Position().source; in PrepareAllDeclarableSymbols()
Dglobal-context.h69 static PerFileStreams& GeneratedPerFile(SourceId file) { in GeneratedPerFile()
97 std::map<SourceId, PerFileStreams> generated_per_file_;
Dtorque-compiler.cc30 SourceId source_id = SourceFileMap::AddSource(path); in ReadAndParseTorqueFile()
138 CurrentSourceFile::Scope unknown_source_file_scope(SourceId::Invalid()); in CompileTorque()
Dast.h221 void DeclareImportForCurrentFile(SourceId import_id) { in DeclareImportForCurrentFile()
243 std::map<SourceId, std::set<SourceId>> declared_imports_;
Dimplementation-visitor.cc61 std::set<SourceId> contains_class_definitions; in BeginGeneratedFiles()
68 for (SourceId file : SourceFileMap::AllSources()) { in BeginGeneratedFiles()
77 for (SourceId file : SourceFileMap::AllSources()) { in BeginGeneratedFiles()
122 for (SourceId file : SourceFileMap::AllSources()) { in EndGeneratedFiles()
1689 for (SourceId file : SourceFileMap::AllSources()) { in GenerateImplementation()
4817 for (SourceId file : SourceFileMap::AllSources()) { in GenerateExportedMacrosAssembler()
Dtypes.h744 SourceId AttributedToFile() const;
Dtypes.cc913 SourceId ClassType::AttributedToFile() const { in AttributedToFile()
/external/v8/src/torque/ls/
Dmessage-handler.cc68 for (const SourceId& source : DiagnosticsFiles::Get()) { in ResetCompilationErrorDiagnostics()
92 SourceId id = in AddTorqueMessage()
93 message.position ? message.position->source : SourceId::Invalid(); in AddTorqueMessage()
106 std::map<SourceId, PublishDiagnosticsNotification>& notifications() { in notifications()
112 SourceId id) { in GetOrCreateNotificationForSource()
156 std::map<SourceId, PublishDiagnosticsNotification> notifications_;
175 const SourceId& source = pair.first; in SendCompilationDiagnostics()
271 SourceId id = in HandleGotoDefinitionRequest()
307 SourceId id = in HandleDocumentSymbolRequest()
Dmessage-handler.h21 DECLARE_CONTEXTUAL_VARIABLE(DiagnosticsFiles, std::vector<SourceId>);
/external/mesa3d/src/imgui/
Dimgui.h1466 ImGuiID SourceId; // Source item id member
1474 …void Clear() { SourceId = SourceParentId = 0; Data = NULL; DataSize = 0; memset(DataType, 0, si… in Clear()
Dimgui.cpp3432 if (g.DragDropActive && g.DragDropPayload.SourceId == g.ActiveId) in NewFrame()
3433 KeepAliveID(g.DragDropPayload.SourceId); in NewFrame()
8558 payload.SourceId = source_id; in BeginDragDropSource()
8615 …IM_ASSERT(payload.SourceId != 0); // Not called between BeginDragDro… in SetDragDropPayload()
8657 if (!IsMouseHoveringRect(bb.Min, bb.Max) || (id == g.DragDropPayload.SourceId)) in BeginDragDropTargetCustom()
8689 if (g.DragDropPayload.SourceId == id) in BeginDragDropTarget()
9486 …0x%08X, Payload \"%s\" (%d bytes)", g.DragDropActive, g.DragDropPayload.SourceId, g.DragDropPayloa… in ShowMetricsWindow()
Dimgui_widgets.cpp418 …if (hovered && g.DragDropActive && g.DragDropPayload.SourceId == id && !(g.DragDropSourceFlags & I… in ButtonBehavior()