/external/chromium_org/third_party/freetype/src/pshinter/ |
pshalgo.c | 355 FT_Pos delta = len - dim->stdw.widths[0].cur; local 358 if ( delta < 0 ) 359 delta = -delta; 361 if ( delta < 40 ) 370 delta = ( len & 63 ); 373 if ( delta < 10 ) 374 len += delta; 376 else if ( delta < 32 ) 379 else if ( delta < 54 447 FT_Fixed delta = dim->scale_delta; local 861 FT_Fixed delta = dim->scale_delta; local 1013 long long delta = (long long)in_x * out_y - (long long)in_y * out_x; local 1786 FT_Pos delta = y - zone->org_bottom; local 1808 FT_Pos delta = zone->org_top - y; local 1845 FT_Pos delta; local 2038 FT_Fixed delta = dim->scale_delta; local [all...] |
/external/freetype/src/pshinter/ |
pshalgo.c | 354 FT_Pos delta = len - dim->stdw.widths[0].cur; local 357 if ( delta < 0 ) 358 delta = -delta; 360 if ( delta < 40 ) 369 delta = ( len & 63 ); 372 if ( delta < 10 ) 373 len += delta; 375 else if ( delta < 32 ) 378 else if ( delta < 54 446 FT_Fixed delta = dim->scale_delta; local 860 FT_Fixed delta = dim->scale_delta; local 1012 long long delta = (long long)in_x * out_y - (long long)in_y * out_x; local 1785 FT_Pos delta = y - zone->org_bottom; local 1807 FT_Pos delta = zone->org_top - y; local 1844 FT_Pos delta; local 2037 FT_Fixed delta = dim->scale_delta; local [all...] |
/external/junit/src/org/junit/ |
Assert.java | 351 double[] actuals, double delta) throws ArrayComparisonFailure { 352 new InexactComparisonCriteria(delta).arrayEquals(message, expecteds, actuals); 364 public static void assertArrayEquals(double[] expecteds, double[] actuals, double delta) { 365 assertArrayEquals(null, expecteds, actuals, delta); 381 float[] actuals, float delta) throws ArrayComparisonFailure { 382 new InexactComparisonCriteria(delta).arrayEquals(message, expecteds, actuals); 394 public static void assertArrayEquals(float[] expecteds, float[] actuals, float delta) { 395 assertArrayEquals(null, expecteds, actuals, delta); 420 * Asserts that two doubles or floats are equal to within a positive delta. 422 * message. If the expected value is infinity then the delta value i [all...] |
/external/smack/src/org/xbill/DNS/ |
ZoneTransferIn.java | 69 public static class Delta { 74 /** The starting serial number of this delta. */ 77 /** The ending serial number of this delta. */ 87 Delta() { 140 Delta delta = new Delta(); local 141 delta.deletes.add(soa); 142 delta.start = getSOASerial(soa); 143 ixfr.add(delta); 147 Delta delta = (Delta) ixfr.get(ixfr.size() - 1); local 155 Delta delta = (Delta) ixfr.get(ixfr.size() - 1); local 407 Delta delta; local [all...] |
/external/chromium/sdch/open-vcdiff/src/ |
encodetable.cc | 31 // If interleaved is true, the encoder writes each delta file window 35 // decoded results when only a portion of a delta file window 108 // one or two delta instructions. This function will first 265 // This calculation must match the items added between "Start of Delta Encoding" 266 // and "End of Delta Encoding" in Output(), below. 286 LOG(WARNING) << "Empty input; no delta window produced" << LOG_ENDL; 315 // Start of Delta Encoding 334 // End of Delta Encoding 338 LOG(DFATAL) << "Internal error: calculated length of the delta encoding (" 357 // cache between delta windows, as required by RFC section 5.1 [all...] |
/external/chromium_org/sdch/open-vcdiff/src/ |
encodetable.cc | 48 // If interleaved is true, the encoder writes each delta file window 52 // decoded results when only a portion of a delta file window 140 // one or two delta instructions. This function will first 293 // This calculation must match the items added between "Start of Delta Encoding" 294 // and "End of Delta Encoding" in Output(), below. 314 VCD_WARNING << "Empty input; no delta window produced" << VCD_ENDL; 343 // Start of Delta Encoding 362 // End of Delta Encoding 366 VCD_DFATAL << "Internal error: calculated length of the delta encoding (" 385 // cache between delta windows, as required by RFC section 5.1 [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/mac/ |
ScrollElasticityController.mm | 77 static float elasticDeltaForReboundDelta(float delta) 80 return delta / stiffness; 83 static float reboundDeltaForElasticDelta(float delta) 85 return delta * rubberbandStiffness; 154 // Reset overflow values because we may decide to remove delta at various points and put it into overflow. 344 FloatPoint delta(roundToDevicePixelTowardZero(elasticDeltaForTimeDelta(m_startStretch.width(), -m_origVelocity.width(), (float)timeDelta)), 347 if (fabs(delta.x()) >= 1 || fabs(delta.y()) >= 1) { 348 m_client->immediateScrollByWithoutContentEdgeConstraints(FloatSize(delta.x(), delta.y()) - m_client->stretchAmount()) [all...] |
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/ |
base.js | 315 return function(delta) { 316 var deltaInUnits = delta / divisorInMilliseconds; 325 describe: function(delta) { return 'Just now'; } 343 delta < 1 minutes => Just Now 344 delta < 60 minutes => X minute[s] ago 345 delta < 24 hours => X hour[s] ago 346 delta < inf => X day[s] ago 351 var delta = new Date().getTime() - time; 353 if (delta >= slot.maxMilliseconds) 356 result = slot.describe(delta); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_clip_util.c | 156 GLuint delta = brw_vue_slot_to_offset(slot); local 160 brw_MOV(p, deref_4f(dest_ptr, delta), brw_imm_f(1)); 162 brw_MOV(p, deref_4f(dest_ptr, delta), deref_4f(v0_ptr, delta)); 179 deref_4f(v1_ptr, delta), 184 negate(deref_4f(v0_ptr, delta)), 188 deref_4f(dest_ptr, delta), 189 deref_4f(v0_ptr, delta), 195 GLuint delta = brw_vue_slot_to_offset(c->vue_map.num_slots); local 197 brw_MOV(p, deref_4f(dest_ptr, delta), brw_imm_f(0)) [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
SkNinePatch.cpp | 49 // Computes the delta between vertices along a single axis 54 // the standard delta between vertices if no stretching is required 55 SkScalar delta = currentVertex - prevVertex; local 62 delta = 0; // collapse stretchable areas 64 delta = SkScalarMul(delta, -stretchFactor); // scale fixed areas 65 // if the stretch factor is positive then we use the standard delta for 68 delta = SkScalarMul(delta, stretchFactor); 71 return delta; [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_clip_util.c | 156 GLuint delta = brw_vue_slot_to_offset(slot); local 160 brw_MOV(p, deref_4f(dest_ptr, delta), brw_imm_f(1)); 162 brw_MOV(p, deref_4f(dest_ptr, delta), deref_4f(v0_ptr, delta)); 179 deref_4f(v1_ptr, delta), 184 negate(deref_4f(v0_ptr, delta)), 188 deref_4f(dest_ptr, delta), 189 deref_4f(v0_ptr, delta), 195 GLuint delta = brw_vue_slot_to_offset(c->vue_map.num_slots); local 197 brw_MOV(p, deref_4f(dest_ptr, delta), brw_imm_f(0)) [all...] |
/external/open-vcdiff/src/ |
encodetable.cc | 48 // If interleaved is true, the encoder writes each delta file window 52 // decoded results when only a portion of a delta file window 140 // one or two delta instructions. This function will first 293 // This calculation must match the items added between "Start of Delta Encoding" 294 // and "End of Delta Encoding" in Output(), below. 314 VCD_WARNING << "Empty input; no delta window produced" << VCD_ENDL; 343 // Start of Delta Encoding 362 // End of Delta Encoding 366 VCD_DFATAL << "Internal error: calculated length of the delta encoding (" 385 // cache between delta windows, as required by RFC section 5.1 [all...] |
/external/skia/src/utils/ |
SkNinePatch.cpp | 49 // Computes the delta between vertices along a single axis 54 // the standard delta between vertices if no stretching is required 55 SkScalar delta = currentVertex - prevVertex; local 62 delta = 0; // collapse stretchable areas 64 delta = SkScalarMul(delta, -stretchFactor); // scale fixed areas 65 // if the stretch factor is positive then we use the standard delta for 68 delta = SkScalarMul(delta, stretchFactor); 71 return delta; [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
test_assertions.py | 31 self.assertAlmostEqual(1.1, 1.0, delta=0.5) 32 self.assertAlmostEqual(1.0, 1.1, delta=0.5) 33 self.assertNotAlmostEqual(1.1, 1.0, delta=0.05) 34 self.assertNotAlmostEqual(1.0, 1.1, delta=0.05) 37 1.1, 1.0, delta=0.05) 39 1.1, 1.0, delta=0.5) 42 1.1, 1.0, places=2, delta=2) 44 1.1, 1.0, places=2, delta=2) 49 delta=datetime.timedelta(seconds=20)) 51 delta=datetime.timedelta(seconds=5) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
test_assertions.py | 31 self.assertAlmostEqual(1.1, 1.0, delta=0.5) 32 self.assertAlmostEqual(1.0, 1.1, delta=0.5) 33 self.assertNotAlmostEqual(1.1, 1.0, delta=0.05) 34 self.assertNotAlmostEqual(1.0, 1.1, delta=0.05) 37 1.1, 1.0, delta=0.05) 39 1.1, 1.0, delta=0.5) 42 1.1, 1.0, places=2, delta=2) 44 1.1, 1.0, places=2, delta=2) 49 delta=datetime.timedelta(seconds=20)) 51 delta=datetime.timedelta(seconds=5) [all...] |
/art/compiler/dex/quick/mips/ |
assemble_mips.cc | 532 * The "Delta" pseudo-ops load the difference between 534 * found in operands[0]. The delta is determined by 544 int delta = offset2 - offset1; local 545 if ((delta & 0xffff) == delta && ((delta & 0x8000) == 0)) { 547 lir->operands[1] = delta; 571 int delta = offset2 - offset1; local 572 lir->operands[1] = delta & 0xffff; 577 int delta = offset2 - offset1 local 583 int delta = target - pc; local 597 int delta = target - pc; local 611 int delta = target - pc; local [all...] |
/external/chromium_org/third_party/icu/source/common/ |
punycode.c | 159 adaptBias(int32_t delta, int32_t length, UBool firstTime) { 163 delta/=DAMP; 165 delta/=2; 168 delta+=delta/length; 169 for(count=0; delta>((BASE-TMIN)*TMAX)/2; count+=BASE) { 170 delta/=(BASE-TMIN); 173 return count+(((BASE-TMIN+1)*delta)/(delta+SKEW)); 185 int32_t n, delta, handledCPCount, basicLength, destLength, bias, j, m, q, k, t, srcCPCount local [all...] |
unorm_it.c | 110 int32_t delta; local 112 delta=capacity-uni->capacity; 113 uprv_memcpy(states+delta+start, uni->states+start, (limit-start+1)*4); 114 uprv_memcpy(chars+delta+start, uni->chars+start, (limit-start)*4); 116 api->start=start+delta; 117 api->index+=delta; 118 api->limit=limit+delta; 132 moveContentsTowardStart(UCharIterator *api, UChar chars[], uint32_t states[], int32_t delta) { 137 srcIndex=delta; 159 moveContentsTowardEnd(UCharIterator *api, UChar chars[], uint32_t states[], int32_t delta) { [all...] |
/external/icu4c/common/ |
punycode.cpp | 162 adaptBias(int32_t delta, int32_t length, UBool firstTime) { 166 delta/=DAMP; 168 delta/=2; 171 delta+=delta/length; 172 for(count=0; delta>((BASE-TMIN)*TMAX)/2; count+=BASE) { 173 delta/=(BASE-TMIN); 176 return count+(((BASE-TMIN+1)*delta)/(delta+SKEW)); 188 int32_t n, delta, handledCPCount, basicLength, destLength, bias, j, m, q, k, t, srcCPCount local [all...] |
unorm_it.c | 111 int32_t delta; local 113 delta=capacity-uni->capacity; 114 uprv_memcpy(states+delta+start, uni->states+start, (limit-start+1)*4); 115 uprv_memcpy(chars+delta+start, uni->chars+start, (limit-start)*4); 117 api->start=start+delta; 118 api->index+=delta; 119 api->limit=limit+delta; 133 moveContentsTowardStart(UCharIterator *api, UChar chars[], uint32_t states[], int32_t delta) { 138 srcIndex=delta; 160 moveContentsTowardEnd(UCharIterator *api, UChar chars[], uint32_t states[], int32_t delta) { [all...] |
/external/chromium/chrome/browser/safe_browsing/ |
prefix_set_unittest.cc | 253 unsigned delta = 100 * 1000 * 1000; local 255 prefix += delta; 260 // maximum delta, and end up larger. Also include some duplicates. 261 delta = 256 * 256 - 100; 263 prefix += delta; 266 delta++; 269 // Add a long sequence with deltas smaller than the maximum delta, 271 delta = 256 * 256 - 1; 272 prefix = kVeryPositive - delta * 1000; 275 prefix += delta; 446 const int delta = prefixes[i] - prefixes[i - 1]; local [all...] |
/external/javassist/src/main/javassist/bytecode/ |
CodeAttribute.java | 482 * @param delta the indexes of the local variables are 485 private static void shiftIndex(CodeIterator ci, int lessThan, int delta) throws BadBytecode { 493 shiftIndex8(ci, index, opcode, lessThan, delta); 497 shiftIndex0(ci, index, opcode, lessThan, delta, ILOAD_0, ILOAD); 503 shiftIndex8(ci, index, opcode, lessThan, delta); 507 shiftIndex0(ci, index, opcode, lessThan, delta, ISTORE_0, ISTORE); 515 var += delta; 528 shiftIndex8(ci, index, opcode, lessThan, delta); 534 var += delta; 540 int lessThan, int delta) [all...] |
/external/chromium/sdch/open-vcdiff/src/google/ |
vcdecoder.h | 27 // A streaming decoder class. Takes a dictionary (source) file and a delta 29 // the partial contents of the delta file as they arrive, in "chunks". 78 // window in the VCDIFF delta file. This rule is irrespective 100 // encounters a delta file that would cause it to create a target file larger 102 // applied to delta files whose sizes vary greatly and whose contents can be 117 // delta window that would cause it to create a target window larger 139 // if the entire delta file is available.
|
/external/chromium_org/sdch/open-vcdiff/src/google/ |
vcdecoder.h | 27 // A streaming decoder class. Takes a dictionary (source) file and a delta 29 // the partial contents of the delta file as they arrive, in "chunks". 78 // window in the VCDIFF delta file. This rule is irrespective 100 // encounters a delta file that would cause it to create a target file larger 102 // applied to delta files whose sizes vary greatly and whose contents can be 117 // delta window that would cause it to create a target window larger 139 // if the entire delta file is available.
|
/external/chromium_org/webkit/browser/quota/ |
usage_tracker_unittest.cc | 103 int64 UpdateUsage(const GURL& origin, int64 delta) { 104 return usage_map_[origin] += delta; 129 void UpdateUsage(const GURL& origin, int64 delta) { 130 quota_client_.UpdateUsage(origin, delta); 131 usage_tracker_.UpdateUsageCache(quota_client_.id(), origin, delta); 135 void UpdateUsageWithoutNotification(const GURL& origin, int64 delta) { 136 quota_client_.UpdateUsage(origin, delta);
|