/external/guava/guava-tests/test/com/google/common/collect/ |
D | ConcurrentHashMultisetBasherTest.java | 77 int[] deltas = new int[3]; in testAddAndRemove() local 80 for (int i = 0; i < deltas.length; i++) { in testAddAndRemove() 81 deltas[i] += taskDeltas[i]; in testAddAndRemove() 91 assertEquals("Counts not as expected", Ints.asList(deltas), actualCounts); in testAddAndRemove() 115 int[] deltas = new int[nKeys]; in call() local 125 deltas[keyIndex] += delta; in call() 131 deltas[keyIndex] += (newValue - oldValue); in call() 138 deltas[keyIndex] += (newValue - oldValue); in call() 145 deltas[keyIndex] -= Math.min(delta, oldValue); in call() 151 deltas[keyIndex] -= delta; in call() [all …]
|
/external/opencv/cv/include/ |
D | cvtypes.h | 104 schar deltas[8][2]; member 109 #define CV_INIT_3X3_DELTAS( deltas, step, nch ) \ argument 110 ((deltas)[0] = (nch), (deltas)[1] = -(step) + (nch), \ 111 (deltas)[2] = -(step), (deltas)[3] = -(step) - (nch), \ 112 (deltas)[4] = -(nch), (deltas)[5] = (step) - (nch), \ 113 (deltas)[6] = (step), (deltas)[7] = (step) + (nch))
|
/external/opencv3/modules/imgproc/src/ |
D | contours.cpp | 44 #define CV_INIT_3X3_DELTAS( deltas, step, nch ) \ argument 45 ((deltas)[0] = (nch), (deltas)[1] = -(step) + (nch), \ 46 (deltas)[2] = -(step), (deltas)[3] = -(step) - (nch), \ 47 (deltas)[4] = -(nch), (deltas)[5] = (step) - (nch), \ 48 (deltas)[6] = (step), (deltas)[7] = (step) + (nch)) 69 reader->deltas[i][0] = (schar) icvCodeDeltas[i].x; in cvStartReadChainPoints() 70 reader->deltas[i][1] = (schar) icvCodeDeltas[i].y; in cvStartReadChainPoints() 507 int deltas[16]; in icvFetchContour() local 516 CV_INIT_3X3_DELTAS( deltas, step, 1 ); in icvFetchContour() 517 memcpy( deltas + 8, deltas, 8 * sizeof( deltas[0] )); in icvFetchContour() [all …]
|
D | histogram.cpp | 118 std::vector<uchar*>& ptrs, std::vector<int>& deltas, in histPrepareImages() argument 129 deltas.resize((dims + 1)*2); in histPrepareImages() 153 deltas[i*2] = images[j].channels(); in histPrepareImages() 154 deltas[i*2+1] = (int)(images[j].step/esz1 - imsize.width*deltas[i*2]); in histPrepareImages() 162 deltas[dims*2] = 1; in histPrepareImages() 163 deltas[dims*2 + 1] = (int)(mask.step/mask.elemSize1()); in histPrepareImages() 455 CalcHist1D_8uInvoker( const std::vector<uchar*>& ptrs, const std::vector<int>& deltas, in CalcHist1D_8uInvoker() argument 459 mstep_(deltas[dims*2 + 1]), in CalcHist1D_8uInvoker() 468 step_[0] = (&deltas[0])[1]; in CalcHist1D_8uInvoker() 469 d_[0] = (&deltas[0])[0]; in CalcHist1D_8uInvoker() [all …]
|
/external/opencv/cv/src/ |
D | cvcontours.cpp | 44 #define CV_INIT_3X3_DELTAS( deltas, step, nch ) \ argument 45 ((deltas)[0] = (nch), (deltas)[1] = -(step) + (nch), \ 46 (deltas)[2] = -(step), (deltas)[3] = -(step) - (nch), \ 47 (deltas)[4] = -(nch), (deltas)[5] = (step) - (nch), \ 48 (deltas)[6] = (step), (deltas)[7] = (step) + (nch)) 75 reader->deltas[i][0] = (schar) icvCodeDeltas[i].x; in cvStartReadChainPoints() 76 reader->deltas[i][1] = (schar) icvCodeDeltas[i].y; in cvStartReadChainPoints() 537 int deltas[16]; in icvFetchContour() local 546 CV_INIT_3X3_DELTAS( deltas, step, 1 ); in icvFetchContour() 547 memcpy( deltas + 8, deltas, 8 * sizeof( deltas[0] )); in icvFetchContour() [all …]
|
/external/opencv3/modules/imgproc/include/opencv2/imgproc/ |
D | types_c.h | 476 schar deltas[8][2]; member 481 #define CV_INIT_3X3_DELTAS( deltas, step, nch ) \ argument 482 ((deltas)[0] = (nch), (deltas)[1] = -(step) + (nch), \ 483 (deltas)[2] = -(step), (deltas)[3] = -(step) - (nch), \ 484 (deltas)[4] = -(nch), (deltas)[5] = (step) - (nch), \ 485 (deltas)[6] = (step), (deltas)[7] = (step) + (nch))
|
/external/dng_sdk/source/ |
D | dng_misc_opcodes.cpp | 864 uint32 deltas = SafeUint32DivideUp (fAreaSpec.Area ().H (), in dng_opcode_DeltaPerRow() local 867 if (deltas != stream.Get_uint32 ()) in dng_opcode_DeltaPerRow() 872 if (dataSize != dng_area_spec::kDataSize + 4 + deltas * 4) in dng_opcode_DeltaPerRow() 877 fTable.Reset (host.Allocate (SafeUint32Mult (deltas, in dng_opcode_DeltaPerRow() 882 for (uint32 j = 0; j < deltas; j++) in dng_opcode_DeltaPerRow() 892 printf ("Count: %u\n", (unsigned) deltas); in dng_opcode_DeltaPerRow() 894 for (uint32 k = 0; k < deltas && k < gDumpLineLimit; k++) in dng_opcode_DeltaPerRow() 899 if (deltas > gDumpLineLimit) in dng_opcode_DeltaPerRow() 901 printf (" ... %u deltas skipped\n", (unsigned) (deltas - gDumpLineLimit)); in dng_opcode_DeltaPerRow() 915 uint32 deltas = SafeUint32DivideUp (fAreaSpec.Area ().H (), in PutData() local [all …]
|
D | dng_hue_sat_map.cpp | 157 const HSBModify *deltas = GetConstDeltas (); in GetDelta() local 159 modify.fHueShift = deltas [offset].fHueShift; in GetDelta() 160 modify.fSatScale = deltas [offset].fSatScale; in GetDelta() 161 modify.fValScale = deltas [offset].fValScale; in GetDelta()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | transport_feedback_unittest.cc | 114 std::vector<int64_t> deltas = feedback_->GetReceiveDeltasUs(); in VerifyInternal() local 115 ASSERT_EQ(expected_deltas_.size(), deltas.size()); in VerifyInternal() 117 EXPECT_EQ(expected_deltas_[i], deltas[i]) << "Delta mismatch @ " << i; in VerifyInternal() 122 int64_t* deltas) { in GenerateDeltas() argument 131 deltas[i] = offset + (last_seq * default_delta_); in GenerateDeltas() 343 std::vector<int64_t> deltas = feedback.GetReceiveDeltasUs(); in TEST() local 347 for (int64_t delta : deltas) { in TEST() 465 for (int deltas = 0; deltas <= kOneBitVectorCapacity + 1; ++deltas) { in TEST() local 468 for (int i = 0; i < deltas; ++i) in TEST() 470 feedback.WithReceivedPacket(deltas, deltas * 1000 + kLargeTimeDelta); in TEST()
|
/external/libchrome/base/test/ |
D | trace_event_analyzer.cc | 847 std::vector<double> deltas; in GetRateStats() local 855 deltas.push_back(delta); in GetRateStats() 858 std::sort(deltas.begin(), deltas.end()); in GetRateStats() 865 deltas.erase(deltas.begin(), deltas.begin() + options->trim_min); in GetRateStats() 866 deltas.erase(deltas.end() - options->trim_max, deltas.end()); in GetRateStats() 869 num_deltas = deltas.size(); in GetRateStats() 872 delta_sum += deltas[i]; in GetRateStats() 874 stats->min_us = *std::min_element(deltas.begin(), deltas.end()); in GetRateStats() 875 stats->max_us = *std::max_element(deltas.begin(), deltas.end()); in GetRateStats() 880 double offset = fabs(deltas[i] - stats->mean_us); in GetRateStats()
|
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/ |
D | smoothness.py | 88 deltas = [t2 - t1 for t1, t2 in zip(data, data[1:])] 90 deltas = [d for d in deltas 92 return (deltas, [delta / refresh_period for delta in deltas])
|
/external/icu/icu4c/source/test/cintltst/ |
D | cdateintervalformattest.c | 127 static const double deltas[] = { variable 139 enum { kNumDeltas = sizeof(deltas)/sizeof(deltas[0]) - 1 }; 292 const double * deltasPtr = deltas; in TestFPos_SkelWithSeconds()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_wm_emit.c | 38 can_do_pln(struct intel_context *intel, const struct brw_reg *deltas) in can_do_pln() argument 45 if (deltas[1].nr != deltas[0].nr + 1) in can_do_pln() 48 if (intel->gen < 6 && ((deltas[0].nr & 1) != 0)) in can_do_pln() 261 const struct brw_reg *deltas) in emit_pixel_w() argument 284 if (can_do_pln(intel, deltas)) { in emit_pixel_w() 285 brw_PLN(p, temp_dst, interp3, deltas[0]); in emit_pixel_w() 287 brw_LINE(p, brw_null_reg(), interp3, deltas[0]); in emit_pixel_w() 288 brw_MAC(p, temp_dst, suboffset(interp3, 1), deltas[1]); in emit_pixel_w() 316 const struct brw_reg *deltas) in emit_linterp() argument 332 } else if (can_do_pln(intel, deltas)) { in emit_linterp() [all …]
|
D | brw_wm_fp.c | 347 struct prog_src_register deltas = get_delta_xy(c); in get_pixel_w() local 357 deltas, in get_pixel_w() 372 struct prog_src_register deltas; in emit_interp() local 374 deltas = get_delta_xy(c); in emit_interp() 401 deltas, in emit_interp() 422 deltas, in emit_interp() 433 deltas, in emit_interp() 466 deltas, in emit_interp() 488 deltas, in emit_interp()
|
D | brw_wm.h | 388 const struct brw_reg *deltas); 426 const struct brw_reg *deltas, 435 const struct brw_reg *deltas);
|
D | brw_fs_emit.cpp | 126 struct brw_reg deltas; in generate_pixel_xy() local 130 deltas = brw_imm_v(0x10101010); in generate_pixel_xy() 133 deltas = brw_imm_v(0x11001100); in generate_pixel_xy() 145 brw_ADD(p, dst, src, deltas); in generate_pixel_xy()
|
/external/opencv/cvaux/src/ |
D | cvsegment.cpp | 339 int deltas[16]; in icvGetComponent() local 345 CV_INIT_3X3_DELTAS( deltas, step, 1 ); in icvGetComponent() 346 memcpy( deltas + 8, deltas, 8 * sizeof( deltas[0] )); in icvGetComponent() 396 i1 = i0 + deltas[s]; in icvGetComponent() 419 i4 = i3 + deltas[++s]; in icvGetComponent()
|
/external/pdfium/third_party/freetype/src/truetype/ |
D | ttgxvar.c | 227 FT_Short *deltas = NULL; in ft_var_readpackeddeltas() local 236 if ( FT_NEW_ARRAY( deltas, delta_cnt ) ) in ft_var_readpackeddeltas() 249 deltas[i++] = 0; in ft_var_readpackeddeltas() 255 deltas[i++] = FT_GET_SHORT(); in ft_var_readpackeddeltas() 261 deltas[i++] = FT_GET_CHAR(); in ft_var_readpackeddeltas() 267 FT_FREE( deltas ); in ft_var_readpackeddeltas() 272 return deltas; in ft_var_readpackeddeltas() 1303 FT_Short* deltas; in tt_face_vary_cvt() local 1425 deltas = ft_var_readpackeddeltas( stream, in tt_face_vary_cvt() 1428 if ( localpoints == NULL || deltas == NULL ) in tt_face_vary_cvt() [all …]
|
/external/freetype/src/truetype/ |
D | ttgxvar.c | 227 FT_Short *deltas = NULL; in ft_var_readpackeddeltas() local 236 if ( FT_NEW_ARRAY( deltas, delta_cnt ) ) in ft_var_readpackeddeltas() 249 deltas[i++] = 0; in ft_var_readpackeddeltas() 255 deltas[i++] = FT_GET_SHORT(); in ft_var_readpackeddeltas() 261 deltas[i++] = FT_GET_CHAR(); in ft_var_readpackeddeltas() 267 FT_FREE( deltas ); in ft_var_readpackeddeltas() 272 return deltas; in ft_var_readpackeddeltas() 1302 FT_Short* deltas; in tt_face_vary_cvt() local 1424 deltas = ft_var_readpackeddeltas( stream, in tt_face_vary_cvt() 1427 if ( localpoints == NULL || deltas == NULL ) in tt_face_vary_cvt() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateIntervalFormatTest.java | 1537 final long[] deltas = { in TestFPos_SkelWithSeconds() local 1704 int dIdx, dCount = deltas.length; in TestFPos_SkelWithSeconds() 1706 DateInterval di = new DateInterval(startTime, startTime + deltas[dIdx]); in TestFPos_SkelWithSeconds() 1713 … errln("For locale " + item.locale + ", skeleton " + item.skeleton + ", delta " + deltas[dIdx] + in TestFPos_SkelWithSeconds()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateIntervalFormatTest.java | 1541 final long[] deltas = { in TestFPos_SkelWithSeconds() local 1708 int dIdx, dCount = deltas.length; in TestFPos_SkelWithSeconds() 1710 DateInterval di = new DateInterval(startTime, startTime + deltas[dIdx]); in TestFPos_SkelWithSeconds() 1717 … errln("For locale " + item.locale + ", skeleton " + item.skeleton + ", delta " + deltas[dIdx] + in TestFPos_SkelWithSeconds()
|
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/ |
D | rfc2217.py | 984 deltas = modemstate ^ (self.last_modemstate or 0) # when last is None -> 0 985 if deltas & MODEMSTATE_MASK_CTS: 987 if deltas & MODEMSTATE_MASK_DSR: 989 if deltas & MODEMSTATE_MASK_RI: 991 if deltas & MODEMSTATE_MASK_CD:
|
/external/autotest/test_suites/ |
D | control.paygen_au_canary | 26 Note: this suite only tests deltas from the canary channel.
|
D | control.paygen_au_stable | 26 Note: this suite only tests deltas from the stable channel.
|
D | control.paygen_au_beta | 26 Note: this suite only tests deltas from the beta channel.
|