/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. 47 @param base_name: Name of the base container image. Used to initialize a 52 @param base_container_path: Path to the directory used for the base container. 60 # Pass in the container path so that the bucket is hermetic (i.e. so 61 # that if the container path is customized, the base image doesn't 62 # fall back to using the default container path). 65 container = BaseImage(base_container_path, base_name).get() 75 base_container=container, 84 include the base container, or any containers owned by the container [all …]
|
D | container.py | 31 # Naming convention of test container, e.g., test_300_1422862512_2424, where: 33 # 1422862512: The tick when container is created. 34 # 2424: The PID of autoserv that starts the container. 36 # Name of the container ID file. 59 @param path: Path to a directory where the container ID will be 67 logging.debug('Container id saved to %s (content: %s)', dst, 74 @param path: Path to check for a serialized container ID. 76 @return: A container ID if one is found on the given path, or None 91 logging.warning('Load container id file "%s" error: %s', src, err) 94 # container ids have migrated to str. [all …]
|
D | base_image_unittest.py | 27 # A reference to an existing base container that can be copied for tests that 28 # need a base container. This is an optimization. 30 # The reference container can either be a reference to an existing container, or 31 # to a container that was downloaded by this test. If the latter, then it needs 50 self.fail('Base container was not valid.\n%s' % 55 base = lxc.Container.clone(src=reference_container, 61 # Precondition: ensure base exists and is a valid container. 66 # Verify that the base container was cleaned up. 76 # snapshots of full container clones. BaseImage cleanup code assumes 77 # 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 | 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-`.') 184 """Test setup base container works. 188 logging.info('Rebuild base container in folder %s.', container_path) 191 logging.info('Base container created: %s', image.get().name) 195 """Test container can be created from base container. 198 @param container_id: ID of the test container. 200 container failures. [all …]
|
D | base_image.py | 19 from autotest_lib.site_utils.lxc.container import Container 25 """A class that manages a base container. 27 Instantiating this class will cause it to search for a base container under 30 container. 32 The actual base container can be obtained by calling the get() method. 34 Calling cleanup() will delete the base container along with all of its 41 If a valid base container already exists on this machine, the BaseImage 43 install a base container. 45 @param container_path: The LXC path for the base container. 46 @param base_name: The base container name. [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/pdfium/third_party/base/containers/ |
D | contains.h | 27 template <typename Container, typename Element, typename = void> 30 template <typename Container, typename Element> 32 Container, 34 std::void_t<decltype(std::declval<const Container&>().find( 36 Container::npos)>> : std::true_type {}; 38 template <typename Container, typename Element, typename = void> 41 template <typename Container, typename Element> 43 Container, 45 std::void_t<decltype(std::declval<const Container&>().find( 47 std::declval<const Container&>().end())>> [all …]
|
/external/cronet/base/containers/ |
D | contains.h | 27 // `container.contains(value)` if this is a valid expression. This is the 29 template <typename Container, typename Value> 30 constexpr auto ContainsImpl(const Container& container, 33 -> decltype(container.contains(value)) { 34 return container.contains(value); 38 // can be compared with `container.end()`. Intended for STL style maps and sets 40 template <typename Container, typename Value> 41 constexpr auto ContainsImpl(const Container& container, 44 -> decltype(container.find(value) != container.end()) { 45 return container.find(value) != container.end(); [all …]
|
D | flat_tree.h | 24 // flat_tree in case the underlying container is already sorted and has no 64 // Reference: https://en.cppreference.com/w/cpp/container/array/to_array 76 // Helper that calls `container.reserve(std::size(source))`. 81 auto ReserveIfSupported(T& container, const U& source) 82 -> decltype(container.reserve(std::size(source)), void()) { 83 container.reserve(std::size(source)); 147 template <class Key, class GetKeyFromValue, class KeyCompare, class Container> 155 using value_type = typename Container::value_type; 168 using pointer = typename Container::pointer; 169 using const_pointer = typename Container::const_pointer; [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/cronet/buildtools/third_party/libc++/trunk/test/support/ |
D | test_container_comparisons.h | 16 template <template <typename...> typename Container, typename Elem, typename Order> 20 Container<Elem> l1; in test_sequence_container_spaceship_with_type() 21 Container<Elem> l2; in test_sequence_container_spaceship_with_type() 26 Container<Elem> l1{1, 1}; in test_sequence_container_spaceship_with_type() 27 Container<Elem> l2{1, 1}; in test_sequence_container_spaceship_with_type() 32 Container<Elem> l1{1, 1}; in test_sequence_container_spaceship_with_type() 33 Container<Elem> l2{1, 2}; in test_sequence_container_spaceship_with_type() 38 Container<Elem> l1{1, 3}; in test_sequence_container_spaceship_with_type() 39 Container<Elem> l2{1, 2}; in test_sequence_container_spaceship_with_type() 44 Container<Elem> l1{1}; in test_sequence_container_spaceship_with_type() [all …]
|
D | deduction_guides_sfinae_checks.h | 42 template<template<typename ...> class Container, typename InstantiatedContainer> 60 LIBCPP_STATIC_ASSERT(SFINAEs_away<Container, OutputIter, OutputIter>); in SequenceContainerDeductionGuidesSfinaeAway() 65 LIBCPP_STATIC_ASSERT(SFINAEs_away<Container, OutputIter, OutputIter, Alloc>); in SequenceContainerDeductionGuidesSfinaeAway() 67 static_assert(SFINAEs_away<Container, Iter, Iter, BadAlloc>); in SequenceContainerDeductionGuidesSfinaeAway() 72 static_assert(SFINAEs_away<Container, Alloc>); in SequenceContainerDeductionGuidesSfinaeAway() 82 template<template<typename ...> class Container, typename InstantiatedContainer> 102 static_assert(SFINAEs_away<Container, BadIter, BadIter>); in AssociativeContainerDeductionGuidesSfinaeAway() 103 LIBCPP_STATIC_ASSERT(SFINAEs_away<Container, OutputIter, OutputIter>); in AssociativeContainerDeductionGuidesSfinaeAway() 108 static_assert(SFINAEs_away<Container, BadIter, BadIter, Comp>); in AssociativeContainerDeductionGuidesSfinaeAway() 109 LIBCPP_STATIC_ASSERT(SFINAEs_away<Container, OutputIter, OutputIter, Comp>); in AssociativeContainerDeductionGuidesSfinaeAway() [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 …]
|
/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/webrtc/rtc_base/containers/ |
D | flat_tree.h | 22 #include "absl/algorithm/container.h" 28 // flat_tree in case the underlying container is already sorted and has no 68 // Reference: https://en.cppreference.com/w/cpp/container/array/to_array 141 template <class Key, class GetKeyFromValue, class KeyCompare, class Container> 149 using value_type = typename Container::value_type; 162 using pointer = typename Container::pointer; 163 using const_pointer = typename Container::const_pointer; 164 using reference = typename Container::reference; 165 using const_reference = typename Container::const_reference; 166 using size_type = typename Container::size_type; [all …]
|