/external/lzma/CPP/7zip/Compress/ |
DeltaFilter.cpp | 5 #include "../../../C/Delta.h"
61 UInt32 delta = _delta;
local 73 delta = (UInt32)prop.ulVal;
74 if (delta < 1 || delta > 256)
82 _delta = delta;
116 CREATE_CODEC(Delta)
122 METHOD_ITEM(Delta, 3, L"Delta")
125 REGISTER_CODECS(Delta)
[all...] |
/external/skia/src/core/ |
SkDeviceLooper.cpp | 77 static bool next_tile(const SkIRect& boundary, int delta, SkIPoint* offset) { 79 if (offset->x() + delta < boundary.right()) { 80 offset->fX += delta; 86 if (offset->y() + delta < boundary.bottom()) { 87 offset->fY += delta;
|
/external/v8/src/interpreter/ |
bytecode-array-writer.cc | 173 int delta) { 178 if (Bytecodes::ScaleForSignedOperand(delta) == OperandScale::kSingle) { 182 bytecodes()->at(operand_location) = static_cast<uint8_t>(delta); 188 OperandSize::kByte, Smi::FromInt(delta)); 198 int delta) { 203 if (Bytecodes::ScaleForSignedOperand(delta) <= OperandScale::kDouble) { 207 WriteUnalignedUInt16(operand_bytes, static_cast<uint16_t>(delta)); 213 OperandSize::kShort, Smi::FromInt(delta)); 225 int delta) { 230 WriteUnalignedUInt32(operand_bytes, static_cast<uint32_t>(delta)); 244 int delta = static_cast<int>(jump_target - jump_location); local 285 int delta = -static_cast<int>(abs_delta); local [all...] |
/frameworks/native/libs/gui/ |
OccupancyTracker.cpp | 66 nsecs_t delta = now - mLastOccupancyChangeTime; local 67 if (delta > NEW_SEGMENT_DELAY) { 70 mPendingSegment.totalTime += delta; 72 mPendingSegment.mOccupancyTimes[mLastOccupancy] += delta; 74 mPendingSegment.mOccupancyTimes[mLastOccupancy] = delta;
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
AtomicInteger.java | 174 * @param delta the value to add 177 public final int getAndAdd(int delta) { 178 return U.getAndAddInt(this, VALUE, delta); 202 * @param delta the value to add 205 public final int addAndGet(int delta) { 206 return U.getAndAddInt(this, VALUE, delta) + delta;
|
AtomicLong.java | 190 * @param delta the value to add 193 public final long getAndAdd(long delta) { 194 return U.getAndAddLong(this, VALUE, delta); 218 * @param delta the value to add 221 public final long addAndGet(long delta) { 222 return U.getAndAddLong(this, VALUE, delta) + delta;
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
magic.go | 80 var delta uint64 105 delta = ad - r2 106 delta &= mask 107 if q1 < delta || (q1 == delta && r1 == 0) { 168 var delta uint64 206 delta = m.Ud - 1 - r2 207 delta &= mask 210 if q1 < delta || (q1 == delta && r1 == 0) [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
magic.go | 80 var delta uint64 105 delta = ad - r2 106 delta &= mask 107 if q1 < delta || (q1 == delta && r1 == 0) { 168 var delta uint64 206 delta = m.Ud - 1 - r2 207 delta &= mask 210 if q1 < delta || (q1 == delta && r1 == 0) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasTransform.java | 144 int delta = mClientSize - sx; local 145 if (delta < 0) { 147 } else if (delta < 2 * DEFAULT_MARGIN) { 148 mMargin = delta / 2; 152 && delta >= SHADOW_SIZE / 2) {
|
/sdk/templates/docs/ |
default.js | 135 delta = (ev.type == 'DOMMouseScroll' ? 138 up = delta > 0; 140 if (!up && -delta > scrollHeight - height - scrollTop) { 143 } else if (up && delta > scrollTop) { 147 $this.scrollTop(scrollTop - delta);
|
/art/compiler/debug/dwarf/ |
debug_frame_opcode_writer.h | 50 int delta = FactorCodeOffset(absolute_pc - current_pc_); local 51 if (delta != 0) { 52 if (delta <= 0x3F) { 53 this->PushUint8(DW_CFA_advance_loc | delta); 54 } else if (delta <= UINT8_MAX) { 56 this->PushUint8(delta); 57 } else if (delta <= UINT16_MAX) { 59 this->PushUint16(delta); 62 this->PushUint32(delta); 78 void ALWAYS_INLINE AdjustCFAOffset(int delta) { [all...] |
debug_line_opcode_writer.h | 51 uint64_t delta = FactorCodeOffset(absolute_address - current_address_); local 52 if (delta <= INT32_MAX) { 54 this->PushUleb128(static_cast<int>(delta)); 63 int delta = absolute_line - current_line_; local 64 if (delta != 0) { 66 this->PushSleb128(delta);
|
/test/vts/runners/host/ |
logger.py | 80 def _get_timestamp(time_format, delta=None): 82 if delta: 83 t = t + datetime.timedelta(seconds=delta) 92 def getLogLineTimestamp(delta=None): 95 Default is current time. If a delta is set, the return value will be 96 the current time offset by delta seconds. 99 delta: Number of seconds to offset from current time; can be negative. 104 return _get_timestamp("%m-%d %H:%M:%S.%f", delta) 107 def getLogFileTimestamp(delta=None): 110 Default is current time. If a delta is set, the return value will b [all...] |
/tools/test/connectivity/acts/framework/acts/ |
logger.py | 80 def _get_timestamp(time_format, delta=None): 82 if delta: 83 t = t + datetime.timedelta(seconds=delta) 103 def get_log_line_timestamp(delta=None): 106 Default is current time. If a delta is set, the return value will be 107 the current time offset by delta seconds. 110 delta: Number of seconds to offset from current time; can be negative. 115 return _get_timestamp("%m-%d %H:%M:%S.%f", delta) 118 def get_log_file_timestamp(delta=None): 121 Default is current time. If a delta is set, the return value will b [all...] |
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
HybridNonLinearSolver.h | 105 Scalar delta; member in class:Eigen::HybridNonLinearSolver 212 /* and initialize the step bound delta. */ 214 delta = parameters.factor * xnorm; 215 if (delta == 0.) 216 delta = parameters.factor; 237 internal::dogleg<Scalar>(R, diag, qtf, delta, wa1); 246 delta = (std::min)(delta,pnorm); 275 delta = Scalar(.5) * delta; [all...] |
LevenbergMarquardt.h | 126 Scalar delta; member in class:Eigen::LevenbergMarquardt 244 /* and initialize the step bound delta. */ 246 delta = parameters.factor * xnorm; 247 if (delta == 0.) 248 delta = parameters.factor; 275 internal::lmpar2<Scalar>(qrfac, diag, qtf, delta, par, wa1); 284 delta = (std::min)(delta,pnorm); 320 delta = temp * (std::min)(delta, pnorm / Scalar(.1)) [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
AtomicLongMap.java | 101 * Adds {@code delta} to the value currently associated with {@code key}, and returns the new 104 public long addAndGet(K key, long delta) { 108 atomic = map.putIfAbsent(key, new AtomicLong(delta)); 110 return delta; 119 if (map.replace(key, atomic, new AtomicLong(delta))) { 120 return delta; 126 long newValue = oldValue + delta; 150 * Adds {@code delta} to the value currently associated with {@code key}, and returns the old 153 public long getAndAdd(K key, long delta) { 157 atomic = map.putIfAbsent(key, new AtomicLong(delta)); [all...] |
/external/icu/icu4c/source/common/unicode/ |
ucharstrie.h | 435 int32_t delta=*pos++; local 436 if(delta>=kMinTwoUnitDeltaLead) { 437 if(delta==kThreeUnitDeltaLead) { 438 delta=(pos[0]<<16)|pos[1]; 441 delta=((delta-kMinTwoUnitDeltaLead)<<16)|*pos++; 444 return pos+delta; 448 int32_t delta=*pos++; local 449 if(delta>=kMinTwoUnitDeltaLead) { 450 if(delta==kThreeUnitDeltaLead) [all...] |
/external/ltp/testcases/realtime/func/pthread_kill_latency/ |
pthread_kill_latency.c | 115 long delta; local 162 delta = (end - begin) / NS_PER_US; 164 rec.y = delta; 167 if (i == 0 || delta < min) 168 min = delta; 170 if (delta > max) 171 max = delta; 173 if (delta > pass_criteria) 177 "Min = %ld us\n", i, delta, max, min); 182 if (latency_threshold && (delta > latency_threshold)) [all...] |
/prebuilts/go/darwin-x86/src/runtime/internal/atomic/ |
atomic_386.go | 24 func Xadd64(ptr *uint64, delta int64) uint64 { 27 if Cas64(ptr, old, old+uint64(delta)) { 28 return old + uint64(delta) 34 func Xadduintptr(ptr *uintptr, delta uintptr) uintptr 47 func Xadd(ptr *uint32, delta int32) uint32
|
/prebuilts/go/linux-x86/src/runtime/internal/atomic/ |
atomic_386.go | 24 func Xadd64(ptr *uint64, delta int64) uint64 { 27 if Cas64(ptr, old, old+uint64(delta)) { 28 return old + uint64(delta) 34 func Xadduintptr(ptr *uintptr, delta uintptr) uintptr 47 func Xadd(ptr *uint32, delta int32) uint32
|
/external/valgrind/coregrind/ |
m_stacks.c | 367 Word delta = (Word)new_SP - (Word)old_SP; local 375 (delta < 0 ? -delta : delta)); 392 Word delta = (Word)new_SP - (Word)old_SP; \ 420 if (UNLIKELY(delta < -VG_(clo_max_stackframe) \ 421 || VG_(clo_max_stackframe) < delta)) { \ 427 if (delta > 0) { \ 428 VG_TRACK( die_mem_stack, old_SP, delta ); \ 438 if (delta < 0) { // IF_BIGGER_STAC [all...] |
/external/freetype/src/gzip/ |
ftgzip.c | 470 FT_ULong delta; local 475 delta = (FT_ULong)( zip->limit - zip->cursor ); 476 if ( delta >= count ) 477 delta = count; 479 zip->cursor += delta; 480 zip->pos += delta; 482 count -= delta; 528 FT_ULong delta; local 531 delta = (FT_ULong)( zip->limit - zip->cursor ); 532 if ( delta >= count [all...] |
/cts/tests/tests/view/jni/ |
android_view_cts_ChoreographerNativeTest.cpp | 106 auto delta = cb2->frameTime - cb1->frameTime; local 107 ASSERT(delta == delta.zero() || delta > delta.zero() && delta < NOMINAL_VSYNC_PERIOD * 2, 108 "Callback 1 and 2 have frame times too large of a delta in frame times");
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/ |
SecantSolver.java | 203 double delta; local 206 delta = 0.5 * oldDelta; 208 delta = (x0 - x1) / (1 - y0 / y1); 209 if (delta / oldDelta > 1) { 212 delta = 0.5 * oldDelta; 217 x1 = x1 + delta;
|