Home
last modified time | relevance | path

Searched refs:Snippets (Results 1 – 25 of 46) sorted by relevance

12

/external/spdx-tools/tvloader/parser2v1/
Dparse_snippet_test.go19 …file: &v2_1.File{FileName: "f1.txt", FileSPDXIdentifier: "f1", Snippets: map[common.ElementID]*…
25 parser.file.Snippets[sid1] = parser.snippet
28 if len(parser.file.Snippets) != 1 {
29 t.Errorf("Expected len(Snippets) to be 1, got %d", len(parser.file.Snippets))
31 if parser.file.Snippets["s1"] != s1 {
32 t.Errorf("Expected snippet %v in Snippets[s1], got %v", s1, parser.file.Snippets["s1"])
34 if parser.file.Snippets["s1"].SnippetSPDXIdentifier != sid1 {
35 …t.Errorf("expected snippet ID %s in Snippets[s1], got %s", sid1, parser.file.Snippets["s1"].Snippe…
56 if len(parser.file.Snippets) != 2 {
57 t.Errorf("Expected len(Snippets) to be 2, got %d", len(parser.file.Snippets))
[all …]
Dparse_snippet.go28 if parser.file.Snippets == nil {
29 parser.file.Snippets = map[common.ElementID]*v2_1.Snippet{}
31 parser.file.Snippets[eID] = parser.snippet
/external/spdx-tools/tvloader/parser2v2/
Dparse_snippet_test.go19 …file: &v2_2.File{FileName: "f1.txt", FileSPDXIdentifier: "f1", Snippets: map[common.ElementID]*…
25 parser.file.Snippets[sid1] = parser.snippet
28 if len(parser.file.Snippets) != 1 {
29 t.Errorf("Expected len(Snippets) to be 1, got %d", len(parser.file.Snippets))
31 if parser.file.Snippets["s1"] != s1 {
32 t.Errorf("Expected snippet %v in Snippets[s1], got %v", s1, parser.file.Snippets["s1"])
34 if parser.file.Snippets["s1"].SnippetSPDXIdentifier != sid1 {
35 …t.Errorf("expected snippet ID %s in Snippets[s1], got %s", sid1, parser.file.Snippets["s1"].Snippe…
56 if len(parser.file.Snippets) != 2 {
57 t.Errorf("Expected len(Snippets) to be 2, got %d", len(parser.file.Snippets))
[all …]
Dparse_snippet.go28 if parser.file.Snippets == nil {
29 parser.file.Snippets = map[common.ElementID]*v2_2.Snippet{}
31 parser.file.Snippets[eID] = parser.snippet
/external/spdx-tools/tvloader/parser2v3/
Dparse_snippet_test.go19 …file: &v2_3.File{FileName: "f1.txt", FileSPDXIdentifier: "f1", Snippets: map[common.ElementID]*…
25 parser.file.Snippets[sid1] = parser.snippet
28 if len(parser.file.Snippets) != 1 {
29 t.Errorf("Expected len(Snippets) to be 1, got %d", len(parser.file.Snippets))
31 if parser.file.Snippets["s1"] != s1 {
32 t.Errorf("Expected snippet %v in Snippets[s1], got %v", s1, parser.file.Snippets["s1"])
34 if parser.file.Snippets["s1"].SnippetSPDXIdentifier != sid1 {
35 …t.Errorf("expected snippet ID %s in Snippets[s1], got %s", sid1, parser.file.Snippets["s1"].Snippe…
56 if len(parser.file.Snippets) != 2 {
57 t.Errorf("Expected len(Snippets) to be 2, got %d", len(parser.file.Snippets))
[all …]
Dparse_snippet.go28 if parser.file.Snippets == nil {
29 parser.file.Snippets = map[common.ElementID]*v2_3.Snippet{}
31 parser.file.Snippets[eID] = parser.snippet
/external/llvm/tools/llvm-cov/
DSourceCoverageViewHTML.cpp298 SmallVector<std::string, 8> Snippets; in renderLine() local
303 Snippets.push_back(Line.substr(Start, Len)); in renderLine()
320 for (unsigned I = 0, E = Snippets.size(); I < E; ++I) in renderLine()
321 Snippets[I] = escape(Snippets[I]); in renderLine()
339 Snippets[0] = Highlight(Snippets[0]); in renderLine()
340 Snippets[1] = Highlight(Snippets[1]); in renderLine()
353 Snippets[I + 1] = Highlight(Snippets[I + 1]); in renderLine()
374 Snippets[I + 1] = in renderLine()
375 tag("div", Snippets[I + 1] + tag("span", formatCount(CurSeg->Count), in renderLine()
383 for (const auto &Snippet : Snippets) in renderLine()
/external/mobly-bundled-snippets/
DMETADATA3 "Mobly Bundled Snippets is a set of Snippets to allow Mobly tests to "
DREADME.md1 Mobly Bundled Snippets is a set of Snippets to allow Mobly tests to control
/external/spdx-tools/tvsaver/saver2v1/
Dsave_file.go67 for k := range f.Snippets {
72 s := f.Snippets[common.ElementID(sID)]
/external/spdx-tools/tvsaver/saver2v2/
Dsave_file.go71 for k := range f.Snippets {
76 s := f.Snippets[common.ElementID(sID)]
/external/spdx-tools/tvsaver/saver2v3/
Dsave_file.go71 for k := range f.Snippets {
76 s := f.Snippets[common.ElementID(sID)]
/external/fonttools/
DMANIFEST.in7 include Snippets/*.py
8 include Snippets/README.md
/external/spdx-tools/rdfloader/parser2v3/
Dparse_snippet_info.go83 if parser.files[fileID].Snippets == nil {
84 parser.files[fileID].Snippets = map[common.ElementID]*v2_3.Snippet{}
88 parser.files[fileID].Snippets[snippet.SnippetSPDXIdentifier] = snippet
Dparse_snippet_info_test.go528 file.Snippets = nil // nil snippets
533 if len(file.Snippets) != 1 {
534 t.Errorf("expected file to have 1 snippet, got %d", len(file.Snippets))
/external/spdx-tools/rdfloader/parser2v2/
Dparse_snippet_info.go83 if parser.files[fileID].Snippets == nil {
84 parser.files[fileID].Snippets = map[common.ElementID]*v2_2.Snippet{}
88 parser.files[fileID].Snippets[snippet.SnippetSPDXIdentifier] = snippet
Dparse_snippet_info_test.go528 file.Snippets = nil // nil snippets
533 if len(file.Snippets) != 1 {
534 t.Errorf("expected file to have 1 snippet, got %d", len(file.Snippets))
/external/spdx-tools/spdx/v2_1/
Dfile.go67 Snippets map[common.ElementID]*Snippet `json:"-"` member
Ddocument.go61 Snippets []Snippet `json:"snippets,omitempty"` member
/external/spdx-tools/spdx/v2_2/
Dfile.go71 Snippets map[common.ElementID]*Snippet `json:"-"` member
Ddocument.go61 Snippets []Snippet `json:"snippets,omitempty"` member
/external/spdx-tools/spdx/v2_3/
Dfile.go71 Snippets map[common.ElementID]*Snippet `json:"-" yaml:"-"` member
Ddocument.go61 Snippets []Snippet `json:"snippets,omitempty"` member
/external/python/mobly/
DREADME.md78 * [Mobly Bundled Snippets](https://github.com/google/mobly-bundled-snippets): a set
79 of Snippets to allow Mobly tests to control Android devices by exposing a simplified
/external/mobly-snippet-lib/
DREADME.md1 # Getting Started with Snippets for Mobly
34 A snippet is launched by an `am instrument` call. Snippets use a custom

12