Searched refs:snippet (Results 1 - 25 of 34) sorted by relevance

12

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowOverlayItem.java16 private String snippet; field in class:ShadowOverlayItem
18 public void __constructor__(GeoPoint geoPoint, String title, String snippet) { argument
21 this.snippet = snippet;
36 return snippet;
50 && Strings.equals(snippet, that.snippet)
59 result = snippet == null ? result : 19 * result + snippet.hashCode();
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/
H A D__init__.py10 from py_utils.refactor import snippet namespace
51 return _AnnotateNode(snippet.Snippetize(f))
55 if not isinstance(node, snippet.Symbol):
71 return snippet.Symbol(node.type, children)
H A Dreference.py10 from py_utils.refactor import snippet namespace
72 snippet.TokenSnippet.Create(token.DOT, '.'),
73 snippet.TokenSnippet.Create(token.NAME, value_part),
75 self._children.append(snippet.Symbol(symbol.trailer, token_snippets))
H A Dbase_symbol.py5 from py_utils.refactor import snippet namespace
8 class AnnotatedSymbol(snippet.Symbol):
H A Dimport_statement.py11 from py_utils.refactor import snippet namespace
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)))
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
H A DBlockWriter.java32 public BlockWriter addSnippet(String snippet, Object... args) { argument
33 snippets.add(Snippet.format(snippet, args));
37 public BlockWriter addSnippet(Snippet snippet) { argument
38 snippets.add(snippet);
48 for (Snippet snippet : snippets) {
50 snippet.write(appendable, context);
H A DAnnotationWriter.java51 Snippet snippet = Snippet.format("%s.%s", ClassName.fromClass(value.getClass()), value);
52 memberMap.put(name, snippet);
53 memberReferences.add(snippet);
H A DEnumWriter.java146 ConstantWriter addArgument(Snippet snippet) { argument
147 constructorSnippets.add(snippet);
/external/snakeyaml/src/test/java/org/pyyaml/
H A DPyMarkTest.java43 String snippet = mark.get_snippet(2, 79);
44 assertTrue("Must only have one '\n'.", snippet.indexOf("\n") > -1);
45 assertEquals("Must only have only one '\n'.", snippet.indexOf("\n"),
46 snippet.lastIndexOf("\n"));
47 String[] lines = snippet.split("\n");
53 assertEquals("Pointer should coincide with '*':\n " + snippet, dataPosition,
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
H A DComponentGenerator.java78 static MemberSelect instanceSelect(ClassName owningClass, Snippet snippet) { argument
80 Optional.<TypeName> absent(), owningClass, false, snippet);
83 static MemberSelect staticSelect(ClassName owningClass, Snippet snippet) { argument
85 Optional.<TypeName> absent(), owningClass, true, snippet);
89 ClassName owningClass, Snippet snippet, TypeName castType) {
91 Optional.of(castType), owningClass, true, snippet);
101 abstract Snippet snippet(); method in class:ComponentGenerator.MemberSelect
106 owningClass(), snippet());
110 Snippet snippet = getSnippetFor(usingClass);
112 ? Snippet.format("(%s) %s", selectedCast().get(), snippet)
88 staticMethodInvocationWithCast( ClassName owningClass, Snippet snippet, TypeName castType) argument
[all...]
H A DAbstractComponentWriter.java148 * For each component requirement, the snippet for the component field that holds it.
179 * Returns an expression snippet that evaluates to an instance of the contribution, looking for
186 Optional<Snippet> snippet = getOrCreateComponentContributionFieldSnippet(contributionType);
187 checkState(snippet.isPresent(), "no builder or component field for %s", contributionType);
188 return snippet.get();
193 * Returns a snippet for a component contribution field. Adds a field the first time one is
539 * this method returns the static member select snippet that returns the factory or no-op members
694 for (Snippet snippet : partitions.get(i)) {
695 initializeMethod.body().addSnippet(snippet);
708 * Returns a single snippet representin
[all...]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/error/
H A DMark.java71 String snippet = buffer.substring(start, end);
77 result.append(snippet);
93 String snippet = get_snippet();
100 if (snippet != null) {
102 where.append(snippet);
/external/skia/src/jumper/
H A Dbuild_stages.py81 for snippet in ['.literal', '.const', '.rodata']:
82 if snippet in section_headers:
83 print >>sys.stderr, 'Found %s in section.' % snippet
84 assert snippet not in section_headers
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/parse/
H A Dparser.py40 def __init__(self, filename, message, lineno=None, snippet=None):
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
[all...]
/external/harfbuzz_ng/win32/
H A Dcreate-lists.bat31 echo Destination NMake snippet file must be specified
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/
H A Dsnippet.py59 for snippet in child.FindAll(snippet_type):
60 yield snippet
208 snippet = _SnippetizeNode(syntax_tree, tokens)
210 return snippet
/external/bison/lib/
H A Dgnulib.mk1536 ## begin gnulib module snippet/_Noreturn
1538 # Because this Makefile snippet defines a variable used by other
1542 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
1544 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
1546 ## end gnulib module snippet/_Noreturn
1548 ## begin gnulib module snippet/arg-nonnull
1550 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1551 # statements but through direct file reference. Therefore this snippet must be
1557 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
1559 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/ar
[all...]
/external/autotest/server/site_tests/autoupdate_EndToEndTest/
H A Dautoupdate_EndToEndTest.py70 def snippet(text): function
73 @param text: The snippet text.
652 snippet(self._get_devserver_stdout()))
654 snippet(self._get_devserver_log()))
1473 logging.error('Dumping snippet of update_engine log:\n%s',
1474 snippet(error_log))
/external/blktrace/btt/doc/
H A Dbtt.tex491 (low) and on (high). For example, here is a snippet of a file showing
602 \texttt{-I} option can be seen from the following output snippet --
637 spaces). As an example, here is a snippet of 4 IOs that were merged
722 sectors from the previous IO in column 2 (Y values). Here is a snippet
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.jdt.debug_3.6.1.v20100715_r361/
H A Djdimodel.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/syslinux/com32/lib/libpng/
H A DCHANGES1936 Restored configure and Makefile.in to rc3 and put a snippet of code in
/external/guice/extensions/struts2/lib/
H A Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse/jdt/core/ org/eclipse/jdt/core/compiler/ org/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/icu/tools/srcgen/currysrc/libs/
H A Dorg.eclipse.jdt.core_3.11.0.v20150602-1242.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_.RSA META ...
/external/guice/extensions/persist/lib/
H A Dxwork-2.0.4.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/opensymphony/ com/opensymphony/xwork2/ com/opensymphony/xwork2/config/ ...

Completed in 2250 milliseconds

12