Home
last modified time | relevance | path

Searched refs:GetFd (Results 1 – 15 of 15) sorted by relevance

/external/google-breakpad/src/client/linux/minidump_writer/
Dcpu_set_unittest.cc68 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); in TEST()
77 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); in TEST()
86 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); in TEST()
95 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); in TEST()
104 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); in TEST()
113 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); in TEST()
121 ASSERT_TRUE(set1.ParseSysFile(file1.GetFd())); in TEST()
127 ASSERT_TRUE(set2.ParseSysFile(file2.GetFd())); in TEST()
139 ASSERT_TRUE(set1.ParseSysFile(file1.GetFd())); in TEST()
150 ASSERT_TRUE(set1.ParseSysFile(file1.GetFd())); in TEST()
[all …]
Dproc_cpuinfo_reader_unittest.cc66 ProcCpuInfoReader reader(file.GetFd()); in TEST()
75 ProcCpuInfoReader reader(file.GetFd()); in TEST()
88 ProcCpuInfoReader reader(file.GetFd()); in TEST()
103 ProcCpuInfoReader reader(file.GetFd()); in TEST()
120 ProcCpuInfoReader reader(file.GetFd()); in TEST()
133 ProcCpuInfoReader reader(file.GetFd()); in TEST()
146 ProcCpuInfoReader reader(file.GetFd()); in TEST()
159 ProcCpuInfoReader reader(file.GetFd()); in TEST()
176 ProcCpuInfoReader reader(file.GetFd()); in TEST()
189 ProcCpuInfoReader reader(file.GetFd()); in TEST()
Dline_reader_unittest.cc60 LineReader reader(file.GetFd()); in TEST()
70 LineReader reader(file.GetFd()); in TEST()
86 LineReader reader(file.GetFd()); in TEST()
102 LineReader reader(file.GetFd()); in TEST()
124 LineReader reader(file.GetFd()); in TEST()
148 LineReader reader(file.GetFd()); in TEST()
164 LineReader reader(file.GetFd()); in TEST()
/external/drm_hwcomposer/drm/
DDrmDevice.cpp65 int ret = drmSetClientCap(GetFd(), DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1); in Init()
71 ret = drmSetClientCap(GetFd(), DRM_CLIENT_CAP_ATOMIC, 1); in Init()
78 ret = drmSetClientCap(GetFd(), DRM_CLIENT_CAP_WRITEBACK_CONNECTORS, 1); in Init()
85 if (drmGetCap(GetFd(), DRM_CAP_ADDFB2_MODIFIERS, &cap_value) != 0) { in Init()
91 drmSetMaster(GetFd()); in Init()
92 if (drmIsMaster(GetFd()) == 0) { in Init()
97 auto res = MakeDrmModeResUnique(GetFd()); in Init()
139 auto plane_res = MakeDrmModePlaneResUnique(GetFd()); in Init()
164 int ret = drmIoctl(GetFd(), DRM_IOCTL_MODE_CREATEPROPBLOB, &create_blob); in RegisterUserPropertyBlob()
174 int err = drmIoctl(GetFd(), DRM_IOCTL_MODE_DESTROYPROPBLOB, in RegisterUserPropertyBlob()
[all …]
DDrmFbImporter.cpp52 err = drmPrimeFDToHandle(drm.GetFd(), bo->prime_fds[i], in CreateInstance()
76 err = drmModeAddFB2(drm.GetFd(), bo->width, bo->height, bo->format, in CreateInstance()
80 err = drmModeAddFB2WithModifiers(drm.GetFd(), bo->width, bo->height, in CreateInstance()
98 if (drmModeRmFB(drm_->GetFd(), fb_id_) != 0) { in ~DrmFbIdHandle()
119 int32_t err = drmIoctl(drm_->GetFd(), DRM_IOCTL_GEM_CLOSE, &gem_close); in ~DrmFbIdHandle()
130 int32_t err = drmPrimeFDToHandle(drm_->GetFd(), bo->prime_fds[0], in GetOrCreateFbId()
DDrmConnector.cpp66 auto conn = MakeDrmModeConnectorUnique(dev.GetFd(), connector_id); in CreateInstance()
113 return MakeDrmModePropertyBlobUnique(drm_->GetFd(), blob_id); in GetEdidBlob()
162 auto conn = MakeDrmModeConnectorUnique(drm_->GetFd(), GetId()); in UpdateModes()
DDrmAtomicStateManager.cpp139 return drmModeAtomicCommit(drm->GetFd(), pset.get(), in CommitFrame()
160 int err = drmModeAtomicCommit(drm->GetFd(), pset.get(), flags, drm); in CommitFrame()
282 return drmModeConnectorSetProperty(pipe_->device->GetFd(), in ActivateDisplayUsingDPMS()
DDrmEncoder.cpp32 auto e = MakeDrmModeEncoderUnique(dev.GetFd(), encoder_id); in CreateInstance()
DDrmCrtc.cpp38 auto crtc = MakeDrmModeCrtcUnique(dev.GetFd(), crtc_id); in CreateInstance()
DDrmDevice.h43 auto GetFd() const { in GetFd() function
DVSyncWorker.cpp131 ret = drmWaitVBlank(pipe->device->GetFd(), &vblank); in Routine()
DDrmPlane.cpp34 auto p = MakeDrmModePlaneUnique(dev.GetFd(), plane_id); in CreateInstance()
/external/google-breakpad/src/common/linux/tests/
Dauto_testfile.h87 int GetFd() { in GetFd() function
/external/libcap/go/
Dcompare-cap.go112 if got, err := cap.GetFd(f); err == nil {
124 if got, err := cap.GetFd(f); err != nil {
/external/libcap/cap/
Dfile.go134 func GetFd(file *os.File) (*Set, error) { func