/external/perfetto/ui/src/controller/ |
D | controller_unittest.ts | 22 const _run = jest.fn(); constant 32 return _run(this.type); 52 _run.mockClear(); 53 _run.mockReset(); 59 expect(_run).toHaveBeenCalledTimes(1); 60 expect(_run).toHaveBeenCalledWith('root'); 65 _run.mockImplementation(() => { 73 expect(_run).toHaveBeenCalledTimes(3); 74 expect(_run).toHaveBeenCalledWith('root'); 80 _run.mockImplementation((type: string) => { [all …]
|
/external/autotest/client/common_lib/cros/ |
D | virtual_ethernet_pair.py | 80 self._run = utils.run 83 self._run = host.run 114 status = self._run('iptables -w -I INPUT -i %s -j ACCEPT' % name, 129 self._run('iptables -w -D INPUT -i %s -j ACCEPT' % name, 227 self._run('ip link set %s down' % self._interface_name, 229 self._run('ip link set %s down' % self._peer_interface_name, 231 self._run('ip link delete %s >/dev/null 2>&1' % self._interface_name, 238 self._run('ip link delete %s >/dev/null 2>&1' % 247 self._run('ip link add name %s ' 250 self._run('ip link set %s up' % self._interface_name) [all …]
|
D | kernel_utils.py | 20 def _run(cmd, host=None): function 44 rootdev = _run(['rootdev','-s', '-d'], host).stdout.strip() 45 return int(_run(['cgpt', 'show', '-n', '-i', str(kernel['kernel']), flag, 55 rootdev = _run(['rootdev','-s'], host).stdout.strip() 150 _run('cgpt show $(rootdev -s -d)', host) 152 _run('crossystem --all', host) 162 services_status = _run(['status', 'system-services'], host).stdout
|
/external/autotest/server/site_tests/platform_CrashStateful/ |
D | platform_CrashStateful.py | 29 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/tensorflow/tensorflow/lite/python/ |
D | tflite_convert_test.py | 54 def _run(self, member in TestModels 109 def _run(self, member in TfLiteConvertV1Test 115 super(TfLiteConvertV1Test, self)._run(flags_str, should_succeed, 133 self._run(flags_str, should_succeed=True) 155 self._run(flags_str, should_succeed=True) 171 self._run(flags_str, should_succeed=True) 195 self._run(flags_str, should_succeed=True) 221 self._run(flags_str_1, should_succeed=True) 225 self._run(flags_str_2, should_succeed=True) 241 self._run(flags_str, should_succeed=True) [all …]
|
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderQuads.hpp | 86 typedef struct _run struct in glcts::TessellationShaderQuadsDegenerateCase 95 _run() in _run() argument 103 } _run; typedef in glcts::TessellationShaderQuadsDegenerateCase 105 typedef std::vector<_run> _runs; 165 typedef struct _run struct in glcts::TessellationShaderQuadsInnerTessellationLevelRounding 177 _run() in _run() argument 187 } _run; typedef in glcts::TessellationShaderQuadsInnerTessellationLevelRounding 189 typedef std::vector<_run> _runs;
|
D | esextcTessellationShaderTriangles.hpp | 155 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;
|
D | esextcTessellationShaderTessellation.hpp | 104 typedef struct _run struct in glcts::TessellationShaderTessellationInputPatchDiscard 111 _run() in _run() function 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() argument 221 } _run; typedef in glcts::TessellationShaderTessellationgl_InvocationID_PatchVerticesIn_PrimitiveID 224 typedef std::vector<_run> _runs; [all …]
|
D | esextcTessellationShaderTCTE.hpp | 124 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() function 265 } _run; typedef in glcts::TessellationShaderTCTEgl_MaxPatchVertices_Position_PointSize 268 typedef std::vector<_run> _runs; [all …]
|
D | esextcTessellationShaderVertexSpacing.hpp | 88 typedef struct _run struct in glcts::TessellationShaderVertexSpacing 100 _run() in _run() argument 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);
|
D | esextcTessellationShaderPoints.hpp | 192 typedef struct _run struct in glcts::TessellationShaderPointsVerification 199 _run() in _run() argument 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/python/cpython3/Lib/distutils/tests/ |
D | test_check.py | 24 def _run(self, metadata=None, cwd=None, **options): member in CheckTestCase 45 cmd = self._run() 54 cmd = self._run(metadata) 59 self.assertRaises(DistutilsSetupError, self._run, {}, **{'strict': 1}) 62 cmd = self._run(metadata, strict=1) 71 cmd = self._run(metadata) 103 self.assertRaises(DistutilsSetupError, self._run, metadata, 108 cmd = self._run(metadata, strict=1, restructuredtext=1) 113 cmd = self._run(metadata, cwd=HERE, strict=1, restructuredtext=1) 155 self.assertRaises(DistutilsSetupError, self._run,
|
/external/tensorflow/tensorflow/python/eager/ |
D | benchmarks_test.py | 152 def _run(self, func, num_iters, execution_mode=None): member in MicroBenchmarks 157 self._run(func, 30000) 168 self._run(func, 30000) 187 self._run(func, 3000) 214 self._run(func, 30000) 223 self._run(func, 30000) 298 self._run(func, 30000) 302 self._run(func, 30000) 306 self._run(func, 30000) 311 self._run(func, num_iters) [all …]
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_check.py | 21 def _run(self, metadata=None, **options): member in CheckTestCase 37 cmd = self._run() 46 cmd = self._run(metadata) 51 self.assertRaises(DistutilsSetupError, self._run, {}, **{'strict': 1}) 54 cmd = self._run(metadata, strict=1) 63 cmd = self._run(metadata) 95 self.assertRaises(DistutilsSetupError, self._run, metadata, 100 cmd = self._run(metadata, strict=1, restructuredtext=1) 142 self.assertRaises(DistutilsSetupError, self._run,
|
/external/autotest/client/common_lib/cros/cfm/usb/ |
D | usb_port_manager.py | 85 gpiochips = self._run( 94 gpiochip_controller = self._run( 99 gpiochip_base_index = self._run( 128 self._run('echo {} > /sys/class/gpio/export'.format( 131 self._run('echo out > {}/direction'.format(gpio_path)) 133 self._run('echo {} > {}/value'.format( 137 self._run('echo {} > /sys/class/gpio/unexport'.format( 150 self._run(cmd) 167 def _run(self, command): member in UsbPortManager
|
/external/igt-gpu-tools/benchmarks/ezbench.d/ |
D | gem_busy.test | 8 eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_busy $mode -e $ring -r \$1 ; }" 12 eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_busy $mode -f -e $ring -r \$1 ; }" 16 eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_busy $mode -w -e $ring -r \$1 ; }" 20 eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_busy $mode -w -f -e $ring -r \$1 ; }" 24 eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_busy $mode -d -e $ring -r \$1 ; }" 28 eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_busy $mode -d -f -e $ring -r \$1 ; }" 32 eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_busy $mode -s -e $ring -r \$1 ; }" 36 eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_busy $mode -s -f -e $ring -r \$1 ; }"
|
D | gem_latency.test | 17 eval "${name}_run() { __gem:dispatch__ \$1 $n 1 1 ; } " 24 eval "${name}_run() { __gem:dispatch__ \$1 0 $p 1 ; } " 30 eval "${name}_run() { __gem:dispatch__ \$1 8 $p 5 ; } " 42 eval "${name}_run() { __gem:latency:wait__ \$1 $p ; } " 46 eval "${name}_run() { __gem:latency:wait__ \$1 $p -F ; } " 58 eval "${name}_run() { __gem:latency:cpu__ \$1 $p ; } " 62 eval "${name}_run() { __gem:latency:cpu__ \$1 $p -F ; } " 74 eval "${name}_run() { __gem:latency:herd__ \$1 $p ; } " 78 eval "${name}_run() { __gem:latency:herd__ \$1 $p -F ; } " 90 eval "${name}_run() { __gem:latency:realtime__ \$1 $p ; } " [all …]
|
/external/autotest/server/cros/ |
D | provisioner.py | 238 def _run(self, cmd, *args, **kwargs): member in ChromiumOSProvisioner 248 return self._run('rootdev %s' % options).stdout.strip() 252 self._run('stop ui || true') 253 self._run('stop update-engine || true; start update-engine') 266 self._run(cmd) 274 self._run('echo %s > %s' % (version_number, _TARGET_VERSION)) 280 return self._run('/postinst %s 2>&1' % part) 309 first_line = self._run(fetch_script).stdout.strip() 340 self._run('touch %s' % PROVISION_FAILED) 366 self._run('curl -s -o /dev/null %s' % gs_cache_url) [all …]
|
/external/autotest/client/common_lib/cros/network/ |
D | iw_runner.py | 280 self._run = utils.run 283 self._run = remote_host.run 415 self._run('%s phy %s interface add %s type %s' % 426 self._run('%s dev %s disconnect' % (self._command_iw, interface)) 436 result = self._run('%s dev %s link' % 473 result = self._run('%s dev %s link' % (self._command_iw, interface), 504 result = self._run('%s dev %s station dump' % 563 ret = self._run('%s dev %s info' % (self._command_iw, interface)) 587 ret = self._run('%s dev %s info' % (self._command_iw, interface)) 610 self._run('%s dev %s ibss join %s %d' % [all …]
|
D | interface.py | 142 self._run = self.host.run 167 result = self._run('ip addr show %s 2> /dev/null' % self._name, 206 readlink_result = self._run('readlink "%s"' % 218 module_readlink_result = self._run('readlink "%s"' % 232 path_readlink_result = self._run('readlink "%s"' % self.device_path) 244 read_file = (lambda path: self._run('cat "%s"' % path).stdout.rstrip() 292 kernel_release = self._run('uname -r').stdout.strip() 295 module_path = self._run('find %s -name %s.ko -printf %%P' % ( 323 result = self._run('ip addr show %s 2> /dev/null' % self._name, 356 result = self._run(command, ignore_status=True) [all …]
|
/external/autotest/client/cros/ |
D | backchannel.py | 42 self._run = self.host.run 84 out = self._run( 102 self._run(cmd) 124 self._run('%s teardown %s' % (BACKCHANNEL_SCRIPT, self.interface)) 152 result = self._run('ethtool %s' % BACKCHANNEL_IFACE_NAME, 178 result = self._run('udevadm info -q property /sys/class/net/%s' % iface, 207 return self._run(cmd).stdout.split('\n')[0] 218 result = self._run('ping -c 1 %s' % dest, ignore_status=True)
|
/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderLinking.hpp | 86 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/cros/update_engine/ |
D | dlc_util.py | 40 self._run = run_func 68 status = self._run([self._DLCSERVICE_UTIL_CMD, '--list']) 84 self._run(cmd, timeout=timeout) 99 self._run(cmd, ignore_status=ignore_status) 112 self._run(cmd, ignore_status=ignore_status)
|
D | update_engine_util.py | 100 self._run = run_func 232 status = self._run([self._UPDATE_ENGINE_CLIENT_CMD, '--status'], 441 self._run(cmd, ignore_status=False) 458 self._run(cmd) 469 self._run(['restart', 'update-engine'], ignore_status=ignore_status) 496 return self._run(cmd, timeout=timeout, 515 return self._run(['cat', log_file]).stdout 535 self._run(['mkdir', os.path.dirname(self._CUSTOM_LSB_RELEASE)], 537 self._run(['touch', self._CUSTOM_LSB_RELEASE]) 538 self._run(['echo', 'CHROMEOS_RELEASE_VERSION=%s' % build, '>', [all …]
|
/external/tensorflow/tensorflow/python/eager/benchmarks/ |
D | kpi_benchmark_test.py | 73 def _run(self, func, num_iters): member in KpiBenchmarks 86 self._run(fn, NUM_ITERATIONS) 95 self._run(fn, NUM_ITERATIONS) 104 self._run(fn, NUM_ITERATIONS) 117 self._run(fn, NUM_ITERATIONS)
|