Searched refs:n1 (Results 1 - 12 of 12) sorted by relevance

/frameworks/av/media/libstagefright/wifi-display/sink/
H A DLinearRegression.cpp60 bool LinearRegression::approxLine(float *n1, float *n2, float *b) const { argument
92 *n1 = 1.0;
95 float mag = sqrt((*n1) * (*n1) + (*n2) * (*n2));
97 *n1 /= mag;
100 *n1 = 0.0;
104 *b = (*n1) * meanX + (*n2) * meanY;
H A DLinearRegression.h34 bool approxLine(float *n1, float *n2, float *b) const;
H A DRTPSink.cpp490 float n1, n2, b; local
491 if (mRegression.approxLine(&n1, &n2, &b)) {
493 mNumPacketsReceived, n1, n2, b, -n1 / n2);
495 float expectedArrivalTimeMedia = (b - n1 * (float)rtpTime) / n2;
/frameworks/native/opengl/tests/hwc/
H A DhwcStress.cpp428 for (unsigned int n1 = 0; n1 < list->numHwLayers; n1++) {
429 unsigned int idx = testRandMod(selectedFrames[n1].size());
430 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx];
431 hwc_layer_1_t *layer = &list->hwLayers[n1];
492 for (unsigned int n1 = 0; n1 < numSet; n1++) {
499 for (unsigned int n1
[all...]
H A DhwcRects.cpp266 for (unsigned int n1 = 0; n1 < argNext.length(); n1++) {
267 switch(argNext[n1]) {
553 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) {
554 testPrintE(" %s", hwcTestGraphicFormat[n1].desc);
H A DhwcTestLib.cpp358 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) {
359 if (string(desc) == string(hwcTestGraphicFormat[n1].desc)) {
360 return &hwcTestGraphicFormat[n1];
372 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) {
373 if (id == hwcTestGraphicFormat[n1].format) {
374 return &hwcTestGraphicFormat[n1];
[all...]
H A DhwcColorEquiv.cpp436 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) {
437 testPrintE(" %s", hwcTestGraphicFormat[n1].desc);
H A DhwcCommit.cpp397 for (unsigned int n1 = 0; n1 < NUMA(hwcTestGraphicFormat); n1++) {
398 formats.push_back(hwcTestGraphicFormat[n1].desc);
1441 for (unsigned int n1 = 0; n1 < hwcList->numHwLayers; n1++) {
1442 if (hwcList->hwLayers[n1].compositionType == HWC_OVERLAY) {
1558 for (unsigned int n1 = 0; n1 < NUM
[all...]
/frameworks/base/services/common_time/
H A Dcommon_clock.cpp131 uint32_t n1 = local_to_common_freq_numer_; local
137 // n1/d1 has already been reduced, no need to do so here.
138 LinearTransform::reduce(&n1, &d2);
144 cur_trans_.a_to_b_numer = n1 * n2;
/frameworks/native/include/utils/
H A DUnicode.h43 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/native/libs/utils/
H A DUnicode.cpp293 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2) argument
295 const char16_t* e1 = s1+n1;
305 return n1 < n2
307 : (n1 > n2
312 int strzcmp16_h_n(const char16_t *s1H, size_t n1, const char16_t *s2N, size_t n2) argument
314 const char16_t* e1 = s1H+n1;
326 return n1 < n2
328 : (n1 > n2
/frameworks/base/tests/backup/
H A Dtest_restore.sh69 restore_set=$(a shell bmgr list sets | head -n1 | awk '{print $1}')

Completed in 492 milliseconds