Home
last modified time | relevance | path

Searched refs:denom (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/msinttypes/
Dinttypes.h290 imaxdiv_t __cdecl imaxdiv(intmax_t numer, intmax_t denom) in imaxdiv() argument
294 result.quot = numer / denom; in imaxdiv()
295 result.rem = numer % denom; in imaxdiv()
300 result.rem -= denom; in imaxdiv()
/packages/modules/DnsResolver/
Dres_cache.cpp922 uint32_t denom; in resolv_get_dns_event_subsampling_map() local
933 if (!ParseUint(rate_denom[1], &denom)) { in resolv_get_dns_event_subsampling_map()
937 sampling_rate_map[return_code] = denom; in resolv_get_dns_event_subsampling_map()
1817 uint32_t denom; in resolv_cache_get_subsampling_denom() local
1819 denom = search_returnCode->second; in resolv_cache_get_subsampling_denom()
1822 denom = (search_default == subsampling_map.end()) ? 0 : search_default->second; in resolv_cache_get_subsampling_denom()
1824 return denom; in resolv_cache_get_subsampling_denom()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGeometryMathUtils.java118 float denom = t1 * t4 - t0 * t5; in lineIntersect() local
119 if (denom == 0) in lineIntersect()
121 float u = (t3 * t4 + t5 * t2) / denom; in lineIntersect()
/packages/services/Car/cpp/watchdog/server/src/
DIoPerfCollection.cpp51 double percentage(uint64_t numer, uint64_t denom) { in percentage() argument
52 return denom == 0 ? 0.0 : (static_cast<double>(numer) / static_cast<double>(denom)) * 100.0; in percentage()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_feature_detection.cpp1461 float denom = (fxx * fyy - fxy * fxy) * (float) 2.0; in db_SubPixel() local
1466 if ( db_absf(denom) <= FLT_EPSILON ) in db_SubPixel()
1475 float dx = (fyy * fx - fxy * fy) / denom; in db_SubPixel()
1476 float dy = (fxx * fy - fxy * fx) / denom; in db_SubPixel()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreCard.java2483 double denom = numer1 + numer2; in merge() local
2486 / denom; in merge()
2487 historicalVariance = numer1 * numer2 / denom; in merge()