Home
last modified time | relevance | path

Searched refs:capabilities (Results 1 – 25 of 408) sorted by relevance

12345678910>>...17

/external/deqp/framework/egl/
DegluNativeDisplay.cpp34 NativeDisplay::NativeDisplay (Capability capabilities, EGLenum platformType, const char* platformEx… in NativeDisplay() argument
35 : m_capabilities (capabilities) in NativeDisplay()
40 DE_ASSERT(capabilities & CAPABILITY_GET_DISPLAY_PLATFORM); in NativeDisplay()
43 NativeDisplay::NativeDisplay (Capability capabilities) in NativeDisplay() argument
44 : m_capabilities (capabilities) in NativeDisplay()
48 DE_ASSERT(!(capabilities & CAPABILITY_GET_DISPLAY_PLATFORM)); in NativeDisplay()
49 DE_ASSERT(capabilities & CAPABILITY_GET_DISPLAY_LEGACY); in NativeDisplay()
82 …ring& name, const std::string& description, NativeDisplay::Capability capabilities, EGLenum platfo… in NativeDisplayFactory() argument
84 , m_capabilities (capabilities) in NativeDisplayFactory()
89 DE_ASSERT(capabilities & NativeDisplay::CAPABILITY_GET_DISPLAY_PLATFORM); in NativeDisplayFactory()
[all …]
DegluNativePixmap.cpp33 NativePixmap::NativePixmap (Capability capabilities) in NativePixmap() argument
34 : m_capabilities(capabilities) in NativePixmap()
58 …ry (const std::string& name, const std::string& description, NativePixmap::Capability capabilities) in NativePixmapFactory() argument
60 , m_capabilities(capabilities) in NativePixmapFactory()
DegluNativeWindow.cpp33 NativeWindow::NativeWindow (Capability capabilities) in NativeWindow() argument
34 : m_capabilities(capabilities) in NativeWindow()
84 …ry (const std::string& name, const std::string& description, NativeWindow::Capability capabilities) in NativeWindowFactory() argument
86 , m_capabilities (capabilities) in NativeWindowFactory()
DegluNativeDisplay.hpp69 …NativeDisplay (Capability capabilities, eglw::EGLenum platformType, const char* platformExtensi…
70 NativeDisplay (Capability capabilities);
96 … (const std::string& name, const std::string& description, NativeDisplay::Capability capabilities);
97 …ring& name, const std::string& description, NativeDisplay::Capability capabilities, eglw::EGLenum …
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSurfaceTests.cpp424 …teSurfaceCapabilities (tcu::ResultCollector& results, const VkSurfaceCapabilitiesKHR& capabilities) in validateSurfaceCapabilities() argument
426 results.check(capabilities.minImageCount > 0, in validateSurfaceCapabilities()
429 results.check(capabilities.minImageExtent.width > 0 && in validateSurfaceCapabilities()
430 capabilities.minImageExtent.height > 0, in validateSurfaceCapabilities()
433 results.check(capabilities.maxImageExtent.width > 0 && in validateSurfaceCapabilities()
434 capabilities.maxImageExtent.height > 0, in validateSurfaceCapabilities()
437 results.check(capabilities.minImageExtent.width <= capabilities.maxImageExtent.width && in validateSurfaceCapabilities()
438 capabilities.minImageExtent.height <= capabilities.maxImageExtent.height, in validateSurfaceCapabilities()
441 if (capabilities.currentExtent.width != SURFACE_EXTENT_DETERMINED_BY_SWAPCHAIN_MAGIC || in validateSurfaceCapabilities()
442 capabilities.currentExtent.height != SURFACE_EXTENT_DETERMINED_BY_SWAPCHAIN_MAGIC) in validateSurfaceCapabilities()
[all …]
DvktWsiSwapchainTests.cpp351 const VkSurfaceCapabilitiesKHR& capabilities, in generateSwapchainParameterCases() argument
357 …ransform = (capabilities.supportedTransforms & VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR) ? VK_SURFACE… in generateSwapchainParameterCases()
364 capabilities.minImageCount, in generateSwapchainParameterCases()
368 ? capabilities.minImageExtent : capabilities.currentExtent), in generateSwapchainParameterCases()
385 …ToTest = de::clamp(16u, capabilities.minImageCount, (capabilities.maxImageCount > 0) ? capabilitie… in generateSwapchainParameterCases()
387 …for (deUint32 imageCount = capabilities.minImageCount; imageCount <= maxImageCountToTest; ++imageC… in generateSwapchainParameterCases()
425 …mageExtent.width = de::clamp(s_testSizes[ndx].width, capabilities.minImageExtent.width, capabiliti… in generateSwapchainParameterCases()
426 …eExtent.height = de::clamp(s_testSizes[ndx].height, capabilities.minImageExtent.height, capabiliti… in generateSwapchainParameterCases()
433 cases.back().imageExtent = capabilities.currentExtent; in generateSwapchainParameterCases()
439 cases.back().imageExtent = capabilities.minImageExtent; in generateSwapchainParameterCases()
[all …]
/external/ltp/testcases/kernel/security/filecaps/
DREADME1 POSIX capabilities are pieces of root privilege, for instance
7 A task's capabilities are set when it executes a new file, and
9 the task's new capabilities are a function of its previous
10 capabilities and the file's capabilities:
22 File capabilities are stored in extended attributes named
34 1. check that privilege is needed to set file capabilities
/external/squashfs-tools/squashfs-tools/
Dandroid.c47 const char *target_out_path, uint64_t *capabilities) { in android_fs_config() argument
53 &uid, &gid, &mode, capabilities); in android_fs_config()
104 struct vfs_cap_data set_caps(uint64_t capabilities) { in set_caps() argument
108 if (capabilities == 0) in set_caps()
112 cap_data.data[0].permitted = (uint32_t) capabilities; in set_caps()
114 cap_data.data[1].permitted = (uint32_t) (capabilities >> 32); in set_caps()
Dandroid.h22 unsigned *uid, unsigned *gid, unsigned *mode, uint64_t *capabilities);
25 …ig_func, const char *path, struct stat *stat, const char *target_out_path, uint64_t *capabilities);
28 struct vfs_cap_data set_caps(uint64_t capabilities);
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_QUERYCAP.c36 int valid_capabilities(__u32 capabilities) in valid_capabilities() argument
40 if ((capabilities & ~(V4L2_CAP_VIDEO_CAPTURE | in valid_capabilities()
82 cap.capabilities, in test_VIDIOC_QUERYCAP()
103 CU_ASSERT(valid_capabilities(cap.capabilities)); in test_VIDIOC_QUERYCAP()
122 cap2.capabilities = cap.capabilities; in test_VIDIOC_QUERYCAP()
Dtest_VIDIOC_REQBUFS.c57 (cap.capabilities & V4L2_CAP_STREAMING) && in do_VIDIOC_REQBUFS_capture_mmap()
58 (cap.capabilities & V4L2_CAP_VIDEO_CAPTURE)) { in do_VIDIOC_REQBUFS_capture_mmap()
61 CU_ASSERT(cap.capabilities & V4L2_CAP_STREAMING); in do_VIDIOC_REQBUFS_capture_mmap()
126 (cap.capabilities & V4L2_CAP_STREAMING) && in do_VIDIOC_REQBUFS_capture_userptr()
127 (cap.capabilities & V4L2_CAP_VIDEO_CAPTURE) && ret_req == 0) { in do_VIDIOC_REQBUFS_capture_userptr()
129 CU_ASSERT(cap.capabilities & V4L2_CAP_STREAMING); in do_VIDIOC_REQBUFS_capture_userptr()
191 (cap.capabilities & V4L2_CAP_STREAMING) && in do_VIDIOC_REQBUFS_output_mmap()
192 (cap.capabilities & V4L2_CAP_VIDEO_OUTPUT)) { in do_VIDIOC_REQBUFS_output_mmap()
195 CU_ASSERT(cap.capabilities & V4L2_CAP_STREAMING); in do_VIDIOC_REQBUFS_output_mmap()
260 (cap.capabilities & V4L2_CAP_STREAMING) && in do_VIDIOC_REQBUFS_output_userptr()
[all …]
Dtest_VIDIOC_QUERYBUF.c260 (cap.capabilities & V4L2_CAP_STREAMING) && in test_VIDIOC_QUERYBUF_capture_mmap()
261 (cap.capabilities & V4L2_CAP_VIDEO_CAPTURE)) { in test_VIDIOC_QUERYBUF_capture_mmap()
310 (cap.capabilities & V4L2_CAP_STREAMING) && in test_VIDIOC_QUERYBUF_capture_userptr()
311 (cap.capabilities & V4L2_CAP_VIDEO_CAPTURE) && ret_req == 0) { in test_VIDIOC_QUERYBUF_capture_userptr()
349 (cap.capabilities & V4L2_CAP_STREAMING) && in test_VIDIOC_QUERYBUF_output_mmap()
350 (cap.capabilities & V4L2_CAP_VIDEO_OUTPUT)) { in test_VIDIOC_QUERYBUF_output_mmap()
401 (cap.capabilities & V4L2_CAP_STREAMING) && in test_VIDIOC_QUERYBUF_output_userptr()
402 (cap.capabilities & V4L2_CAP_VIDEO_OUTPUT) && ret_req == 0) { in test_VIDIOC_QUERYBUF_output_userptr()
/external/libcap-ng/libcap-ng-0.7/
DChangeLog5 - In pscap, don't drop capabilities when running with capabilities
23 - Fix effective capabilities read from file descriptor
31 - Make pscap drop capabilities so its not listed in report
37 - Adjusted data read in for file based capabilities
45 - Remove capabilities v1 data handling from reading file attributes
52 - Use bit mask on effective capabilities check in have_capabilities
54 - In update function, reverse the order of bounding set vs capabilities
58 - If attr/xattr.h is not available disable file system capabilities
Dlibcap-ng.spec3 Summary: An alternate posix capabilities library
16 Libcap-ng is a library that makes using posix capabilities easier
42 Summary: Utilities for analyzing and setting file capabilities
48 posix capabilities of all the program running on a system. It also
49 lets you set the file system based capabilities.
/external/autotest/client/cros/cellular/
Dmodem1.py136 capabilities = props.get('SupportedCapabilities')
137 if self._IsCDMAModem(capabilities):
139 if self._Is3GPPModem(capabilities):
147 def _IsCDMAModem(self, capabilities): argument
148 return mm1_constants.MM_MODEM_CAPABILITY_CDMA_EVDO in capabilities
150 def _Is3GPPModem(self, capabilities): argument
151 for capability in capabilities:
181 capabilities = props.get('SupportedCapabilities')
182 if self._IsCDMAModem(capabilities):
184 elif self._Is3GPPModem(capabilities):
/external/libcap-ng/libcap-ng-0.7/utils/
Dfilecap.c35 static int show_all = 0, header = 0, capabilities = 0, cremove = 0; variable
139 capabilities = 1; in main()
142 capabilities = 1; in main()
167 }else if (path && capabilities == 0) { in main()
170 } else if (path && capabilities == 1) { in main()
Dproc-llist.c53 newnode->capabilities = node->capabilities; in list_append()
77 free(cur->capabilities); in list_clear()
/external/autotest/server/cros/
Dprovision.py168 capabilities = set()
179 capabilities.add(label)
181 return capabilities, configurations
358 capabilities, configurations = task.partition(labels)
360 for label in capabilities:
/external/autotest/server/site_tests/network_EthCapsServer/
Dcontrol7 PURPOSE = 'Verify that LAN devices have the required capabilities.'
10 1. Has Wake-on-LAN magic packet capabilities and successfully wakes from
20 This test checks ethernet capabilities of a device. See CRITERIA for more
/external/autotest/client/site_tests/camera_V4L2/src/
Dmedia_v4l2_device.cc62 if (!(cap.capabilities & V4L2_CAP_VIDEO_CAPTURE)) { in OpenDevice()
69 if (!(cap.capabilities & V4L2_CAP_READWRITE)) { in OpenDevice()
76 if (!(cap.capabilities & V4L2_CAP_STREAMING)) { in OpenDevice()
132 if (cap.capabilities & V4L2_CAP_TIMEPERFRAME) { in InitDevice()
760 if (cap->capabilities & V4L2_CAP_VIDEO_CAPTURE) in ProbeCaps()
762 if (cap->capabilities & V4L2_CAP_VIDEO_OUTPUT) in ProbeCaps()
764 if (cap->capabilities & V4L2_CAP_VIDEO_OVERLAY) in ProbeCaps()
766 if (cap->capabilities & V4L2_CAP_AUDIO) in ProbeCaps()
769 if (cap->capabilities & V4L2_CAP_READWRITE) in ProbeCaps()
771 if (cap->capabilities & V4L2_CAP_STREAMING) in ProbeCaps()
[all …]
Dmedia_v4l2_is_capture_device.cc28 is_capture_device = ((caps.capabilities & V4L2_CAP_VIDEO_CAPTURE) && in main()
29 !(caps.capabilities & V4L2_CAP_VIDEO_OUTPUT)); in main()
/external/swiftshader/src/D3D9/
DDirect3D9Ex.cpp211 …ong Direct3D9Ex::GetDeviceCaps(unsigned int adapter, D3DDEVTYPE deviceType, D3DCAPS9 *capabilities) in GetDeviceCaps() argument
213 … D3DDEVTYPE deviceType = %d, D3DCAPS9 *capabilities = 0x%0.8p", adapter, deviceType, capabilities); in GetDeviceCaps()
221 return d3d9ex->GetDeviceCaps(adapter, deviceType, capabilities); in GetDeviceCaps()
225 return GetDeviceCaps(adapter, D3DDEVTYPE_HAL, capabilities); in GetDeviceCaps()
229 long result = Direct3D9::GetDeviceCaps(adapter, deviceType, capabilities); in GetDeviceCaps()
233capabilities->PrimitiveMiscCaps |= D3DPMISCCAPS_POSTBLENDSRGBCONVERT; // Indicates device can pe… in GetDeviceCaps()
/external/deqp/external/vulkancts/framework/vulkan/
DvkWsiUtil.cpp264 VkSurfaceCapabilitiesKHR capabilities; in getPhysicalDeviceSurfaceCapabilities() local
266 deMemset(&capabilities, 0, sizeof(capabilities)); in getPhysicalDeviceSurfaceCapabilities()
268 VK_CHECK(vki.getPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, surface, &capabilities)); in getPhysicalDeviceSurfaceCapabilities()
270 return capabilities; in getPhysicalDeviceSurfaceCapabilities()
/external/llvm/test/tools/llvm-objdump/X86/
Dmacho-universal-x86_64.i386.test38 FAT: capabilities CPU_SUBTYPE_LIB64
45 FAT: capabilities 0x0
56 NON-VERBOSE: capabilities 0x80
63 NON-VERBOSE: capabilities 0x0
/external/ltp/testcases/kernel/security/securebits/
DREADME1 For more information on securebits, see the capabilities.7 manpage,
4 The "securebits" flags: establishing a capabilities-only environment

12345678910>>...17