Home
last modified time | relevance | path

Searched refs:source (Results 1 – 17 of 17) sorted by relevance

/kernel/syscalls/
A Dhandle_ops.cpp49 auto source = up->GetHandleLocked(handle_value); in handle_dup_replace() local
50 if (!source) in handle_dup_replace()
54 if (!source->HasRights(ZX_RIGHT_DUPLICATE)) in handle_dup_replace()
59 rights = source->rights(); in handle_dup_replace()
60 } else if ((source->rights() & rights) != rights) { in handle_dup_replace()
66 zx_status_t status = out->dup(source, rights); in handle_dup_replace()
A Dpriv.h35 zx_status_t dup(Handle* source, zx_rights_t rights) { in dup() argument
36 h_ = Handle::Dup(source, rights); in dup()
40 zx_status_t transfer(HandleOwner&& source) { in transfer() argument
41 h_.swap(source); in transfer()
A Dvmo.cpp296 auto source = up->GetHandleLocked(handle); in sys_vmo_replace_as_executable() local
297 if (!source) in sys_vmo_replace_as_executable()
306 if (source->dispatcher()->get_type() != ZX_OBJ_TYPE_VMO) in sys_vmo_replace_as_executable()
309 return out->dup(source, source->rights() | ZX_RIGHT_EXECUTE); in sys_vmo_replace_as_executable()
A Dport.cpp100 zx_status_t sys_port_cancel(zx_handle_t handle, zx_handle_t source, uint64_t key) { in sys_port_cancel() argument
110 Handle* watched = up->GetHandleLocked(source); in sys_port_cancel()
/kernel/arch/x86/include/arch/
A Darch_thread.h59 static inline void x86_set_suspended_general_regs(struct arch_thread *thread, uint32_t source, void… in x86_set_suspended_general_regs() argument
63 DEBUG_ASSERT(source != X86_GENERAL_REGS_NONE); in x86_set_suspended_general_regs()
64 thread->general_regs_source = source; in x86_set_suspended_general_regs()
/kernel/lib/gfx/
A Dgfx.cpp322 DEBUG_ASSERT(target->format == source->format); in gfx_surface_blend()
331 uint width = source->width; in gfx_surface_blend()
335 uint height = source->height; in gfx_surface_blend()
342 const uint16_t* src = static_cast<const uint16_t*>(source->ptr); in gfx_surface_blend()
345 uint source_stride_diff = source->stride - width; in gfx_surface_blend()
361 const uint32_t* src = static_cast<const uint32_t*>(source->ptr); in gfx_surface_blend()
364 uint source_stride_diff = source->stride - width; in gfx_surface_blend()
381 const uint32_t* src = static_cast<const uint32_t*>(source->ptr); in gfx_surface_blend()
384 uint source_stride_diff = source->stride - width; in gfx_surface_blend()
400 const uint8_t* src = static_cast<const uint8_t*>(source->ptr); in gfx_surface_blend()
[all …]
/kernel/lib/libc/include/
A Dcstdlib3 // Use of this source code is governed by a MIT-style
A Dlimits3 // Use of this source code is governed by a MIT-style
/kernel/object/
A Dhandle.cpp137 HandleOwner Handle::Dup(Handle* source, zx_rights_t rights) { in Dup() argument
139 void* addr = Alloc(source->dispatcher(), "duplicate", &base_value); in Dup()
145 return HandleOwner(new (addr) Handle(source, rights, base_value)); in Dup()
/kernel/target/pc/multiboot/
A Dmultiboot.ld3 * Use of this source code is governed by a MIT-style
/kernel/target/arm64/boot-shim/
A Dboot-shim.ld3 * Use of this source code is governed by a MIT-style
/kernel/lib/debugcommands/
A Ddebugcommands.cpp243 addr_t source = argv[1].u; in cmd_copy_mem() local
247 memcpy((void *)target, (const void *)source, len); in cmd_copy_mem()
/kernel/object/include/object/
A Dhandle.h137 static HandleOwner Dup(Handle* source, zx_rights_t rights);
/kernel/lib/gfx/include/lib/
A Dgfx.h81 void gfx_surface_blend(struct gfx_surface* target, struct gfx_surface* source, uint destx, uint des…
/kernel/dev/iommu/intel/
A Diommu_impl.cpp647 uint64_t source = rec_high.source_id(); in FaultHandler() local
653 source >> 8, (source >> 3) & 0x1f, source & 0x7, in FaultHandler()
/kernel/
A Dimage.ld2 * Use of this source code is governed by a BSD-style license that can be
A Dkernel.ld7 // Use of this source code is governed by a MIT-style
127 * All such uses in the source use sections named ".data.rel.ro.foo"

Completed in 52 milliseconds