Home
last modified time | relevance | path

Searched full:container (Results 1 – 25 of 1789) sorted by relevance

12345678910>>...72

/external/autotest/site_utils/
Dlxc.py6 1. Download base container from given GS location, setup the base container.
7 2. Create a snapshot as test container from base container.
8 3. Mount a directory in drone to the test container.
9 4. Run a command in the container and return the output.
10 5. Cleanup, e.g., destroy the container.
12 This tool can also be used to set up a base container for test. For example,
13 python lxc.py -s -p /tmp/container
14 This command will download and setup base container in directory /tmp/container.
16 container, e.g.,
17 lxc-start -P /tmp/container -n base -d
[all …]
Dlxc_cleanup.py9 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
37 # The cutoff time to declare a test job is completed and container is orphaned.
39 # is still in the process of destroying the container it used.
43 """Get job id and autoserv process id from container name.
45 @param container: Name of the container.
47 @return: job id and autoserv process id for the given container name.
52 # Container is not created for test, e.g., the base container.
59 def is_container_orphaned(container): argument
[all …]
Dlxc_functional_test.py36 # container, so it's prefered to avoid dependency on devserver.
42 # Name of test script file to run in container.
44 # Test script to run in container to verify autotest code setup.
101 """Test setup base container works.
105 logging.info('Rebuild base container in folder %s.', bucket.container_path)
112 """Test container can be created from base container.
115 @param name: Name of the test container.
117 container failures.
119 @return: A Container object created for the test container.
121 logging.info('Create test container.')
[all …]
Dlxc_config.py6 This module helps to deploy config files from host to container. It reads
25 source: config file in host to be copied to container.
26 target: config file's location inside container.
28 container. If it's set to false, the existing file inside container will
30 permission: Permission to set to the config file inside container.
34 /etc/resolv.conf inside container.
35 2. Copy all files in ssh to /root/.ssh in container.
48 shadow_config to container when AUTOTEST_DIR/containers/ssp_deploy_config is not
74 # container.
76 # Path to folder that contains autotest code inside container.
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/
DCompactConstructorExampleTest.java41 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/
Dcircular-container.m57 …]; // 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/chromium-trace/catapult/third_party/coverage/coverage/htmlfiles/
Djquery.isonscreen.js10 isOnScreen: function(box, container) { argument
13 for(var i in container){container[i] = parseFloat(container[i])};
15 if(!container){
16 container = { variable
24 if( box.left+box.width-container.left > 0 &&
25 box.left < container.width+container.left &&
26 box.top+box.height-container.top > 0 &&
27 box.top < container.height+container.top
34 jQuery.fn.isOnScreen = function (container) {
35 for(var i in container){container[i] = parseFloat(container[i])};
[all …]
/external/libchrome/base/
Dstl_util.h30 // For a range within a container of pointers, calls delete (non-array version)
48 // For a range within a container of pairs, calls delete (non-array version) on
52 // container may call the hash function on the iterator when it is advanced,
66 // For a range within a container of pairs, calls delete (non-array version) on
79 // For a range within a container of pairs, calls delete.
93 // Counts the number of instances of val in a container.
94 template <typename Container, typename T>
96 typename Container::const_iterator>::difference_type
97 STLCount(const Container& container, const T& val) { in STLCount() argument
98 return std::count(container.begin(), container.end(), val); in STLCount()
[all …]
/external/chromium-trace/catapult/tracing/tracing/ui/base/
Dcontainer_that_decorates_its_children_test.html23 'simple-container', tr.ui.b.ContainerThatDecoratesItsChildren);
40 var container = new SimpleContainer();
41 container.appendChild(createChild());
42 container.appendChild(createChild());
43 container.appendChild(createChild());
44 assert.isTrue(container.children[0].decorated);
45 assert.isTrue(container.children[1].decorated);
46 assert.isTrue(container.children[2].decorated);
51 var container = new SimpleContainer();
52 container.appendChild(c0);
[all …]
/external/freetype/src/autofit/
Dafpic.c62 AFModulePIC* container = (AFModulePIC*)pic_container->autofit; in autofit_module_class_pic_free() local
65 if ( container->af_services ) in autofit_module_class_pic_free()
67 container->af_services ); in autofit_module_class_pic_free()
68 container->af_services = NULL; in autofit_module_class_pic_free()
70 FT_FREE( container ); in autofit_module_class_pic_free()
82 AFModulePIC* container = NULL; in autofit_module_class_pic_init() local
86 /* allocate pointer, clear and set global container pointer */ in autofit_module_class_pic_init()
87 if ( FT_ALLOC ( container, sizeof ( *container ) ) ) in autofit_module_class_pic_init()
89 FT_MEM_SET( container, 0, sizeof ( *container ) ); in autofit_module_class_pic_init()
90 pic_container->autofit = container; in autofit_module_class_pic_init()
[all …]
/external/freetype/src/cff/
Dcffpic.c70 CffModulePIC* container = (CffModulePIC*)pic_container->cff; in cff_driver_class_pic_free() local
73 if ( container->cff_services ) in cff_driver_class_pic_free()
75 container->cff_services ); in cff_driver_class_pic_free()
76 container->cff_services = NULL; in cff_driver_class_pic_free()
77 if ( container->cff_field_handlers ) in cff_driver_class_pic_free()
79 library, container->cff_field_handlers ); in cff_driver_class_pic_free()
80 container->cff_field_handlers = NULL; in cff_driver_class_pic_free()
81 FT_FREE( container ); in cff_driver_class_pic_free()
92 CffModulePIC* container = NULL; in cff_driver_class_pic_init() local
96 /* allocate pointer, clear and set global container pointer */ in cff_driver_class_pic_init()
[all …]
/external/pdfium/third_party/freetype/src/cff/
Dcffpic.c70 CffModulePIC* container = (CffModulePIC*)pic_container->cff; in cff_driver_class_pic_free() local
73 if ( container->cff_services ) in cff_driver_class_pic_free()
75 container->cff_services ); in cff_driver_class_pic_free()
76 container->cff_services = NULL; in cff_driver_class_pic_free()
77 if ( container->cff_field_handlers ) in cff_driver_class_pic_free()
79 library, container->cff_field_handlers ); in cff_driver_class_pic_free()
80 container->cff_field_handlers = NULL; in cff_driver_class_pic_free()
81 FT_FREE( container ); in cff_driver_class_pic_free()
92 CffModulePIC* container = NULL; in cff_driver_class_pic_init() local
96 /* allocate pointer, clear and set global container pointer */ in cff_driver_class_pic_init()
[all …]
/external/pdfium/third_party/freetype/src/sfnt/
Dsfntpic.c75 sfntModulePIC* container = (sfntModulePIC*)pic_container->sfnt; in sfnt_module_class_pic_free() local
78 if ( container->sfnt_services ) in sfnt_module_class_pic_free()
80 container->sfnt_services ); in sfnt_module_class_pic_free()
81 container->sfnt_services = NULL; in sfnt_module_class_pic_free()
83 if ( container->tt_cmap_classes ) in sfnt_module_class_pic_free()
85 container->tt_cmap_classes ); in sfnt_module_class_pic_free()
86 container->tt_cmap_classes = NULL; in sfnt_module_class_pic_free()
88 FT_FREE( container ); in sfnt_module_class_pic_free()
99 sfntModulePIC* container = NULL; in sfnt_module_class_pic_init() local
103 /* allocate pointer, clear and set global container pointer */ in sfnt_module_class_pic_init()
[all …]
/external/freetype/src/sfnt/
Dsfntpic.c75 sfntModulePIC* container = (sfntModulePIC*)pic_container->sfnt; in sfnt_module_class_pic_free() local
78 if ( container->sfnt_services ) in sfnt_module_class_pic_free()
80 container->sfnt_services ); in sfnt_module_class_pic_free()
81 container->sfnt_services = NULL; in sfnt_module_class_pic_free()
83 if ( container->tt_cmap_classes ) in sfnt_module_class_pic_free()
85 container->tt_cmap_classes ); in sfnt_module_class_pic_free()
86 container->tt_cmap_classes = NULL; in sfnt_module_class_pic_free()
88 FT_FREE( container ); in sfnt_module_class_pic_free()
99 sfntModulePIC* container = NULL; in sfnt_module_class_pic_init() local
103 /* allocate pointer, clear and set global container pointer */ in sfnt_module_class_pic_init()
[all …]
/external/webrtc/webrtc/system_wrappers/include/
Dstl_util.h37 // For a range within a container of pointers, calls delete (non-array version)
55 // For a range within a container of pairs, calls delete (non-array version) on
59 // container may call the hash function on the iterator when it is advanced,
73 // For a range within a container of pairs, calls delete (non-array version) on
86 // For a range within a container of pairs, calls delete.
133 // STLDeleteElements() deletes all the elements in an STL container and clears
134 // the container. This function is suitable for use with a vector, set,
135 // hash_set, or any other STL container which defines sensible begin(), end(),
138 // If container is NULL, this function is a no-op.
141 // STLElementDeleter (defined below), which ensures that your container's
[all …]
/external/clang/include/clang/AST/
DAttrIterator.h47 template <typename SpecificAttr, typename Container = AttrVec>
49 typedef typename Container::const_iterator Iterator;
114 template <typename SpecificAttr, typename Container>
115 inline specific_attr_iterator<SpecificAttr, Container>
116 specific_attr_begin(const Container& container) { in specific_attr_begin() argument
117 return specific_attr_iterator<SpecificAttr, Container>(container.begin()); in specific_attr_begin()
119 template <typename SpecificAttr, typename Container>
120 inline specific_attr_iterator<SpecificAttr, Container>
121 specific_attr_end(const Container& container) { in specific_attr_end() argument
122 return specific_attr_iterator<SpecificAttr, Container>(container.end()); in specific_attr_end()
[all …]
/external/libmicrohttpd/src/microspdy/
Dstructures.c35 SPDYF_name_value_is_empty(struct SPDY_NameValue *container) in SPDYF_name_value_is_empty() argument
37 SPDYF_ASSERT(NULL != container, "NULL is not an empty container!"); in SPDYF_name_value_is_empty()
38 return (NULL == container->name && NULL == container->value) ? SPDY_YES : SPDY_NO; in SPDYF_name_value_is_empty()
56 SPDY_name_value_add (struct SPDY_NameValue *container, in SPDY_name_value_add() argument
67 if(NULL == container || NULL == name || NULL == value || 0 == (len = strlen(name))) in SPDY_name_value_add()
78 if(SPDYF_name_value_is_empty(container)) in SPDY_name_value_add()
80 //container is empty/just created in SPDY_name_value_add()
81 if (NULL == (container->name = strdup (name))) in SPDY_name_value_add()
85 if (NULL == (container->value = malloc(sizeof(char *)))) in SPDY_name_value_add()
87 free(container->name); in SPDY_name_value_add()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2containerservice/
Dlayer1.py33 Amazon EC2 Container Service (Amazon ECS) is a highly scalable,
34 fast, container management service that makes it easy to run,
36 instances. Amazon ECS lets you launch and stop container-enabled
44 policies, and availability requirements. Amazon EC2 Container
79 container instance. However, you can create your own cluster
100 container instances from this cluster before you may delete
101 it. You can list the container instances in a cluster with
118 Deregisters an Amazon ECS container instance from the
124 the cluster that hosts the container instance you want to
129 :param container_instance: The container instance UUID or full Amazon
[all …]
/external/sfntly/cpp/src/sfntly/port/
Djava_iterator.h38 template <typename ReturnType, typename Container,
39 typename ContainerBase = Container>
41 public RefCounted< PODIterator<ReturnType, Container> > {
43 explicit PODIterator(Container* container) : container_(container) {} in PODIterator() argument
59 Container* container() { return container_; } in container() function
62 Container* container_; // Dumb pointer is used to avoid circular ref-counting
65 template <typename ReturnType, typename Container,
66 typename ContainerBase = Container>
68 public RefCounted< RefIterator<ReturnType, Container> > {
70 explicit RefIterator(Container* container) : container_(container) {} in RefIterator() argument
[all …]
/external/libmicrohttpd/src/testspdy/
Dtest_struct_namevalue.c107 struct SPDY_NameValue *container; in main() local
114 if(NULL == (container = SPDY_name_value_create ())) in main()
119 if(NULL != SPDY_name_value_lookup (container, "anything", &ret)) in main()
124 if(SPDY_name_value_iterate (container, NULL, NULL) != 0) in main()
131 if(SPDY_YES != SPDY_name_value_add(container,pairs[i],pairs[i+1])) in main()
136 if(SPDY_name_value_iterate (container, NULL, NULL) != ((i / 2) + 1)) in main()
142 if(NULL != SPDY_name_value_lookup (container, "anything", &ret)) in main()
149 value = SPDY_name_value_lookup(container,pairs[i], &ret); in main()
158 SPDY_name_value_iterate (container, &iterate_cb, &cls); in main()
161 if(SPDY_name_value_iterate (container, &iterate_brake_cb, &cls) != brake_at) in main()
[all …]
/external/autotest/client/bin/
Dcpuset.py4 # A basic cpuset/cgroup container manager for limiting memory use during tests
5 # for use on kernels not running some site-specific container manager
21 fake_numa_containers = False # container mem via numa=fake mem nodes, else pages
24 root_container_bytes = 0 # squishy limit on effective size of root container
127 logging.debug('moving task %s into container "%s"', task, name)
138 logging.debug('running self (pid %s) in container "%s"', me, name)
145 # don't have exact model for how container mgr measures mem space
152 # Get memory bytes available to parent container which could
213 # Get current process's inherited or self-built container name
214 # within /dev/cpuset or /dev/cgroup. Is '' for root container.
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/scripts/productBuild/
DallElements.xml22 <property name="id" value="org.eclipse.pde.build.container.feature" />
46 <target name="assemble.org.eclipse.pde.build.container.feature">
52 <property name="assemble.org.eclipse.pde.build.container.feature.win32.win32.x86" value="true" />
53 <target name="assemble.org.eclipse.pde.build.container.feature.win32.win32.x86">
59 …<property name="assemble.org.eclipse.pde.build.container.feature.win32.win32.x86_64" value="true" …
60 <target name="assemble.org.eclipse.pde.build.container.feature.win32.win32.x86_64">
66 <property name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.ppc" value="true" />
67 <target name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.ppc">
73 <property name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86" value="true" />
74 <target name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86">
[all …]
/external/pdfium/third_party/freetype/src/truetype/
Dttpic.c52 TTModulePIC* container = (TTModulePIC*)pic_container->truetype; in tt_driver_class_pic_free() local
55 if ( container->tt_services ) in tt_driver_class_pic_free()
56 FT_Destroy_Class_tt_services( library, container->tt_services ); in tt_driver_class_pic_free()
57 container->tt_services = NULL; in tt_driver_class_pic_free()
58 FT_FREE( container ); in tt_driver_class_pic_free()
69 TTModulePIC* container = NULL; in tt_driver_class_pic_init() local
73 /* allocate pointer, clear and set global container pointer */ in tt_driver_class_pic_init()
74 if ( FT_ALLOC( container, sizeof ( *container ) ) ) in tt_driver_class_pic_init()
76 FT_MEM_SET( container, 0, sizeof ( *container ) ); in tt_driver_class_pic_init()
77 pic_container->truetype = container; in tt_driver_class_pic_init()
[all …]
/external/freetype/src/truetype/
Dttpic.c52 TTModulePIC* container = (TTModulePIC*)pic_container->truetype; in tt_driver_class_pic_free() local
55 if ( container->tt_services ) in tt_driver_class_pic_free()
56 FT_Destroy_Class_tt_services( library, container->tt_services ); in tt_driver_class_pic_free()
57 container->tt_services = NULL; in tt_driver_class_pic_free()
58 FT_FREE( container ); in tt_driver_class_pic_free()
69 TTModulePIC* container = NULL; in tt_driver_class_pic_init() local
73 /* allocate pointer, clear and set global container pointer */ in tt_driver_class_pic_init()
74 if ( FT_ALLOC( container, sizeof ( *container ) ) ) in tt_driver_class_pic_init()
76 FT_MEM_SET( container, 0, sizeof ( *container ) ); in tt_driver_class_pic_init()
77 pic_container->truetype = container; in tt_driver_class_pic_init()
[all …]
/external/libbrillo/brillo/streams/
Dmemory_containers.h20 // A particular implementation of container type (e.g. based on raw memory
21 // buffers, std::vector, std::string or others) need to implement the container
24 // container, getting and changing the buffer size, and so on, must be provided.
32 // Read the data from the container into |buffer|. Up to |size_to_read| bytes
33 // must be read at a time. The container can return fewer bytes. The actual
43 // Writes |size_to_write| bytes of data from |buffer| into the container.
44 // The container may accept fewer bytes of data. The actual size of data
53 // Resizes the container to the new size specified in |new_size|.
55 // Returns the current size of the container.
57 // Returns true if the container is read-only.
[all …]

12345678910>>...72