/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/pigweed/pw_presubmit/py/ |
D | keep_sorted_test.py | 38 def _run(self, contents: str) -> None: member in TestKeepSorted 74 self._run(f'{START}\n') 78 self._run(f'{END}: end\n') 82 self._run(f'{START}\n{START}\n') 86 self._run(f'{START} foo bar baz\n2\n1\n{END}\n') 90 self._run(f'{START} ignore-case ignore-case\n2\n1\n{END}\n') 93 self._run(f'{START}\n1\n2\n3\n4\n{END}\n') 98 self._run(f'{START}\n4\n3\n2\n1\n{END}\n') 103 self._run(f'foo\nbar\n{START}\n1\n2\n{END}\n') 108 self._run(f'foo\nbar\n{START}\n2\n1\n{END}\n') [all …]
|
D | gitmodules_test.py | 52 def _run(self, config: gitmodules.Config, contents: str) -> None: member in TestGitmodules 64 self._run(gitmodules.Config(), dotgitmodules(url='../foo')) 76 self._run(cfg, dotgitmodules(url='../foo')) 86 self._run(cfg, dotgitmodules(host='host')) 96 self._run(cfg, dotgitmodules(host='badhost')) 103 self._run(cfg, dotgitmodules(url='https://github.com/foo/bar')) 110 self._run(cfg, dotgitmodules(url='https://github.com/foo/bar')) 118 self._run(cfg, dotgitmodules()) 125 self._run(cfg, dotgitmodules()) 134 self._run(cfg, dotgitmodules(host='pigweed-internal')) [all …]
|
D | bazel_parser_test.py | 86 def _run(self, contents: str) -> None: member in TestBazelParser 97 self._run('[0/10] foo\n[1/10] bar\n' + error + _STOP) 103 self._run('[0/10] foo\n[1/10] bar\n' + error_in + _STOP) 108 self._run('[0/10] foo\n[1/10] bar\n' + error) 112 self._run(_REAL_TEST_INPUT)
|
/external/autotest/client/common_lib/cros/ |
D | virtual_ethernet_pair.py | 84 self._run = utils.run 87 self._run = host.run 131 status = self._run(self._ns_exec + command, ignore_status=True) 133 status = self._run(command, ignore_status=True) 143 status = self._run(command, ignore_status=True) 151 status = self._run(command, ignore_status=True) 162 status = self._run(self._ns_exec + command, ignore_status=True) 179 self._run(self._ns_exec + command, ignore_status=True) 181 self._run(command, ignore_status=True) 183 self._run('iptables -w -D FORWARD -i %s -j ACCEPT' % [all …]
|
D | kernel_utils.py | 22 def _run(cmd, host=None): function 46 rootdev = _run(['rootdev','-s', '-d'], host).stdout.strip() 47 return int(_run(['cgpt', 'show', '-n', '-i', str(kernel['kernel']), flag, 57 rootdev = _run(['rootdev','-s'], host).stdout.strip() 157 _run('cgpt show $(rootdev -s -d)', host) 159 _run('crossystem --all', host) 169 services_status = _run(['status', 'system-services'], host).stdout 184 active = _run(['crossystem', 'minios_priority'], host).stdout.strip() 199 active = _run(['crossystem', 'minios_priority'], host).stdout.strip()
|
/external/tensorflow/tensorflow/lite/python/ |
D | tflite_convert_test.py | 51 def _run(self, member in TestModels 106 def _run(self, member in TfLiteConvertV1Test 112 super(TfLiteConvertV1Test, self)._run(flags_str, should_succeed, 130 self._run(flags_str, should_succeed=True) 152 self._run(flags_str, should_succeed=True) 168 self._run(flags_str, should_succeed=True) 192 self._run(flags_str, should_succeed=True) 218 self._run(flags_str_1, should_succeed=True) 222 self._run(flags_str_2, should_succeed=True) 238 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() 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() 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() argument 175 } _run; typedef in glcts::TessellationShaderTrianglesIdenticalTriangles 177 typedef std::vector<_run> _runs; 228 typedef struct _run struct in glcts::TessellationShaderTrianglesInnerTessellationLevelRounding 240 _run() in _run() argument 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() 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() 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() argument 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() 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);
|
D | esextcTessellationShaderPoints.hpp | 192 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/tensorflow/tensorflow/python/eager/ |
D | benchmarks_test.py | 142 def _run(self, func, num_iters, execution_mode=None): member in MicroBenchmarks 147 self._run(func, 30000) 158 self._run(func, 30000) 177 self._run(func, 3000) 205 self._run(func, 30000) 215 self._run(func, 30000) 290 self._run(func, 30000) 294 self._run(func, 30000) 298 self._run(func, 30000) 303 self._run(func, num_iters) [all …]
|
/external/python/setuptools/setuptools/_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/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/autotest/client/cros/update_engine/ |
D | update_engine_util.py | 120 self._run = run_func 274 status = self._run([self._UPDATE_ENGINE_CLIENT_CMD, '--status'], 341 self._run([self._UPDATE_ENGINE_CLIENT_CMD, feature_request]) 502 self._run(cmd, ignore_status=False) 519 self._run(cmd) 530 self._run(['restart', 'update-engine'], ignore_status=ignore_status) 557 return self._run(cmd, timeout=timeout, 576 return self._run(['cat', log_file]).stdout 598 self._run(['mkdir', os.path.dirname(self._CUSTOM_LSB_RELEASE)], 600 self._run(['touch', self._CUSTOM_LSB_RELEASE]) [all …]
|
/external/autotest/server/cros/ |
D | provisioner.py | 243 def _run(self, cmd, *args, **kwargs): member in ChromiumOSProvisioner 253 return self._run('rootdev %s' % options).stdout.strip() 257 self._run('stop ui || true') 258 self._run('stop update-engine || true; start update-engine') 271 self._run(cmd) 279 self._run('echo %s > %s' % (version_number, _TARGET_VERSION)) 285 return self._run('/postinst %s 2>&1' % part) 314 first_line = self._run(fetch_script).stdout.strip() 345 self._run('touch %s' % PROVISION_FAILED) 371 self._run('curl -s -o /dev/null %s' % gs_cache_url) [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/igt-gpu-tools/benchmarks/ezbench.d/ |
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 …]
|
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 ; }"
|
/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 …]
|
/external/autotest/client/common_lib/cros/cfm/usb/ |
D | usb_port_manager.py | 111 gpiochips = self._run( 120 gpiochip_controller = self._run( 125 gpiochip_base_index = self._run( 154 self._run('echo {} > /sys/class/gpio/export'.format( 157 self._run('echo out > {}/direction'.format(gpio_path)) 159 self._run('echo {} > {}/value'.format( 163 self._run('echo {} > /sys/class/gpio/unexport'.format( 176 self._run(cmd) 193 def _run(self, command): member in UsbPortManager
|
/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() function 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() argument 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/ |
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)
|