Home
last modified time | relevance | path

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

123456

/external/python/cpython3/Lib/test/
Dtest_compile.py735 def check_stack_size(self, snippet, async_=False): argument
738 script = """def func():\n""" + i * snippet
751 "%s\n%s\n%s" % (sizes, snippet, out.getvalue()))
754 snippet = """
758 self.check_stack_size(snippet)
761 snippet = """
769 self.check_stack_size(snippet)
772 snippet = """
778 self.check_stack_size(snippet)
781 snippet = """
[all …]
/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/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()
/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/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
73 snippet.TokenSnippet.Create(token.DOT, '.'),
74 snippet.TokenSnippet.Create(token.NAME, value_part),
76 self._children.append(snippet.Symbol(symbol.trailer, token_snippets))
Dimport_statement.py11 from py_utils.refactor import snippet
53 self._children.append(snippet.TokenSnippet.Create(token.DOT, '.'))
55 snippet.TokenSnippet.Create(token.NAME, value_part))
91 snippet.TokenSnippet.Create(token.NAME, 'as', (0, 1)))
94 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/libchrome/mojo/public/tools/bindings/pylib/mojom/parse/
Dparser.py28 def __init__(self, filename, message, lineno=None, snippet=None): argument
30 addenda=([snippet] if snippet else None))
70 p[2].lineno, snippet=self._GetSnippet(p[2].lineno))
75 p[2].lineno, snippet=self._GetSnippet(p[2].lineno))
84 p[2].lineno, snippet=self._GetSnippet(p[2].lineno))
296 snippet=self._GetSnippet(p.lineno(1)))
309 snippet=self._GetSnippet(p.lineno(5)))
334 snippet=self._GetSnippet(p.lineno(1)))
427 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/libtextclassifier/actions/
Dlua-actions.cc51 const std::string& snippet, const Conversation& conversation, in CreateLuaActionsSuggestions() argument
59 snippet, conversation, model_executor, model_spec, interpreter, in CreateLuaActionsSuggestions()
70 const std::string& snippet, const Conversation& conversation, in LuaActionsSuggestions() argument
76 : snippet_(snippet), in LuaActionsSuggestions()
Dlua-actions.h33 const std::string& snippet, const Conversation& conversation,
53 const std::string& snippet, const Conversation& conversation,
/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/libtextclassifier/utils/
Dlua-utils.cc282 bool LuaEnvironment::Compile(StringPiece snippet, std::string *bytecode) { in Compile() argument
283 if (luaL_loadbuffer(state_, snippet.data(), snippet.size(), in Compile()
299 bool Compile(StringPiece snippet, std::string *bytecode) { in Compile() argument
300 return LuaEnvironment().Compile(snippet, bytecode); in Compile()
/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/autotest/server/cros/update_engine/
Domaha_devserver.py18 def snippet(text): function
365 snippet(self._get_devserver_stdout()))
367 snippet(self._get_devserver_log()))
/external/tensorflow/tensorflow/contrib/session_bundle/
Dmanifest.proto8 // WARNING(break-tutorial-inline-code): The following code snippet is
54 // WARNING(break-tutorial-inline-code): The following code snippet is
/external/tensorflow/tensorflow/java/src/gen/resources/
Dtest.java.snippet1 // Here is a little snippet
/external/python/google-api-python-client/samples/plus/
DREADME1 Loop over all a user's activities and print a short snippet.

123456