Searched refs:cmpfunc (Results 1 - 12 of 12) sorted by relevance

/macosx-10.9.5/CPANInternal-140/Perl-Ldap/contrib/
H A Dldifsort.pl101 my $cmpfunc;
102 if ($args{d} || lc($keyattr) eq 'dn') { $cmpfunc = \&cmpdn }
103 elsif ($args{n}) { $cmpfunc = \&cmpattrnum }
104 else { $cmpfunc = \&cmpattr; }
107 @sorted = sort $cmpfunc @valuepos;
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_nsarray.py223 def cmpfunc(l, r, c): function in function:TestNSArraySpecialMethods.test_sortedArrayUsingFunction_context_
226 b = a.sortedArrayUsingFunction_context_(cmpfunc, u'hello')
234 def cmpfunc(l, r, c): function in function:TestNSArraySpecialMethods.test_sortedArrayUsingFunction_context_hint_
237 b = a.sortedArrayUsingFunction_context_hint_(cmpfunc, u'hello', a.sortedArrayHint())
290 def cmpfunc(l, r, c): function in function:TestNSMutableArrayInteraction.testSort2
293 a.sortUsingFunction_context_range_(cmpfunc, u"a", (4, 4))
303 def cmpfunc(l, r): function in function:TestNSMutableArrayInteraction.testSort3
306 a.sort(cmpfunc)
317 def cmpfunc(l, r, c): function in function:TestNSMutableArrayInteraction.testSort1
320 a.sortUsingFunction_context_(cmpfunc,
329 def cmpfunc(l, r, c): function in function:TestNSMutableArrayInteraction.testSort2
342 def cmpfunc(l, r): function in function:TestNSMutableArrayInteraction.testSort3
[all...]
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_nsarray.py230 def cmpfunc(l, r, c): function in function:TestNSArraySpecialMethods.test_sortedArrayUsingFunction_context_
233 b = a.sortedArrayUsingFunction_context_(cmpfunc, u'hello')
241 def cmpfunc(l, r, c): function in function:TestNSArraySpecialMethods.test_sortedArrayUsingFunction_context_hint_
244 b = a.sortedArrayUsingFunction_context_hint_(cmpfunc, u'hello', a.sortedArrayHint())
298 def cmpfunc(l, r, c): function in function:TestNSMutableArrayInteraction.dont_testSort2
301 a.sortUsingFunction_context_range_(cmpfunc, u"a", (4, 4))
311 def cmpfunc(l, r): function in function:TestNSMutableArrayInteraction.testSort3
314 a.sort(cmpfunc)
325 def cmpfunc(l, r, c): function in function:TestNSMutableArrayInteraction.testSort1
328 a.sortUsingFunction_context_(cmpfunc,
337 def cmpfunc(l, r, c): function in function:TestNSMutableArrayInteraction.dont_testSort2
351 def cmpfunc(l, r): function in function:TestNSMutableArrayInteraction.testSort3
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/mk4tcl/metakit/python/
H A DPyProperty.cpp73 (cmpfunc)PyProperty_compare, /*tp_compare*/
H A DPyRowRef.cpp90 (cmpfunc)0, /*tp_compare*/
102 (cmpfunc)0, /*tp_compare*/
H A DPyView.cpp1278 (cmpfunc)0, /*tp_compare*/
1290 (cmpfunc)0, /*tp_compare*/
1302 (cmpfunc)0, /*tp_compare*/
H A DPyStorage.cpp348 (cmpfunc)0, /*tp_compare*/
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-core/Lib/objc/
H A D_convenience.py544 def sort(self, key=None, reverse=False, cmpfunc=cmp):
545 # NOTE: cmpfunc argument is for backward compatibility.
548 def doCmp(a, b, cmpfunc):
549 return -cmpfunc(a, b)
551 def doCmp(a, b, cmpfunc):
552 return cmpfunc(a, b)
557 def doCmp(a, b, cmpfunc):
558 return -cmpfunc(key(a), key(b))
560 def doCmp(a, b, cmpfunc):
561 return cmpfunc(ke
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/test/
H A Dtest093.tcl87 proc test093_run { method dbargs nentries tnum compflag cmpfunc sortfunc } {
108 set db [eval {berkdb_open $compflag $cmpfunc \
181 set db [eval {berkdb_open $compflag $cmpfunc -rdonly} \
212 proc test093_runbig { method dbargs nentries tnum compflag cmpfunc sortfunc } {
235 set db [eval {berkdb_open $compflag $cmpfunc \
319 set db [eval {berkdb_open $compflag $cmpfunc -rdonly} \
/macosx-10.9.5/BerkeleyDB-21/db/db/
H A Ddb_overflow.c417 __db_moff(dbp, ip, txn, dbt, pgno, tlen, cmpfunc, cmpp)
424 int (*cmpfunc) __P((DB *, const DBT *, const DBT *)), *cmpp;
440 if (cmpfunc != NULL) {
449 *cmpp = cmpfunc(dbp, dbt, &local_dbt);
503 __db_coff(dbp, ip, txn, dbt, match, cmpfunc, cmpp)
508 int (*cmpfunc) __P((DB *, const DBT *, const DBT *)), *cmpp;
539 if (cmpfunc != NULL) {
552 *cmpp = cmpfunc(dbp, &local_key, &local_match);
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-core/Lib/objc/
H A D_convenience.py683 def sort(self, key=None, reverse=False, cmpfunc=cmp):
684 # NOTE: cmpfunc argument is for backward compatibility.
687 def doCmp(a, b, cmpfunc):
688 return -cmpfunc(a, b)
690 def doCmp(a, b, cmpfunc):
691 return cmpfunc(a, b)
696 def doCmp(a, b, cmpfunc):
697 return -cmpfunc(key(a), key(b))
699 def doCmp(a, b, cmpfunc):
700 return cmpfunc(ke
[all...]
/macosx-10.9.5/swig-10/Lib/python/
H A Dpyrun.swg711 (cmpfunc)SwigPyObject_compare, /* tp_compare */
886 (cmpfunc)SwigPyPacked_compare, /* tp_compare */

Completed in 150 milliseconds