Home
last modified time | relevance | path

Searched refs:SourceId (Results 1 - 20 of 20) sorted by relevance

/third_party/node/deps/v8/src/torque/
H A Dsource-positions.h18 class SourceId { class
20 static SourceId Invalid() { return SourceId(-1); } in Invalid()
22 int operator==(const SourceId& s) const { return id_ == s.id_; } in operator ==()
23 bool operator<(const SourceId& s) const { return id_ < s.id_; } in operator <()
26 explicit SourceId(int id) : id_(id) {} in SourceId() function in v8::internal::torque::SourceId
58 SourceId source;
63 SourcePosition pos{SourceId::Invalid(), LineAndColumn::Invalid(), in Invalid()
86 DECLARE_CONTEXTUAL_VARIABLE(CurrentSourceFile, SourceId);
92 static const std::string& PathFromV8Root(SourceId fil in SourceFileMap()
[all...]
H A Dsource-positions.cc19 const std::string& SourceFileMap::PathFromV8Root(SourceId file) { in PathFromV8Root()
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> resul in AllSources()
[all...]
H A Dglobal-context.h69 : file(SourceId::Invalid()), in PerFileStreams()
73 SourceId file;
94 std::set<SourceId> required_builtin_includes;
96 static PerFileStreams& GeneratedPerFile(SourceId file) { in GeneratedPerFile()
109 static void EnsureInCCOutputList(TorqueMacro* macro, SourceId source) { in EnsureInCCOutputList()
116 static const std::vector<std::pair<TorqueMacro*, SourceId>>&
130 std::map<SourceId, PerFileStreams> generated_per_file_;
132 std::vector<std::pair<TorqueMacro*, SourceId>> macros_for_cc_output_;
133 std::set<std::pair<TorqueMacro*, SourceId>> macros_for_cc_output_set_;
H A 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()
64 // Splits all declarables up by SourceId and filters out auto-generated ones.
H A Dtorque-compiler.cc30 SourceId source_id = SourceFileMap::AddSource(path); in ReadAndParseTorqueFile()
144 CurrentSourceFile::Scope unknown_source_file_scope(SourceId::Invalid()); in CompileTorque()
171 CurrentSourceFile::Scope unknown_source_file_scope(SourceId::Invalid()); in CompileTorqueForKythe()
182 SourceId source_id = SourceFileMap::AddSource(unit.source_file_path); in CompileTorqueForKythe()
H A Dserver-data.cc22 SourceId source, LineAndColumn pos) { in FindDefinition()
45 SourceId source = declarable->Position().source; in PrepareAllDeclarableSymbols()
H A Dast.h223 void DeclareImportForCurrentFile(SourceId import_id) { in DeclareImportForCurrentFile()
245 std::map<SourceId, std::set<SourceId>> declared_imports_;
H A Dimplementation-visitor.cc79 std::set<SourceId> contains_class_definitions; in BeginGeneratedFiles()
86 for (SourceId source : SourceFileMap::AllSources()) { in BeginGeneratedFiles()
143 for (SourceId file : SourceFileMap::AllSources()) { in EndGeneratedFiles()
1775 for (SourceId file : SourceFileMap::AllSources()) { in GenerateImplementation()
1787 for (const SourceId& include : streams.required_builtin_includes) { in GenerateImplementation()
2856 SourceId file = streams ? streams->file : SourceId::Invalid(); in GenerateCall()
3478 const std::vector<std::pair<TorqueMacro*, SourceId>>& cc_macros = in VisitAllDeclarables()
3502 base::Optional<SourceId> file) { in Visit()
5364 for (SourceId fil in GenerateExportedMacrosAssembler()
[all...]
H A Dimplementation-visitor.h532 void Visit(Declarable* delarable, base::Optional<SourceId> file = {});
H A Dtypes.h764 SourceId AttributedToFile() const;
H A Dtypes.cc939 SourceId ClassType::AttributedToFile() const { in AttributedToFile()
/third_party/node/deps/v8/src/torque/ls/
H A 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_;
164 // TODO(szuend): Split up messages by SourceId and sort them by line number. in SendCompilationDiagnostics()
175 const SourceId& source = pair.first; in SendCompilationDiagnostics()
271 SourceId id = in HandleGotoDefinitionRequest()
308 SourceId i in HandleDocumentSymbolRequest()
[all...]
H A Dmessage-handler.h21 DECLARE_CONTEXTUAL_VARIABLE(DiagnosticsFiles, std::vector<SourceId>);
/third_party/node/src/
H A Dnode_win32_etw_provider.cc147 LPCGUID SourceId, in etw_events_enable_callback()
146 etw_events_enable_callback( LPCGUID SourceId, ULONG IsEnabled, UCHAR Level, ULONGLONG MatchAnyKeyword, ULONGLONG MatchAllKeywords, PEVENT_FILTER_DESCRIPTOR FilterData, PVOID CallbackContext) etw_events_enable_callback() argument
/third_party/mesa3d/src/imgui/
H A Dimgui.h1466 ImGuiID SourceId; // Source item id member
1474 void Clear() { SourceId = SourceParentId = 0; Data = NULL; DataSize = 0; memset(DataType, 0, sizeof(DataType)); DataFrameCount = -1; Preview = Delivery = false; } in Clear()
H A 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 BeginDragDropSource() and EndDragDropSource() in SetDragDropPayload()
8657 if (!IsMouseHoveringRect(bb.Min, bb.Max) || (id == g.DragDropPayload.SourceId)) in BeginDragDropTargetCustom()
8689 if (g.DragDropPayload.SourceId == id) in BeginDragDropTarget()
9486 ImGui::Text("DragDrop: %d, SourceId = 0x%08X, Payload \"%s\" (%d bytes)", g.DragDropActive, g.DragDropPayload.SourceId, g.DragDropPayload.DataType, g.DragDropPayload.DataSize); in ShowMetricsWindow()
H A Dimgui_widgets.cpp418 if (hovered && g.DragDropActive && g.DragDropPayload.SourceId == id && !(g.DragDropSourceFlags & ImGuiDragDropFlags_SourceNoDisableHover)) in ButtonBehavior()
/third_party/skia/third_party/externals/imgui/
H A Dimgui.cpp4016 if (g.DragDropActive && g.DragDropPayload.SourceId == g.ActiveId) in NewFrame()
4017 KeepAliveID(g.DragDropPayload.SourceId); in NewFrame()
10204 payload.SourceId = source_id; in BeginDragDropSource()
10209 if (payload.SourceId == g.ActiveId) in BeginDragDropSource()
10263 IM_ASSERT(payload.SourceId != 0); // Not called between BeginDragDropSource() and EndDragDropSource() in SetDragDropPayload()
10306 if (!IsMouseHoveringRect(bb.Min, bb.Max) || (id == g.DragDropPayload.SourceId)) in BeginDragDropTargetCustom()
10339 if (g.DragDropPayload.SourceId == id) in BeginDragDropTarget()
11558 Text("DragDrop: %d, SourceId = 0x%08X, Payload \"%s\" (%d bytes)", g.DragDropActive, g.DragDropPayload.SourceId, g.DragDropPayload.DataType, g.DragDropPayload.DataSize); in ShowMetricsWindow()
H A Dimgui.h2015 ImGuiID SourceId; // Source item id member
2023 void Clear() { SourceId = SourceParentId = 0; Data = NULL; DataSize = 0; memset(DataType, 0, sizeof(DataType)); DataFrameCount = -1; Preview = Delivery = false; } in Clear()
H A Dimgui_widgets.cpp518 if (hovered && g.DragDropActive && g.DragDropPayload.SourceId == id && !(g.DragDropSourceFlags & ImGuiDragDropFlags_SourceNoDisableHover)) in ButtonBehavior()

Completed in 98 milliseconds