Searched refs:delta (Results 1 - 25 of 692) sorted by relevance

1234567891011>>

/macosx-10.10/xnu-2782.1.97/osfmk/ipc/
H A Dport.h81 #define MACH_PORT_UREFS_OVERFLOW(urefs, delta) \
82 (((delta) > 0) && \
83 ((((urefs) + (delta)) <= (urefs)) || \
84 (((urefs) + (delta)) > MACH_PORT_UREFS_MAX)))
86 #define MACH_PORT_UREFS_UNDERFLOW(urefs, delta) \
87 (((delta) < 0) && (((mach_port_urefs_t)-(delta)) > (urefs)))
/macosx-10.10/dtrace-147/test/tst/common/rates/
H A Dtst.statusrate.d37 * Tests the statusrate option, by checking that the time delta between
53 /(this->delta = timestamp - ts) > 2 * NANOSEC/
59 /this->delta <= 2 * NANOSEC/
61 printf("delta between exit() and END (%u nanos) too small",
62 this->delta);
67 /this->delta > 20 * NANOSEC/
69 printf("delta between exit() and END (%u nanos) too large",
70 this->delta);
/macosx-10.10/xnu-2782.1.97/osfmk/i386/
H A Dbit_routines.h119 static inline void atomic_incl(volatile long * p, long delta) argument
124 "r" (delta), "m" (*(volatile long *)p));
127 static inline void atomic_incs(volatile short * p, short delta) argument
132 "q" (delta), "m" (*(volatile short *)p));
135 static inline void atomic_incb(volatile char * p, char delta) argument
140 "q" (delta), "m" (*(volatile char *)p));
143 static inline void atomic_decl(volatile long * p, long delta) argument
148 "r" (delta), "m" (*(volatile long *)p));
151 static inline int atomic_decl_and_test(volatile long * p, long delta) argument
159 : "r" (delta), "
163 atomic_decs(volatile short * p, short delta) argument
171 atomic_decb(volatile char * p, char delta) argument
[all...]
/macosx-10.10/dcerpc-61/dcerpc/libdcethread/
H A Ddcethread_get_expiration.c90 * Convert a delta timespec to absolute (offset by current time)
94 * delta struct timespec; input delta time
115 dcethread_get_expiration(struct timespec* delta, struct timespec* abstime) argument
118 return pthread_get_expiration_np(delta, abstime);
122 if (delta->tv_nsec >= (1000 * 1000000) || delta->tv_nsec < 0) {
129 abstime->tv_nsec = delta->tv_nsec + (now.tv_usec * 1000);
130 abstime->tv_sec = delta->tv_sec + now.tv_sec;
/macosx-10.10/tcl-105/tcl_ext/tclx/tclx/tests/
H A Dlassign.test24 lassign "a b {c d} e" alpha beta gamma delta epsilon
25 list $alpha $beta $gamma $delta $epsilon
29 set remain [lassign "a b {c d} e gg hhh ii" alpha beta gamma delta]
30 list $alpha $beta $gamma $delta $remain
38 lassign "a b {c d} e" array(alpha) array(beta) array(gamma) array(delta) array(epsilon)
39 list $array(alpha) $array(beta) $array(gamma) $array(delta) $array(epsilon)
42 catch {unset alpha beta gamma delta epsilon}
/macosx-10.10/WebCore-7600.1.25/page/
H A DSuspendableTimer.cpp135 void SuspendableTimer::augmentFireInterval(double delta) argument
138 TimerBase::augmentFireInterval(delta);
140 m_savedNextFireInterval += delta;
143 m_savedNextFireInterval = delta;
148 void SuspendableTimer::augmentRepeatInterval(double delta) argument
151 TimerBase::augmentRepeatInterval(delta);
153 m_savedNextFireInterval += delta;
154 m_savedRepeatInterval += delta;
157 m_savedNextFireInterval = delta;
158 m_savedRepeatInterval = delta;
[all...]
H A DWheelEventDeltaTracker.cpp61 static bool deltaIsPredominantlyVertical(const FloatSize& delta) argument
63 return fabs(delta.height()) > fabs(delta.width());
71 for (const auto& delta : m_recentWheelEventDeltas) {
72 bool isVertical = deltaIsPredominantlyVertical(delta);
/macosx-10.10/Heimdal-398.1.2/lib/wind/
H A Dpunycode.c55 adapt(unsigned delta, unsigned numpoints, int first) argument
60 delta = delta / damp;
62 delta /= 2;
63 delta += delta / numpoints;
65 while (delta > ((base - t_min) * t_max) / 2) {
66 delta /= base - t_min;
69 return k + (((base - t_min + 1) * delta) / (delta
93 unsigned delta = 0; local
[all...]
/macosx-10.10/ruby-106/ruby/test/bigdecimal/
H A Dtest_bigdecimal_util.rb17 delta = 1.0/10**(Float::DIG + 1)
18 assert_in_delta(BigDecimal(0.5, Float::DIG+1), 0.5.to_d, delta)
19 assert_in_delta(BigDecimal(355.0/113.0, Float::DIG+1), (355.0/113.0).to_d, delta)
24 delta = 1.0/10**(digits)
25 assert_in_delta(BigDecimal(0.5, 5), 0.5.to_d(digits), delta)
26 assert_in_delta(BigDecimal(355.0/113.0, 5), (355.0/113.0).to_d(digits), delta)
31 delta = 1.0/10**(digits)
32 assert_in_delta(BigDecimal(1.quo(2), digits), 1.quo(2).to_d(digits), delta)
33 assert_in_delta(BigDecimal(355.quo(113), digits), 355.quo(113).to_d(digits), delta)
/macosx-10.10/WebCore-7600.1.25/platform/graphics/texmap/
H A DTextureMapperFPSCounter.cpp55 double delta = monotonicallyIncreasingTime() - m_fpsTimestamp; local
56 if (delta >= m_fpsInterval) {
57 m_lastFPS = int(m_frameCount / delta);
59 m_fpsTimestamp += delta;
/macosx-10.10/ntp-92/libntp/
H A Dcalyearstart.c14 * Use the result of 'caljulian' to get the delta from the time stamp to the
22 ntp_u_int32_t delta; local
32 delta = (ntp_u_int32_t)jt.yearday * SECSPERDAY
49 NTP_INVARIANT((ntp_u_int32_t)(caltontp(&jt) + delta) == (ntp_u_int32_t)ntp_time);
55 return (ntp_u_int32_t)(ntp_time - delta);
H A Dadjtime.c24 int adjtime(struct timeval *delta, struct timeval *olddelta);
26 int adjtime(struct timeval *delta, struct timeval *olddelta) argument
46 if (delta != NULL) {
47 /* Adjustment required. Convert delta to 64-bit microseconds. */
48 big_sec = (long)delta->tv_sec;
49 big_usec = delta->tv_usec;
58 if (delta != NULL) {
163 register struct timeval *delta,
172 if (delta->tv_sec) {
175 return(_adjtime(delta, olddelt
162 adjtime( register struct timeval *delta, register struct timeval *olddelta ) argument
210 _adjtime( register struct timeval *delta, register struct timeval *olddelta ) argument
279 adjtime(struct timeval *delta, struct timeval *olddelta) argument
[all...]
/macosx-10.10/WebKit-7600.1.25/mac/Misc/
H A DWebNSImageExtras.h37 - (void)_web_dissolveToFraction:(float)delta;
/macosx-10.10/postfix-255/postfix/src/util/
H A Dtimecmp.c38 time_t delta = t1 - t2; local
40 if (delta == 0)
51 return ((2 * delta > delta) ? 1 : -1);
53 return ((delta > (time_t) 0) ? 1 : -1);
H A Dsane_time.c66 int delta; local
72 if ((delta = now - last_time) < 0 && last_time != 0) {
73 if ((delta = now - last_real) < 0) {
77 delta += fraction;
78 last_time += delta / SLEW_FACTOR;
79 fraction = delta % SLEW_FACTOR;
/macosx-10.10/WebCore-7600.1.25/platform/win/
H A DWheelEventWin.cpp68 PlatformWheelEvent::PlatformWheelEvent(HWND hWnd, const FloatSize& delta, const FloatPoint& location) argument
72 m_deltaX = delta.width();
73 m_deltaY = delta.height();
101 float delta = GET_WHEEL_DELTA_WPARAM(wParam) / static_cast<float>(WHEEL_DELTA); local
104 // |delta| after saving the original value on the wheel tick member.
105 m_wheelTicksX = delta;
107 delta = -delta;
114 m_wheelTicksY = delta;
117 m_deltaX = delta * static_cas
[all...]
/macosx-10.10/ICU-531.30/icuSources/test/perf/perldriver/
H A DFormat.pm45 # Format a number, optionally with a +/- delta, to n significant
51 # @optional delta in seconds
59 my $delta = shift; # may be undef
62 if (defined($delta)) {
63 my $d = formatSigDig($sigdig, $delta*$mult);
64 # restrict PRECISION of delta to that of main number
70 # isn't rounding the $delta properly. Have to put
81 # Format a time, optionally with a +/- delta, to n significant
86 # @optional delta in seconds
93 my $delta
[all...]
/macosx-10.10/ICU-531.30/icuSources/layout/
H A DGlyphSubstLookupProc.cpp58 le_uint32 delta = 0; local
69 delta = subtable->process(subtable, glyphIterator, success, fFilter);
77 delta = subtable->process(subtable, glyphIterator, success, fFilter);
85 delta = subtable->process(subtable, glyphIterator, success, fFilter);
93 delta = subtable->process(subtable, glyphIterator, success, fFilter);
101 delta = subtable->process(this, glyphIterator, fontInstance, success);
109 delta = subtable->process(this, glyphIterator, fontInstance, success);
117 delta = subtable->process(this, lookupType, glyphIterator, fontInstance, success);
125 return delta;
H A DGlyphPosnLookupProc.cpp71 le_uint32 delta = 0; local
82 delta = subtable->process(subtable, glyphIterator, fontInstance, success);
90 delta = subtable->process(subtable, glyphIterator, fontInstance, success);
98 delta = subtable->process(subtable, glyphIterator, fontInstance, success);
106 delta = subtable->process(subtable, glyphIterator, fontInstance, success);
114 delta = subtable->process(subtable, glyphIterator, fontInstance, success);
122 delta = subtable->process(subtable, glyphIterator, fontInstance, success);
130 delta = subtable->process(this, glyphIterator, fontInstance, success);
138 delta = subtable->process(this, glyphIterator, fontInstance, success);
146 delta
[all...]
/macosx-10.10/Security-57031.1.35/Security/include/security_utilities/
H A Dthreading_internal.h57 static Integer add(int delta, Integer &base) argument
58 { return OSAtomicAdd32(delta, &base); }
59 static Integer addb(int delta, Integer &base) { return OSAtomicAdd32Barrier(delta, &base); } argument
73 static Integer add(int delta, Integer &base) { return OSAtomicAdd64(delta, &base); } argument
74 static Integer addb(int delta, Integer &base) { return OSAtomicAdd64Barrier(delta, &base); } argument
98 static Type add(int delta, Type &store) argument
99 { return Type(_Ops::add(delta, (_Typ
100 addb(int delta, Type &store) argument
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Dthreading_internal.h57 static Integer add(int delta, Integer &base) argument
58 { return OSAtomicAdd32(delta, &base); }
59 static Integer addb(int delta, Integer &base) { return OSAtomicAdd32Barrier(delta, &base); } argument
73 static Integer add(int delta, Integer &base) { return OSAtomicAdd64(delta, &base); } argument
74 static Integer addb(int delta, Integer &base) { return OSAtomicAdd64Barrier(delta, &base); } argument
98 static Type add(int delta, Type &store) argument
99 { return Type(_Ops::add(delta, (_Typ
100 addb(int delta, Type &store) argument
[all...]
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/libtiff/
H A Dtif_thunder.c40 * pixels, or pixel values encoded as a delta from the
42 * or 3-bit delta values are used, with the deltas packed
79 int n, delta; local
103 if ((delta = ((n >> 4) & 3)) != DELTA2_SKIP)
104 SETPIXEL(op, lastpixel + twobitdeltas[delta]);
105 if ((delta = ((n >> 2) & 3)) != DELTA2_SKIP)
106 SETPIXEL(op, lastpixel + twobitdeltas[delta]);
107 if ((delta = (n & 3)) != DELTA2_SKIP)
108 SETPIXEL(op, lastpixel + twobitdeltas[delta]);
111 if ((delta
[all...]
/macosx-10.10/ICU-531.30/icuSources/i18n/
H A Dfphdlimp.cpp55 FieldPositionOnlyHandler::shiftLast(int32_t delta) { argument
56 if (delta != 0 && pos.getField() != FieldPosition::DONT_CARE && pos.getBeginIndex() != -1) {
57 pos.setBeginIndex(delta + pos.getBeginIndex());
58 pos.setEndIndex(delta + pos.getEndIndex());
101 FieldPositionIteratorHandler::shiftLast(int32_t delta) { argument
102 if (U_SUCCESS(status) && delta != 0) {
106 vec->setElementAt(delta + vec->elementAti(i), i);
108 vec->setElementAt(delta + vec->elementAti(i), i);
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/utilLib/
H A Dcputime.c34 CPUTime delta = to - from; local
35 return (double)delta * (tbrFreq() * (double)1e-9);
41 CPUTime delta = to - from; local
42 return (double)delta * (tbrFreq() * (double)1e-6);
48 CPUTime delta = to - from; local
49 return (double)delta * (tbrFreq() * (double)1e-3);
/macosx-10.10/libdispatch-442.1.4/src/
H A Dtime.c71 dispatch_time(dispatch_time_t inval, int64_t delta) argument
79 if (delta >= 0) {
80 offset = (uint64_t)delta;
86 offset = (uint64_t)-delta;
98 if (delta >= 0) {
99 offset = _dispatch_time_nano2mach((uint64_t)delta);
105 offset = _dispatch_time_nano2mach((uint64_t)-delta);
114 dispatch_walltime(const struct timespec *inval, int64_t delta) argument
122 nsec += delta;
125 return delta >
[all...]

Completed in 393 milliseconds

1234567891011>>