/frameworks/base/include/utils/ |
AssetDir.h | 77 class FileInfo { 79 FileInfo(void) {} 80 FileInfo(const String8& path) // useful for e.g. svect.indexOf 83 ~FileInfo(void) {} 84 FileInfo(const FileInfo& src) { 87 const FileInfo& operator= (const FileInfo& src) { 93 void copyMembers(const FileInfo& src) { 100 bool operator< (const FileInfo& rhs) const [all...] |
AssetManager.h | 244 bool scanAndMergeDirLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, 246 SortedVector<AssetDir::FileInfo>* scanDirLocked(const String8& path); 247 bool scanAndMergeZipLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, 249 void mergeInfoLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, 250 const SortedVector<AssetDir::FileInfo>* pContents); 253 void fncScanLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, 256 SortedVector<AssetDir::FileInfo>* pMergedInfo, 357 SortedVector<AssetDir::FileInfo> mCache;
|
/frameworks/base/libs/utils/ |
AssetDir.cpp | 28 * Find a matching entry in a vector of FileInfo. Because it's sorted, we 33 /*static*/ int AssetDir::FileInfo::findEntry(const SortedVector<FileInfo>* pVector, 36 FileInfo tmpInfo;
|
AssetManager.cpp | 650 AssetDir::FileInfo tmpInfo; 886 SortedVector<AssetDir::FileInfo>* pMergedInfo = NULL; 907 pMergedInfo = new SortedVector<AssetDir::FileInfo>; 949 SortedVector<AssetDir::FileInfo>* pMergedInfo = NULL; 961 pMergedInfo = new SortedVector<AssetDir::FileInfo>; 996 bool AssetManager::scanAndMergeDirLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, 999 SortedVector<AssetDir::FileInfo>* pContents; 1009 pContents = new SortedVector<AssetDir::FileInfo>; 1049 AssetDir::FileInfo tmp = mCache[i]; [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppObexClientSession.java | 298 BluetoothOppSendFileInfo fileInfo = BluetoothOppSendFileInfo.generateFileInfo( 300 if (fileInfo.mFileName == null || fileInfo.mLength == 0) { 302 Constants.updateShareStatus(mContext1, mInfo.mId, fileInfo.mStatus); 307 Log.v(TAG, "filename :" + fileInfo.mFileName); 308 Log.v(TAG, "length :" + fileInfo.mLength); 309 Log.v(TAG, "mimetype :" + fileInfo.mMimetype); 315 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); 316 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); 317 updateValues.put(BluetoothShare.MIMETYPE, fileInfo.mMimetype) [all...] |
BluetoothOppObexServerSession.java | 411 private int receiveFile(BluetoothOppReceiveFileInfo fileInfo, Operation op) { 432 updateValues.put(BluetoothShare._DATA, fileInfo.mFileName); 438 bos = new BufferedOutputStream(fileInfo.mOutputStream, 0x10000); 447 while ((!mInterrupted) && (position != fileInfo.mLength)) { 482 if (position == fileInfo.mLength) { 483 if (D) Log.d(TAG, "Receiving file completed for " + fileInfo.mFileName); 486 if (D) Log.d(TAG, "Reading file failed at " + position + " of " + fileInfo.mLength); 505 BluetoothOppReceiveFileInfo fileInfo = BluetoothOppReceiveFileInfo.generateFileInfo( 509 Log.v(TAG, "filename :" + fileInfo.mFileName); 510 Log.v(TAG, "length :" + fileInfo.mLength) [all...] |
BluetoothOppTransfer.java | 335 BluetoothOppSendFileInfo fileInfo = null; 336 fileInfo = BluetoothOppSendFileInfo.generateFileInfo(mContext, info.mUri, 338 if (fileInfo.mFileName != null) { 339 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); 340 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); 341 updateValues.put(BluetoothShare.MIMETYPE, fileInfo.mMimetype);
|
/external/chromium/net/url_request/ |
url_request_file_job.h | 18 struct FileInfo; 44 void DidResolve(bool exists, const file_util::FileInfo& file_info);
|
url_request_file_job.cc | 46 file_util::FileInfo file_info; 67 void ReturnResults(bool exists, const file_util::FileInfo& file_info) { 120 file_util::FileInfo file_info; 208 bool exists, const file_util::FileInfo& file_info) {
|
/external/e2fsprogs/util/ |
copy_sparse.c | 92 struct stat64 fileinfo; local 102 if (stat64(src, &fileinfo) < 0) { 106 if (!S_ISREG(fileinfo.st_mode)) { 126 numblocks = (fileinfo.st_size + (bs-1)) / bs; 129 (long long) fileinfo.st_size, numblocks); 189 offset = fileinfo.st_size; 190 if (fstat64(ofd, &fileinfo) < 0) { 194 if (fileinfo.st_size != offset) {
|
/external/webkit/WebCore/platform/posix/ |
FileSystemPOSIX.cpp | 56 struct stat fileInfo; 59 return !stat(fsRep.data(), &fileInfo); 91 struct stat fileInfo; 93 if (stat(fsRep.data(), &fileInfo)) 96 result = fileInfo.st_size; 107 struct stat fileInfo; 109 if (stat(fsRep.data(), &fileInfo)) 112 result = fileInfo.st_mtime;
|
/external/elfutils/src/ |
ldgeneric.c | 43 static int ld_generic_file_close (struct usedfiles *fileinfo, 45 static int ld_generic_file_process (int fd, struct usedfiles *fileinfo, 76 static int file_process2 (struct usedfiles *fileinfo); 105 print_file_name (FILE *s, struct usedfiles *fileinfo, int first_level, 110 if (fileinfo->archive_file != NULL) 112 npar = print_file_name (s, fileinfo->archive_file, 0, 0) + 1; 114 fputs_unlocked (fileinfo->rfname, s); 121 fputs_unlocked (fileinfo->rfname, s); 142 struct usedfiles *file = scninfo->fileinfo; 314 open_along_path2 (struct usedfiles *fileinfo, struct pathelement *path [all...] |
i386_ld.c | 73 struct usedfiles *file = runp->fileinfo; 91 inxndxdata = runp->fileinfo->xndxdata; 511 if (! scninfo->fileinfo->symref[r_sym]->defined) 540 sym = scninfo->fileinfo->symref[r_sym]; 553 && r_sym >= SCNINFO_SHDR (scninfo->fileinfo->scninfo[shdr->sh_link].shdr).sh_info 554 && scninfo->fileinfo->symref[r_sym]->outdynsymidx != 0 569 if (! scninfo->fileinfo->symref[r_sym]->defined) 573 sym = scninfo->fileinfo->symref[r_sym]; 663 struct symbol **symref = runp->fileinfo->symref; 664 struct scninfo *scninfo = runp->fileinfo->scninfo [all...] |
/external/e2fsprogs/misc/ |
filefrag.c | 80 struct stat64 fileinfo; local 82 struct stat fileinfo; local 98 if (stat64(filename, &fileinfo) < 0) { 100 if (stat(filename, &fileinfo) < 0) { 105 if (!S_ISREG(fileinfo.st_mode)) { 144 numblocks = (fileinfo.st_size + (bs-1)) / bs; 147 (long long) fileinfo.st_size, numblocks);
|
/external/protobuf/src/google/protobuf/compiler/ |
zip_writer.h | 50 struct FileInfo { 58 vector<FileInfo> files_;
|
/external/webkit/WebCore/platform/qt/ |
FileSystemQt.cpp | 110 foreach (const QFileInfo fileInfo, fileInfoList) { 111 String entry = String(fileInfo.canonicalFilePath());
|
/external/webkit/WebKit/chromium/src/ |
WebHTTPBody.cpp | 84 result.fileInfo.modificationTime = 0.0; 92 result.fileInfo.modificationTime = 0.0; // FIXME: to be set from FormData. 116 void WebHTTPBody::appendFile(const WebString& filePath, long long fileStart, long long fileLength, const WebFileInfo& fileInfo)
|
/external/grub/stage2/ |
fsys_reiserfs.c | 313 struct fsys_reiser_fileinfo fileinfo; member in struct:fsys_reiser_info 898 if (INFO->current_ih->ih_key.k_objectid != INFO->fileinfo.k_objectid 901 search_stat (INFO->fileinfo.k_dir_id, INFO->fileinfo.k_objectid); 907 if (INFO->current_ih->ih_key.k_objectid != INFO->fileinfo.k_objectid) 989 * postconditions: on a nonzero return, INFO->fileinfo contains the info [all...] |
/external/quake/quake/src/QW/client/ |
sys_android.c | 201 struct stat fileinfo; local 209 if (fstat (h,&fileinfo) == -1) 212 return fileinfo.st_size;
|
sys_linux.c | 196 struct stat fileinfo;
local 204 if (fstat (h,&fileinfo) == -1)
207 return fileinfo.st_size;
|
/external/webkit/WebKit/chromium/public/ |
WebHTTPBody.h | 56 WebFileInfo fileInfo;
|
/external/webkit/WebCore/platform/wince/ |
FileSystemWince.cpp | 42 static bool getFileInfo(const String& path, BY_HANDLE_FILE_INFORMATION& fileInfo) 51 bool rtn = GetFileInformationByHandle(hFile, &fileInfo) ? true : false;
|
/external/quake/quake/src/WinQuake/ |
sys_android.cpp | 235 struct stat fileinfo; local 243 if (fstat (h,&fileinfo) == -1) 246 return fileinfo.st_size;
|
sys_linux.cpp | 194 struct stat fileinfo; local 202 if (fstat (h,&fileinfo) == -1) 205 return fileinfo.st_size;
|
/external/chromium/base/ |
file_util.cc | 205 FileInfo info; 367 bool GetFileInfo(const std::wstring& file_path, FileInfo* results) {
|