/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
D | linux_based_platform_backend_unittest.py | 34 def SetMockFileInBackend(self, backend, real_file, mock_file): argument 36 backend.SetMockFile(mock_file, f.read()) 43 backend = TestBackend() 44 self.SetMockFileInBackend(backend, 'proc_meminfo', '/proc/meminfo') 45 result = backend.GetSystemCommitCharge() 54 backend = TestBackend() 55 self.SetMockFileInBackend(backend, 'proc_meminfo', '/proc/meminfo') 56 result = backend.GetSystemTotalPhysicalMemory() 65 backend = TestBackend() 66 self.SetMockFileInBackend(backend, 'stat', '/proc/1/stat') [all …]
|
D | android_platform_backend_unittest.py | 48 backend = android_platform_backend.AndroidPlatformBackend( 50 self.assertTrue(backend.IsSvelte()) 56 backend = android_platform_backend.AndroidPlatformBackend( 58 self.assertFalse(backend.IsSvelte()) 70 backend = android_platform_backend.AndroidPlatformBackend( 72 cpu_stats = backend.GetCpuStats('7702') 80 backend = android_platform_backend.AndroidPlatformBackend( 82 cpu_stats = backend.GetCpuStats('7702') 109 backend = android_platform_backend.AndroidPlatformBackend( 112 backend.InstallTestCa('testca.pem') [all …]
|
D | posix_platform_backend_unittest.py | 31 backend = TestBackend() 32 backend.SetMockPsOutput(['1 0 S', '2 1 R', '3 2 S', '4 1 R', '5 4 R']) 33 result = backend.GetChildPids(1) 37 backend = TestBackend() 38 backend.SetMockPsOutput(['1 0 S', '2 1 R', '3 2 S', '4 1 R', '5 4 R']) 39 result = backend.GetChildPids(6) 43 backend = TestBackend() 44 backend.SetMockPsOutput(['1 0 S', '2 1 R', '3 2 S', '4 1 R', '5 4 Z']) 45 result = backend.GetChildPids(1) 49 backend = TestBackend() [all …]
|
/external/mesa3d/src/gbm/main/ |
D | backend.c | 52 load_backend(const struct backend_desc *backend) in load_backend() argument 60 if (backend == NULL) in load_backend() 63 name = backend->name; in load_backend() 65 if (backend->builtin) { in load_backend() 66 init = backend->builtin; in load_backend() 91 const struct backend_desc *backend = NULL; in find_backend() local 96 backend = &backends[i]; in find_backend() 101 return backend; in find_backend() 107 const struct gbm_backend *backend = NULL; in _gbm_create_device() local 114 backend = load_backend(find_backend(b)); in _gbm_create_device() [all …]
|
/external/skia/bench/ |
D | RefCntBench.cpp | 21 bool isSuitableFor(Backend backend) override { in isSuitableFor() argument 22 return backend == kNonRendering_Backend; in isSuitableFor() 45 bool isSuitableFor(Backend backend) override { in isSuitableFor() argument 46 return backend == kNonRendering_Backend; in isSuitableFor() 67 bool isSuitableFor(Backend backend) override { in isSuitableFor() argument 68 return backend == kNonRendering_Backend; in isSuitableFor() 101 bool isSuitableFor(Backend backend) override { in isSuitableFor() argument 102 return backend == kNonRendering_Backend; in isSuitableFor() 128 bool isSuitableFor(Backend backend) override { in isSuitableFor() argument 129 return backend == kNonRendering_Backend; in isSuitableFor() [all …]
|
D | Sk4fBench.cpp | 29 bool isSuitableFor(Backend backend) override { return backend == kNonRendering_Backend; } in isSuitableFor() 47 bool isSuitableFor(Backend backend) override { return backend == kNonRendering_Backend; } in isSuitableFor() 61 bool isSuitableFor(Backend backend) override { return backend == kNonRendering_Backend; } in isSuitableFor()
|
D | GrMemoryPoolBench.cpp | 37 bool isSuitableFor(Backend backend) override { in isSuitableFor() argument 38 return backend == kNonRendering_Backend; in isSuitableFor() 99 bool isSuitableFor(Backend backend) override { in isSuitableFor() argument 100 return backend == kNonRendering_Backend; in isSuitableFor() 147 bool isSuitableFor(Backend backend) override { in isSuitableFor() argument 148 return backend == kNonRendering_Backend; in isSuitableFor()
|
D | PDFBench.cpp | 45 bool isSuitableFor(Backend backend) override { in isSuitableFor() argument 46 return backend == kNonRendering_Backend; in isSuitableFor() 87 bool isSuitableFor(Backend backend) override { in isSuitableFor() argument 88 return backend == kNonRendering_Backend; in isSuitableFor() 128 bool isSuitableFor(Backend backend) override { in isSuitableFor() argument 129 return backend == kNonRendering_Backend; in isSuitableFor()
|
D | MathBench.cpp | 41 bool isSuitableFor(Backend backend) override { in isSuitableFor() argument 42 return backend == kNonRendering_Backend; in isSuitableFor() 285 bool isSuitableFor(Backend backend) override { in isSuitableFor() argument 286 return backend == kNonRendering_Backend; in isSuitableFor() 353 bool isSuitableFor(Backend backend) override { in isSuitableFor() argument 354 return backend == kNonRendering_Backend; in isSuitableFor() 414 bool isSuitableFor(Backend backend) override { in isSuitableFor() argument 415 return backend == kNonRendering_Backend; in isSuitableFor() 470 bool isSuitableFor(Backend backend) override { in isSuitableFor() argument 471 return backend == kNonRendering_Backend; in isSuitableFor() [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/ |
D | tracing_backend_unittest.py | 118 backend = tracing_backend.TracingBackend(self._inspector_socket) 123 backend._CollectTracingData(10) 124 self.assertEqual(2, len(backend._trace_events)) 125 self.assertFalse(backend._has_received_all_tracing_data) 133 backend = tracing_backend.TracingBackend(self._inspector_socket) 135 backend._CollectTracingData(10) 136 self.assertEqual(2, len(backend._trace_events)) 137 self.assertTrue(backend._has_received_all_tracing_data) 146 backend = tracing_backend.TracingBackend(self._inspector_socket) 148 backend._CollectTracingData(10) [all …]
|
D | memory_backend_unittest.py | 76 backend = memory_backend.MemoryBackend(self._inspector_socket) 78 backend.SetMemoryPressureNotificationsSuppressed(True) 82 backend.SetMemoryPressureNotificationsSuppressed(False) 88 backend = memory_backend.MemoryBackend(self._inspector_socket) 99 backend.SetMemoryPressureNotificationsSuppressed(True) 110 backend.SetMemoryPressureNotificationsSuppressed, True) 116 backend = memory_backend.MemoryBackend(self._inspector_socket) 118 backend.SimulateMemoryPressureNotification('critical') 123 backend.SimulateMemoryPressureNotification('moderate') 130 backend = memory_backend.MemoryBackend(self._inspector_socket) [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/ |
D | codepen_credentials_backend_unittest.py | 16 backend = codepen_credentials_backend.CodePenCredentialsBackend() 17 self._LoginUsingMock(backend, backend.url, backend.login_input_id, 18 backend.password_input_id, backend.login_form_id, 19 backend.logged_in_javascript)
|
D | google_credentials_backend_unittest.py | 16 backend = google_credentials_backend.GoogleCredentialsBackend() 17 self._LoginUsingMock(backend, backend.url, backend.login_input_id, 18 backend.password_input_id, backend.login_form_id, 19 backend.logged_in_javascript)
|
D | facebook_credentials_backend_unittest.py | 16 backend = facebook_credentials_backend.FacebookCredentialsBackend() 17 self._LoginUsingMock(backend, backend.url, backend.login_input_id, 18 backend.password_input_id, backend.login_form_id, 19 backend.logged_in_javascript)
|
/external/wpa_supplicant_8/src/utils/ |
D | ext_password.c | 31 const struct ext_password_backend *backend; member 36 struct ext_password_data * ext_password_init(const char *backend, in ext_password_init() argument 47 if (os_strcmp(backends[i]->name, backend) == 0) { in ext_password_init() 48 data->backend = backends[i]; in ext_password_init() 53 if (!data->backend) { in ext_password_init() 58 data->priv = data->backend->init(params); in ext_password_init() 70 if (data && data->backend && data->priv) in ext_password_deinit() 71 data->backend->deinit(data->priv); in ext_password_deinit() 81 return data->backend->get(data->priv, name); in ext_password_get()
|
/external/selinux/libselinux/utils/ |
D | selabel_lookup.c | 35 int raw = 0, type = 0, backend = 0, rc, opt; in main() local 51 backend = SELABEL_CTX_FILE; in main() 53 backend = SELABEL_CTX_MEDIA; in main() 55 backend = SELABEL_CTX_X; in main() 57 backend = SELABEL_CTX_DB; in main() 59 backend = SELABEL_CTX_ANDROID_PROP; in main() 89 hnd = selabel_open(backend, selabel_option, 2); in main()
|
D | selabel_digest.c | 62 int backend = 0, rc, opt, i, validate = 0; in main() local 86 backend = SELABEL_CTX_FILE; in main() 88 backend = SELABEL_CTX_MEDIA; in main() 90 backend = SELABEL_CTX_X; in main() 92 backend = SELABEL_CTX_DB; in main() 94 backend = SELABEL_CTX_ANDROID_PROP; in main() 124 hnd = selabel_open(backend, selabel_option, 3); in main()
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/ |
D | android_dumpsys_power_monitor_unittest.py | 52 backend = pm_mock.MockPlatformBackend() 53 pm = android_dumpsys_power_monitor.DumpsysPowerMonitor(battery, backend) 64 backend = pm_mock.MockPlatformBackend() 65 pm = android_dumpsys_power_monitor.DumpsysPowerMonitor(battery, backend) 74 backend = pm_mock.MockPlatformBackend() 75 pm = android_dumpsys_power_monitor.DumpsysPowerMonitor(battery, backend) 83 backend = pm_mock.MockPlatformBackend() 84 pm = android_dumpsys_power_monitor.DumpsysPowerMonitor(battery, backend)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/ |
D | browser_credentials.py | 35 for backend in backends: 36 self._backends[backend.credentials_type] = backend 38 def AddBackend(self, backend): argument 39 assert backend.credentials_type not in self._backends 40 self._backends[backend.credentials_type] = backend 92 for backend in self._backends.keys(): 94 self._backends[backend]._ResetLoggedInState()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/winedlls/dxgi/ |
D | dxgi_dll.c | 223 struct WineDXGIBackend* backend = HeapAlloc(GetProcessHeap(), 0, sizeof(struct WineDXGIBackend)); in new_WineDXGIBackend() local 224 backend->ref = 1; in new_WineDXGIBackend() 225 backend->vtbl_IGalliumDXGIBackend = &WineDXGIBackend_vtbl; in new_WineDXGIBackend() 226 return (IGalliumDXGIBackend*)backend; in new_WineDXGIBackend() 231 IGalliumDXGIBackend* backend = new_WineDXGIBackend(); in install_wine_dxgi_backend() local 241 GalliumDXGIUseX11Display(dpy, backend); in install_wine_dxgi_backend() 244 backend->lpVtbl->Release(backend); in install_wine_dxgi_backend()
|
/external/chromium-trace/catapult/third_party/webapp2/tests/ |
D | extras_appengine_sessions_ndb_test.py | 34 session = store.get_session(backend='datastore') 53 session = store.get_session(backend='datastore') 70 session = store.get_session(backend='datastore') 87 session = store.get_session(backend='datastore') 101 session = store.get_session(backend='datastore') 116 session = store.get_session(backend='datastore') 137 session = store.get_session(backend='datastore') 155 session = store.get_session(backend='datastore')
|
D | extras_appengine_sessions_memcache_test.py | 27 session = store.get_session(backend='memcache') 46 session = store.get_session(backend='memcache') 63 session = store.get_session(backend='memcache') 77 session = store.get_session(backend='memcache') 92 session = store.get_session(backend='memcache') 113 session = store.get_session(backend='memcache') 131 session = store.get_session(backend='memcache')
|
/external/skia/src/gpu/ |
D | GrGpuFactory.cpp | 28 GrGpu* GrGpu::Create(GrBackend backend, in Create() argument 32 SkASSERT((int)backend < kBackendCount); in Create() 33 if (!gGpuFactories[backend]) { in Create() 36 return (gGpuFactories[backend])(backendContext, options, context); in Create()
|
/external/libselinux/src/ |
D | label.c | 66 struct selabel_handle *selabel_open(unsigned int backend, in selabel_open() argument 72 if (backend >= ARRAY_SIZE(initfuncs)) { in selabel_open() 77 if (initfuncs[backend] == NULL) in selabel_open() 85 rec->backend = backend; in selabel_open() 88 if ((*initfuncs[backend])(rec, opts, nopts)) { in selabel_open()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_swtnl_draw.c | 140 svga->swtnl.backend = svga_vbuf_render_create(svga); in svga_init_swtnl() 141 if(!svga->swtnl.backend) in svga_init_swtnl() 153 draw_vbuf_stage( svga->swtnl.draw, svga->swtnl.backend )); in svga_init_swtnl() 155 draw_set_render(svga->swtnl.draw, svga->swtnl.backend); in svga_init_swtnl() 167 if (svga->swtnl.backend) in svga_init_swtnl() 168 svga->swtnl.backend->destroy( svga->swtnl.backend ); in svga_init_swtnl()
|