Home
last modified time | relevance | path

Searched refs:stat (Results 1 – 19 of 19) sorted by relevance

/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_rob_image_homography.cpp74 …oint_count,double *x_i,double *xp_i,double one_over_scale2,db_Statistics *stat,double thresh=DB_OU… in db_RobImageHomography_Statistics() argument
90 if(stat) in db_RobImageHomography_Statistics()
92 stat->nr_points=point_count; in db_RobImageHomography_Statistics()
93 stat->one_over_scale2=one_over_scale2; in db_RobImageHomography_Statistics()
94 stat->nr_inliers=i; in db_RobImageHomography_Statistics()
95 stat->inlier_fraction=frac; in db_RobImageHomography_Statistics()
97 stat->cost=db_RobImageHomography_Cost(H,point_count,x_i,xp_i,one_over_scale2); in db_RobImageHomography_Statistics()
98 stat->model_dimension=0; in db_RobImageHomography_Statistics()
101 stat->lambda1=log(4.0); in db_RobImageHomography_Statistics()
102 stat->lambda2=log(4.0*((double)db_maxi(1,stat->nr_points))); in db_RobImageHomography_Statistics()
[all …]
Ddb_rob_image_homography.h111 db_Statistics *stat=NULL,
/packages/apps/Camera/jni/feature_stab/db_vlvm/
Ddb_rob_image_homography.cpp74 …oint_count,double *x_i,double *xp_i,double one_over_scale2,db_Statistics *stat,double thresh=DB_OU… in db_RobImageHomography_Statistics() argument
90 if(stat) in db_RobImageHomography_Statistics()
92 stat->nr_points=point_count; in db_RobImageHomography_Statistics()
93 stat->one_over_scale2=one_over_scale2; in db_RobImageHomography_Statistics()
94 stat->nr_inliers=i; in db_RobImageHomography_Statistics()
95 stat->inlier_fraction=frac; in db_RobImageHomography_Statistics()
97 stat->cost=db_RobImageHomography_Cost(H,point_count,x_i,xp_i,one_over_scale2); in db_RobImageHomography_Statistics()
98 stat->model_dimension=0; in db_RobImageHomography_Statistics()
101 stat->lambda1=log(4.0); in db_RobImageHomography_Statistics()
102 stat->lambda2=log(4.0*((double)db_maxi(1,stat->nr_points))); in db_RobImageHomography_Statistics()
[all …]
Ddb_rob_image_homography.h111 db_Statistics *stat=NULL,
/packages/inputmethods/PinyinIME/jni/share/
Dsync.cpp106 UserDict::UserDictStat stat; in get_capacity() local
107 userdict_->state(&stat); in get_capacity()
108 return stat.limit_lemma_count - stat.lemma_count; in get_capacity()
Duserdict.cpp1919 bool UserDict::state(UserDictStat * stat) { in _get_lpis() argument
1922 if (!stat) in _get_lpis()
1924 stat->version = version_; in _get_lpis()
1925 stat->file_name = dict_file_; in _get_lpis()
1926 stat->load_time.tv_sec = load_time_.tv_sec; in _get_lpis()
1927 stat->load_time.tv_usec = load_time_.tv_usec; in _get_lpis()
1929 stat->last_update.tv_sec = g_last_update_.tv_sec; in _get_lpis()
1930 stat->last_update.tv_usec = g_last_update_.tv_usec; in _get_lpis()
1932 stat->disk_size = get_dict_file_size(&dict_info_); in _get_lpis()
1933 stat->lemma_count = dict_info_.lemma_count; in _get_lpis()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DCacheStorageUsageInfo.java62 StatFs stat = new StatFs(path); in loadStorageInfo() local
63 long blockSize = stat.getBlockSize(); in loadStorageInfo()
64 long availableBlocks = stat.getAvailableBlocks(); in loadStorageInfo()
65 long totalBlocks = stat.getBlockCount(); in loadStorageInfo()
/packages/apps/LegacyCamera/src/com/android/camera/
DStorage.java122 StatFs stat = new StatFs(DIRECTORY); in getAvailableSpace() local
123 return stat.getAvailableBlocks() * (long) stat.getBlockSize(); in getAvailableSpace()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppReceiveFileInfo.java112 StatFs stat = null; in generateFileInfo() local
122 stat = new StatFs(base.getPath()); in generateFileInfo()
133 if (stat.getBlockSize() * ((long)stat.getAvailableBlocks() - 4) < length) { in generateFileInfo()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DStorageManager.java274 StatFs stat = new StatFs(root.getPath()); in getAvailableBytesInFileSystemAtGivenRoot() local
276 long availableBlocks = (long) stat.getAvailableBlocks() - 4; in getAvailableBytesInFileSystemAtGivenRoot()
277 long size = stat.getBlockSize() * availableBlocks; in getAvailableBytesInFileSystemAtGivenRoot()
417 final StructStat stat = Libcore.os.stat(path); in removeSpuriousFiles() local
418 if (stat.st_uid == myUid) { in removeSpuriousFiles()
/packages/apps/Camera/perftests/panorama/
Dbenchmark.cpp36 struct stat filestat; in loadImages()
41 if (stat(filename, &filestat) != 0) break; in loadImages()
/packages/apps/Camera/src/com/android/camera/
DStorage.java214 StatFs stat = new StatFs(DIRECTORY); in getAvailableSpace() local
215 return stat.getAvailableBlocks() * (long) stat.getBlockSize(); in getAvailableSpace()
/packages/experimental/procstatlog/
DREADME3 A statically linked binary that polls and dumps /proc/*/stat files
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DGalleryUtils.java333 StatFs stat = new StatFs(path); in hasSpaceForSize() local
334 return stat.getAvailableBlocks() * (long) stat.getBlockSize() > size; in hasSpaceForSize()
/packages/apps/Gallery/src/com/android/camera/
DGalleryPicker.java532 StatFs stat = new StatFs(storageDirectory); in checkLowStorage() local
533 long remaining = (long) stat.getAvailableBlocks() in checkLowStorage()
534 * (long) stat.getBlockSize(); in checkLowStorage()
DMenuHelper.java917 StatFs stat = new StatFs(storageDirectory);
918 float remaining = ((float) stat.getAvailableBlocks()
919 * (float) stat.getBlockSize()) / 400000F;
/packages/apps/Email/tests/src/com/android/email/mail/store/
DPop3StoreUnitTests.java959 String stat = "+OK " + Integer.toString(statCount) + " " in setupOpenFolder() local
961 mockTransport.expect("STAT", stat); in setupOpenFolder()
/packages/inputmethods/PinyinIME/jni/include/
Duserdict.h141 bool state(UserDictStat * stat);
/packages/apps/Phone/src/com/android/phone/
DBluetoothHandsfree.java976 int stat; in updateServiceState() local
980 stat = 0; in updateServiceState()
982 stat = (roam == 1) ? 5 : 1; in updateServiceState()
997 if (stat != mStat) { in updateServiceState()
998 mStat = stat; in updateServiceState()