| /external/autotest/site_utils/lxc/ |
| D | container_unittest.py | 19 from autotest_lib.site_utils.lxc import container as container_module 26 """Unit tests for the Container class.""" 34 # Check if a base container exists on this machine and download one if 57 # Make a container that just points to the base container. 58 container = lxc.Container.create_from_existing_dir( 62 # the on-disk container is valid. 63 self.assertFalse(container.is_running()) 71 container = lxc.Container.create_from_existing_dir(self.test_dir, 74 container.refresh_status() 78 with self.createContainer() as container: [all …]
|
| D | container_bucket.py | 21 from autotest_lib.site_utils.lxc.container import Container 34 """A wrapper class to interact with containers in a specific container path. 44 @param base_name: Name of the base container image. Used to initialize a 54 # Pass in the container path so that the bucket is hermetic (i.e. so 55 # that if the container path is customized, the base image doesn't 56 # fall back to using the default container path). 59 container = BaseImage(self.container_path, base_name).get() 69 base_container=container, 78 include the base container, or any containers owned by the container 84 indexed by container name. [all …]
|
| D | container.py | 27 # Naming convention of test container, e.g., test_300_1422862512_2424, where: 29 # 1422862512: The tick when container is created. 30 # 2424: The PID of autoserv that starts the container. 32 # Name of the container ID file. 52 @param path: Path to a directory where the container ID will be 63 @param path: Path to check for a serialized container ID. 65 @return: A container ID if one is found on the given path, or None 82 # container ids have migrated to str. 89 """Creates a new container ID. 106 class Container(object): class [all …]
|
| D | base_image_unittest.py | 22 # A reference to an existing base container that can be copied for tests that 23 # need a base container. This is an optimization. 25 # The reference container can either be a reference to an existing container, or 26 # to a container that was downloaded by this test. If the latter, then it needs 45 self.fail('Base container was not valid.\n%s' % 50 base = lxc.Container.clone(src=reference_container, 56 # Precondition: ensure base exists and is a valid container. 61 # Verify that the base container was cleaned up. 71 # snapshots of full container clones. BaseImage cleanup code assumes 72 # that the base container is not a snapshot. [all …]
|
| D | container_factory.py | 11 from autotest_lib.site_utils.lxc import container 20 """A factory class for creating LXC container objects.""" 22 def __init__(self, base_container, container_class=container.Container, 27 @param base_container: The base container from which other containers 29 @param container_class: (optional) The Container class to instantiate. 30 By default, lxc.Container is instantiated. 33 @param force_cleanup: (optional) If True, if a container is created with 35 container, the existing container is destroyed, 36 and the new container created in its place. By 53 """Creates a new container. [all …]
|
| D | base_image.py | 15 from autotest_lib.site_utils.lxc.container import Container 19 """A class that manages a base container. 21 Instantiating this class will cause it to search for a base container under 24 container. 26 The actual base container can be obtained by calling the get() method. 28 Calling cleanup() will delete the base container along with all of its 35 If a valid base container already exists on this machine, the BaseImage 37 install a base container. 39 @param container_path: The LXC path for the base container. 40 @param base_name: The base container name. [all …]
|
| D | lxc_functional_test.py | 43 # container, so it's prefered to avoid dependency on devserver. 49 # Name of test script file to run in container. 51 # Test script to run in container to verify autotest code setup. 73 raise Exception('The container\\\'s hostname must start with `test-`.') 185 """Test setup base container works. 189 logging.info('Rebuild base container in folder %s.', container_path) 192 logging.info('Base container created: %s', image.get().name) 196 """Test container can be created from base container. 199 @param container_id: ID of the test container. 201 container failures. [all …]
|
| D | config.py | 7 container. It reads the settings from a setting file (ssp_deploy_config), and 32 source: config file in host to be copied to container. 33 target: config file's location inside container. 35 container. If it's set to false, the existing file inside container will 37 permission: Permission to set to the config file inside container. 48 /etc/resolv.conf inside container. 49 2. Copy all files in ssh to /root/.ssh in container. 53 source: a folder in host to be mounted in container. 54 target: the folder's location inside container. 55 mount: true to mount the source folder onto the target inside container. [all …]
|
| /external/cros/system_api/dbus/vm_cicerone/ |
| D | cicerone_service.proto | 46 // Message sent to cicerone when requesting a token for linking to a container 52 // Name of the container within the VM. 61 // A token that should be passed into the container to identify itself. This 66 // Message sent to cicerone to check whether or not a specific container is 72 // Name of the container within the VM. 81 // True if the container is running, false otherwise. 87 // Name of the VM the container is in. 94 // Message used in the signal for when a container has started up. 96 // Name of the VM the container is in. 99 // Name of the container within the VM. [all …]
|
| /external/chromium-trace/catapult/third_party/polymer/components/iron-flex-layout/test/ |
| D | iron-flex-layout-classes.html | 28 .container { 33 .container > div { 40 .container > div.fixed-height { 44 .container.relative > div { 49 .container.small { width: 120px; } 50 .container.tall { height: 300px; } 62 <div class="container layout"> 72 <div class="container layout"> 82 <div class="container layout"> 90 <div class="container layout relative"> [all …]
|
| D | iron-flex-layout.html | 28 .container { 33 .container > div { 40 .container > div.fixed-height { 45 .container.relative > div { 50 .container.small { width: 120px; } 51 .container.tall { height: 300px; } 88 <div class="container"> 98 <div class="container"> 108 <div class="container"> 116 <div class="container relative"> [all …]
|
| /external/libchrome/base/ |
| D | stl_util.h | 32 template <typename Container, typename Predicate> 33 void IterateAndEraseIf(Container& container, Predicate pred) { in IterateAndEraseIf() argument 34 for (auto it = container.begin(); it != container.end();) { in IterateAndEraseIf() 36 it = container.erase(it); in IterateAndEraseIf() 46 template <typename Container> 47 constexpr auto size(const Container& c) -> decltype(c.size()) { 58 template <typename Container> 59 constexpr auto empty(const Container& c) -> decltype(c.empty()) { 75 template <typename Container> 76 constexpr auto data(Container& c) -> decltype(c.data()) { [all …]
|
| /external/chromium-trace/catapult/third_party/polymer/components/paper-input/test/ |
| D | paper-input-container.html | 14 <title>paper-input-container tests</title> 26 <link rel="import" href="../paper-input-container.html"> 34 <paper-input-container> 37 </paper-input-container> 43 <paper-input-container> 47 </paper-input-container> 53 <paper-input-container> 57 </paper-input-container> 63 <paper-input-container> 66 </paper-input-container> [all …]
|
| /external/autotest/site_utils/ |
| D | lxc_cleanup.py | 9 container used to run the test will be orphaned. This adds overhead to the 12 This module also checks if the test job associated with a container has 14 container. To avoid racing condition, this only applies to job finished at least 34 # The cutoff time to declare a test job is completed and container is orphaned. 36 # is still in the process of destroying the container it used. 39 def is_container_orphaned(container): argument 40 """Check if a container is orphaned. 42 A container is orphaned if any of these condition is True: 43 1. The autoserv process created the container is no longer running. 46 @param container: A Container object. [all …]
|
| /external/dynamic_depth/internal/dynamic_depth/ |
| D | container.cc | 1 #include "dynamic_depth/container.h" 14 "http://ns.google.com/photos/dd/1.0/container/"; 19 Container::Container() {} in Container() function in dynamic_depth::Container 21 void Container::GetNamespaces( in GetNamespaces() 27 ns_name_href_map->emplace(DynamicDepthConst::Container(), kNamespaceHref); in GetNamespaces() 31 std::unique_ptr<Container> Container::FromItems( in FromItems() 38 std::unique_ptr<Container> container(new Container()); in FromItems() local 39 container->items_ = std::move(*items); in FromItems() 41 container->items_.erase( in FromItems() 43 container->items_.begin(), container->items_.end(), in FromItems() [all …]
|
| /external/python/google-api-python-client/docs/dyn/ |
| D | tagmanager_v2.accounts.containers.html | 102 <p class="firstline">Creates a Container.</p> 105 <p class="firstline">Deletes a Container.</p> 108 <p class="firstline">Gets a Container.</p> 117 <p class="firstline">Updates a Container.</p> 126 <pre>Creates a Container. 133 …sents a Google Tag Manager Container, which specifies the platform tags will run on, manages works… 135 …uot;containerId": "A String", # The Container ID uniquely identifies the GTM Contai… 136 …"domainName": [ # List of domain names associated with the Container. @mutable tagmanage… 139 …"fingerprint": "A String", # The fingerprint of the GTM Container as computed … 140 …"name": "A String", # Container display name. @mutable tagmanager.accounts.con… [all …]
|
| D | tagmanager_v2.accounts.containers.version_headers.html | 82 <p class="firstline">Gets the latest container version header</p> 85 <p class="firstline">Lists all Container Versions of a GTM Container.</p> 97 <pre>Gets the latest container version header 100 …parent: string, GTM Container's API relative path. Example: accounts/{account_id}/containers/… 109 { # Represents a Google Tag Manager Container Version Header. 111 "containerId": "A String", # GTM Container ID. 112 …erVersionId": "A String", # The Container Version ID uniquely identifies the GTM Co… 113 …"deleted": True or False, # A value of true indicates this container version has been de… 114 "name": "A String", # Container version display name. 115 "numClients": "A String", # Number of clients in the container version. [all …]
|
| D | tagmanager_v1.accounts.containers.html | 122 <p class="firstline">Creates a Container.</p> 125 <p class="firstline">Deletes a Container.</p> 128 <p class="firstline">Gets a Container.</p> 134 <p class="firstline">Updates a Container.</p> 143 <pre>Creates a Container. 150 { # Represents a Google Tag Manager Container. 152 …uot;containerId": "A String", # The Container ID uniquely identifies the GTM Contai… 153 …"domainName": [ # Optional list of domain names associated with the Container. @mutable … 159 …"fingerprint": "A String", # The fingerprint of the GTM Container as computed … 160 …"name": "A String", # Container display name. @mutable tagmanager.accounts.con… [all …]
|
| D | run_v1alpha1.namespaces.services.html | 110 { # Service acts as a top-level container that manages a set of Routes and Configurations which imp… 120 …conds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanu… 152 …container image, and may also include labels and annotations that should be attached to the Revisi… 160 …conds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanu… 187 …container": { # A single application container. This specifies both the container to run, the… 188 …container's environment. If a variable cannot be resolved, the reference in the input string … 191 …container's environment. If a variable cannot be resolved, the reference in the input string … 194 …"env": [ # List of environment variables to set in the container. Cannot be updated. +op… 195 { # EnvVar represents an environment variable present in a Container. 197 …E) are expanded using the previous defined environment variables in the container and any route en… [all …]
|
| D | run_v1alpha1.projects.locations.services.html | 119 { # Service acts as a top-level container that manages a set of Routes and Configurations which imp… 129 …conds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanu… 161 …container image, and may also include labels and annotations that should be attached to the Revisi… 169 …conds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanu… 196 …container": { # A single application container. This specifies both the container to run, the… 197 …container's environment. If a variable cannot be resolved, the reference in the input string … 200 …container's environment. If a variable cannot be resolved, the reference in the input string … 203 …"env": [ # List of environment variables to set in the container. Cannot be updated. +op… 204 { # EnvVar represents an environment variable present in a Container. 206 …E) are expanded using the previous defined environment variables in the container and any route en… [all …]
|
| /external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/ |
| D | CompactConstructorExampleTest.java | 41 assertEquals(new Container(), obj); in test1() 46 assertEquals(new Container("title"), obj); in test2() 50 Container obj = (Container) load("example3.yaml"); in test3() 51 assertEquals(new Container("title3"), obj); in test3() 60 Container container = (Container) obj; in test4() local 62 assertEquals(new Container("title4"), obj); in test4() 63 assertEquals("title4", container.getTitle()); in test4() 64 assertEquals("child4", container.getName()); in test4() 65 assertEquals("444", container.getId()); in test4() 71 Container container = (Container) obj; in test5() local [all …]
|
| /external/clang/test/SemaObjC/ |
| D | circular-container.m | 57 …]; // expected-warning {{adding '_array' to '_array' might cause circular dependency in container}} 58 …cted-warning {{adding '_dictionary' to '_dictionary' might cause circular dependency in container}} 59 …_set]; // expected-warning {{adding '_set' to '_set' might cause circular dependency in container}} 60 …cted-warning {{adding '_countedSet' to '_countedSet' might cause circular dependency in container}} 61 …cted-warning {{adding '_orderedSet' to '_orderedSet' might cause circular dependency in container}} 65 …ddObject:a]; // expected-warning {{adding 'a' to 'a' might cause circular dependency in container}} 69 …Key:@"key"]; // expected-warning {{adding 'd' to 'd' might cause circular dependency in container}} 73 …ddObject:s]; // expected-warning {{adding 's' to 's' might cause circular dependency in container}} 77 …ddObject:s]; // expected-warning {{adding 's' to 's' might cause circular dependency in container}} 81 …ddObject:s]; // expected-warning {{adding 's' to 's' might cause circular dependency in container}} [all …]
|
| /external/pigweed/pw_minimal_cpp_stdlib/public/ |
| D | iterator | 25 auto begin(C& container) -> decltype(container.begin()) { 26 return container.begin(); 30 auto begin(const C& container) -> decltype(container.begin()) { 31 return container.begin(); 35 constexpr auto data(C& container) -> decltype(container.data()) { 36 return container.data(); 40 constexpr auto data(const C& container) -> decltype(container.data()) { 41 return container.data(); 50 auto end(C& container) -> decltype(container.end()) { 51 return container.end(); [all …]
|
| /external/pigweed/pw_minimal_cpp_stdlib/public/internal/ |
| D | iterator.h | 25 auto begin(C& container) -> decltype(container.begin()) { 26 return container.begin(); 30 auto begin(const C& container) -> decltype(container.begin()) { 31 return container.begin(); 35 constexpr auto data(C& container) -> decltype(container.data()) { 36 return container.data(); 40 constexpr auto data(const C& container) -> decltype(container.data()) { 41 return container.data(); 50 auto end(C& container) -> decltype(container.end()) { 51 return container.end(); [all …]
|
| /external/protobuf/java/core/src/test/java/com/google/protobuf/ |
| D | AnyTest.java | 45 TestAny container = TestAny.newBuilder().setValue(Any.pack(message)).build(); in testAnyGeneratedApi() local 47 assertTrue(container.getValue().is(TestAllTypes.class)); in testAnyGeneratedApi() 48 assertFalse(container.getValue().is(TestAny.class)); in testAnyGeneratedApi() 50 TestAllTypes result = container.getValue().unpack(TestAllTypes.class); in testAnyGeneratedApi() 56 container.getValue().unpack(TestAny.class); in testAnyGeneratedApi() 63 TestAny.Builder containerBuilder = container.toBuilder(); in testAnyGeneratedApi() 65 container = containerBuilder.build(); in testAnyGeneratedApi() 67 container.getValue().unpack(TestAllTypes.class); in testAnyGeneratedApi() 79 TestAny container = TestAny.newBuilder().setValue(Any.pack(message, "xxx.com")).build(); in testCustomTypeUrls() local 82 "xxx.com/" + TestAllTypes.getDescriptor().getFullName(), container.getValue().getTypeUrl()); in testCustomTypeUrls() [all …]
|