Home
last modified time | relevance | path

Searched refs:nstime_compare (Results 1 – 18 of 18) sorted by relevance

/external/jemalloc_new/test/unit/
Dnstime.c40 assert_d_eq(nstime_compare(&nsta, &nstb), 0, "Times should be equal"); in TEST_BEGIN()
41 assert_d_eq(nstime_compare(&nstb, &nsta), 0, "Times should be equal"); in TEST_BEGIN()
44 assert_d_eq(nstime_compare(&nsta, &nstb), 1, in TEST_BEGIN()
46 assert_d_eq(nstime_compare(&nstb, &nsta), -1, in TEST_BEGIN()
50 assert_d_eq(nstime_compare(&nsta, &nstb), -1, in TEST_BEGIN()
52 assert_d_eq(nstime_compare(&nstb, &nsta), 1, in TEST_BEGIN()
56 assert_d_eq(nstime_compare(&nsta, &nstb), 1, in TEST_BEGIN()
58 assert_d_eq(nstime_compare(&nstb, &nsta), -1, in TEST_BEGIN()
62 assert_d_eq(nstime_compare(&nsta, &nstb), -1, in TEST_BEGIN()
64 assert_d_eq(nstime_compare(&nstb, &nsta), 1, in TEST_BEGIN()
[all …]
Ddecay.c409 } while (nstime_compare(&time, &deadline) <= 0 && ((dirty_npurge1 == in decay_ticker_helper()
/external/jemalloc/test/unit/
Dnstime.c44 assert_d_eq(nstime_compare(&nsta, &nstb), 0, "Times should be equal"); in TEST_BEGIN()
45 assert_d_eq(nstime_compare(&nstb, &nsta), 0, "Times should be equal"); in TEST_BEGIN()
48 assert_d_eq(nstime_compare(&nsta, &nstb), 1, in TEST_BEGIN()
50 assert_d_eq(nstime_compare(&nstb, &nsta), -1, in TEST_BEGIN()
54 assert_d_eq(nstime_compare(&nsta, &nstb), -1, in TEST_BEGIN()
56 assert_d_eq(nstime_compare(&nstb, &nsta), 1, in TEST_BEGIN()
60 assert_d_eq(nstime_compare(&nsta, &nstb), 1, in TEST_BEGIN()
62 assert_d_eq(nstime_compare(&nstb, &nsta), -1, in TEST_BEGIN()
66 assert_d_eq(nstime_compare(&nsta, &nstb), -1, in TEST_BEGIN()
68 assert_d_eq(nstime_compare(&nstb, &nsta), 1, in TEST_BEGIN()
[all …]
Ddecay.c294 } while (nstime_compare(&time, &deadline) <= 0 && npurge1 == npurge0); in TEST_BEGIN()
/external/jemalloc/src/
Dnstime.c48 nstime_compare(const nstime_t *a, const nstime_t *b) in nstime_compare() function
67 assert(nstime_compare(time, subtrahend) >= 0); in nstime_subtract()
183 if (unlikely(nstime_compare(&old_time, time) > 0)) { in nstime_update()
Darena.c1272 return (nstime_compare(&arena->decay.deadline, time) <= 0); in arena_decay_deadline_reached()
1486 if (unlikely(!nstime_monotonic() && nstime_compare(&arena->decay.epoch, in arena_maybe_purge_decay()
1501 assert(nstime_compare(&arena->decay.epoch, &time) <= 0); in arena_maybe_purge_decay()
/external/jemalloc_new/src/
Dnstime.c47 nstime_compare(const nstime_t *a, const nstime_t *b) { in nstime_compare() function
67 assert(nstime_compare(time, subtrahend) >= 0); in nstime_subtract()
163 if (unlikely(nstime_compare(&old_time, time) > 0)) { in nstime_update_impl()
Dmutex.c95 if (nstime_compare(&data->max_wait_time, &delta) < 0) { in malloc_mutex_lock_slow()
Dbackground_thread.c266 if (nstime_compare(&after_sleep, &before_sleep) > 0) {
676 if (nstime_compare(&diff, &decay->epoch) <= 0) {
Darena.c447 return (nstime_compare(&decay->deadline, time) <= 0); in arena_decay_deadline_reached()
632 if (unlikely(!nstime_monotonic() && nstime_compare(&decay->epoch, &time) in arena_maybe_decay()
647 assert(nstime_compare(&decay->epoch, &time) <= 0); in arena_maybe_decay()
/external/jemalloc/include/jemalloc/internal/
Dnstime.h27 int nstime_compare(const nstime_t *a, const nstime_t *b);
Dprivate_symbols.txt355 nstime_compare
Dprivate_namespace.h355 #define nstime_compare JEMALLOC_N(nstime_compare) macro
Dprivate_unnamespace.h355 #undef nstime_compare
/external/jemalloc_new/include/jemalloc/internal/
Dnstime.h19 int nstime_compare(const nstime_t *a, const nstime_t *b);
Dmutex.h180 if (nstime_compare(&sum->max_wait_time, &data->max_wait_time) < 0) { in malloc_mutex_prof_merge()
Dprivate_namespace.h238 #define nstime_compare JEMALLOC_N(nstime_compare) macro
Dprivate_namespace_jet.h241 #define nstime_compare JEMALLOC_N(nstime_compare) macro