Home
last modified time | relevance | path

Searched refs:fileType (Results 1 – 25 of 48) sorted by relevance

12

/external/fonttools/Lib/fontTools/misc/
DmacCreatorType.py27 fileType = Tag(finderInfo[:4])
29 return fileCreator, fileType
31 fileCreator, fileType = MacOS.GetCreatorAndType(path)
37 fileType = _reverseString(fileType)
38 return fileCreator, fileType
43 def setMacCreatorAndType(path, fileCreator, fileType): argument
46 if not all(len(s) == 4 for s in (fileCreator, fileType)):
48 finderInfo = pad(bytesjoin([fileType, fileCreator]), 32)
51 MacOS.SetCreatorAndType(path, fileCreator, fileType)
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveEntry.java645 return CpioUtil.fileType(mode) == C_ISBLK; in isBlockDevice()
654 return CpioUtil.fileType(mode) == C_ISCHR; in isCharacterDevice()
664 return CpioUtil.fileType(mode) == C_ISDIR; in isDirectory()
673 return CpioUtil.fileType(mode) == C_ISNWK; in isNetwork()
682 return CpioUtil.fileType(mode) == C_ISFIFO; in isPipe()
691 return CpioUtil.fileType(mode) == C_ISREG; in isRegularFile()
700 return CpioUtil.fileType(mode) == C_ISSOCK; in isSocket()
709 return CpioUtil.fileType(mode) == C_ISLNK; in isSymbolicLink()
DCpioArchiveInputStream.java377 if (CpioUtil.fileType(mode) != 0){ // mode is initialised to 0 in readNewEntry()
393 if (CpioUtil.fileType(mode) == 0 && !name.equals(CPIO_TRAILER)){ in readNewEntry()
409 if (CpioUtil.fileType(mode) != 0) { in readOldAsciiEntry()
421 if (CpioUtil.fileType(mode) == 0 && !name.equals(CPIO_TRAILER)){ in readOldAsciiEntry()
437 if (CpioUtil.fileType(mode) != 0){ in readOldBinaryEntry()
449 if (CpioUtil.fileType(mode) == 0 && !name.equals(CPIO_TRAILER)){ in readOldBinaryEntry()
DCpioUtil.java31 static long fileType(final long mode) { in fileType() method in CpioUtil
/external/python/cpython2/Mac/Modules/folder/
D_Foldermodule.c189 OSType fileType; in Folder_AddFolderRouting() local
195 PyMac_GetOSType, &fileType, in Folder_AddFolderRouting()
201 _err = AddFolderRouting(fileType, in Folder_AddFolderRouting()
216 OSType fileType; in Folder_RemoveFolderRouting() local
219 PyMac_GetOSType, &fileType, in Folder_RemoveFolderRouting()
222 _err = RemoveFolderRouting(fileType, in Folder_RemoveFolderRouting()
234 OSType fileType; in Folder_FindFolderRouting() local
239 PyMac_GetOSType, &fileType, in Folder_FindFolderRouting()
242 _err = FindFolderRouting(fileType, in Folder_FindFolderRouting()
/external/testng/src/main/java/org/testng/
DFileAssert.java36 failSecurity(e,tstvalue,fileType(tstvalue),"Directory", message); in assertDirectory()
39 failFile(tstvalue,fileType(tstvalue),"Directory", message); in assertDirectory()
58 failSecurity(e,tstvalue,fileType(tstvalue),"File", message); in assertFile()
61 failFile(tstvalue,fileType(tstvalue),"File", message); in assertFile()
287 private static String fileType(File path) { in fileType() method in FileAssert
/external/lzma/C/
D7zVersion.rc22 #define MY_VERSION_INFO(fileType, descr, intName, origName) \
30 FILETYPE fileType \
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/arj/
DMainHeader.java28 int fileType; field in MainHeader
70 builder.append(fileType); in toString()
DLocalFileHeader.java28 int fileType; field in LocalFileHeader
87 builder.append(fileType); in toString()
DArjArchiveEntry.java76 return localFileHeader.fileType == LocalFileHeader.FileTypes.DIRECTORY; in isDirectory()
DArjArchiveInputStream.java177 hdr.fileType = firstHeader.readUnsignedByte(); in readMainHeader()
232 localFileHeader.fileType = firstHeader.readUnsignedByte(); in readLocalFileHeader()
/external/webrtc/webrtc/test/testsupport/
Diosfileutils.mm49 NSString* fileType = NSStringFromStdString(extension);
52 ofType:fileType];
/external/python/cpython2/Mac/Modules/
DMacOS.c352 finfo->fileType = ntohl(finfo->fileType); in MacOS_GetCreatorAndType()
354 type = PyString_FromStringAndSize((char*)&(finfo->fileType), 4); in MacOS_GetCreatorAndType()
419 finfo->fileType = type; in MacOS_SetCreatorAndType()
Dicgluemodule.c294 PyMac_BuildOSType, entry.fileType, in ici_ICMapFilename()
326 PyMac_BuildOSType, entry.fileType, in ici_ICMapTypeCreator()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
DToolRunner.h64 FileType fileType, const std::string &InputFile,
72 Error MakeSharedObject(const std::string &InputFile, FileType fileType,
DToolRunner.cpp640 FileType fileType, in ExecuteProgram() argument
658 if (fileType != ObjectFile) { in ExecuteProgram()
660 if (fileType == CFile) { in ExecuteProgram()
781 Error CC::MakeSharedObject(const std::string &InputFile, FileType fileType, in MakeSharedObject() argument
806 if (fileType != ObjectFile) { in MakeSharedObject()
808 CCArgs.push_back(fileType == AsmFile ? "assembler" : "c"); in MakeSharedObject()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DCppAssetManager.java65 public asset_path(String8 path, FileType fileType, String8 idmap, in asset_path() argument
69 this.type = fileType; in asset_path()
1186 FileType fileType; in scanDirLocked() local
1215 fileType = getFileType(pathCopy.appendPath(entry.getName()).string()); in scanDirLocked()
1218 if (fileType != FileType.kFileTypeRegular && fileType != kFileTypeDirectory) { in scanDirLocked()
1223 info.set(new String8(entry.getName()), fileType); in scanDirLocked()
/external/llvm/tools/bugpoint/
DToolRunner.h63 FileType fileType,
75 int MakeSharedObject(const std::string &InputFile, FileType fileType,
DToolRunner.cpp659 FileType fileType, in ExecuteProgram() argument
678 if (fileType != ObjectFile) { in ExecuteProgram()
680 if (fileType == CFile) { in ExecuteProgram()
806 int CC::MakeSharedObject(const std::string &InputFile, FileType fileType, in MakeSharedObject() argument
831 if (fileType != ObjectFile) { in MakeSharedObject()
833 CCArgs.push_back(fileType == AsmFile ? "assembler" : "c"); in MakeSharedObject()
/external/sonivox/arm-wt-22k/lib_src/
Deas_wavefile.h54 EAS_I16 fileType; member
Deas_wavefile.c475 *pValue = pWaveData->fileType; in WaveGetData()
602 pWaveData->fileType = EAS_FILE_WAVE_PCM; in WaveParseHeader()
607 pWaveData->fileType = EAS_FILE_WAVE_IMA_ADPCM; in WaveParseHeader()
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_docenvironment.cpp418 int fileType = bXDP ? FXFA_SAVEAS_XDP : FXFA_SAVEAS_XML; in ExportData() local
438 if (fileType == FXFA_SAVEAS_XML) { in ExportData()
446 } else if (fileType == FXFA_SAVEAS_XDP) { in ExportData()
717 int fileType, in ExportSubmitFile() argument
729 if (fileType == FXFA_SAVEAS_XML) { in ExportSubmitFile()
740 if (fileType != FXFA_SAVEAS_XDP) in ExportSubmitFile()
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DToolRunner.h64 FileType fileType,
76 int MakeSharedObject(const std::string &InputFile, FileType fileType,
DToolRunner.cpp731 FileType fileType, in ExecuteProgram() argument
750 if (fileType != ObjectFile) { in ExecuteProgram()
752 if (fileType == CFile) { in ExecuteProgram()
877 int GCC::MakeSharedObject(const std::string &InputFile, FileType fileType, in MakeSharedObject() argument
901 if (fileType != ObjectFile) { in MakeSharedObject()
903 GCCArgs.push_back(fileType == AsmFile ? "assembler" : "c"); in MakeSharedObject()
/external/webrtc/webrtc/modules/audio_coding/test/
DEncodeDecodeTest.h111 std::string EncodeToFile(int fileType,

12