/third_party/nghttp2/tests/ |
D | nghttp2_helper_test.c | 35 int32_t delta; in test_nghttp2_adjust_local_window_size() local 37 delta = 0; in test_nghttp2_adjust_local_window_size() 40 &recv_reduction, &delta)); in test_nghttp2_adjust_local_window_size() 44 CU_ASSERT(0 == delta); in test_nghttp2_adjust_local_window_size() 46 delta = 49; in test_nghttp2_adjust_local_window_size() 49 &recv_reduction, &delta)); in test_nghttp2_adjust_local_window_size() 53 CU_ASSERT(49 == delta); in test_nghttp2_adjust_local_window_size() 55 delta = 1; in test_nghttp2_adjust_local_window_size() 58 &recv_reduction, &delta)); in test_nghttp2_adjust_local_window_size() 62 CU_ASSERT(1 == delta); in test_nghttp2_adjust_local_window_size() [all …]
|
/third_party/node/deps/npm/node_modules/tiny-relative-date/src/ |
D | factory.js | 9 let delta = null 18 delta = calculateDelta(now, date) 20 if (delta > day && delta < week) { 22 delta = calculateDelta(now, date) 46 case !(delta < 30): 49 case !(delta < minute): 50 return translate('seconds', delta) 52 case !(delta < 2 * minute): 55 case !(delta < hour): 56 return translate('minutes', Math.floor(delta / minute)) [all …]
|
/third_party/node/deps/npm/node_modules/tiny-relative-date/lib/ |
D | factory.js | 19 var delta = null; 28 delta = calculateDelta(now, date); 30 if (delta > day && delta < week) { 32 delta = calculateDelta(now, date); 56 case !(delta < 30): 59 case !(delta < minute): 60 return translate('seconds', delta); 62 case !(delta < 2 * minute): 65 case !(delta < hour): 66 return translate('minutes', Math.floor(delta / minute)); [all …]
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_eu_util.c | 63 unsigned delta = i*32; in brw_copy4() local 64 brw_MOV(p, byte_offset(dst, delta), byte_offset(src, delta)); in brw_copy4() 65 brw_MOV(p, byte_offset(dst, delta+16), byte_offset(src, delta+16)); in brw_copy4() 82 unsigned delta = i*32; in brw_copy8() local 83 brw_MOV(p, byte_offset(dst, delta), byte_offset(src, delta)); in brw_copy8() 97 unsigned delta = i*32; in brw_copy_indirect_to_indirect() local 98 brw_MOV(p, deref_4f(dst_ptr, delta), deref_4f(src_ptr, delta)); in brw_copy_indirect_to_indirect() 99 brw_MOV(p, deref_4f(dst_ptr, delta+16), deref_4f(src_ptr, delta+16)); in brw_copy_indirect_to_indirect() 115 unsigned delta = i*32; in brw_copy_from_indirect() local 116 brw_MOV(p, byte_offset(dst, delta), deref_4f(ptr, delta)); in brw_copy_from_indirect() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | dsicinaudio.c | 36 int delta; member 81 cin->delta = 0; in cinaudio_decode_init() 97 int delta, ret; in cinaudio_decode_frame() local 105 delta = cin->delta; in cinaudio_decode_frame() 108 delta = sign_extend(AV_RL16(buf), 16); in cinaudio_decode_frame() 110 *samples++ = delta; in cinaudio_decode_frame() 113 delta += cinaudio_delta16_table[*buf++]; in cinaudio_decode_frame() 114 delta = av_clip_int16(delta); in cinaudio_decode_frame() 115 *samples++ = delta; in cinaudio_decode_frame() 117 cin->delta = delta; in cinaudio_decode_frame()
|
D | vcr1.c | 33 int delta[16]; member 69 a->delta[i] = *bytestream++; in vcr1_decode_frame() 86 offset = a->offset[0] - a->delta[bytestream[2] & 0xF]; in vcr1_decode_frame() 88 luma[0] = offset += a->delta[bytestream[2] & 0xF]; in vcr1_decode_frame() 89 luma[1] = offset += a->delta[bytestream[2] >> 4]; in vcr1_decode_frame() 90 luma[2] = offset += a->delta[bytestream[0] & 0xF]; in vcr1_decode_frame() 91 luma[3] = offset += a->delta[bytestream[0] >> 4]; in vcr1_decode_frame() 102 offset = a->offset[y & 3] - a->delta[bytestream[2] & 0xF]; in vcr1_decode_frame() 105 luma[0] = offset += a->delta[bytestream[2] & 0xF]; in vcr1_decode_frame() 106 luma[1] = offset += a->delta[bytestream[2] >> 4]; in vcr1_decode_frame() [all …]
|
D | bgmc.c | 426 static void bgmc_lut_fillp(uint8_t *lut, int *lut_status, int delta) in bgmc_lut_fillp() argument 433 unsigned int symbol = 1 << delta; in bgmc_lut_fillp() 436 symbol += 1 << delta; in bgmc_lut_fillp() 438 *lut++ = symbol >> delta; in bgmc_lut_fillp() 441 *lut_status = delta; in bgmc_lut_fillp() 446 static uint8_t *bgmc_lut_getp(uint8_t *lut, int *lut_status, int delta) in bgmc_lut_getp() argument 448 unsigned int i = av_clip(delta, 0, LUT_BUFF - 1); in bgmc_lut_getp() 452 if (lut_status[i] != delta) in bgmc_lut_getp() 453 bgmc_lut_fillp(lut, &lut_status[i], delta); in bgmc_lut_getp() 511 int delta, unsigned int sx, in ff_bgmc_decode() argument [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_vfrdet.c | 29 int64_t delta; member 44 int64_t delta = in->pts - s->prev_pts; in filter_frame() local 46 if (s->delta == AV_NOPTS_VALUE) { in filter_frame() 47 s->delta = delta; in filter_frame() 48 s->min_delta = delta; in filter_frame() 49 s->max_delta = delta; in filter_frame() 52 if (s->delta != delta) { in filter_frame() 54 s->delta = delta; in filter_frame() 55 s->min_delta = FFMIN(delta, s->min_delta); in filter_frame() 56 s->max_delta = FFMAX(delta, s->max_delta); in filter_frame() [all …]
|
/third_party/re2/re2/ |
D | make_unicode_casefold.py | 50 def _AddDelta(a, delta): argument 52 if type(delta) == int: 53 return a+delta 54 if delta == 'EvenOdd': 59 if delta == 'OddEven': 64 print("Bad Delta:", delta, file=sys.stderr) 82 delta = r[2] 83 d = delta 84 if type(delta) is not str: 86 if delta.endswith('Skip'): [all …]
|
/third_party/freetype/src/lzw/ |
D | ftlzw.c | 195 FT_ULong delta = (FT_ULong)( zip->limit - zip->cursor ); in ft_lzw_file_skip_output() local 198 if ( delta >= count ) in ft_lzw_file_skip_output() 199 delta = count; in ft_lzw_file_skip_output() 201 zip->cursor += delta; in ft_lzw_file_skip_output() 202 zip->pos += delta; in ft_lzw_file_skip_output() 204 count -= delta; in ft_lzw_file_skip_output() 210 FT_ULong delta = FT_LZW_BUFFER_SIZE; in ft_lzw_file_skip_output() local 214 if ( delta > count ) in ft_lzw_file_skip_output() 215 delta = count; in ft_lzw_file_skip_output() 217 numread = ft_lzwstate_io( &zip->lzw, NULL, delta ); in ft_lzw_file_skip_output() [all …]
|
/third_party/skia/third_party/externals/freetype/src/lzw/ |
D | ftlzw.c | 195 FT_ULong delta = (FT_ULong)( zip->limit - zip->cursor ); in ft_lzw_file_skip_output() local 198 if ( delta >= count ) in ft_lzw_file_skip_output() 199 delta = count; in ft_lzw_file_skip_output() 201 zip->cursor += delta; in ft_lzw_file_skip_output() 202 zip->pos += delta; in ft_lzw_file_skip_output() 204 count -= delta; in ft_lzw_file_skip_output() 210 FT_ULong delta = FT_LZW_BUFFER_SIZE; in ft_lzw_file_skip_output() local 214 if ( delta > count ) in ft_lzw_file_skip_output() 215 delta = count; in ft_lzw_file_skip_output() 217 numread = ft_lzwstate_io( &zip->lzw, NULL, delta ); in ft_lzw_file_skip_output() [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/lzw/ |
D | ftlzw.c | 196 FT_ULong delta = (FT_ULong)( zip->limit - zip->cursor ); in ft_lzw_file_skip_output() local 199 if ( delta >= count ) in ft_lzw_file_skip_output() 200 delta = count; in ft_lzw_file_skip_output() 202 zip->cursor += delta; in ft_lzw_file_skip_output() 203 zip->pos += delta; in ft_lzw_file_skip_output() 205 count -= delta; in ft_lzw_file_skip_output() 211 FT_ULong delta = FT_LZW_BUFFER_SIZE; in ft_lzw_file_skip_output() local 215 if ( delta > count ) in ft_lzw_file_skip_output() 216 delta = count; in ft_lzw_file_skip_output() 218 numread = ft_lzwstate_io( &zip->lzw, NULL, delta ); in ft_lzw_file_skip_output() [all …]
|
/third_party/flutter/skia/samplecode/ |
D | SampleDegenerateTwoPtRadials.cpp | 14 static void draw_gradient2(SkCanvas* canvas, const SkRect& rect, SkScalar delta) { in draw_gradient2() argument 25 SkPoint c0 = { l + 2 * w / 5 + delta, t + h / 2 }; in draw_gradient2() 48 SkScalar delta = fTime / 15.f; in onDrawContent() local 49 int intPart = SkScalarFloorToInt(delta); in onDrawContent() 50 delta = delta - SK_Scalar1 * intPart; in onDrawContent() 52 delta = SK_Scalar1 - delta; in onDrawContent() 54 delta -= SK_ScalarHalf; in onDrawContent() 56 delta /= DELTA_SCALE; in onDrawContent() 62 draw_gradient2(canvas, SkRect::MakeXYWH(l, t, w, h), delta); in onDrawContent() 64 txt.appendf("gap at \"tangent\" pt = %f", SkScalarToFloat(delta)); in onDrawContent() [all …]
|
/third_party/skia/samplecode/ |
D | SampleDegenerateTwoPtRadials.cpp | 14 static void draw_gradient2(SkCanvas* canvas, const SkRect& rect, SkScalar delta) { in draw_gradient2() argument 25 SkPoint c0 = { l + 2 * w / 5 + delta, t + h / 2 }; in draw_gradient2() 48 SkScalar delta = fTime / 15.f; in onDrawContent() local 49 int intPart = SkScalarFloorToInt(delta); in onDrawContent() 50 delta = delta - SK_Scalar1 * intPart; in onDrawContent() 52 delta = SK_Scalar1 - delta; in onDrawContent() 54 delta -= SK_ScalarHalf; in onDrawContent() 56 delta /= DELTA_SCALE; in onDrawContent() 62 draw_gradient2(canvas, SkRect::MakeXYWH(l, t, w, h), delta); in onDrawContent() 64 txt.appendf("gap at \"tangent\" pt = %f", SkScalarToFloat(delta)); in onDrawContent() [all …]
|
/third_party/unity/src/ |
D | unity.h | 250 …e TEST_ASSERT_INT_WITHIN(delta, expected, actual) UNITY… argument 251 … TEST_ASSERT_INT8_WITHIN(delta, expected, actual) UNITY_… argument 252 …TEST_ASSERT_INT16_WITHIN(delta, expected, actual) UNITY_T… argument 253 …TEST_ASSERT_INT32_WITHIN(delta, expected, actual) UNITY_T… argument 254 …TEST_ASSERT_INT64_WITHIN(delta, expected, actual) UNITY_T… argument 255 … TEST_ASSERT_UINT_WITHIN(delta, expected, actual) UNITY_… argument 256 …TEST_ASSERT_UINT8_WITHIN(delta, expected, actual) UNITY_T… argument 257 …EST_ASSERT_UINT16_WITHIN(delta, expected, actual) UNITY_TE… argument 258 …EST_ASSERT_UINT32_WITHIN(delta, expected, actual) UNITY_TE… argument 259 …EST_ASSERT_UINT64_WITHIN(delta, expected, actual) UNITY_TE… argument [all …]
|
/third_party/python/Lib/encodings/ |
D | punycode.py | 57 delta = (curlen+1) * (char - oldchar) 62 delta += index - oldindex 63 result.append(delta-1) 65 delta = 0 91 def adapt(delta, first, numchars): argument 93 delta //= 700 95 delta //= 2 96 delta += delta // numchars 99 while delta > 455: 100 delta = delta // 35 # base - tmin [all …]
|
/third_party/skia/src/core/ |
D | SkScalerCache.cpp | 62 size_t delta = 0; in preparePath() local 64 delta = glyph->path()->approximateBytesUsed(); in preparePath() 66 return {glyph->path(), delta}; in preparePath() 86 size_t delta = 0; in internalPrepare() local 89 delta += size; in internalPrepare() 92 delta += pathSize; in internalPrepare() 97 return {{results, glyphIDs.size()}, delta}; in internalPrepare() 101 size_t delta = 0; in prepareImage() local 103 delta = glyph->imageSize(); in prepareImage() 105 return {glyph->image(), delta}; in prepareImage() [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | punyref.cpp | 111 punycode_uint delta, punycode_uint numpoints, int firsttime ) in adapt() argument 115 delta = firsttime ? delta / damp : delta >> 1; in adapt() 117 delta += delta / numpoints; in adapt() 119 for (k = 0; delta > ((base - tmin) * tmax) / 2; k += base) { in adapt() 120 delta /= base - tmin; in adapt() 123 return k + (base - tmin + 1) * delta / (delta + skew); in adapt() 135 punycode_uint n, delta, h, b, out, max_out, bias, j, m, q, k, t; in punycode_encode() local 140 delta = out = 0; in punycode_encode() 179 if (m - n > (maxint - delta) / (h + 1)) return punycode_overflow; in punycode_encode() 180 delta += (m - n) * (h + 1); in punycode_encode() [all …]
|
/third_party/libuv/src/ |
D | idna.c | 119 unsigned delta; in uv__idna_toascii_label() local 177 delta = 0; in uv__idna_toascii_label() 196 if (x > ~delta / y) in uv__idna_toascii_label() 199 delta += x * y; in uv__idna_toascii_label() 208 if (++delta == 0) in uv__idna_toascii_label() 214 for (k = 36, q = delta; /* empty */; k += 36) { in uv__idna_toascii_label() 242 delta /= 2; in uv__idna_toascii_label() 245 delta /= 350; in uv__idna_toascii_label() 253 delta += delta / h; in uv__idna_toascii_label() 255 for (bias = 0; delta > 35 * 26 / 2; bias += 36) in uv__idna_toascii_label() [all …]
|
/third_party/flutter/engine/flutter/fml/time/ |
D | time_unittest.cc | 25 TimeDelta delta = TimeDelta::FromNanoseconds(102304506708ll); in TEST() local 26 EXPECT_EQ(102304506708ll, delta.ToNanoseconds()); in TEST() 27 EXPECT_EQ(102304506ll, delta.ToMicroseconds()); in TEST() 28 EXPECT_EQ(102304ll, delta.ToMilliseconds()); in TEST() 29 EXPECT_EQ(102ll, delta.ToSeconds()); in TEST() 34 TimeDelta delta = TimeDelta::FromNanoseconds(102304506708ll); in TEST() local 35 EXPECT_FLOAT_EQ(102304506708.0, delta.ToNanosecondsF()); in TEST() 36 EXPECT_FLOAT_EQ(102304506.708, delta.ToMicrosecondsF()); in TEST() 37 EXPECT_FLOAT_EQ(102304.506708, delta.ToMillisecondsF()); in TEST() 38 EXPECT_FLOAT_EQ(102.304506708, delta.ToSecondsF()); in TEST()
|
/third_party/boost/boost/math/tools/ |
D | roots.hpp | 93 T& delta, in handle_zero_derivative() argument 112 delta = guess - result; in handle_zero_derivative() 117 if (delta < 0) in handle_zero_derivative() 119 delta = (result - min) / 2; in handle_zero_derivative() 123 delta = (result - max) / 2; in handle_zero_derivative() 129 if (delta < 0) in handle_zero_derivative() 131 delta = (result - max) / 2; in handle_zero_derivative() 135 delta = (result - min) / 2; in handle_zero_derivative() 250 T delta = tools::max_value<T>(); in newton_raphson_iterate() local 277 delta1 = delta; in newton_raphson_iterate() [all …]
|
/third_party/node/lib/ |
D | punycode.js | 179 const adapt = function(delta, numPoints, firstTime) { argument 181 delta = firstTime ? floor(delta / damp) : delta >> 1; 182 delta += floor(delta / numPoints); 183 for (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) { 184 delta = floor(delta / baseMinusTMin); 186 return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); 298 let delta = 0; 334 if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) { 338 delta += (m - n) * handledCPCountPlusOne; 342 if (currentValue < n && ++delta > maxInt) { [all …]
|
/third_party/node/deps/npm/node_modules/uri-js/node_modules/punycode/ |
D | punycode.es6.js | 179 const adapt = function(delta, numPoints, firstTime) { argument 181 delta = firstTime ? floor(delta / damp) : delta >> 1; 182 delta += floor(delta / numPoints); 183 for (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) { 184 delta = floor(delta / baseMinusTMin); 186 return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); 298 let delta = 0; 334 if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) { 338 delta += (m - n) * handledCPCountPlusOne; 342 if (currentValue < n && ++delta > maxInt) { [all …]
|
D | punycode.js | 179 const adapt = function(delta, numPoints, firstTime) { argument 181 delta = firstTime ? floor(delta / damp) : delta >> 1; 182 delta += floor(delta / numPoints); 183 for (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) { 184 delta = floor(delta / baseMinusTMin); 186 return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); 298 let delta = 0; 334 if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) { 338 delta += (m - n) * handledCPCountPlusOne; 342 if (currentValue < n && ++delta > maxInt) { [all …]
|
/third_party/boost/boost/math/distributions/ |
D | non_central_t.hpp | 30 T non_central_t2_p(T v, T delta, T x, T y, const Policy& pol, T init_val) in non_central_t2_p() argument 38 T d2 = delta * delta / 2; in non_central_t2_p() 52 * delta / constants::root_two<T>(); in non_central_t2_p() 108 T non_central_t2_q(T v, T delta, T x, T y, const Policy& pol, T init_val) in non_central_t2_q() argument 116 T d2 = delta * delta / 2; in non_central_t2_q() 137 pois *= delta / constants::root_two<T>(); in non_central_t2_q() 143 * delta / constants::root_two<T>(); in non_central_t2_q() 206 T non_central_t_cdf(T v, T delta, T t, bool invert, const Policy& pol) in non_central_t_cdf() argument 211 normal_distribution<T, Policy> n(delta, 1); in non_central_t_cdf() 219 delta = -delta; in non_central_t_cdf() [all …]
|