Home
last modified time | relevance | path

Searched refs:snippet (Results 1 – 25 of 68) 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 …]
/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/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()
/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/chromium-trace/catapult/catapult_base/catapult_base/refactor/annotated_symbol/
D__init__.py10 from catapult_base.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 catapult_base.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 catapult_base.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 catapult_base.refactor import snippet
8 class AnnotatedSymbol(snippet.Symbol):
/external/opencv3/doc/tutorials/imgproc/imgtrans/distance_transformation/
Ddistance_transform.markdown27 @snippet samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp load_image
31 @snippet samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp black_bg
35 @snippet samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp sharp
40 @snippet samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp bin
44 @snippet samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp dist
48 @snippet samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp peaks
52 @snippet samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp seeds
56 @snippet samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp watershed
/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/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/opencv3/doc/tutorials/introduction/display_image/
Ddisplay_image.markdown34 @snippet cpp/tutorial_code/introduction/display_image/display_image.cpp includes
41 @snippet cpp/tutorial_code/introduction/display_image/display_image.cpp namespace
47 @snippet cpp/tutorial_code/introduction/display_image/display_image.cpp load
51 @snippet cpp/tutorial_code/introduction/display_image/display_image.cpp mat
60 @snippet cpp/tutorial_code/introduction/display_image/display_image.cpp imread
82 @snippet cpp/tutorial_code/introduction/display_image/display_image.cpp window
87 @snippet cpp/tutorial_code/introduction/display_image/display_image.cpp imshow
93 @snippet cpp/tutorial_code/introduction/display_image/display_image.cpp wait
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/
D__init__.py44 for snippet in ('gov', 'cn-'):
45 if snippet in region.name:
/external/opencv3/doc/tutorials/imgproc/morph_lines_detection/
Dmoprh_lines_detection.md58 @snippet samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp load_image
62 @snippet samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp gray
66 @snippet samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp bin
70 @snippet samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp init
74 and in the source code this is represented by the following code snippet:
75 @snippet samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp horiz
81 @snippet samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp vert
85 @snippet samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp smooth
/external/opencv3/doc/tutorials/core/mat_the_basic_image_container/
Dmat_the_basic_image_container.markdown153 @snippet mat_the_basic_image_container.cpp constructor
173 @snippet mat_the_basic_image_container.cpp init
181 @snippet mat_the_basic_image_container.cpp create
191 @snippet mat_the_basic_image_container.cpp matlab
197 @snippet mat_the_basic_image_container.cpp comma
203 @snippet mat_the_basic_image_container.cpp clone
210 @snippet mat_the_basic_image_container.cpp random
220 @snippet mat_the_basic_image_container.cpp out-default
224 @snippet mat_the_basic_image_container.cpp out-python
228 @snippet mat_the_basic_image_container.cpp out-csv
[all …]
/external/chromium-trace/catapult/catapult_base/catapult_base/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/libgdx/tests/gdx-tests-android/assets/data/g3d/shaders/
Dg_attributes.glsl10 * - In the vertex shader include the required attribute snippet.
15 * - In the vertex shader include the required attribute snippet.
18 * - In the fragment shader include the required attribute snippet.
25 * - In fragment shader include the required attribute snippet.
/external/opencv3/doc/tutorials/calib3d/camera_calibration/
Dcamera_calibration.markdown100 @snippet samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp file_read
113 @snippet samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp get_input
122 … @snippet samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp find_pattern
138 … @snippet samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp pattern_found
142 @snippet samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp output_text
145 …@snippet samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp output_undist…
148 @snippet samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp await_input
158 … @snippet samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp show_results
172 @snippet samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp run_and_save
182 … @snippet samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp board_corners
[all …]
/external/opencv3/doc/tutorials/core/interoperability_with_OpenCV_1/
Dinteroperability_with_OpenCV_1.markdown96 @snippet interoperability_with_OpenCV_1.cpp head
97 @snippet interoperability_with_OpenCV_1.cpp start
102 @snippet interoperability_with_OpenCV_1.cpp new
112 @snippet interoperability_with_OpenCV_1.cpp scanning
120 @snippet interoperability_with_OpenCV_1.cpp noisy
125 @snippet interoperability_with_OpenCV_1.cpp end
/external/opencv3/doc/tutorials/ml/non_linear_svms/
Dnon_linear_svms.markdown106 @snippet cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp setup1
110 @snippet cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp setup2
117 @snippet cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp init
140 @snippet cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp train
150 @snippet cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp show
158 @snippet cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp show_data
166 @snippet cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp show_vectors
/external/opencv3/doc/tutorials/ml/introduction_to_svm/
Dintroduction_to_svm.markdown107 @snippet cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp setup1
113 @snippet cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp setup2
124 @snippet cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp init
150 @snippet cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp train
160 @snippet cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp show
169 @snippet cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp show_vectors

123