Searched refs:compare (Results 1 - 25 of 801) sorted by relevance

1234567891011>>

/macosx-10.9.5/CPANInternal-140/DateTime/t/
H A D17set_return.t17 is( DateTime->compare( $p, $dt ), 0, "set() returns self" );
20 is( DateTime->compare( $p, $dt ), 0, "set_time_zone() returns self" );
23 is( DateTime->compare( $p, $dt ), 0, "add_duration() returns self" );
26 is( DateTime->compare( $p, $dt ), 0, "add() returns self" );
30 is( DateTime->compare( $p, $dt ), 0, "subtract_duration() returns self" );
33 is( DateTime->compare( $p, $dt ), 0, "subtract() returns self" );
36 is( DateTime->compare( $p, $dt ), 0, "truncate() returns self" );
H A D07compare.t18 my $identity = $date1->compare($date2);
24 ok($date1->compare($date2) == -1, 'Comparison $a < $b, 1 second diff');
29 ok($date1->compare($date2) == -1, 'Comparison $a < $b, 1 minute diff');
34 ok($date1->compare($date2) == -1, 'Comparison $a < $b, 1 hour diff');
39 ok($date1->compare($date2) == -1, 'Comparison $a < $b, 1 day diff');
44 ok($date1->compare($date2) == -1, 'Comparison $a < $b, 1 month diff');
49 ok($date1->compare($date2) == -1, 'Comparison $a < $b, 1 year diff');
56 ok($date1->compare($date2) == 1, 'Comparison $a > $b, 1 second diff');
61 ok($date1->compare($date2) == 1, 'Comparison $a > $b, 1 minute diff');
66 ok($date1->compare(
[all...]
H A D38local-subtract.t28 is( DateTime->compare( $dt1->clone->add_duration($dur1), $dt2 ), 0,
30 is( DateTime->compare( $dt2->clone->subtract_duration($dur1), $dt1 ), 0,
50 is( DateTime->compare( $dt1->clone->add_duration($dur3), $dt2 ), 0,
52 is( DateTime->compare( $dt2->clone->subtract_duration($dur3), $dt1 ), 0,
63 is( DateTime->compare( $dt1->clone->add_duration($dur3), $dt2 ), 0,
65 is( DateTime->compare( $dt2->clone->subtract_duration($dur4), $dt1 ), 0,
134 is( DateTime->compare( $dt1->add_duration($dur), $dt2 ), 0,
136 is( DateTime->compare( $dt2->subtract_duration($dur), $dt2 ), 0,
161 is( DateTime->compare( $dt1->clone->add_duration($dur1), $dt2 ), 0,
163 is( DateTime->compare(
[all...]
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-core/Examples/ApplicationPlugins/Colloqui/Colloquy Plugin SDK/Headers/
H A DNSBundleAdditions.h4 - (NSComparisonResult) compare:(NSBundle *) bundle;
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-core/Examples/ApplicationPlugins/Colloqui/Colloquy Plugin SDK/Headers/
H A DNSBundleAdditions.h4 - (NSComparisonResult) compare:(NSBundle *) bundle;
/macosx-10.9.5/apache-786.1/httpd/srclib/apr-util/include/
H A Dapr_strmatch.h44 /** Function called to compare */
45 const char *(*compare)(const apr_strmatch_pattern *this_pattern, member in struct:apr_strmatch_pattern
64 #define apr_strmatch(pattern, s, slen) (*((pattern)->compare))((pattern), (s), (slen))
/macosx-10.9.5/apr-30/apr-util/apr-util/include/
H A Dapr_strmatch.h44 /** Function called to compare */
45 const char *(*compare)(const apr_strmatch_pattern *this_pattern, member in struct:apr_strmatch_pattern
64 #define apr_strmatch(pattern, s, slen) (*((pattern)->compare))((pattern), (s), (slen))
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/examples/csv/
H A Dcsvuniq35 ![string compare $in ""] ||
36 ![string compare $out ""]
42 if {![string compare $in -]} {
47 if {![string compare $out -]} {
76 } elseif {[string compare $last [lindex $data $uniCol]] != 0} {
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/
H A Dstore-test.c48 compare(const char *name, krb5_storage *sp, void *expected, size_t len) function
80 nerr += compare("Integer", sp, "\x1\x2\x3\x4", 4);
85 nerr += compare("Integer (LE)", sp, "\x4\x3\x2\x1", 4);
90 nerr += compare("Integer (BE)", sp, "\x1\x2\x3\x4", 4);
102 nerr += compare("Integer (host)", sp, data, 4);
109 nerr += compare("Principal", sp, "\x0\x0\x0\x1"
/macosx-10.9.5/tcl-102/tcl/tcl/library/dde/
H A DpkgIndex.tcl2 if {[string compare $::tcl_platform(platform) windows]} {return}
/macosx-10.9.5/tcl-102/tcl/tcl/library/reg/
H A DpkgIndex.tcl2 if {[string compare $::tcl_platform(platform) windows]} {return}
/macosx-10.9.5/tcl-102/tcl84/tcl/library/dde/
H A DpkgIndex.tcl2 if {[string compare $::tcl_platform(platform) windows]} {return}
/macosx-10.9.5/tcl-102/tcl84/tcl/library/reg/
H A DpkgIndex.tcl2 if {[string compare $::tcl_platform(platform) windows]} {return}
/macosx-10.9.5/tcl-102/tcl_ext/expect/expect/example/
H A Dunbuffer6 if {[string compare [lindex $argv 0] "-p"] == 0} {
/macosx-10.9.5/BerkeleyDB-21/db/java/src/com/sleepycat/db/
H A DLogSequenceNumber.java81 public static int compare(LogSequenceNumber lsn1, LogSequenceNumber lsn2) { method in class:LogSequenceNumber
/macosx-10.9.5/WebCore-7537.78.1/Modules/indexeddb/
H A DIDBKey.cpp52 int IDBKey::compare(const IDBKey* other) const function in class:WebCore::IDBKey
61 if (int result = m_array[i]->compare(other->m_array[i].get()))
88 return compare(other) == -1;
96 return !compare(other);
/macosx-10.9.5/WebCore-7537.78.1/platform/leveldb/
H A DLevelDBComparator.h41 virtual int compare(const LevelDBSlice&, const LevelDBSlice&) const = 0;
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/ADT/
H A DPriorityQueue.h30 explicit PriorityQueue(const Compare &compare = Compare(),
32 : std::priority_queue<T, Sequence, Compare>(compare, sequence)
37 const Compare &compare = Compare(),
39 : std::priority_queue<T, Sequence, Compare>(begin, end, compare, sequence)
/macosx-10.9.5/swig-10/Lib/allegrocl/
H A Dstd_string.i60 int compare( const basic_string<charT> &other ) const;
61 int compare( const charT *str ) const;
68 return self->compare( other ) == 0;
71 return self->compare( other ) != 0;
74 return self->compare( other ) == -1;
77 return self->compare( other ) == 1;
80 return self->compare( other ) != 1;
83 return self->compare( other ) != -1;
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/examples/mime/mbot/
H A Dmutl.tcl47 || ([string compare [lindex $ecode 0] POSIX]) \
48 || ([string compare [lindex $ecode 1] EEXIST]))} {
62 if {(![string compare $tmpD ""]) && ([catch { set tmpD $env(TMP) }])} {
79 || ([string compare [lindex $ecode 0] POSIX]) \
80 || ([string compare [lindex $ecode 1] EEXIST]))} {
94 if {[string compare $aprops(proper) ""]} {
110 } elseif {![string compare $props(content) text/plain]} {
/macosx-10.9.5/tcl-102/tcl/tcl/tools/
H A DregexpTestLib.tcl64 if {[string compare $code "INVARG"] == 0} {
66 } elseif {[string compare $code "BADRPT"] == 0} {
68 } elseif {[string compare $code "BADBR"] == 0} {
70 } elseif {[string compare $code "BADOPT"] == 0} {
72 } elseif {[string compare $code "EPAREN"] == 0} {
74 } elseif {[string compare $code "EBRACE"] == 0} {
76 } elseif {[string compare $code "EBRACK"] == 0} {
78 } elseif {[string compare $code "ERANGE"] == 0} {
80 } elseif {[string compare $code "ECTYPE"] == 0} {
82 } elseif {[string compare
[all...]
/macosx-10.9.5/tcl-102/tcl84/tcl/tools/
H A DregexpTestLib.tcl64 if {[string compare $code "INVARG"] == 0} {
66 } elseif {[string compare $code "BADRPT"] == 0} {
68 } elseif {[string compare $code "BADBR"] == 0} {
70 } elseif {[string compare $code "BADOPT"] == 0} {
72 } elseif {[string compare $code "EPAREN"] == 0} {
74 } elseif {[string compare $code "EBRACE"] == 0} {
76 } elseif {[string compare $code "EBRACK"] == 0} {
78 } elseif {[string compare $code "ERANGE"] == 0} {
80 } elseif {[string compare $code "ECTYPE"] == 0} {
82 } elseif {[string compare
[all...]
/macosx-10.9.5/groff-38/groff/src/roff/troff/
H A Dmtsm.cpp42 void int_value::diff(FILE *fp, const char *s, int_value compare) argument
44 if (differs(compare)) {
48 fputs(i_to_a(compare.value), fp);
50 value = compare.value;
74 int int_value::differs(int_value compare) argument
76 return compare.is_known
77 && (!is_known || value != compare.value);
88 void bool_value::diff(FILE *fp, const char *s, bool_value compare) argument
90 if (differs(compare)) {
94 value = compare
109 diff(FILE *fp, const char *s, units_value compare) argument
130 differs(units_value compare) argument
145 diff(FILE *fp, const char *s, string_value compare) argument
169 differs(string_value compare) argument
199 flush(FILE *fp, statem *compare) argument
[all...]
/macosx-10.9.5/apache-786.1/httpd/modules/metadata/
H A Dmod_version.c74 * compare the supplied version with the core one
177 int reverse = 0, done = 0, match = 0, compare; local
223 compare = compare_version(apr_pstrmemdup(cmd->pool, arg2,
230 match = !compare;
250 compare = compare_version(apr_pstrmemdup(cmd->pool, arg2,
257 match = ((-1 == compare) || (*p && !compare));
261 compare = compare_version(apr_pstrmemdup(cmd->pool, arg2,
268 match = ((1 == compare) || (*p && !compare));
[all...]
/macosx-10.9.5/WebCore-7537.78.1/html/parser/
H A DHTMLEntitySearch.cpp46 HTMLEntitySearch::CompareResult HTMLEntitySearch::compare(const HTMLEntityTableEntry* entry, UChar nextCharacter) const function in class:WebCore::HTMLEntitySearch
62 CompareResult result = compare(left, nextCharacter);
69 result = compare(probe, nextCharacter);
87 CompareResult result = compare(right, nextCharacter);
94 result = compare(probe, nextCharacter);
117 if (m_first == m_last && compare(m_first, nextCharacter) != Prefix)

Completed in 193 milliseconds

1234567891011>>