Home
last modified time | relevance | path

Searched refs:snippet (Results 1 – 25 of 72) sorted by relevance

123

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DComponentGenerator.java78 static MemberSelect instanceSelect(ClassName owningClass, Snippet snippet) { in instanceSelect() argument
80 Optional.<TypeName> absent(), owningClass, false, snippet); in instanceSelect()
83 static MemberSelect staticSelect(ClassName owningClass, Snippet snippet) { in staticSelect() argument
85 Optional.<TypeName> absent(), owningClass, true, snippet); in staticSelect()
89 ClassName owningClass, Snippet snippet, TypeName castType) { in staticMethodInvocationWithCast() argument
91 Optional.of(castType), owningClass, true, snippet); in staticMethodInvocationWithCast()
101 abstract Snippet snippet(); in snippet() method in ComponentGenerator.MemberSelect
106 owningClass(), snippet()); in qualifiedSelectSnippet()
110 Snippet snippet = getSnippetFor(usingClass); in getSnippetWithRawTypeCastFor() local
112 ? Snippet.format("(%s) %s", selectedCast().get(), snippet) in getSnippetWithRawTypeCastFor()
[all …]
DAbstractComponentWriter.java186 Optional<Snippet> snippet = getOrCreateComponentContributionFieldSnippet(contributionType); in getComponentContributionSnippet() local
187 checkState(snippet.isPresent(), "no builder or component field for %s", contributionType); in getComponentContributionSnippet()
188 return snippet.get(); in getComponentContributionSnippet()
694 for (Snippet snippet : partitions.get(i)) { in initializeFrameworkTypes()
695 initializeMethod.body().addSnippet(snippet); in initializeFrameworkTypes()
751 Snippet snippet = multibindingContributionSnippet.get().getSnippetFor(name); in initializeSetMultibindings() local
758 initializationSnippets.add(Snippet.format("this.%s = %s;", snippet, initializeSnippet)); in initializeSetMultibindings()
761 parameterSnippets.add(snippet); in initializeSetMultibindings()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowOverlayItem.java16 private String snippet; field in ShadowOverlayItem
18 public void __constructor__(GeoPoint geoPoint, String title, String snippet) { in __constructor__() argument
21 this.snippet = snippet; in __constructor__()
36 return snippet; in getSnippet()
50 && Strings.equals(snippet, that.snippet) in equals()
59 result = snippet == null ? result : 19 * result + snippet.hashCode(); in hashCode()
/external/eigen/doc/
DInplaceDecomposition.dox15 <td>\snippet TutorialInplaceLU.cpp init
17 <td>\snippet TutorialInplaceLU.out init
26 <td>\snippet TutorialInplaceLU.cpp declaration
28 <td>\snippet TutorialInplaceLU.out declaration
38 <td>\snippet TutorialInplaceLU.cpp matrixLU
40 <td>\snippet TutorialInplaceLU.out matrixLU
48 <td>\snippet TutorialInplaceLU.cpp solve
50 <td>\snippet TutorialInplaceLU.out solve
62 <td>\snippet TutorialInplaceLU.cpp modifyA
64 <td>\snippet TutorialInplaceLU.out modifyA
[all …]
DCustomizingEigen_NullaryExpr.dox31 \snippet make_circulant2.cpp square
35 \snippet make_circulant2.cpp makeCirculant
42 \snippet make_circulant2.cpp circulant_func
46 \snippet make_circulant2.cpp main
61 \snippet nullary_indexing.out main1
65 \snippet nullary_indexing.cpp functor
69 \snippet nullary_indexing.cpp function
73 \snippet nullary_indexing.cpp main1
77 \snippet nullary_indexing.cpp main2
81 \snippet nullary_indexing.out main2
/external/snakeyaml/src/test/java/org/pyyaml/
DPyMarkTest.java43 String snippet = mark.get_snippet(2, 79); in testMarks() local
44 assertTrue("Must only have one '\n'.", snippet.indexOf("\n") > -1); in testMarks()
45 assertEquals("Must only have only one '\n'.", snippet.indexOf("\n"), in testMarks()
46 snippet.lastIndexOf("\n")); in testMarks()
47 String[] lines = snippet.split("\n"); in testMarks()
53 assertEquals("Pointer should coincide with '*':\n " + snippet, dataPosition, in testMarks()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DBlockWriter.java32 public BlockWriter addSnippet(String snippet, Object... args) { in addSnippet() argument
33 snippets.add(Snippet.format(snippet, args)); in addSnippet()
37 public BlockWriter addSnippet(Snippet snippet) { in addSnippet() argument
38 snippets.add(snippet); in addSnippet()
48 for (Snippet snippet : snippets) { in write()
50 snippet.write(appendable, context); in write()
DAnnotationWriter.java51 Snippet snippet = Snippet.format("%s.%s", ClassName.fromClass(value.getClass()), value); in setMember() local
52 memberMap.put(name, snippet); in setMember()
53 memberReferences.add(snippet); in setMember()
DEnumWriter.java146 ConstantWriter addArgument(Snippet snippet) { in addArgument() argument
147 constructorSnippets.add(snippet); in addArgument()
/external/clang/docs/
DClangCheck.rst10 $ cat <<EOF > snippet.cc
15 $ ~/clang/build/bin/clang-check snippet.cc -ast-dump --
16 Processing: /Users/danieljasper/clang/llvm/tools/clang/docs/snippet.cc.
17 /Users/danieljasper/clang/llvm/tools/clang/docs/snippet.cc:2:12: error: expected ';' at end of
26 …(FunctionDecl 0x7ff3a302a8d0 </Users/danieljasper/clang/llvm/tools/clang/docs/snippet.cc:1:1, line…
32 Error while processing snippet.cc.
/external/r8/src/main/java/com/android/tools/r8/shaking/
DProguardRuleParserException.java7 public ProguardRuleParserException(String message, String snippet) { in ProguardRuleParserException() argument
8 this(message, snippet, null); in ProguardRuleParserException()
11 public ProguardRuleParserException(String message, String snippet, Throwable cause) { in ProguardRuleParserException() argument
12 super(message + " at " + snippet, cause); in ProguardRuleParserException()
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/
D__init__.py10 from py_utils.refactor import snippet
51 return _AnnotateNode(snippet.Snippetize(f))
55 if not isinstance(node, snippet.Symbol):
71 return snippet.Symbol(node.type, children)
Dreference.py10 from py_utils.refactor import snippet
72 snippet.TokenSnippet.Create(token.DOT, '.'),
73 snippet.TokenSnippet.Create(token.NAME, value_part),
75 self._children.append(snippet.Symbol(symbol.trailer, token_snippets))
Dimport_statement.py11 from py_utils.refactor import snippet
52 self._children.append(snippet.TokenSnippet.Create(token.DOT, '.'))
54 snippet.TokenSnippet.Create(token.NAME, value_part))
88 snippet.TokenSnippet.Create(token.NAME, 'as', (0, 1)))
90 snippet.TokenSnippet.Create(token.NAME, value, (0, 1)))
Dbase_symbol.py5 from py_utils.refactor import snippet
8 class AnnotatedSymbol(snippet.Symbol):
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/error/
DMark.java71 String snippet = buffer.substring(start, end); in get_snippet() local
77 result.append(snippet); in get_snippet()
93 String snippet = get_snippet(); in toString() local
100 if (snippet != null) { in toString()
102 where.append(snippet); in toString()
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/parse/
Dparser.py40 def __init__(self, filename, message, lineno=None, snippet=None): argument
42 addenda=([snippet] if snippet else None))
82 p[2].lineno, snippet=self._GetSnippet(p[2].lineno))
87 p[2].lineno, snippet=self._GetSnippet(p[2].lineno))
96 p[2].lineno, snippet=self._GetSnippet(p[2].lineno))
307 snippet=self._GetSnippet(p.lineno(1)))
320 snippet=self._GetSnippet(p.lineno(5)))
345 snippet=self._GetSnippet(p.lineno(1)))
430 snippet=self._GetSnippet(e.lineno))
/external/eigen/doc/snippets/
DCMakeLists.txt6 get_filename_component(snippet ${snippet_src} NAME_WE)
7 set(compile_snippet_target compile_${snippet})
21 ARGS >${CMAKE_CURRENT_BINARY_DIR}/${snippet}.out
/external/eigen/unsupported/doc/snippets/
DCMakeLists.txt6 GET_FILENAME_COMPONENT(snippet ${snippet_src} NAME_WE)
7 SET(compile_snippet_target compile_${snippet})
21 ARGS >${CMAKE_CURRENT_BINARY_DIR}/${snippet}.out
/external/skia/src/jumper/
Dbuild_stages.py115 for snippet in ['.rodata']:
116 if snippet in section_headers:
117 print >>sys.stderr, 'Found %s in section.' % snippet
118 assert snippet not in section_headers
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/
Dsnippet.py59 for snippet in child.FindAll(snippet_type):
60 yield snippet
208 snippet = _SnippetizeNode(syntax_tree, tokens)
210 return snippet
/external/bison/lib/
Dgnulib.mk1542 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
1544 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
1559 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1562 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
1569 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1583 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
1586 < $(top_srcdir)/build-aux/snippet/c++defs.h \
1593 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
1603 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
1606 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
[all …]
/external/flatbuffers/docs/source/
DGoApi.md6 <!-- Note: The `GoApi_generate.txt` code snippet was generated using `godoc` and
26 \snippet GoApi_generated.txt Go API
/external/bison/m4/
Dlocalcharset.m414 dnl Prerequisites of the lib/Makefile.am snippet.
/external/harfbuzz_ng/win32/
Dcreate-lists.bat31 echo Destination NMake snippet file must be specified

123