/external/tensorflow/tensorflow/c/experimental/ops/gen/common/ |
D | source_code.cc | 24 string SourceCode::Render() const { in Render() 33 void SourceCode::AddLineWithIndent(const string& line) { in AddLineWithIndent() 37 void SourceCode::AddLineWithoutIndent(const string& line) { in AddLineWithoutIndent() 41 void SourceCode::AddBlankLine() { ValidateAndAddLine(0, ""); } in AddBlankLine() 43 void SourceCode::IncreaseIndent() { current_indent_++; } in IncreaseIndent() 45 void SourceCode::DecreaseIndent() { current_indent_--; } in DecreaseIndent() 47 void SourceCode::ValidateAndAddLine(int indent, const string& raw_line) { in ValidateAndAddLine()
|
D | source_code.h | 23 class SourceCode {
|
D | controller.h | 33 const void WriteFile(const string& file_path, const SourceCode& code) const;
|
D | controller.cc | 38 const SourceCode& code) const { in WriteFile()
|
/external/rust/android-crates-io/crates/miette/src/ |
D | source_impls.rs | 11 use crate::{MietteError, MietteSpanContents, SourceCode, SourceSpan, SpanContents}; 100 impl SourceCode for [u8] { impl 112 impl<'src> SourceCode for &'src [u8] { impl 119 <[u8] as SourceCode>::read_span(self, span, context_lines_before, context_lines_after) in read_span() 123 impl SourceCode for Vec<u8> { 130 <[u8] as SourceCode>::read_span(self, span, context_lines_before, context_lines_after) in read_span() 134 impl SourceCode for str { 141 <[u8] as SourceCode>::read_span( in read_span() 151 impl<'s> SourceCode for &'s str { impl 158 <str as SourceCode>::read_span(self, span, context_lines_before, context_lines_after) in read_span() [all …]
|
D | named_source.rs | 1 use crate::{MietteError, MietteSpanContents, SourceCode, SpanContents}; 6 pub struct NamedSource<S: SourceCode + 'static> { 12 impl<S: SourceCode> std::fmt::Debug for NamedSource<S> { 22 impl<S: SourceCode + 'static> NamedSource<S> { 54 impl<S: SourceCode + 'static> SourceCode for NamedSource<S> {
|
D | protocol.rs | 52 fn source_code(&self) -> Option<&dyn SourceCode> { in source_code() argument 230 pub trait SourceCode: Send + Sync { interface
|
/external/tensorflow/tensorflow/c/experimental/ops/gen/cpp/ |
D | cpp_generator.cc | 28 SourceCode CppGenerator::GenerateOneFile( in GenerateOneFile() 30 SourceCode generated_code; in GenerateOneFile() 38 SourceCode CppGenerator::HeaderFileContents() const { in HeaderFileContents() 42 SourceCode CppGenerator::SourceFileContents() const { in SourceFileContents()
|
D | cpp_generator.h | 28 SourceCode HeaderFileContents() const; 29 SourceCode SourceFileContents() const; 36 SourceCode GenerateOneFile(cpp::RendererContext::Mode mode) const;
|
/external/rust/android-crates-io/crates/miette-derive/src/ |
D | source_code.rs | 11 pub struct SourceCode { struct 16 impl SourceCode { argument 52 return Ok(Some(SourceCode { in from_fields_vec() 77 fn source_code(&self) -> std::option::Option<&dyn miette::SourceCode> { in gen_struct() 87 WhichFn::SourceCode, in gen_enum()
|
D | forward.rs | 39 SourceCode, enumerator 52 Self::SourceCode => quote! { source_code() }, in method_call() 78 Self::SourceCode => quote! { in signature() 79 fn source_code(&self) -> std::option::Option<&dyn miette::SourceCode> in signature()
|
D | diagnostic.rs | 13 use crate::source_code::SourceCode; 66 pub source_code: Option<SourceCode>, 76 let source_code = SourceCode::from_fields(fields)?; in for_fields() 287 let source_code_method = forward.gen_struct_method(WhichFn::SourceCode); in gen() 347 .or_else(|| forward(WhichFn::SourceCode)); in gen() 378 let src_body = SourceCode::gen_enum(variants); in gen()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/DebugInfo/Symbolize/ |
D | DIPrinter.cpp | 31 class SourceCode { class 76 SourceCode(StringRef FileName, int64_t Line, int Lines, in SourceCode() function in llvm::symbolize::SourceCode 118 void PlainPrinterBase::printContext(SourceCode SourceCode) { in printContext() argument 119 SourceCode.format(OS); in printContext() 136 SourceCode(Filename, Info.Line, Config.SourceContextLines, Info.Source)); in printSimpleLocation() 146 SourceCode(Filename, Info.Line, Config.SourceContextLines, Info.Source)); in printSimpleLocation() 316 SourceCode SourceCode(LineInfo.FileName, LineInfo.Line, in print() local 320 SourceCode.format(Stream); in print()
|
/external/rust/android-crates-io/crates/miette/src/eyreish/ |
D | wrapper.rs | 5 use crate::{Diagnostic, LabeledSpan, Report, SourceCode}; 98 fn source_code(&self) -> Option<&dyn miette::SourceCode> { in source_code() argument 144 impl<E: Diagnostic, C: SourceCode> Diagnostic for WithSourceCode<E, C> { 165 fn source_code(&self) -> Option<&dyn miette::SourceCode> { in source_code() argument 178 impl<C: SourceCode> Diagnostic for WithSourceCode<Report, C> { 199 fn source_code(&self) -> Option<&dyn miette::SourceCode> { in source_code() argument 240 use crate::{Diagnostic, LabeledSpan, Report, SourceCode, SourceSpan}; 254 fn source_code(&self) -> Option<&dyn SourceCode> { in source_code() argument
|
D | context.rs | 148 fn source_code(&self) -> Option<&dyn crate::SourceCode> { in source_code() argument 181 fn source_code(&self) -> Option<&dyn crate::SourceCode> { in source_code() argument
|
D | error.rs | 12 use crate::{Diagnostic, SourceCode}; 413 pub fn with_source_code(self, source_code: impl SourceCode + Send + Sync + 'static) -> Report { in with_source_code()
|
/external/tensorflow/tensorflow/c/experimental/ops/gen/cpp/renderers/ |
D | renderer_test.cc | 28 explicit TestRenderer(SourceCode& code) in TEST() 53 SourceCode code; in TEST()
|
D | renderer_context.h | 30 SourceCode &code;
|
/external/rust/android-crates-io/crates/miette/src/handlers/ |
D | json.rs | 4 diagnostic_chain::DiagnosticChain, protocol::Diagnostic, ReportHandler, Severity, SourceCode, 72 parent_src: Option<&dyn SourceCode>, in _render_report() argument 158 source: &dyn SourceCode, in render_snippets() argument
|
D | narratable.rs | 7 use crate::{LabeledSpan, MietteError, ReportHandler, SourceCode, SourceSpan, SpanContents}; 130 parent_src: Option<&dyn SourceCode>, in render_related() argument 156 source_code: Option<&dyn SourceCode>, in render_snippets() argument 224 source: &dyn SourceCode, in render_context() argument 287 source: &'a dyn SourceCode, in get_lines() argument
|
D | graphical.rs | 10 use crate::{LabeledSpan, ReportHandler, SourceCode, SourceSpan, SpanContents}; 384 parent_src: Option<&dyn SourceCode>, 412 opt_source: Option<&dyn SourceCode>, 472 source: &dyn SourceCode, 1158 source: &'a dyn SourceCode,
|
/external/tensorflow/tensorflow/c/experimental/ops/gen/ |
D | README.md | 40 (`OpSpec`, `ArgSpec`, `AttrSpec`, etc.) to language-specific `SourceCode`. The 66 "renderers" then use these views to build the *output* `SourceCode`; Renderers 72 * Renderers are stateful, modifying a referenced SourceCode. Views are 99 * Call this generator to create/write `SourceCode` to a file 106 * Create a blank `SourceCode` rendering target (for each output file) 109 * Call this renderer to generate the target `SourceCode`
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/DebugInfo/Symbolize/ |
D | DIPrinter.h | 32 class SourceCode; variable 79 void printContext(SourceCode SourceCode);
|
/external/rust/android-crates-io/crates/miette/ |
D | README.tpl | 17 [`SourceCode`]: https://docs.rs/miette/latest/miette/trait.SourceCode.html
|
/external/rust/android-crates-io/crates/pest/src/ |
D | error.rs | 746 use miette::{Diagnostic, LabeledSpan, SourceCode}; 753 fn source_code(&self) -> Option<&dyn SourceCode> { in source_code() argument
|