/frameworks/av/media/libstagefright/wifi-display/sink/ |
D | LinearRegression.cpp | 60 bool LinearRegression::approxLine(float *n1, float *n2, float *b) const { in approxLine() argument 92 *n1 = 1.0; in approxLine() 95 float mag = sqrt((*n1) * (*n1) + (*n2) * (*n2)); in approxLine() 97 *n1 /= mag; in approxLine() 100 *n1 = 0.0; in approxLine() 104 *b = (*n1) * meanX + (*n2) * meanY; in approxLine()
|
D | LinearRegression.h | 34 bool approxLine(float *n1, float *n2, float *b) const;
|
D | RTPSink.cpp | 490 float n1, n2, b; in parseRTP() local 491 if (mRegression.approxLine(&n1, &n2, &b)) { in parseRTP() 493 mNumPacketsReceived, n1, n2, b, -n1 / n2); in parseRTP() 495 float expectedArrivalTimeMedia = (b - n1 * (float)rtpTime) / n2; in parseRTP()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcStress.cpp | 428 for (unsigned int n1 = 0; n1 < list->numHwLayers; n1++) { in main() local 429 unsigned int idx = testRandMod(selectedFrames[n1].size()); in main() 430 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx]; in main() 431 hwc_layer_1_t *layer = &list->hwLayers[n1]; in main() 492 for (unsigned int n1 = 0; n1 < numSet; n1++) { in main() local 499 for (unsigned int n1 = 0; n1 < list->numHwLayers; n1++) { in main() local 500 unsigned int idx = testRandMod(selectedFrames[n1].size()); in main() 501 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx]; in main() 502 hwc_layer_1_t *layer = &list->hwLayers[n1]; in main() 641 for (size_t n1 = 0; n1 < vec.size(); n1++) { in vectorOr() local [all …]
|
D | hwcRects.cpp | 266 for (unsigned int n1 = 0; n1 < argNext.length(); n1++) { in main() local 267 switch(argNext[n1]) { in main() 553 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) { in printSyntax() local 554 testPrintE(" %s", hwcTestGraphicFormat[n1].desc); in printSyntax()
|
D | hwcTestLib.cpp | 358 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) { in hwcTestGraphicFormatLookup() local 359 if (string(desc) == string(hwcTestGraphicFormat[n1].desc)) { in hwcTestGraphicFormatLookup() 360 return &hwcTestGraphicFormat[n1]; in hwcTestGraphicFormatLookup() 372 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) { in hwcTestGraphicFormatLookup() local 373 if (id == hwcTestGraphicFormat[n1].format) { in hwcTestGraphicFormatLookup() 374 return &hwcTestGraphicFormat[n1]; in hwcTestGraphicFormatLookup() 388 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) { in hwcTestGraphicFormat2str() local 389 if (format == hwcTestGraphicFormat[n1].format) { in hwcTestGraphicFormat2str() 390 return hwcTestGraphicFormat[n1].desc; in hwcTestGraphicFormat2str()
|
D | hwcColorEquiv.cpp | 436 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) { in printSyntax() local 437 testPrintE(" %s", hwcTestGraphicFormat[n1].desc); in printSyntax()
|
D | hwcCommit.cpp | 397 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) { in main() local 398 formats.push_back(hwcTestGraphicFormat[n1].desc); in main() 1441 for (unsigned int n1 = 0; n1 < hwcList->numHwLayers; n1++) { in numOverlays() local 1442 if (hwcList->hwLayers[n1].compositionType == HWC_OVERLAY) { in numOverlays() 1558 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) { in printSyntax() local 1559 testPrintE(" %s", hwcTestGraphicFormat[n1].desc); in printSyntax()
|
/frameworks/native/libs/utils/ |
D | Unicode.cpp | 293 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2) in strzcmp16() argument 295 const char16_t* e1 = s1+n1; in strzcmp16() 305 return n1 < n2 in strzcmp16() 307 : (n1 > n2 in strzcmp16() 312 int strzcmp16_h_n(const char16_t *s1H, size_t n1, const char16_t *s2N, size_t n2) in strzcmp16_h_n() argument 314 const char16_t* e1 = s1H+n1; in strzcmp16_h_n() 326 return n1 < n2 in strzcmp16_h_n() 328 : (n1 > n2 in strzcmp16_h_n()
|
/frameworks/base/services/common_time/ |
D | common_clock.cpp | 131 uint32_t n1 = local_to_common_freq_numer_; in setSlew() local 138 LinearTransform::reduce(&n1, &d2); in setSlew() 144 cur_trans_.a_to_b_numer = n1 * n2; in setSlew()
|
/frameworks/native/include/utils/ |
D | Unicode.h | 43 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2); 46 int strzcmp16_h_n(const char16_t *s1H, size_t n1, const char16_t *s2N, size_t n2);
|
/frameworks/base/tests/backup/ |
D | test_restore.sh | 69 restore_set=$(a shell bmgr list sets | head -n1 | awk '{print $1}')
|