Home
last modified time | relevance | path

Searched refs:access (Results 101 - 125 of 2536) sorted by relevance

12345678910>>...102

/third_party/skia/docs/examples/
H A DCanvas_accessTopLayerPixels_b.cpp17 uint32_t* access = (uint32_t*) canvas->accessTopLayerPixels(&imageInfo, &rowBytes, &origin); in REG_FIDDLE() local
18 if (access) { in REG_FIDDLE()
32 if (access[y * rowWords + x] == SK_ColorBLACK) { in REG_FIDDLE()
33 access[newY * rowWords + newX] = SK_ColorGRAY; in REG_FIDDLE()
/third_party/protobuf/src/google/protobuf/io/
H A Dio_win32_unittest.cc35 // Unit tests for long-path-aware open/mkdir/access/etc. on Windows, as well as
301 EXPECT_EQ(access(test_tmpdir.c_str(), F_OK), 0); in TEST_F()
302 EXPECT_EQ(access(path.c_str(), F_OK), 0); in TEST_F()
303 EXPECT_EQ(access(path.c_str(), W_OK), 0); in TEST_F()
304 EXPECT_EQ(access(file.c_str(), F_OK | W_OK), 0); in TEST_F()
305 EXPECT_NE(access((file + ".blah").c_str(), F_OK), 0); in TEST_F()
306 EXPECT_NE(access((file + ".blah").c_str(), W_OK), 0); in TEST_F()
308 EXPECT_EQ(access(".", F_OK), 0); in TEST_F()
309 EXPECT_EQ(access(".", W_OK), 0); in TEST_F()
310 EXPECT_EQ(access((test_tmpdi in TEST_F()
[all...]
/foundation/multimedia/av_codec/test/unittest/demuxer_test/
H A Ddemuxer_hevc_unit_test.cpp141 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F()
160 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F()
179 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F()
198 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F()
217 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F()
268 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F()
319 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F()
338 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F()
357 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F()
377 if (access(HEVC_LIB_PAT in HWTEST_F()
[all...]
/third_party/node/deps/v8/src/compiler/
H A Dload-elimination.cc7 #include "src/compiler/access-builder.h"
648 // If not, a partially overlapping access has invalidated part of the value. in LookupField()
907 FieldAccess const& access) { in ReduceLoadField()
913 if (access.offset == HeapObject::kMapOffset && in ReduceLoadField()
914 access.base_is_tagged == kTaggedBase) { in ReduceLoadField()
915 DCHECK(IsAnyTagged(access.machine_type.representation())); in ReduceLoadField()
924 IndexRange field_index = FieldIndexOf(access); in ReduceLoadField()
927 access.machine_type.representation(); in ReduceLoadField()
929 state->LookupField(object, field_index, access.const_field_info); in ReduceLoadField()
930 if (!lookup_result && access in ReduceLoadField()
906 ReduceLoadField(Node* node, FieldAccess const& access) ReduceLoadField() argument
970 ReduceStoreField(Node* node, FieldAccess const& access) ReduceStoreField() argument
1062 ElementAccess const& access = ElementAccessOf(node->op()); ReduceLoadElement() local
1104 ElementAccess const& access = ElementAccessOf(node->op()); ReduceStoreElement() local
1335 FieldAccess access = FieldAccessOf(current->op()); ComputeLoopState() local
1413 FieldIndexOf( FieldAccess const& access) FieldIndexOf() argument
[all...]
/foundation/filemanagement/app_file_service/tests/unittests/backup_tools/backup_tool/
H A Dtools_op_test.cpp171 if (access(incrementalpath.c_str(), F_OK) == 0) { in HWTEST_F()
176 if (access(wholePath.c_str(), F_OK) == 0) { in HWTEST_F()
183 if (access(incrementalpath.c_str(), F_OK) != 0) { in HWTEST_F()
188 if (access(wholePath.c_str(), F_OK) != 0) { in HWTEST_F()
193 if (access(incrementalpath.c_str(), F_OK) == 0) { in HWTEST_F()
196 if (access(wholePath.c_str(), F_OK) != 0) { in HWTEST_F()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dtrace.h169 TP_PROTO(unsigned long addr, unsigned long access, unsigned long trap),
170 TP_ARGS(addr, access, trap),
173 __field(unsigned long, access)
179 __entry->access = access;
183 TP_printk("hash fault with addr 0x%lx and access = 0x%lx trap = 0x%lx",
184 __entry->addr, __entry->access, __entry->trap)
/kernel/linux/linux-6.6/include/rdma/
H A Dib_umem.h107 size_t size, int access);
147 int fd, int access,
152 int access);
163 int access) in ib_umem_get()
188 int access, in ib_umem_dmabuf_get()
195 size_t size, int fd, int access) in ib_umem_dmabuf_get_pinned()
161 ib_umem_get(struct ib_device *device, unsigned long addr, size_t size, int access) ib_umem_get() argument
185 ib_umem_dmabuf_get(struct ib_device *device, unsigned long offset, size_t size, int fd, int access, struct dma_buf_attach_ops *ops) ib_umem_dmabuf_get() argument
194 ib_umem_dmabuf_get_pinned(struct ib_device *device, unsigned long offset, size_t size, int fd, int access) ib_umem_dmabuf_get_pinned() argument
/kernel/linux/linux-6.6/drivers/hwmon/pmbus/
H A Dmax15301.c34 ktime_t access; /* Chip access time */ member
62 s64 delta = ktime_us_delta(ktime_get(), data->access); in max15301_wait()
84 data->access = ktime_get(); in max15301_read_word_data()
100 data->access = ktime_get(); in max15301_read_byte_data()
120 data->access = ktime_get(); in max15301_write_word_data()
136 data->access = ktime_get(); in max15301_write_byte()
/third_party/node/deps/v8/src/base/
H A Dpage-allocator.cc47 PageAllocator::Permission access) { in AllocatePages()
52 if (access == PageAllocator::kNoAccessWillJitLater) { in AllocatePages()
53 access = PageAllocator::kNoAccess; in AllocatePages()
57 static_cast<base::OS::MemoryPermission>(access)); in AllocatePages()
147 PageAllocator::Permission access) { in SetPermissions()
149 address, size, static_cast<base::OS::MemoryPermission>(access)); in SetPermissions()
46 AllocatePages(void* hint, size_t size, size_t alignment, PageAllocator::Permission access) AllocatePages() argument
146 SetPermissions(void* address, size_t size, PageAllocator::Permission access) SetPermissions() argument
H A Dvirtual-address-space-page-allocator.cc16 PageAllocator::Permission access) { in AllocatePages()
19 static_cast<PagePermissions>(access))); in AllocatePages()
55 void* address, size_t size, PageAllocator::Permission access) { in SetPermissions()
57 static_cast<PagePermissions>(access)); in SetPermissions()
14 AllocatePages( void* hint, size_t size, size_t alignment, PageAllocator::Permission access) AllocatePages() argument
54 SetPermissions( void* address, size_t size, PageAllocator::Permission access) SetPermissions() argument
/kernel/linux/linux-6.6/drivers/clocksource/
H A Darm_arch_timer.c126 void arch_timer_reg_write(int access, enum arch_timer_reg reg, u64 val, in arch_timer_reg_write() argument
129 if (access == ARCH_TIMER_MEM_PHYS_ACCESS) { in arch_timer_reg_write()
145 } else if (access == ARCH_TIMER_MEM_VIRT_ACCESS) { in arch_timer_reg_write()
159 arch_timer_reg_write_cp15(access, reg, val); in arch_timer_reg_write()
164 u32 arch_timer_reg_read(int access, enum arch_timer_reg reg, in arch_timer_reg_read() argument
169 if (access == ARCH_TIMER_MEM_PHYS_ACCESS) { in arch_timer_reg_read()
178 } else if (access == ARCH_TIMER_MEM_VIRT_ACCESS) { in arch_timer_reg_read()
188 val = arch_timer_reg_read_cp15(access, reg); in arch_timer_reg_read()
233 * Default to cp15 based access because arm64 uses this function for
421 void erratum_set_next_event_generic(const int access, unsigne argument
665 timer_handler(const int access, struct clock_event_device *evt) timer_handler() argument
709 arch_timer_shutdown(const int access, struct clock_event_device *clk) arch_timer_shutdown() argument
741 set_next_event(const int access, unsigned long evt, struct clock_event_device *clk) set_next_event() argument
787 set_next_event_mem(const int access, unsigned long evt, struct clock_event_device *clk) set_next_event_mem() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawImageObjectUtil.cpp526 void Image::uploadVolume(const tcu::ConstPixelBufferAccess& access, in uploadVolume() argument
537 upload(queue, allocator, layout, offset, access.getWidth(), in uploadVolume()
538 access.getHeight(), access.getDepth(), mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_3D, in uploadVolume()
539 access.getDataPtr()); in uploadVolume()
543 uploadUsingBuffer(queue, allocator, layout, offset, access.getWidth(), in uploadVolume()
544 access.getHeight(), access.getDepth(), mipLevel, arrayElement, aspect, access.getDataPtr()); in uploadVolume()
548 void Image::uploadSurface (const tcu::ConstPixelBufferAccess& access, in uploadSurface() argument
570 uploadSurface1D(const tcu::ConstPixelBufferAccess& access, vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurface1D() argument
592 uploadSurfaceLinear(const tcu::ConstPixelBufferAccess& access, vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurfaceLinear() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawImageObjectUtil.cpp526 void Image::uploadVolume(const tcu::ConstPixelBufferAccess& access, in uploadVolume() argument
537 upload(queue, allocator, layout, offset, access.getWidth(), in uploadVolume()
538 access.getHeight(), access.getDepth(), mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_3D, in uploadVolume()
539 access.getDataPtr()); in uploadVolume()
543 uploadUsingBuffer(queue, allocator, layout, offset, access.getWidth(), in uploadVolume()
544 access.getHeight(), access.getDepth(), mipLevel, arrayElement, aspect, access.getDataPtr()); in uploadVolume()
548 void Image::uploadSurface (const tcu::ConstPixelBufferAccess& access, in uploadSurface() argument
570 uploadSurface1D(const tcu::ConstPixelBufferAccess& access, vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurface1D() argument
592 uploadSurfaceLinear(const tcu::ConstPixelBufferAccess& access, vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurfaceLinear() argument
[all...]
/third_party/cups-filters/filter/foomatic-rip/
H A Dspooler.c113 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile()
117 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile()
120 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile()
123 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile()
126 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile()
129 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile()
132 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile()
/kernel/linux/linux-5.10/sound/core/
H A Dcontrol.c189 * @access: the default access flags for elements in this control
194 * access permissions (@access). Each element is locked when @file is given.
199 unsigned int access, struct snd_ctl_file *file) in snd_ctl_new()
211 (*kctl)->vd[idx].access = access; in snd_ctl_new()
225 * template. When the access field of ncontrol is 0, it's assumed as
226 * READWRITE access. When the count field is 0, it's assumes as one.
235 unsigned int access; in snd_ctl_new1() local
198 snd_ctl_new(struct snd_kcontrol **kctl, unsigned int count, unsigned int access, struct snd_ctl_file *file) snd_ctl_new() argument
1420 unsigned int access; snd_ctl_elem_add() local
[all...]
/kernel/linux/linux-6.6/drivers/iommu/iommufd/
H A Dselftest.c604 struct iommufd_access *access; member
650 iommufd_access_unpin_pages(staccess->access, item->iova, in iommufd_test_access_unmap()
672 iommufd_access_unpin_pages(staccess->access, item->iova, in iommufd_test_access_item_destroy()
690 if (staccess->access) { in iommufd_test_staccess_release()
692 iommufd_access_destroy(staccess->access); in iommufd_test_staccess_release()
739 struct iommufd_access *access; in iommufd_test_create_access() local
757 access = iommufd_access_create( in iommufd_test_create_access()
763 if (IS_ERR(access)) { in iommufd_test_create_access()
764 rc = PTR_ERR(access); in iommufd_test_create_access()
767 rc = iommufd_access_attach(access, ioas_i in iommufd_test_create_access()
[all...]
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/
H A Dcoresight-catu.h45 * Bit 0: 0 - Unprivileged access, 1 - Privileged access
46 * Bit 1: 0 - Secure access, 1 - Non-secure access.
47 * Bit 2: 0 - Data access, 1 - instruction access.
49 * CATU AXICTRL:ARPROT[2] is res0 as we always access data.
73 return csdev_access_relaxed_read32(&drvdata->csdev->access, offset); \
78 csdev_access_relaxed_write32(&drvdata->csdev->access, val, offset); \
85 return csdev_access_relaxed_read_pair(&drvdata->csdev->access, lo_of
[all...]
/kernel/liteos_a/testsuites/unittest/container/smoke/
H A DIt_container_chroot_001.cpp47 ret = access(ACCESS_FILE_NAME, F_OK); in ChildFunc()
57 ret = access(ACCESS_FILE_NAME, F_OK); in ChildFunc()
62 ret = access(MNT_ACCESS_FILE_NAME, F_OK); in ChildFunc()
98 ret = access(ACCESS_FILE_NAME, F_OK); in ItContainerChroot001()
/third_party/ltp/testcases/kernel/containers/mqns/
H A Dmqns_04.c89 if (access(MQUEUE1, F_OK)) in run()
100 if (access(MQUEUE1, F_OK)) in run()
122 if (!access(MQUEUE1, F_OK)) in cleanup()
125 if (!access(MQUEUE2, F_OK)) in cleanup()
/third_party/ltp/testcases/kernel/syscalls/unlinkat/
H A Dunlinkat01.c58 if (access(testfile2, F_OK)) in run()
62 if (access(testfile3, F_OK)) in run()
66 if (access(subpathdir, F_OK)) in run()
70 if (access(testfile, F_OK)) in run()
/third_party/lwip/src/include/lwip/apps/
H A Dsnmp_scalar.h56 snmp_access_t access; member
66 #define SNMP_SCALAR_CREATE_NODE(oid, access, asn1_type, get_value_method, set_test_method, set_value_method) \
70 (asn1_type), (access), (get_value_method), (set_test_method), (set_value_method) }
79 snmp_access_t access; member
/kernel/linux/linux-5.10/arch/s390/mm/
H A Dfault.c97 /* access register mode, not used in the kernel */ in get_fault_type()
100 /* home space exception -> access via kernel ASCE */ in get_fault_type()
179 pr_cont("access register "); in dump_fault_info()
262 * Oops. The kernel tried to access some bad page. We'll have to in do_no_context()
279 NULL pointer write access in kernel mode. */ in do_low_address()
319 static noinline void do_fault_error(struct pt_regs *regs, int access, in do_fault_error() argument
326 if (access == VM_EXEC && signal_return(regs) == 0) in do_fault_error()
330 /* Bad memory access. Check if it is kernel or user space. */ in do_fault_error()
382 static inline vm_fault_t do_exception(struct pt_regs *regs, int access) in do_exception() argument
433 access in do_exception()
529 int access; do_protection_exception() local
565 int access; do_dat_exception() local
[all...]
/kernel/linux/linux-5.10/sound/i2c/other/
H A Dak4114.c325 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
333 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
341 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
349 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
357 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
364 .access = SNDRV_CTL_ELEM_ACCESS_READ,
371 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
379 .access = SNDRV_CTL_ELEM_ACCESS_READ,
386 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
393 .access
[all...]
/kernel/linux/linux-6.6/sound/i2c/other/
H A Dak4114.c326 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
334 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
342 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
350 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
358 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
365 .access = SNDRV_CTL_ELEM_ACCESS_READ,
372 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
380 .access = SNDRV_CTL_ELEM_ACCESS_READ,
387 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
394 .access
[all...]
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
H A Dpaging_tmpl.h19 * We need the mmu code to access both 32-bit and 64-bit guest ptes,
105 static inline void FNAME(protect_clean_gpte)(struct kvm_mmu *mmu, unsigned *access, in protect_clean_gpte() argument
117 /* Allow write access to dirty gptes */ in protect_clean_gpte()
120 *access &= mask; in protect_clean_gpte()
216 unsigned access; in gpte_access() local
218 access = ((gpte & VMX_EPT_WRITABLE_MASK) ? ACC_WRITE_MASK : 0) | in gpte_access()
224 access = gpte & (PT_WRITABLE_MASK | PT_USER_MASK | PT_PRESENT_MASK); in gpte_access()
226 access ^= (gpte >> PT64_NX_SHIFT); in gpte_access()
229 return access; in gpte_access()
310 gpa_t addr, u32 access) in walk_addr_generic()
308 walk_addr_generic(struct guest_walker *walker, struct kvm_vcpu *vcpu, struct kvm_mmu *mmu, gpa_t addr, u32 access) walk_addr_generic() argument
510 walk_addr(struct guest_walker *walker, struct kvm_vcpu *vcpu, gpa_t addr, u32 access) walk_addr() argument
518 walk_addr_nested(struct guest_walker *walker, struct kvm_vcpu *vcpu, gva_t addr, u32 access) walk_addr_nested() argument
637 unsigned int direct_access, access; fetch() local
961 gva_to_gpa(struct kvm_vcpu *vcpu, gpa_t addr, u32 access, struct x86_exception *exception) gva_to_gpa() argument
981 gva_to_gpa_nested(struct kvm_vcpu *vcpu, gpa_t vaddr, u32 access, struct x86_exception *exception) gva_to_gpa_nested() argument
[all...]

Completed in 19 milliseconds

12345678910>>...102