Searched refs:guard (Results 1 - 25 of 46) sorted by relevance

12

/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Dguarded.h49 const guardid_t *guard, u_int guardflags, int flags, ...);
51 const guardid_t *guard, u_int guardflags, int flags,
53 extern int guarded_kqueue_np(const guardid_t *guard, u_int guardflags);
54 extern int guarded_close_np(int fd, const guardid_t *guard);
55 extern int change_fdguard_np(int fd, const guardid_t *guard, u_int guardflags,
57 extern user_ssize_t guarded_write_np(int fd, const guardid_t *guard, user_addr_t cbuf, user_size_t nbyte);
58 extern user_ssize_t guarded_pwrite_np(int fd, const guardid_t *guard, user_addr_t buf, user_size_t nbyte, off_t offset);
59 extern user_ssize_t guarded_writev_np(int fd, const guardid_t *guard, struct iovec *iovp, u_int iovcnt);
70 * File descriptor guard flavors.
101 * Violating a guard result
[all...]
/macosx-10.10.1/xnu-2782.1.97/libsyscall/wrappers/
H A Dguarded_open_dprotected_np.c30 const guardid_t *guard, u_int guardflags, int flags, int dpclass, int dpflags, int mode);
34 const guardid_t *guard, u_int guardflags, int flags, int dpclass, int dpflags, ...)
44 return (__guarded_open_dprotected_np(path, guard, guardflags, flags, dpclass, dpflags, mode));
33 guarded_open_dprotected_np(const char *path, const guardid_t *guard, u_int guardflags, int flags, int dpclass, int dpflags, ...) argument
H A Dguarded_open_np.c30 const guardid_t *guard, u_int guardflags, int flags, int mode);
34 const guardid_t *guard, u_int guardflags, int flags, ...)
44 return (__guarded_open_np(path, guard, guardflags, flags, mode));
33 guarded_open_np(const char *path, const guardid_t *guard, u_int guardflags, int flags, ...) argument
/macosx-10.10.1/Heimdal-398.1.2/lib/wind/
H A Dgenerate.py61 """Return a name to be used as ifdef guard"""
67 self.guard = self.makeGuard()
68 self.file.write('#ifndef ' + self.guard + '\n')
69 self.file.write('#define ' + self.guard + ' 1\n')
73 self.file.write('#endif /* ' + self.guard + ' */\n')
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Duipc_domain.c235 domain_guard_t guard; local
239 guard = domain_guard_deploy();
299 domain_guard_release(guard);
310 domain_guard_t guard; local
314 guard = domain_guard_deploy();
348 domain_guard_release(guard);
422 domain_guard_t guard; local
428 guard = domain_guard_deploy();
536 domain_guard_release(guard);
585 domain_guard_t guard; local
664 domain_guard_t guard; local
693 domain_guard_t guard; local
765 domain_guard_t guard; local
787 domain_guard_t guard; local
803 domain_guard_t guard; local
819 domain_guard_t guard; local
862 domain_guard_t guard; local
899 domain_guard_t guard; local
921 domain_guard_t guard; local
1013 domain_guard_release(domain_guard_t guard) argument
[all...]
H A Dkern_guarded.c133 fp_lookup_guarded(proc_t p, int fd, guardid_t guard, argument
150 if (guard != gfp->gf_guard) {
204 * operation that violated the guard on this fd;
208 "fd %d code 0x%x guard 0x%llx\n",
223 "fd %d code 0x%x guard 0x%llx\n",
265 * | [63:61] guard type | [60:0] guard-specific data |
270 * | [63:0] guard-specific data |
273 * At the moment, we have just one guard type: file
286 * | [63:0] guard valu
[all...]
/macosx-10.10.1/libauto-186/
H A DLocks.h153 Sentinel(sentinel_t &guard) : _guard(guard) { argument
159 inline static boolean_t is_guarded(sentinel_t &guard) { return guard != 0; } argument
160 inline static void assert_guarded(sentinel_t &guard) { assert(is_guarded(guard)); } argument
H A DThread.h239 Sentinel guard(_localsGuard);
402 Sentinel guard(_localsGuard);
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/namespacex/
H A Dnamespacex.tcl29 # on - ditto for separate guard and action command prefixes.
30 # If the guard fails it chains via next, otherwise the
31 # action runs. The action can asume that the guard checked for proper
110 return -code error "wrong\#args, should be \"?namespace? guard action\""
112 lassign $args namespace guard action
114 lassign $args guard action
118 add $namespace [list ::apply [list {guard action args} {
119 if {![{*}$guard {*}$args]} {
124 } [namespace current]] $guard $action]
/macosx-10.10.1/SmartcardCCID-55008/ccid/ccid/
H A Dylwrap40 # guard FILE
42 # The CPP macro used to guard inclusion of FILE.
43 guard () function
132 # guard in its implementation file.
152 sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;"
/macosx-10.10.1/xnu-2782.1.97/osfmk/mach/
H A Dmach_port.defs560 * Destroys a mach port using the guard provided
569 guard : mach_port_context_t
571 guard : uint64_t
578 * port structure to store the guard.
584 guard : mach_port_context_t;
586 guard : uint64_t;
599 guard : mach_port_context_t
601 guard : uint64_t
H A Dmach_traps.h240 uint64_t guard
246 uint64_t guard,
253 uint64_t guard
691 PAD_ARG_(uint64_t, guard);
699 PAD_ARG_(uint64_t, guard);
708 PAD_ARG_(uint64_t, guard);
/macosx-10.10.1/cups-408/cups/cups/
H A Dstring.c95 DEBUG_printf(("5_cupsStrAlloc: Using string %p(%s) for \"%s\", guard=%08x, "
96 "ref_count=%d", item, item->str, s, item->guard,
99 if (item->guard != _CUPS_STR_GUARD)
125 item->guard = _CUPS_STR_GUARD;
127 DEBUG_printf(("5_cupsStrAlloc: Created string %p(%s) for \"%s\", guard=%08x, "
128 "ref_count=%d", item, item->str, s, item->guard,
322 if (key->guard != _CUPS_STR_GUARD)
324 DEBUG_printf(("5_cupsStrFree: Freeing string %p(%s), guard=%08x, "
325 "ref_count=%d", key, key->str, key->guard, key->ref_count));
374 if (item->guard !
[all...]
H A Dstring-private.h66 unsigned int guard; /* Guard word */ member in struct:_cups_sp_item_s
/macosx-10.10.1/xnu-2782.1.97/libsyscall/mach/
H A Dmach_port.c539 mach_port_context_t guard)
543 rv = _kernelrpc_mach_port_destruct_trap(task, name, srdelta, (uint64_t) guard);
546 rv = _kernelrpc_mach_port_destruct(task, name, srdelta, (uint64_t) guard);
556 mach_port_context_t guard,
561 rv = _kernelrpc_mach_port_guard_trap(task, name, (uint64_t) guard, strict);
564 rv = _kernelrpc_mach_port_guard(task, name, (uint64_t) guard, strict);
574 mach_port_context_t guard)
578 rv = _kernelrpc_mach_port_unguard_trap(task, name, (uint64_t) guard);
581 rv = _kernelrpc_mach_port_unguard(task, name, (uint64_t) guard);
535 mach_port_destruct( ipc_space_t task, mach_port_name_t name, mach_port_delta_t srdelta, mach_port_context_t guard) argument
553 mach_port_guard( ipc_space_t task, mach_port_name_t name, mach_port_context_t guard, boolean_t strict) argument
571 mach_port_unguard( ipc_space_t task, mach_port_name_t name, mach_port_context_t guard) argument
/macosx-10.10.1/JavaScriptCore-7600.1.17/replay/scripts/
H A DCodeGeneratorReplayInputs.py224 def __init__(self, name, description, queueString, flags, guard=None):
229 self.guard = guard
284 def __init__(self, name, mode, framework, header, enclosing_class, values, guard_values_map, underlying_storage, flags, guard=None):
294 self.guard = guard
453 guard = json.get('guard', None)
454 _type = Type(type_name, type_mode, framework, header, enclosing_class, enum_values, guarded_enum_values, type_storage, type_flags, guard)
467 _input = Input(json['name'], json['description'], json['queue'], json.get('flags', []), json.get('guard'))
[all...]
/macosx-10.10.1/xnu-2782.1.97/osfmk/ipc/
H A Dipc_right.h143 uint64_t guard);
165 uint64_t guard);
H A Dmach_kernelrpc.c306 rv = mach_port_destruct(task->itk_space, args->name, args->srdelta, args->guard);
323 rv = mach_port_guard(task->itk_space, args->name, args->guard, args->strict);
340 rv = mach_port_unguard(task->itk_space, args->name, args->guard);
H A Dmach_port.c1151 /* For strictly guarded ports, return empty context (which acts as guard) */
2135 * Sets a new guard for a locked port.
2140 * KERN_INVALID_ARGUMENT Port already contains a context/guard.
2145 uint64_t guard,
2151 port->ip_context = guard;
2160 * Removes guard for a locked port.
2165 * KERN_INVALID_ARGUMENT Port is either unguarded already or guard mismatch.
2172 uint64_t guard)
2177 mach_port_guard_exception(name, guard, 0, kGUARD_EXC_UNGUARDED);
2181 if (port->ip_context != guard) {
2143 mach_port_guard_locked( ipc_port_t port, uint64_t guard, boolean_t strict) argument
2169 mach_port_unguard_locked( ipc_port_t port, mach_port_name_t name, uint64_t guard) argument
2389 mach_port_destruct( ipc_space_t space, mach_port_name_t name, mach_port_delta_t srdelta, uint64_t guard) argument
2430 mach_port_guard( ipc_space_t space, mach_port_name_t name, uint64_t guard, boolean_t strict) argument
2474 mach_port_unguard( ipc_space_t space, mach_port_name_t name, uint64_t guard) argument
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/include/security_codesigning/
H A Dsignerutils.cpp178 UidGuard guard(0);
289 UidGuard guard; local
290 if (!guard.seteuid(0))
291 guard.seteuid(st.st_uid);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_codesigning/lib/
H A Dsignerutils.cpp178 UidGuard guard(0);
289 UidGuard guard; local
290 if (!guard.seteuid(0))
291 guard.seteuid(st.st_uid);
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/docstrip/
H A Ddocstrip_util.tcl21 namespace export ddt2man guard patch thefile
53 set guard ""
54 regexp -- {(^%<[^>]*>)(.*)$} $line "" guard line
55 append res \[ [list emph $guard] \]\
/macosx-10.10.1/ruby-106/ruby/ext/socket/
H A Dmkconstants.rb64 guard = nil
67 guard = "defined(INET6)"
69 yield guard, make_value, name, default_value
81 % each_const {|guard, make_value, name, default_value|
104 % each_const {|guard, make_value, name, default_value|
105 % if guard
106 #if <%=guard%>
153 ERB.new(<<'EOS', nil, '%').def_method(Object, "gen_name_to_int_decl(funcname, pat, prefix_optional, guard=nil)")
154 %if guard
155 #ifdef <%=guard
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/net/
H A Dkpi_protocol.c108 domain_guard_t guard; local
121 guard = domain_guard_deploy();
126 domain_guard_release(guard);
/macosx-10.10.1/llvmCore-3425.0.34/lib/ExecutionEngine/JIT/
H A DJIT.cpp235 MutexGuard guard(Lock);
239 MutexGuard guard(Lock);
243 MutexGuard guard(Lock);

Completed in 294 milliseconds

12