Searched refs:rl (Results 1 - 25 of 153) sorted by relevance

1234567

/macosx-10.9.5/postfix-252/postfix/src/util/
H A Dopen_limit.c55 struct rlimit rl; local
63 if (getrlimit(RLIMIT_NOFILE, &rl) < 0)
66 if (limit > rl.rlim_max)
67 rl.rlim_cur = rl.rlim_max;
69 rl.rlim_cur = limit;
70 if (setrlimit(RLIMIT_NOFILE, &rl) < 0)
73 return (rl.rlim_cur);
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/
H A Dratelimiter.c64 isc_ratelimiter_t *rl; local
67 rl = isc_mem_get(mctx, sizeof(*rl));
68 if (rl == NULL)
70 rl->mctx = mctx;
71 rl->refs = 1;
72 rl->task = task;
73 isc_interval_set(&rl->interval, 0, 0);
74 rl->timer = NULL;
75 rl
110 isc_ratelimiter_setinterval(isc_ratelimiter_t *rl, isc_interval_t *interval) argument
126 isc_ratelimiter_setpertic(isc_ratelimiter_t *rl, isc_uint32_t pertic) argument
133 isc_ratelimiter_enqueue(isc_ratelimiter_t *rl, isc_task_t *task, isc_event_t **eventp) argument
171 isc_ratelimiter_t *rl = (isc_ratelimiter_t *)event->ev_arg; local
211 isc_ratelimiter_shutdown(isc_ratelimiter_t *rl) argument
237 isc_ratelimiter_t *rl = (isc_ratelimiter_t *)event->ev_arg; local
245 ratelimiter_free(isc_ratelimiter_t *rl) argument
265 isc_ratelimiter_t *rl = *rlp; local
282 isc_ratelimiter_stall(isc_ratelimiter_t *rl) argument
304 isc_ratelimiter_release(isc_ratelimiter_t *rl) argument
[all...]
/macosx-10.9.5/ntp-88/lib/isc/
H A Dratelimiter.c64 isc_ratelimiter_t *rl; local
67 rl = isc_mem_get(mctx, sizeof(*rl));
68 if (rl == NULL)
70 rl->mctx = mctx;
71 rl->refs = 1;
72 rl->task = task;
73 isc_interval_set(&rl->interval, 0, 0);
74 rl->timer = NULL;
75 rl
110 isc_ratelimiter_setinterval(isc_ratelimiter_t *rl, isc_interval_t *interval) argument
126 isc_ratelimiter_setpertic(isc_ratelimiter_t *rl, isc_uint32_t pertic) argument
133 isc_ratelimiter_enqueue(isc_ratelimiter_t *rl, isc_task_t *task, isc_event_t **eventp) argument
171 isc_ratelimiter_t *rl = (isc_ratelimiter_t *)event->ev_arg; local
211 isc_ratelimiter_shutdown(isc_ratelimiter_t *rl) argument
237 isc_ratelimiter_t *rl = (isc_ratelimiter_t *)event->ev_arg; local
245 ratelimiter_free(isc_ratelimiter_t *rl) argument
265 isc_ratelimiter_t *rl = *rlp; local
282 isc_ratelimiter_stall(isc_ratelimiter_t *rl) argument
304 isc_ratelimiter_release(isc_ratelimiter_t *rl) argument
[all...]
/macosx-10.9.5/Libc-997.90.3/locale/FreeBSD/
H A Drune.c132 _RuneLocale *rl; local
164 rl = &data->_CurrentRuneLocale;
167 if (fread(rl, SIZEOF32_RUNELOCALE, 1, fp) != 1)
169 if (fread(rl, sb.st_size, 1, fp) != 1)
179 lastp = (char *)rl + sb.st_size;
181 rl->__variable = rl + 1;
184 if (memcmp(rl->__magic, _RUNE_MAGIC_A, sizeof(rl->__magic))) {
193 memmove((char *)rl
[all...]
H A Dsetrunelocale.c64 _RuneLocale *rl; local
131 rl = &xrl->_CurrentRuneLocale;
135 rl->__sputrune = sputrune;
136 rl->__sgetrune = sgetrune;
138 rl->__sputrune = NULL;
139 rl->__sgetrune = NULL;
142 if (strcmp(rl->__encoding, "NONE") == 0)
144 else if (strcmp(rl->__encoding, "ASCII") == 0)
146 else if (strcmp(rl->__encoding, "UTF-8") == 0)
148 else if (strcmp(rl
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/json/parser/
H A Dprereq.mk3 .SUFFIXES: .rl
5 .rl.c:
/macosx-10.9.5/ppp-727.90.1/Controller/
H A Dapp_layer.h8 void app_layer_init(CFRunLoopRef rl, CFStringRef rl_mode);
/macosx-10.9.5/ntfs-83/kext/
H A Dntfs_runlist.c101 ntfs_rl_copy(new_rl, runlist->rl, runlist->elements);
103 OSFree(runlist->rl, alloc, ntfs_malloc_tag);
104 runlist->rl = new_rl;
145 ntfs_rl_element *new_rl = runlist->rl;
174 ntfs_rl_copy(new_rl, runlist->rl, pos);
175 ntfs_rl_copy(new_rl + pos + count, runlist->rl + pos,
178 OSFree(runlist->rl, alloc, ntfs_malloc_tag);
179 runlist->rl = new_rl;
265 d_rl = dst_runlist->rl;
311 d_rl = dst_runlist->rl;
872 ntfs_rl_element *rl; /* The output runlist. */ local
1120 ntfs_rl_vcn_to_lcn(const ntfs_rl_element *rl, const VCN vcn, s64 *clusters) argument
1176 ntfs_rl_find_vcn_nolock(ntfs_rl_element *rl, const VCN vcn) argument
1256 ntfs_get_size_for_mapping_pairs(const ntfs_volume *vol, const ntfs_rl_element *rl, const VCN first_vcn, const VCN last_vcn, unsigned *mp_size) argument
1455 ntfs_mapping_pairs_build(const ntfs_volume *vol, s8 *dst, const unsigned dst_len, const ntfs_rl_element *rl, const VCN first_vcn, const VCN last_vcn, VCN *const stop_vcn) argument
1687 ntfs_rl_element *rl; local
1840 ntfs_rl_element *rl, *rl_end, *trl; local
2125 ntfs_rl_element *rl; local
2249 ntfs_rl_element *rl; local
2381 ntfs_rl_set(ntfs_volume *vol, const ntfs_rl_element *rl, const u8 val) argument
2474 ntfs_rl_element *rl; local
[all...]
H A Dntfs_runlist.h68 * @rl: pointer to an array of runlist elements
71 * @lock: read/write lock for serializing access to @rl
104 ntfs_rl_element *rl; member in struct:__anon11361
114 static inline void ntfs_rl_init(ntfs_runlist *rl) argument
116 rl->rl = NULL;
117 rl->alloc = rl->elements = 0;
118 lck_rw_init(&rl->lock, ntfs_lock_grp, ntfs_lock_attr);
121 static inline void ntfs_rl_deinit(ntfs_runlist *rl) argument
[all...]
H A Dntfs_lcnalloc.c63 ntfs_rl_element *rl, const VCN start_vcn, s64 count,
151 ntfs_rl_element *rl = NULL; local
183 OSFree(runlist->rl, runlist->alloc, ntfs_malloc_tag);
184 runlist->rl = NULL;
351 if ((rlpos + 2) * (int)sizeof(*rl) > rlsize) {
363 if (!rl)
369 memcpy(rl2, rl, rlsize);
370 OSFree(rl, rlsize, ntfs_malloc_tag);
372 rl = rl2;
404 rl[rlpo
900 ntfs_cluster_free_from_rl_nolock(ntfs_volume *vol, ntfs_rl_element *rl, const VCN start_vcn, s64 count, s64 *nr_freed) argument
1034 ntfs_cluster_free_from_rl(ntfs_volume *vol, ntfs_rl_element *rl, const VCN start_vcn, s64 count, s64 *nr_freed) argument
1132 ntfs_rl_element *rl; local
[all...]
/macosx-10.9.5/ntp-88/ntpd/
H A Dntp_restrict.c157 struct restrictlist *rl; local
191 for (rl = match->next; rl != 0 && rl->addr <= hostaddr;
192 rl = rl->next)
193 if ((hostaddr & rl->mask) == rl->addr) {
194 if ((rl->mflags & RESM_NTPONLY) &&
197 match = rl;
270 register struct restrictlist *rl = NULL; local
[all...]
/macosx-10.9.5/bash-92/bash-3.2/lib/readline/examples/
H A DMakefile19 EXECUTABLES = fileman rltest rl
29 rl: rl.o
30 $(CC) $(LDFLAGS) -o $@ rl.o -lreadline -ltermcap
43 rl.o: rl.c
/macosx-10.9.5/Libc-997.90.3/db/recno/FreeBSD/
H A Drec_utils.c62 RLEAF *rl; local
89 rl = GETRLEAF(e->page, e->index);
90 if (rl->flags & P_BIGDATA) {
91 if (__ovfl_get(t, rl->bytes,
97 if (rl->dsize + 1 > t->bt_rdata.size) {
98 p = realloc(t->bt_rdata.data, rl->dsize + 1);
102 t->bt_rdata.size = rl->dsize + 1;
104 memmove(t->bt_rdata.data, rl->bytes, rl->dsize);
105 data->size = rl
[all...]
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/unix/
H A Dresource.c106 struct rlimit rl; local
143 rl.rlim_cur = rl.rlim_max = rlim_value;
144 unixresult = setrlimit(unixresource, &rl);
157 rl.rlim_cur = OPEN_MAX;
158 unixresult = setrlimit(unixresource, &rl);
172 rl.rlim_cur = rl.rlim_max = NR_OPEN;
173 unixresult = setrlimit(unixresource, &rl);
181 rl
203 struct rlimit rl; local
220 struct rlimit rl; local
[all...]
/macosx-10.9.5/ntp-88/lib/isc/unix/
H A Dresource.c106 struct rlimit rl; local
143 rl.rlim_cur = rl.rlim_max = rlim_value;
144 unixresult = setrlimit(unixresource, &rl);
157 rl.rlim_cur = OPEN_MAX;
158 unixresult = setrlimit(unixresource, &rl);
172 rl.rlim_cur = rl.rlim_max = NR_OPEN;
173 unixresult = setrlimit(unixresource, &rl);
181 rl
203 struct rlimit rl; local
220 struct rlimit rl; local
[all...]
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/include/isc/
H A Dratelimiter.h54 isc_ratelimiter_setinterval(isc_ratelimiter_t *rl, isc_interval_t *interval);
64 isc_ratelimiter_setpertic(isc_ratelimiter_t *rl, isc_uint32_t perint);
71 isc_ratelimiter_enqueue(isc_ratelimiter_t *rl, isc_task_t *task,
121 isc_ratelimiter_stall(isc_ratelimiter_t *rl);
127 isc_ratelimiter_release(isc_ratelimiter_t *rl);
/macosx-10.9.5/ntp-88/lib/isc/include/isc/
H A Dratelimiter.h54 isc_ratelimiter_setinterval(isc_ratelimiter_t *rl, isc_interval_t *interval);
64 isc_ratelimiter_setpertic(isc_ratelimiter_t *rl, isc_uint32_t perint);
71 isc_ratelimiter_enqueue(isc_ratelimiter_t *rl, isc_task_t *task,
121 isc_ratelimiter_stall(isc_ratelimiter_t *rl);
127 isc_ratelimiter_release(isc_ratelimiter_t *rl);
/macosx-10.9.5/apache-786.1/httpd/srclib/apr-util/misc/
H A Dapr_reslist.c141 apr_reslist_t *rl = data_; local
145 apr_thread_mutex_lock(rl->listlock);
148 while (rl->nidle > 0) {
150 res = pop_resource(rl);
151 rl->ntotal--;
152 rv1 = destroy_resource(rl, res);
157 free_container(rl, res);
160 assert(rl->nidle == 0);
161 assert(rl->ntotal == 0);
164 apr_thread_mutex_unlock(rl
260 apr_reslist_t *rl; local
464 apr_reslist_cleanup_order_set(apr_reslist_t *rl, apr_uint32_t mode) argument
[all...]
/macosx-10.9.5/apr-30/apr-util/apr-util/misc/
H A Dapr_reslist.c141 apr_reslist_t *rl = data_; local
144 apr_thread_mutex_lock(rl->listlock);
146 while (rl->nidle > 0) {
148 res = pop_resource(rl);
149 rl->ntotal--;
150 rv1 = destroy_resource(rl, res);
155 free_container(rl, res);
158 assert(rl->nidle == 0);
159 assert(rl->ntotal == 0);
161 apr_thread_mutex_unlock(rl
244 apr_reslist_t *rl; local
[all...]
/macosx-10.9.5/curl-78.94.1/curl/tests/libtest/
H A Dlib518.c106 struct rlimit rl; local
115 if (sizeof(rl.rlim_max) > sizeof(long))
119 fmt = (sizeof(rl.rlim_max) < sizeof(long))?fmt_u:fmt_lu;
123 if (getrlimit(RLIMIT_NOFILE, &rl) != 0) {
132 if (rl.rlim_cur == RLIM_INFINITY)
136 sprintf(strbuff, fmt, rl.rlim_cur);
140 if (rl.rlim_max == RLIM_INFINITY)
144 sprintf(strbuff, fmt, rl.rlim_max);
162 if (rl.rlim_cur != rl
[all...]
H A Dlib537.c108 struct rlimit rl; local
116 if (sizeof(rl.rlim_max) > sizeof(long))
120 fmt = (sizeof(rl.rlim_max) < sizeof(long))?fmt_u:fmt_lu;
124 if (getrlimit(RLIMIT_NOFILE, &rl) != 0) {
133 if (rl.rlim_cur == RLIM_INFINITY)
137 sprintf(strbuff, fmt, rl.rlim_cur);
141 if (rl.rlim_max == RLIM_INFINITY)
145 sprintf(strbuff, fmt, rl.rlim_max);
157 if (rl.rlim_cur != rl
[all...]
/macosx-10.9.5/CF-855.17/
H A DCFRunLoop.c657 CF_INLINE volatile _per_run_data *__CFRunLoopPushPerRunData(CFRunLoopRef rl) { argument
658 volatile _per_run_data *previous = rl->_perRunData;
659 rl->_perRunData = (volatile _per_run_data *)CFAllocatorAllocate(kCFAllocatorSystemDefault, sizeof(_per_run_data), 0);
660 rl->_perRunData->a = 0x4346524C;
661 rl->_perRunData->b = 0x4346524C; // 'CFRL'
662 rl->_perRunData->stopped = 0x00000000;
663 rl->_perRunData->ignoreWakeUps = 0x00000000;
667 CF_INLINE void __CFRunLoopPopPerRunData(CFRunLoopRef rl, volatile _per_run_data *previous) { argument
668 if (rl->_perRunData) CFAllocatorDeallocate(kCFAllocatorSystemDefault, (void *)rl
672 __CFRunLoopIsStopped(CFRunLoopRef rl) argument
676 __CFRunLoopSetStopped(CFRunLoopRef rl) argument
680 __CFRunLoopUnsetStopped(CFRunLoopRef rl) argument
684 __CFRunLoopIsIgnoringWakeUps(CFRunLoopRef rl) argument
688 __CFRunLoopSetIgnoreWakeUps(CFRunLoopRef rl) argument
692 __CFRunLoopUnsetIgnoreWakeUps(CFRunLoopRef rl) argument
696 __CFRunLoopIsSleeping(CFRunLoopRef rl) argument
700 __CFRunLoopSetSleeping(CFRunLoopRef rl) argument
704 __CFRunLoopUnsetSleeping(CFRunLoopRef rl) argument
708 __CFRunLoopIsDeallocating(CFRunLoopRef rl) argument
712 __CFRunLoopSetDeallocating(CFRunLoopRef rl) argument
716 __CFRunLoopLock(CFRunLoopRef rl) argument
721 __CFRunLoopUnlock(CFRunLoopRef rl) argument
727 CFRunLoopRef rl = (CFRunLoopRef)cf; local
754 __CFRunLoopFindMode(CFRunLoopRef rl, CFStringRef modeName, Boolean create) argument
828 __CFRunLoopModeIsEmpty(CFRunLoopRef rl, CFRunLoopModeRef rlm, CFRunLoopModeRef previousMode) argument
856 _CFRunLoopGetWindowsMessageQueueMask(CFRunLoopRef rl, CFStringRef modeName) argument
872 _CFRunLoopSetWindowsMessageQueueMask(CFRunLoopRef rl, uint32_t mask, CFStringRef modeName) argument
884 _CFRunLoopGetWindowsThreadID(CFRunLoopRef rl) argument
888 _CFRunLoopGetWindowsMessageQueueHandler(CFRunLoopRef rl, CFStringRef modeName) argument
908 _CFRunLoopSetWindowsMessageQueueHandler(CFRunLoopRef rl, CFStringRef modeName, CFWindowsMessageQueueHandler func) argument
1029 __CFRunLoopObserverSchedule(CFRunLoopObserverRef rlo, CFRunLoopRef rl, CFRunLoopModeRef rlm) argument
1038 __CFRunLoopObserverCancel(CFRunLoopObserverRef rlo, CFRunLoopRef rl, CFRunLoopModeRef rlm) argument
1116 __CFRunLoopModeFindSourceForMachPort(CFRunLoopRef rl, CFRunLoopModeRef rlm, __CFPort port) argument
1130 CFRunLoopRef rl = (CFRunLoopRef)context; local
1152 CFRunLoopRef rl = (CFRunLoopRef)context; local
1190 CFRunLoopRef rl = (CFRunLoopRef)context; local
1241 CFRunLoopRef rl = (CFRunLoopRef)cf; local
1415 CFRunLoopRef rl = NULL; local
1444 _CFRunLoopGet1(CFRunLoopRef rl) argument
1449 _CFRunLoopGet2(CFRunLoopRef rl) argument
1458 _CFRunLoopGet2b(CFRunLoopRef rl) argument
1463 _CFRunLoopSetCurrent(CFRunLoopRef rl) argument
1491 CFRunLoopRef rl = (CFRunLoopRef)_CFGetTSD(__CFTSDKeyRunLoop); local
1496 CFRunLoopCopyCurrentMode(CFRunLoopRef rl) argument
1513 CFRunLoopCopyAllModes(CFRunLoopRef rl) argument
1525 CFRunLoopRef rl = (CFRunLoopRef)(((CFTypeRef *)ctx)[0]); local
1538 CFRunLoopRef rl = (CFRunLoopRef)(((CFTypeRef *)ctx)[0]); local
1551 CFRunLoopRef rl = (CFRunLoopRef)(((CFTypeRef *)ctx)[0]); local
1562 _CFRunLoop01(CFRunLoopRef rl, CFStringRef modeName) argument
1569 CFRunLoopAddCommonMode(CFRunLoopRef rl, CFStringRef modeName) argument
1618 __CFRunLoopDoBlocks(CFRunLoopRef rl, CFRunLoopModeRef rlm) argument
1668 __CFRunLoopDoObservers(CFRunLoopRef rl, CFRunLoopModeRef rlm, CFRunLoopActivity activity) argument
1764 __CFRunLoopDoSources0(CFRunLoopRef rl, CFRunLoopModeRef rlm, Boolean stopAfterHandle) argument
1829 __CFRunLoopDoSource1(CFRunLoopRef rl, CFRunLoopModeRef rlm, CFRunLoopSourceRef rls , mach_msg_header_t *msg, CFIndex size, mach_msg_header_t **reply ) argument
1899 __CFArmNextTimerInMode(CFRunLoopModeRef rlm, CFRunLoopRef rl) argument
2024 __CFRunLoopDoTimer(CFRunLoopRef rl, CFRunLoopModeRef rlm, CFRunLoopTimerRef rlt) argument
2152 __CFRunLoopDoTimers(CFRunLoopRef rl, CFRunLoopModeRef rlm, uint64_t limitTSR) argument
2176 _CFRunLoopFinished(CFRunLoopRef rl, CFStringRef modeName) argument
2288 CFRunLoopRef rl; member in struct:__timeout_context
2308 __CFRunLoopRun(CFRunLoopRef rl, CFRunLoopModeRef rlm, CFTimeInterval seconds, Boolean stopAfterHandle, CFRunLoopModeRef previousMode) argument
2601 CFRunLoopRunSpecific(CFRunLoopRef rl, CFStringRef modeName, CFTimeInterval seconds, Boolean returnAfterSourceHandled) argument
2641 CFRunLoopGetNextTimerFireDate(CFRunLoopRef rl, CFStringRef modeName) argument
2655 CFRunLoopIsWaiting(CFRunLoopRef rl) argument
2660 CFRunLoopWakeUp(CFRunLoopRef rl) argument
2681 CFRunLoopStop(CFRunLoopRef rl) argument
2695 _CFRunLoopStopMode(CFRunLoopRef rl, CFStringRef modeName) argument
2708 _CFRunLoopModeContainsMode(CFRunLoopRef rl, CFStringRef modeName, CFStringRef candidateContainedName) argument
2713 CFRunLoopPerformBlock(CFRunLoopRef rl, CFTypeRef mode, void (^block)(void)) argument
2771 CFRunLoopContainsSource(CFRunLoopRef rl, CFRunLoopSourceRef rls, CFStringRef modeName) argument
2791 CFRunLoopAddSource(CFRunLoopRef rl, CFRunLoopSourceRef rls, CFStringRef modeName) argument
2853 CFRunLoopRemoveSource(CFRunLoopRef rl, CFRunLoopSourceRef rls, CFStringRef modeName) argument
2911 CFRunLoopRef rl = (CFRunLoopRef)ctx; local
2917 CFRunLoopRef rl = (CFRunLoopRef)(((CFTypeRef *)ctx)[0]); local
2922 __CFRunLoopRemoveAllSources(CFRunLoopRef rl, CFStringRef modeName) argument
2956 CFRunLoopContainsObserver(CFRunLoopRef rl, CFRunLoopObserverRef rlo, CFStringRef modeName) argument
2978 CFRunLoopAddObserver(CFRunLoopRef rl, CFRunLoopObserverRef rlo, CFStringRef modeName) argument
3024 CFRunLoopRemoveObserver(CFRunLoopRef rl, CFRunLoopObserverRef rlo, CFStringRef modeName) argument
3058 CFRunLoopContainsTimer(CFRunLoopRef rl, CFRunLoopTimerRef rlt, CFStringRef modeName) argument
3081 CFRunLoopAddTimer(CFRunLoopRef rl, CFRunLoopTimerRef rlt, CFStringRef modeName) argument
3135 CFRunLoopRemoveTimer(CFRunLoopRef rl, CFRunLoopTimerRef rlt, CFStringRef modeName) argument
3302 CFRunLoopRef rl = (CFRunLoopRef)value; local
3533 CFRunLoopRef rl = rlo->_runLoop; local
3755 CFRunLoopRef rl = (CFRunLoopRef)CFRetain(rlt->_runLoop); local
3821 CFRunLoopRef rl = rlt->_runLoop; local
[all...]
/macosx-10.9.5/apache-786.1/httpd/srclib/apr-util/test/
H A Dtestreslist.c113 apr_reslist_t *rl = thread_info->reslist; local
122 rv = apr_reslist_acquire(rl, &vp);
130 rv = apr_reslist_release(rl, res);
133 rv = apr_reslist_invalidate(rl, res);
141 static void test_timeout(abts_case *tc, apr_reslist_t *rl) argument
148 apr_reslist_timeout_set(rl, 1000);
157 rv = apr_reslist_acquire(rl, (void**)&resources[i]);
162 rv = apr_reslist_acquire(rl, &vp);
169 rv = apr_reslist_release(rl, resources[i]);
174 static void test_shrinking(abts_case *tc, apr_reslist_t *rl) argument
219 apr_reslist_t *rl; local
[all...]
/macosx-10.9.5/apr-30/apr-util/apr-util/test/
H A Dtestreslist.c113 apr_reslist_t *rl = thread_info->reslist; local
122 rv = apr_reslist_acquire(rl, &vp);
130 rv = apr_reslist_release(rl, res);
133 rv = apr_reslist_invalidate(rl, res);
141 static void test_timeout(abts_case *tc, apr_reslist_t *rl) argument
149 apr_reslist_timeout_set(rl, 1000);
158 rv = apr_reslist_acquire(rl, (void**)&resources[i]);
163 rv = apr_reslist_acquire(rl, &vp);
172 rv = apr_reslist_release(rl, resources[i]);
177 static void test_shrinking(abts_case *tc, apr_reslist_t *rl) argument
222 apr_reslist_t *rl; local
[all...]
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_cfrunloop.py73 rl = CFRunLoopGetCurrent()
100 self.failUnless (CFRunLoopContainsObserver(rl, observer, kCFRunLoopDefaultMode) is False)
101 CFRunLoopAddObserver(rl, observer, kCFRunLoopDefaultMode)
102 self.failUnless (CFRunLoopContainsObserver(rl, observer, kCFRunLoopDefaultMode) is True)
110 CFReadStreamScheduleWithRunLoop(stream, rl, kCFRunLoopDefaultMode)
112 CFReadStreamUnscheduleFromRunLoop(stream, rl, kCFRunLoopDefaultMode)
121 CFRunLoopRemoveObserver(rl, observer, kCFRunLoopDefaultMode)
122 self.failUnless (CFRunLoopContainsObserver(rl, observer, kCFRunLoopDefaultMode) is False)
126 rl = CFRunLoopGetCurrent()
155 self.failUnless(CFRunLoopContainsTimer(rl, time
[all...]

Completed in 298 milliseconds

1234567