| /external/spdx-tools/tvloader/parser2v1/ |
| D | parse_snippet_test.go | 11 // ===== Parser snippet section state change tests ===== 13 // create the first snippet 19 …File{FileName: "f1.txt", FileSPDXIdentifier: "f1", Snippets: map[common.ElementID]*v2_1.Snippet{}}, 20 snippet: &v2_1.Snippet{SnippetSPDXIdentifier: sid1}, 22 s1 := parser.snippet 25 parser.file.Snippets[sid1] = parser.snippet 32 t.Errorf("Expected snippet %v in Snippets[s1], got %v", s1, parser.file.Snippets["s1"]) 35 …t.Errorf("expected snippet ID %s in Snippets[s1], got %s", sid1, parser.file.Snippets["s1"].Snippe… 38 // now add a new snippet 47 // and a snippet should be created [all …]
|
| D | parse_snippet.go | 15 // tag for creating new snippet section 21 parser.snippet = &v2_1.Snippet{} 29 parser.file.Snippets = map[common.ElementID]*v2_1.Snippet{} 31 parser.file.Snippets[eID] = parser.snippet 33 parser.snippet.SnippetSPDXIdentifier = eID 37 parser.snippet = nil 43 parser.snippet = nil 49 // tags for snippet data 55 parser.snippet.SnippetFromFileSPDXIdentifier = deID.ElementRefID 70 if parser.snippet.Ranges == nil { [all …]
|
| /external/skia/tests/graphite/ |
| D | RTEffectTest.cpp | 29 // Create a new runtime-effect snippet. in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 34 // but this is an easy way to verify that we didn't get an unrelated snippet.) in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 35 const ShaderSnippet* snippet = dict->getEntry(snippetID); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() local 36 REPORTER_ASSERT(reporter, snippet); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 37 REPORTER_ASSERT(reporter, std::string_view(snippet->fName) == "RuntimeEffect"); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 39 // If we pass the same effect again, we should get the same snippet ID as before. in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 57 // Create a new runtime-effect snippet. in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 62 // but this is an easy way to verify that we didn't get an unrelated snippet.) in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 63 const ShaderSnippet* snippet = dict->getEntry(snippetID); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() local 64 REPORTER_ASSERT(reporter, snippet); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() [all …]
|
| /external/spdx-tools/tvloader/parser2v3/ |
| D | parse_snippet_test.go | 11 // ===== Parser snippet section state change tests ===== 13 // create the first snippet 19 …File{FileName: "f1.txt", FileSPDXIdentifier: "f1", Snippets: map[common.ElementID]*v2_3.Snippet{}}, 20 snippet: &v2_3.Snippet{SnippetSPDXIdentifier: sid1}, 22 s1 := parser.snippet 25 parser.file.Snippets[sid1] = parser.snippet 32 t.Errorf("Expected snippet %v in Snippets[s1], got %v", s1, parser.file.Snippets["s1"]) 35 …t.Errorf("expected snippet ID %s in Snippets[s1], got %s", sid1, parser.file.Snippets["s1"].Snippe… 38 // now add a new snippet 47 // and a snippet should be created [all …]
|
| D | parse_snippet.go | 15 // tag for creating new snippet section 21 parser.snippet = &v2_3.Snippet{} 29 parser.file.Snippets = map[common.ElementID]*v2_3.Snippet{} 31 parser.file.Snippets[eID] = parser.snippet 33 parser.snippet.SnippetSPDXIdentifier = eID 37 parser.snippet = nil 43 parser.snippet = nil 49 // tags for snippet data 55 parser.snippet.SnippetFromFileSPDXIdentifier = deID.ElementRefID 70 if parser.snippet.Ranges == nil { [all …]
|
| /external/spdx-tools/tvloader/parser2v2/ |
| D | parse_snippet_test.go | 11 // ===== Parser snippet section state change tests ===== 13 // create the first snippet 19 …File{FileName: "f1.txt", FileSPDXIdentifier: "f1", Snippets: map[common.ElementID]*v2_2.Snippet{}}, 20 snippet: &v2_2.Snippet{SnippetSPDXIdentifier: sid1}, 22 s1 := parser.snippet 25 parser.file.Snippets[sid1] = parser.snippet 32 t.Errorf("Expected snippet %v in Snippets[s1], got %v", s1, parser.file.Snippets["s1"]) 35 …t.Errorf("expected snippet ID %s in Snippets[s1], got %s", sid1, parser.file.Snippets["s1"].Snippe… 38 // now add a new snippet 47 // and a snippet should be created [all …]
|
| D | parse_snippet.go | 15 // tag for creating new snippet section 21 parser.snippet = &v2_2.Snippet{} 29 parser.file.Snippets = map[common.ElementID]*v2_2.Snippet{} 31 parser.file.Snippets[eID] = parser.snippet 33 parser.snippet.SnippetSPDXIdentifier = eID 37 parser.snippet = nil 43 parser.snippet = nil 49 // tags for snippet data 55 parser.snippet.SnippetFromFileSPDXIdentifier = deID.ElementRefID 70 if parser.snippet.Ranges == nil { [all …]
|
| /external/icing/icing/result/ |
| D | snippet-retriever_test.cc | 15 #include "icing/result/snippet-retriever.h" 39 #include "icing/result/snippet-context.h" 57 #include "icing/util/snippet-helpers.h" 88 std::vector<std::string_view> GetPropertyPaths(const SnippetProto& snippet) { in GetPropertyPaths() argument 90 for (const SnippetProto::EntryProto& entry : snippet.entries()) { in GetPropertyPaths() 218 SnippetProto snippet = snippet_retriever_->RetrieveSnippet( in TEST_F() local 221 EXPECT_THAT(snippet.entries(), SizeIs(1)); in TEST_F() 222 EXPECT_THAT(snippet.entries(0).property_name(), Eq("body")); in TEST_F() 224 GetString(&document, snippet.entries(0).property_name()); in TEST_F() 225 EXPECT_THAT(GetWindows(content, snippet.entries(0)), ElementsAre("")); in TEST_F() [all …]
|
| /external/mobly-snippet-lib/examples/ex2_espresso/ |
| D | README.md | 1 # Espresso Snippet Example 6 The same approach can be used to create any snippet app that needs to access 11 To build a snippet that instruments another app, you have to create a new 13 of your existing app with the snippet code built in. 15 The snippet code cannot run from a regular test apk because it requires a custom 20 1. In the `build.gradle` file of your existing app, create a new product flavor called `snippet`. 27 snippet {} 32 1. Link against Mobly Snippet Lib in your `build.gradle` file 36 snippetCompile 'com.google.android.mobly:mobly-snippet-lib:1.4.0' 40 1. Create a new source tree called `src/snippet` where you will place the [all …]
|
| /external/mobly-snippet-lib/third_party/sl4a/src/main/java/com/google/android/mobly/snippet/manager/ |
| D | SnippetManager.java | 17 package com.google.android.mobly.snippet.manager; 24 import com.google.android.mobly.snippet.Snippet; 25 import com.google.android.mobly.snippet.SnippetObjectConverter; 26 import com.google.android.mobly.snippet.event.EventSnippet; 27 import com.google.android.mobly.snippet.rpc.MethodDescriptor; 28 import com.google.android.mobly.snippet.rpc.RpcMinSdk; 29 import com.google.android.mobly.snippet.rpc.RunOnUiThread; 30 import com.google.android.mobly.snippet.schedulerpc.ScheduleRpcSnippet; 31 import com.google.android.mobly.snippet.util.Log; 32 import com.google.android.mobly.snippet.util.MainThread; [all …]
|
| /external/mobly-bundled-snippets/src/main/ |
| D | AndroidManifest.xml | 4 package="com.google.android.mobly.snippet.bundled"> 49 android:value="com.google.android.mobly.snippet.bundled.AccountSnippet, 50 com.google.android.mobly.snippet.bundled.AudioSnippet, 51 … com.google.android.mobly.snippet.bundled.bluetooth.BluetoothAdapterSnippet, 52 … com.google.android.mobly.snippet.bundled.bluetooth.BluetoothGattClientSnippet, 53 … com.google.android.mobly.snippet.bundled.bluetooth.BluetoothGattServerSnippet, 54 … com.google.android.mobly.snippet.bundled.bluetooth.profiles.BluetoothA2dpSnippet, 55 … com.google.android.mobly.snippet.bundled.bluetooth.profiles.BluetoothHearingAidSnippet, 56 … com.google.android.mobly.snippet.bundled.bluetooth.profiles.BluetoothHeadsetSnippet, 57 com.google.android.mobly.snippet.bundled.BluetoothLeAdvertiserSnippet, [all …]
|
| /external/python/mobly/mobly/controllers/android_device_lib/services/ |
| D | snippet_management_service.py | 14 """Module for the snippet management service.""" 19 MISSING_SNIPPET_CLIENT_MSG = 'No snippet client is registered with name "%s".' 23 """Root error type for snippet management service.""" 29 """Management service of snippet clients. 31 This service manages all the snippet clients associated with an Android 48 """Gets the snippet client managed under a given name. 51 name: string, the name of the snippet client under management. 60 """Adds a snippet client to the management. 63 name: string, the attribute name to which to attach the snippet 64 client. E.g. `name='maps'` attaches the snippet client to [all …]
|
| /external/chromium-trace/catapult/third_party/polymer/components/iron-flex-layout/demo/ |
| D | index.html | 22 <link rel="import" href="../../iron-demo-helpers/demo-snippet.html"> 27 demo-snippet { 28 --demo-snippet-demo: { 53 <demo-snippet> 66 </demo-snippet> 69 <demo-snippet> 86 </demo-snippet> 89 <demo-snippet> 107 </demo-snippet> 110 <demo-snippet> [all …]
|
| /external/sdv/vsomeip/third_party/boost/function/doc/ |
| D | tests.xml | 64 <snippet name="function.tutorial.mul_ints"/> 65 <snippet name="function.tutorial.int_div"/> 69 <snippet name="function.tutorial.arith.cxx98"/> 70 <snippet name="function.tutorial.use_int_div"/> 71 <snippet name="function.tutorial.call_int_div"/> 72 <snippet name="function.tutorial.check_empty"/> 73 <snippet name="function.tutorial.clear"/> 74 <snippet name="function.tutorial.use_mul_ints"/> 88 <snippet name="function.tutorial.mul_ints"/> 89 <snippet name="function.tutorial.int_div"/> [all …]
|
| /external/spdx-tools/spdx/v2_2/ |
| D | snippet.go | 7 // Snippet is a Snippet section of an SPDX Document for version 2.2 of the spec. 8 type Snippet struct { struct 10 // 9.1: Snippet SPDX Identifier: "SPDXRef-[idstring]" 14 // 9.2: Snippet from File SPDX Identifier 18 // Ranges denotes the start/end byte offsets or line numbers that the snippet is relevant to 21 // 9.5: Snippet Concluded License: SPDX License Expression, "NONE" or "NOASSERTION" 25 // 9.6: License Information in Snippet: SPDX License Expression, "NONE" or "NOASSERTION" 29 // 9.7: Snippet Comments on License 33 // 9.8: Snippet Copyright Text: copyright notice(s) text, "NONE" or "NOASSERTION" 37 // 9.9: Snippet Comment [all …]
|
| /external/spdx-tools/spdx/v2_3/ |
| D | snippet.go | 7 // Snippet is a Snippet section of an SPDX Document for version 2.3 of the spec. 8 type Snippet struct { struct 10 // 9.1: Snippet SPDX Identifier: "SPDXRef-[idstring]" 14 // 9.2: Snippet from File SPDX Identifier 18 // Ranges denotes the start/end byte offsets or line numbers that the snippet is relevant to 21 // 9.5: Snippet Concluded License: SPDX License Expression, "NONE" or "NOASSERTION" 25 // 9.6: License Information in Snippet: SPDX License Expression, "NONE" or "NOASSERTION" 29 // 9.7: Snippet Comments on License 33 // 9.8: Snippet Copyright Text: copyright notice(s) text, "NONE" or "NOASSERTION" 37 // 9.9: Snippet Comment [all …]
|
| /external/rust/android-crates-io/crates/annotate-snippets/tests/ |
| D | dl_from_snippet.rs | 2 use annotate_snippets::{display_list as dl, formatter::get_term_style, snippet}; 6 let input = snippet::Snippet { in test_format_title() 7 title: Some(snippet::Annotation { in test_format_title() 10 annotation_type: snippet::AnnotationType::Error, in test_format_title() 41 let input = snippet::Snippet { in test_format_slice() 44 slices: vec![snippet::Slice { in test_format_slice() 95 let input = snippet::Snippet { in test_format_slices_continuation() 99 snippet::Slice { in test_format_slices_continuation() 106 snippet::Slice { in test_format_slices_continuation() 179 let input = snippet::Snippet { in test_format_slice_annotation_standalone() [all …]
|
| /external/spdx-tools/rdfloader/parser2v2/ |
| D | parse_snippet_info.go | 15 // Snippet Information 17 …Parser2_2) getSnippetInformationFromNode2_2(node *gordfParser.Node) (si *v2_2.Snippet, err error) { 18 si = &v2_2.Snippet{} 31 // file which is associated with the snippet 45 // license info in snippet can be NONE, NOASSERTION or SimpleLicensingInfo 51 return nil, fmt.Errorf("error parsing license info in snippet: %v", err) 66 return nil, fmt.Errorf("error parsing license info in snippet: %v", err) 76 // given is the id of the file, sets the snippet to the file in parser. 77 func (parser *rdfParser2_2) setSnippetToFileWithID(snippet *v2_2.Snippet, fileID common.ElementID) … argument 79 return fmt.Errorf("snippet refers to an undefined file with ID: %s", fileID) [all …]
|
| D | parse_snippet_info_test.go | 18 // TestCase 1: invalid snippet id: 20 <spdx:Snippet rdf:about="#Snippet"> 21 </spdx:Snippet> 31 <spdx:Snippet rdf:about="#SPDXRef-Snippet"> 33 </spdx:Snippet> 43 <spdx:Snippet rdf:about="#SPDXRef-Snippet"> 49 </spdx:Snippet> 59 <spdx:Snippet rdf:about="#SPDXRef-Snippet"> 63 </spdx:Snippet> 73 <spdx:Snippet rdf:about="#SPDXRef-Snippet"> [all …]
|
| /external/spdx-tools/rdfloader/parser2v3/ |
| D | parse_snippet_info.go | 15 // Snippet Information 17 …Parser2_3) getSnippetInformationFromNode2_3(node *gordfParser.Node) (si *v2_3.Snippet, err error) { 18 si = &v2_3.Snippet{} 31 // file which is associated with the snippet 45 // license info in snippet can be NONE, NOASSERTION or SimpleLicensingInfo 51 return nil, fmt.Errorf("error parsing license info in snippet: %v", err) 66 return nil, fmt.Errorf("error parsing license info in snippet: %v", err) 76 // given is the id of the file, sets the snippet to the file in parser. 77 func (parser *rdfParser2_3) setSnippetToFileWithID(snippet *v2_3.Snippet, fileID common.ElementID) … argument 79 return fmt.Errorf("snippet refers to an undefined file with ID: %s", fileID) [all …]
|
| /external/spdx-tools/spdx/v2_1/ |
| D | snippet.go | 7 // Snippet is a Snippet section of an SPDX Document for version 2.1 of the spec. 8 type Snippet struct { struct 10 // 5.1: Snippet SPDX Identifier: "SPDXRef-[idstring]" 14 // 5.2: Snippet from File SPDX Identifier 18 // Ranges denotes the start/end byte offsets or line numbers that the snippet is relevant to 21 // 5.5: Snippet Concluded License: SPDX License Expression, "NONE" or "NOASSERTION" 25 // 5.6: License Information in Snippet: SPDX License Expression, "NONE" or "NOASSERTION" 29 // 5.7: Snippet Comments on License 33 // 5.8: Snippet Copyright Text: copyright notice(s) text, "NONE" or "NOASSERTION" 37 // 5.9: Snippet Comment [all …]
|
| /external/python/mobly/mobly/snippet/ |
| D | client_base.py | 14 """The JSON RPC client base for communicating with snippet servers. 50 from mobly.snippet import errors 61 """Base class for JSON RPC clients that connect to snippet servers. 66 to stop the snippet server and release all the requested resources. 69 package: str, the user-visible name of the snippet library being 80 package: str, the user-visible name of the snippet library being 97 """Initializes the snippet client to interact with the remote device. 100 1. before starting server: preparing to start the snippet server. 101 2. start server: starting the snippet server on the remote device. 102 3. make connection: making a connection to the snippet server. [all …]
|
| /external/mobly-snippet-lib/examples/ex1_standalone_app/ |
| D | README.md | 1 # Standalone Snippet App Example 3 This tutorial shows you how to create a standalone Mobly snippet app. To create 4 a snippet app that controls (instruments) another app under test, please see 11 1. Link against Mobly Snippet Lib in your `build.gradle` file 15 implementation 'com.google.android.mobly:mobly-snippet-lib:1.4.0' 19 1. Write a Java class implementing `Snippet` and add methods to trigger the 25 public class ExampleSnippet implements Snippet { 36 1. Add any classes that implement the `Snippet` interface in your 61 android:name="com.google.android.mobly.snippet.SnippetRunner" 68 1. In your Mobly python test, connect to your snippet .apk in `setup_class` [all …]
|
| /external/bazelbuild-rules_python/tools/private/update_deps/ |
| D | update_file_test.py | 23 Before the snippet 31 After the snippet 33 snippet = "Replaced" 36 snippet="Replaced", 42 Before the snippet 48 After the snippet 54 Before the snippet 60 After the snippet 64 snippet=" Replaced", 70 Before the snippet [all …]
|
| /external/eigen/doc/ |
| D | InplaceDecomposition.dox | 15 <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 …]
|