/macosx-10.9.5/ruby-104/ruby/lib/rake/ |
H A D | task_manager.rb | 28 task = intern(task_class, task_name) 29 task.set_arg_names(arg_names) unless arg_names.empty? 31 add_location(task) 32 task.add_description(get_description(task)) 34 task.enhance(deps, &block) 37 # Lookup a task. Return an existing task if found, otherwise 38 # create a task of the current type. 43 # Find a matching task fo [all...] |
H A D | packagetask.rb | 1 # Define a package task library to aid in the definition of 9 # Create a packaging task that will package the project into 99 # Create the tasks defined by this task library. 105 task :package 108 task :repackage => [:clobber_package, :package] 111 task :clobber_package do 115 task :clobber => [:clobber_package] 123 task :package => ["#{package_dir}/#{file}"] 133 task :package => ["#{package_dir}/#{zip_file}"]
|
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/ |
H A D | ratelimiter_test.c | 24 #include <isc/task.h> 36 static void utick(isc_task_t *task, isc_event_t *event); 37 static void shutdown_rl(isc_task_t *task, isc_event_t *event); 38 static void shutdown_all(isc_task_t *task, isc_event_t *event); 62 ltick(isc_task_t *task, isc_event_t *event) { argument 63 UNUSED(task); 71 utick(isc_task_t *task, isc_event_t *event) { argument 73 UNUSED(task); 82 shutdown_rl(isc_task_t *task, isc_event_t *event) { argument 83 UNUSED(task); 90 shutdown_all(isc_task_t *task, isc_event_t *event) argument [all...] |
H A D | sock_test.c | 28 #include <isc/task.h> 37 my_shutdown(isc_task_t *task, isc_event_t *event) { argument 40 printf("shutdown %s (%p)\n", name, task); 46 my_send(isc_task_t *task, isc_event_t *event) { argument 53 printf("my_send: %s task %p\n\t(sock %p, base %p, length %d, n %d, " 55 (char *)(event->ev_arg), task, sock, 61 isc_task_shutdown(task); 70 my_recv(isc_task_t *task, isc_event_t *event) { argument 103 isc_task_shutdown(task); 117 isc_socket_send(sock, ®ion, task, my_sen 130 my_http_get(isc_task_t *task, isc_event_t *event) argument 156 my_connect(isc_task_t *task, isc_event_t *event) argument 191 my_listen(isc_task_t *task, isc_event_t *event) argument 239 timeout(isc_task_t *task, isc_event_t *event) argument [all...] |
/macosx-10.9.5/xnu-2422.115.4/libsyscall/mach/ |
H A D | exc_catcher.c | 46 mach_port_t task, 61 return (*exc_raise_func)(exception_port, thread, task, exception, code, codeCnt); 64 return catch_exception_raise(exception_port, thread, task, exception, code, codeCnt); 43 internal_catch_exception_raise( mach_port_t exception_port, mach_port_t thread, mach_port_t task, exception_type_t exception, exception_data_t code, mach_msg_type_number_t codeCnt) argument
|
/macosx-10.9.5/xnu-2422.115.4/osfmk/vm/ |
H A D | vm_shared_region.h | 158 struct task *task, 163 struct task *task); 165 struct task *task); 177 struct task *task, 214 struct task *task); [all...] |
/macosx-10.9.5/xnu-2422.115.4/tools/lldbmacros/ |
H A D | userspace.py | 72 if not WriteInt64ToMemoryAddress(unsigned(thread.task.map.pmap), kdp_pmap_addr): 73 print "Failed to write in kdp_pmap = 0x{0:0>16x} value.".format(thread.task.map.pmap) 98 def _PrintARMUserStack(task, cur_pc, cur_fp, framesize, frametype, frameformat, user_lib_info=None): 106 frame = GetUserDataAsString(task, cur_fp, framesize) 121 _PrintARMUserStack(thread.task, cur_pc, cur_fp, framesize, frametype, frameformat, user_lib_info=user_lib_info) 141 """ Print out the user stack for each thread in a task, followed by the user libraries. 152 task = kern.GetValueFromAddress(cmd_args[0], 'task *') 154 pval = Cast(task.bsd_info, 'proc *') 155 #print GetTaskSummary(task) [all...] |
/macosx-10.9.5/ruby-104/ruby/test/rake/ |
H A D | test_rake_multi_task.rb | 23 task :a do 3.times do |i| add_run("A#{i}"); sleep 0.01; end end 24 task :b do 3.times do |i| add_run("B#{i}"); sleep 0.01; end end 35 task :slow do 3.times do |i| add_run("S#{i}"); sleep 0.05 end end 36 task :a => [:slow] do 3.times do |i| add_run("A#{i}"); sleep 0.01 end end 37 task :b => [:slow] do 3.times do |i| add_run("B#{i}"); sleep 0.01 end end 52 task :a, [:arg] do |t,args| add_run(args[:arg]) end
|
/macosx-10.9.5/system_cmds-597.90.1/mean.tproj/ |
H A D | mean.c | 11 #include <mach/task.h> 39 mach_port_t task; local 76 err = task_for_pid(mach_task_self(), pid, &task); 78 fprintf(stderr, "Failed to get task port (%d)\n", err); 84 err = task_threads(task, &threads, &count); 111 err = task_suspend(task); 113 fprintf(stderr, "Failed to suspend task (%d)\n", err); 121 err = task_resume(task); 123 fprintf(stderr, "Failed to resume task (%d)\n", err);
|
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/mean.tproj/ |
H A D | mean.c | 11 #include <mach/task.h> 39 mach_port_t task; local 76 err = task_for_pid(mach_task_self(), pid, &task); 78 fprintf(stderr, "Failed to get task port (%d)\n", err); 84 err = task_threads(task, &threads, &count); 111 err = task_suspend(task); 113 fprintf(stderr, "Failed to suspend task (%d)\n", err); 121 err = task_resume(task); 123 fprintf(stderr, "Failed to resume task (%d)\n", err);
|
/macosx-10.9.5/Security-55471.14.18/include/security_codesigning/ |
H A D | SecTask.h | 37 @abstract CFType used for representing a task 50 @abstract Create a SecTask object for the task that sent the mach message 60 @abstract Create a SecTask object for the current task. 69 task. 70 @param task A previously created SecTask object 83 CFTypeRef SecTaskCopyValueForEntitlement(SecTaskRef task, CFStringRef entitlement, CFErrorRef *error); 88 task. 89 @param task A previously created SecTask object 94 returned dictionary, the entitlement is not set on the task. The caller 97 CFDictionaryRef SecTaskCopyValuesForEntitlements(SecTaskRef task, CFArrayRe [all...] |
/macosx-10.9.5/Security-55471.14.18/libsecurity_codesigning/lib/ |
H A D | SecTask.h | 37 @abstract CFType used for representing a task 50 @abstract Create a SecTask object for the task that sent the mach message 60 @abstract Create a SecTask object for the current task. 69 task. 70 @param task A previously created SecTask object 83 CFTypeRef SecTaskCopyValueForEntitlement(SecTaskRef task, CFStringRef entitlement, CFErrorRef *error); 88 task. 89 @param task A previously created SecTask object 94 returned dictionary, the entitlement is not set on the task. The caller 97 CFDictionaryRef SecTaskCopyValuesForEntitlements(SecTaskRef task, CFArrayRe [all...] |
/macosx-10.9.5/bind9-45.100/bind9/lib/dns/include/dns/ |
H A D | request.h | 77 *\li 'taskmgr' is a valid task manager. 97 dns_requestmgr_whenshutdown(dns_requestmgr_t *requestmgr, isc_task_t *task, 100 * Send '*eventp' to 'task' when 'requestmgr' has completed shutdown. 111 *\li 'task' is a valid task. 167 unsigned int timeout, isc_task_t *task, 183 * because it was canceled, a completion event will be sent to 'task'. 193 *\li 'task' is a valid task. 203 unsigned int timeout, isc_task_t *task, [all...] |
/macosx-10.9.5/xnu-2422.115.4/osfmk/kern/ |
H A D | telemetry.h | 48 extern void telemetry_task_ctl(task_t task, uint32_t reason, int enable_disable); 49 extern void telemetry_task_ctl_locked(task_t task, uint32_t reason, int enable_disable);
|
H A D | telemetry.c | 174 * Opt the given task into or out of the telemetry stream. 184 telemetry_task_ctl(task_t task, uint32_t reasons, int enable_disable) argument 186 task_lock(task); 187 telemetry_task_ctl_locked(task, reasons, enable_disable); 188 task_unlock(task); 192 telemetry_task_ctl_locked(task_t task, uint32_t reasons, int enable_disable) argument 198 task_lock_assert_owned(task); 200 origflags = task->t_flags; 203 task->t_flags |= reasons; 207 printf("%s: telemetry OFF -> ON (%d active)\n", proc_name_address(task 330 task_t task; local [all...] |
/macosx-10.9.5/xnu-2422.115.4/osfmk/mach/ |
H A D | exc.defs | 81 task : mach_port_move_send_t; 85 task : mach_port_t; 107 task : mach_port_move_send_t; 111 task : mach_port_t;
|
H A D | mach_exc.defs | 81 task : mach_port_move_send_t; 85 task : mach_port_t; 107 task : mach_port_move_send_t; 111 task : mach_port_t;
|
/macosx-10.9.5/bind9-45.100/bind9/lib/dns/ |
H A D | tcpmsg.c | 25 #include <isc/task.h> 47 recv_length(isc_task_t *task, isc_event_t *ev_in) { argument 87 task, recv_message, tcpmsg); 97 isc_task_send(tcpmsg->task, &dev); 98 tcpmsg->task = NULL; 104 recv_message(isc_task_t *task, isc_event_t *ev_in) { argument 109 (void)task; 127 isc_task_send(tcpmsg->task, &dev); 128 tcpmsg->task = NULL; 145 tcpmsg->task 163 dns_tcpmsg_readmessage(dns_tcpmsg_t *tcpmsg, isc_task_t *task, isc_taskaction_t action, void *arg) argument [all...] |
/macosx-10.9.5/bind9-45.100/bind9/lib/isccc/ |
H A D | ccmsg.c | 40 #include <isc/task.h> 54 recv_length(isc_task_t *task, isc_event_t *ev_in) { argument 92 task, recv_message, ccmsg); 102 isc_task_send(ccmsg->task, &dev); 103 ccmsg->task = NULL; 109 recv_message(isc_task_t *task, isc_event_t *ev_in) { argument 114 (void)task; 130 isc_task_send(ccmsg->task, &dev); 131 ccmsg->task = NULL; 148 ccmsg->task 165 isccc_ccmsg_readmessage(isccc_ccmsg_t *ccmsg, isc_task_t *task, isc_taskaction_t action, void *arg) argument [all...] |
/macosx-10.9.5/xnu-2422.115.4/osfmk/i386/ |
H A D | user_ldt.c | 62 * Each task may have its own LDT. 100 task_t task = current_task(); local 112 task_lock(task); 114 old_ldt = task->i386_ldt; 156 task_unlock(task); 179 /* XXX allocation under task lock */ 182 task_unlock(task); 215 /* XXX copyin under task lock */ 220 task_unlock(task); 252 task_unlock(task); 291 task_t task = current_task(); local 376 task_t task = thread->task; local [all...] |
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/ |
H A D | ratelimiter.c | 26 #include <isc/task.h> 42 isc_task_t * task; member in struct:isc_ratelimiter 54 ratelimiter_tick(isc_task_t *task, isc_event_t *event); 57 ratelimiter_shutdowncomplete(isc_task_t *task, isc_event_t *event); 61 isc_task_t *task, isc_ratelimiter_t **ratelimiterp) 72 rl->task = task; 83 NULL, NULL, rl->task, ratelimiter_tick, 133 isc_ratelimiter_enqueue(isc_ratelimiter_t *rl, isc_task_t *task, argument 140 REQUIRE(task ! 60 isc_ratelimiter_create(isc_mem_t *mctx, isc_timermgr_t *timermgr, isc_task_t *task, isc_ratelimiter_t **ratelimiterp) argument 169 ratelimiter_tick(isc_task_t *task, isc_event_t *event) argument 213 isc_task_t *task; local 236 ratelimiter_shutdowncomplete(isc_task_t *task, isc_event_t *event) argument [all...] |
/macosx-10.9.5/ntp-88/lib/isc/ |
H A D | ratelimiter.c | 26 #include <isc/task.h> 42 isc_task_t * task; member in struct:isc_ratelimiter 54 ratelimiter_tick(isc_task_t *task, isc_event_t *event); 57 ratelimiter_shutdowncomplete(isc_task_t *task, isc_event_t *event); 61 isc_task_t *task, isc_ratelimiter_t **ratelimiterp) 72 rl->task = task; 83 NULL, NULL, rl->task, ratelimiter_tick, 133 isc_ratelimiter_enqueue(isc_ratelimiter_t *rl, isc_task_t *task, argument 140 REQUIRE(task ! 60 isc_ratelimiter_create(isc_mem_t *mctx, isc_timermgr_t *timermgr, isc_task_t *task, isc_ratelimiter_t **ratelimiterp) argument 169 ratelimiter_tick(isc_task_t *task, isc_event_t *event) argument 213 isc_task_t *task; local 236 ratelimiter_shutdowncomplete(isc_task_t *task, isc_event_t *event) argument [all...] |
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/include/isc/ |
H A D | ondestroy.h | 56 * X_ondestroy(X *instance, isc_task_t *task, 58 * return(isc_ondestroy_register(&instance->ondest, task,eventp)); 94 isc_ondestroy_register(isc_ondestroy_t *ondest, isc_task_t *task, 98 * Stores task and *eventp away inside *ondest. Ownership of **event is 99 * taken from the caller (and *eventp is set to NULL). The task is attached 106 * Dispatches the event(s) to the task(s) that were given in
|
/macosx-10.9.5/ntp-88/lib/isc/include/isc/ |
H A D | ondestroy.h | 56 * X_ondestroy(X *instance, isc_task_t *task, 58 * return(isc_ondestroy_register(&instance->ondest, task,eventp)); 94 isc_ondestroy_register(isc_ondestroy_t *ondest, isc_task_t *task, 98 * Stores task and *eventp away inside *ondest. Ownership of **event is 99 * taken from the caller (and *eventp is set to NULL). The task is attached 106 * Dispatches the event(s) to the task(s) that were given in
|
H A D | taskpool.h | 28 * \brief A task pool is a mechanism for sharing a small number of tasks 30 * assigned a unique task, but each task may be shared by several 36 * could result from creating a separate task for each object. 45 #include <isc/task.h> 64 * Create a task pool of "ntasks" tasks, each with quantum 69 *\li 'tmgr' is a valid task manager. 77 *\li On success, '*taskp' points to the new task pool. 90 * Attach to the task corresponding to the hash value "hash". 96 * Destroy a task poo [all...] |