OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Snippet
(Results
1 - 11
of
11
) sorted by null
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual_range/d/
Snippet.java
3
public class
Snippet
{
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
Snippet.java
30
public abstract class
Snippet
implements HasClassReferences, Writable {
52
private static final class BasicSnippet extends
Snippet
{
87
private static final class CompoundSnippet extends
Snippet
{
89
final ImmutableList<
Snippet
> snippets;
91
CompoundSnippet(String joinToken, ImmutableList<
Snippet
> snippets) {
100
new Function<
Snippet
, Iterable<TypeName>>() {
102
public Iterable<TypeName> apply(
Snippet
input) {
111
Iterator<
Snippet
> snippetIterator = snippets.iterator();
113
Snippet
firstSnippet = snippetIterator.next();
116
Snippet
nextSnippet = snippetIterator.next()
[
all
...]
BlockWriter.java
26
private final List<
Snippet
> snippets;
32
public BlockWriter addSnippet(String
snippet
, Object... args) {
33
snippets.add(
Snippet
.format(
snippet
, args));
37
public BlockWriter addSnippet(
Snippet
snippet
) {
38
snippets.add(
snippet
);
48
for (
Snippet
snippet
: snippets) {
50
snippet
.write(appendable, context)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
BenchmarkRunner.h
39
// This code is run before the
Snippet
is iterated. Since it is part of the
48
std::vector<llvm::MCInst>
Snippet
;
65
// Given a
snippet
, computes which registers the setup code needs to define.
67
computeRegsToDef(const std::vector<InstructionInstance> &
Snippet
) const;
BenchmarkRunner.cpp
73
const std::vector<llvm::MCInst> &
Snippet
= Configuration.
Snippet
;
74
if (
Snippet
.empty()) {
75
InstrBenchmark.Error = "Empty
snippet
";
79
InstrBenchmark.Key.Instructions =
Snippet
;
81
// Repeat the
snippet
until there are at least NumInstructions in the
82
// resulting code. The
snippet
is always repeated at least once.
85
std::vector<llvm::MCInst> Code = Configuration.
Snippet
;
87
Code.push_back(Configuration.
Snippet
[I % Configuration.
Snippet
.size()])
[
all
...]
MCInstrDescView.h
128
std::vector<InstructionInstance>
Snippet
;
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/
snippet.py
14
class
Snippet
(object):
40
"""Return a tuple of the tokens this
Snippet
contains."""
59
for
snippet
in child.FindAll(snippet_type):
60
yield
snippet
90
class TokenSnippet(
Snippet
):
91
"""A
Snippet
containing a list of tokens.
152
class Symbol(
Snippet
):
153
"""A
Snippet
containing sub-Snippets.
208
snippet
= _SnippetizeNode(syntax_tree, tokens)
210
return
snippet
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/tools/llvm-exegesis/X86/
SnippetGeneratorTest.cpp
86
ASSERT_THAT(Proto.
Snippet
, SizeIs(1));
87
const InstructionInstance &II = Proto.
Snippet
[0];
104
ASSERT_THAT(Proto.
Snippet
, SizeIs(1));
105
const InstructionInstance &II = Proto.
Snippet
[0];
121
ASSERT_THAT(Proto.
Snippet
, SizeIs(2));
122
const InstructionInstance &II = Proto.
Snippet
[0];
127
EXPECT_THAT(Proto.
Snippet
[1].getOpcode(), Not(Opcode));
135
ASSERT_THAT(Proto.
Snippet
, SizeIs(2));
136
const InstructionInstance &II = Proto.
Snippet
[0];
150
ASSERT_THAT(Proto.
Snippet
, SizeIs(1))
[
all
...]
/external/llvm/tools/llvm-cov/
SourceCoverageViewHTML.cpp
294
//
snippet
starts from Col=1 and ends at the start of the first segment.
295
// The last
snippet
starts at the last mapped column in the line and ends
302
assert(Start + Len <= Line.size() && "
Snippet
extends past the EOL");
310
assert(LCol == Segments[I - 1]->Col && "
Snippet
start position is wrong");
316
assert(LCol == Line.size() + 1 && "Final
snippet
doesn't reach the EOL");
324
// segment 1 to set the highlight for
snippet
2, segment 2 to set the
325
// highlight for
snippet
3, and so on.
328
auto Highlight = [&](const std::string &
Snippet
) {
329
return tag("span",
Snippet
, Color.getValue());
383
for (const auto &
Snippet
: Snippets
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
SourceCoverageViewHTML.cpp
502
//
snippet
starts from Col=1 and ends at the start of the first segment.
503
// The last
snippet
starts at the last mapped column in the line and ends
528
// 3. Use \p WrappedSegment to set the highlight for
snippet
0. Use segment
529
// 1 to set the highlight for
snippet
2, segment 2 to set the highlight for
530
//
snippet
3, and so on.
534
auto Highlight = [&](const std::string &
Snippet
, unsigned LC, unsigned RC) {
537
return tag("span",
Snippet
, Color.getValue());
604
for (const auto &
Snippet
: Snippets)
605
OS <<
Snippet
;
/external/clang/lib/StaticAnalyzer/Core/
BugReporter.cpp
[
all
...]
Completed in 693 milliseconds