Home
last modified time | relevance | path

Searched refs:_run (Results 1 – 25 of 90) sorted by relevance

1234

/external/autotest/client/common_lib/cros/
Dvirtual_ethernet_pair.py77 self._run = utils.run
80 self._run = host.run
111 status = self._run('iptables -I INPUT -i %s -j ACCEPT' % name,
126 self._run('iptables -D INPUT -i %s -j ACCEPT' % name,
224 self._run('ip link set %s down' % self._interface_name,
226 self._run('ip link set %s down' % self._peer_interface_name,
228 self._run('ip link delete %s >/dev/null 2>&1' % self._interface_name,
235 self._run('ip link delete %s >/dev/null 2>&1' %
244 self._run('ip link add name %s '
247 self._run('ip link set %s up' % self._interface_name)
[all …]
Dautoupdater.py354 self._run('rm -f %s' % self.UPDATED_MARKER)
355 self._run('stop ui || true')
356 self._run('stop update-engine || true')
357 self._run('start update-engine')
363 def _run(self, cmd, *args, **kwargs): member in ChromiumOSUpdater
374 return self._run('rootdev %s' % options).stdout.strip()
391 return int(self._run('cgpt show -n -i %d %s %s' % (
454 self._run(' '.join(statefuldev_cmd))
461 return self._run('/postinst %s 2>&1' % part)
485 self._run(can_rollback_cmd)
[all …]
/external/autotest/server/site_tests/platform_CrashStateful/
Dplatform_CrashStateful.py29 def _run(self, cmd): member in platform_CrashStateful
52 self._run('mkdir -p %s %s' % (edir, mnt))
53 self._run('mount -t ecryptfs %s %s %s' %
63 self._run('umount %s' % mnt)
64 self._run('rm -R %s' % edir)
65 self._run('rm -R %s' % mnt)
102 self._run('mkdir -p %s' % dir)
103 self._run('echo charlie smith >%s/charlie' % dir)
104 self._run('sync')
117 self._run('rm -fr %s' % dir)
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderQuads.hpp86 typedef struct _run struct in glcts::TessellationShaderQuadsDegenerateCase
95 _run() in _run() function
103 } _run; typedef in glcts::TessellationShaderQuadsDegenerateCase
105 typedef std::vector<_run> _runs;
165 typedef struct _run struct in glcts::TessellationShaderQuadsInnerTessellationLevelRounding
177 _run() in _run() function
187 } _run; typedef in glcts::TessellationShaderQuadsInnerTessellationLevelRounding
189 typedef std::vector<_run> _runs;
DesextcTessellationShaderTessellation.hpp104 typedef struct _run struct in glcts::TessellationShaderTessellationInputPatchDiscard
111 _run() in _run() argument
118 } _run; typedef in glcts::TessellationShaderTessellationInputPatchDiscard
121 typedef std::vector<_run> _runs;
128 void deinitRun(_run& test);
129 void initRun(_run& test, _tessellation_primitive_mode primitive_mode);
191 typedef struct _run struct in glcts::TessellationShaderTessellationgl_InvocationID_PatchVerticesIn_PrimitiveID
206 _run() in _run() function
221 } _run; typedef in glcts::TessellationShaderTessellationgl_InvocationID_PatchVerticesIn_PrimitiveID
224 typedef std::vector<_run> _runs;
[all …]
DesextcTessellationShaderTriangles.hpp155 typedef struct _run struct in glcts::TessellationShaderTrianglesIdenticalTriangles
166 _run() in _run() function
175 } _run; typedef in glcts::TessellationShaderTrianglesIdenticalTriangles
177 typedef std::vector<_run> _runs;
228 typedef struct _run struct in glcts::TessellationShaderTrianglesInnerTessellationLevelRounding
240 _run() in _run() function
250 } _run; typedef in glcts::TessellationShaderTrianglesInnerTessellationLevelRounding
252 typedef std::vector<_run> _runs;
DesextcTessellationShaderTCTE.hpp124 typedef struct _run struct in glcts::TessellationShaderTCTEDataPassThrough
145 _run() in _run() function
156 } _run; typedef in glcts::TessellationShaderTCTEDataPassThrough
159 typedef std::vector<_run> _runs;
163 void deinitTestRun(_run& run);
164 …void executeTestRun(_run& run, _tessellation_primitive_mode primitive_mode, bool should_use_geomet…
220 typedef struct _run struct in glcts::TessellationShaderTCTEgl_MaxPatchVertices_Position_PointSize
246 _run() in _run() argument
265 } _run; typedef in glcts::TessellationShaderTCTEgl_MaxPatchVertices_Position_PointSize
268 typedef std::vector<_run> _runs;
[all …]
DesextcTessellationShaderVertexSpacing.hpp88 typedef struct _run struct in glcts::TessellationShaderVertexSpacing
100 _run() in _run() function
109 } _run; typedef in glcts::TessellationShaderVertexSpacing
239 typedef std::vector<_run> _runs;
315 _tess_edges getEdgesForIsolinesTessellation(const _run& run);
316 _tess_edges getEdgesForQuadsTessellation(const _run& run);
317 _tess_edges getEdgesForTrianglesTessellation(const _run& run);
318 void verifyEdges(const _tess_edges& edges, const _run& run);
DesextcTessellationShaderPoints.hpp192 typedef struct _run struct in glcts::TessellationShaderPointsVerification
199 _run() in _run() function
207 } _run; typedef in glcts::TessellationShaderPointsVerification
210 …void verifyCorrectAmountOfDuplicateVertices(const _run& run, const void* run_data, unsigned int ru…
212 …void verifyCorrectAmountOfVertices(const _run& run, const void* run_data, unsigned int run_n_verti…
215 std::vector<_run> m_runs;
/external/autotest/server/site_tests/platform_SyncCrash/
Dplatform_SyncCrash.py38 def _run(self, cmd): member in platform_SyncCrash
91 self._run('mkdir -p %s %s' % (edir, mnt))
92 self._run('mount -t ecryptfs %s %s %s' %
101 self._run('umount %s' % mnt)
102 self._run('rm -R %s %s' % (edir, mnt))
113 self._run('mkdir -p %s' % dir)
116 self._run('rm -r %s' % dir)
130 self._run('mkdir -p %s' % dir)
134 self._run('rm -r %s' % dir)
/external/autotest/client/common_lib/cros/network/
Diw_runner.py158 self._run = utils.run
161 self._run = remote_host.run
266 self._run('%s phy %s interface add %s type %s' %
277 self._run('%s dev %s disconnect' % (self._command_iw, interface))
287 result = self._run('%s dev %s link' %
324 result = self._run('%s dev %s link' % (self._command_iw, interface),
355 result = self._run('%s dev %s station dump' %
388 ret = self._run('%s dev %s info' % (self._command_iw, interface))
412 ret = self._run('%s dev %s info' % (self._command_iw, interface))
435 self._run('%s dev %s ibss join %s %d' %
[all …]
Dinterface.py111 self._run = self.host.run
136 result = self._run('ip addr show %s 2> /dev/null' % self._name,
172 read_file = (lambda path: self._run('cat "%s"' % path).stdout.rstrip()
197 module_readlink_result = self._run('readlink "%s"' %
203 kernel_release = self._run('uname -r').stdout.strip()
204 module_path = self._run('find '
234 result = self._run('ip addr show %s 2> /dev/null' % self._name,
267 result = self._run(command, ignore_status=True)
315 if self._run('iw dev %s info' % self._name,
359 result_lines = self._run('iw dev %s link' %
[all …]
/external/python/cpython2/Lib/distutils/tests/
Dtest_check.py15 def _run(self, metadata=None, **options): member in CheckTestCase
31 cmd = self._run()
40 cmd = self._run(metadata)
45 self.assertRaises(DistutilsSetupError, self._run, {}, **{'strict': 1})
48 cmd = self._run(metadata, strict=1)
57 cmd = self._run(metadata)
89 self.assertRaises(DistutilsSetupError, self._run, metadata,
94 cmd = self._run(metadata, strict=1, restructuredtext=1)
130 self.assertRaises(DistutilsSetupError, self._run,
/external/python/cpython3/Lib/distutils/tests/
Dtest_check.py20 def _run(self, metadata=None, **options): member in CheckTestCase
36 cmd = self._run()
45 cmd = self._run(metadata)
50 self.assertRaises(DistutilsSetupError, self._run, {}, **{'strict': 1})
53 cmd = self._run(metadata, strict=1)
62 cmd = self._run(metadata)
94 self.assertRaises(DistutilsSetupError, self._run, metadata,
99 cmd = self._run(metadata, strict=1, restructuredtext=1)
141 self.assertRaises(DistutilsSetupError, self._run,
/external/tensorflow/tensorflow/python/eager/
Dbenchmarks_test.py86 def _run(self, func, num_iters): member in MicroBenchmarks
99 self._run(func, 30000)
111 self._run(func, 30000)
156 self._run(func, num_iters)
160 self._run(func, num_iters)
164 self._run(func, num_iters)
195 self._run(lambda: gen_array_ops.identity(m), 30000)
207 self._run(f, 30000)
211 self._run(
219 self._run(lambda: gen_array_ops.identity(m), 30000)
[all …]
/external/autotest/client/common_lib/cros/tendo/
Dwebserver_config.py59 self._run = utils.run if host is None else host.run
79 self._run('chown webservd:webservd %s' % path)
84 self._run('stop webservd', ignore_status=True)
95 self._run('start webservd %s' % ' '.join(args))
100 self._run('stop webservd', ignore_status=True)
101 self._run('start webservd')
Dprivet_helper.py38 self._run = utils.run
41 self._run = host.run
109 result = self._run('curl %s' % url, args=args,
116 raw_response = self._run('cat %s' % output_file).stdout
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLinking.hpp86 typedef struct _run struct in glcts::GeometryShaderIncompleteProgramObjectsTest
92 explicit _run(bool in_use_fs, bool in_use_gs, bool in_use_separable_po) in _run() argument
98 } _run; typedef in glcts::GeometryShaderIncompleteProgramObjectsTest
108 std::vector<_run> m_test_runs;
155 typedef struct _run struct in glcts::GeometryShaderIncompleteGSTest
161 explicit _run(bool in_is_input_primitive_type_defined, bool in_is_max_vertices_defined, in _run() function
168 } _run; typedef in glcts::GeometryShaderIncompleteGSTest
173 std::string getGeometryShaderCode(const _run& current_run);
175 void initShaderObjects(const _run& current_run, bool* out_has_fs_compiled_successfully,
185 std::vector<_run> m_test_runs;
/external/autotest/client/common_lib/cros/cfm/usb/
Dusb_port_manager.py70 self._run('echo {} > /sys/class/gpio/export'.format(
73 self._run('echo out > {}/direction'.format(gpio_path))
75 self._run('echo {} > {}/value'.format(
79 self._run('echo {} > /sys/class/gpio/unexport'.format(
82 def _run(self, command): member in UsbPortManager
/external/autotest/client/cros/
Dbackchannel.py41 self._run = self.host.run
83 out = self._run(
101 self._run(cmd)
123 self._run('%s teardown %s' % (BACKCHANNEL_SCRIPT, self.interface))
150 result = self._run(
176 return self._run(cmd).stdout.split('\n')[0]
187 result = self._run('ping -c 1 %s' % dest, ignore_status=True)
/external/autotest/client/site_tests/kernel_fs_Punybench/
Dkernel_fs_Punybench.py27 def _run(self, cmd, args): member in kernel_fs_Punybench
115 result = self._run('memcpy', args)
147 result = self._run('memcpy_test', "")
181 result = self._run('threadtree', args)
202 result = self._run('uread', args)
220 result = self._run('ureadrand', args)
240 result = self._run('uwrite', args)
263 result = self._run('uwriterand', args)
285 result = self._run('uwritesync', args)
/external/tensorflow/tensorflow/contrib/opt/python/training/
Ddrop_stale_gradient_optimizer_test.py114 def _run(self, train_op, sess): member in DropStaleGradientOptimizerTest
179 target=self._run, args=(train_ops[0], sessions[0]))
181 target=self._run, args=(train_ops[1], sessions[1]))
210 target=self._run, args=(train_ops[0], sessions[0]))
212 target=self._run, args=(train_ops[1], sessions[1]))
241 target=self._run, args=(train_ops[0], sessions[0]))
243 target=self._run, args=(train_ops[1], sessions[1]))
245 target=self._run, args=(train_ops[2], sessions[2]))
276 target=self._run, args=(train_ops[0], sessions[0]))
278 target=self._run, args=(train_ops[1], sessions[1]))
[all …]
/external/autotest/server/cros/dynamic_suite/
Dfrontend_wrappers.py93 def _run(self, call, **dargs): function
127 return retry_util.GenericRetry(handler, max_retry, _run,
130 return retry_util.GenericRetry(handler, max_retry, _run,
171 def _run(self, call, **dargs): function
173 return _run(self, call, **dargs)
/external/tensorflow/tensorflow/contrib/lite/toco/python/
Dtoco_from_protos_test.py37 def _run(self, sess, in_tensor, out_tensor, should_succeed): member in TocoFromProtosTest
88 self._run(sess, img, out, True)
91 self._run(sess, img, out2, True)
93 self._run(sess, img, img, False)
/external/autotest/server/cros/
Dtradefed_test.py137 self._run('adb', verbose=True, args=('kill-server',))
160 result = self._run(
166 result = self._run('adb', args=('devices',))
175 result = self._run('adb', args=('shell', 'exit'), ignore_status=True)
204 self._run('adb', verbose=True, args=('keygen', pipes.quote(key_path)))
212 self._run('adb', verbose=True, args=('kill-server',))
237 result = self._run(
259 result = self._run(
539 self._run(
547 self._run(
[all …]

1234