/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | ANTLRFileStream.cs | 50 protected string fileName; field in Antlr.Runtime.ANTLRFileStream 52 public ANTLRFileStream( string fileName ) in ANTLRFileStream() argument 53 : this( fileName, null ) in ANTLRFileStream() 57 public ANTLRFileStream( string fileName, Encoding encoding ) in ANTLRFileStream() argument 59 this.fileName = fileName; in ANTLRFileStream() 60 Load( fileName, encoding ); in ANTLRFileStream() 63 public virtual void Load( string fileName, Encoding encoding ) in Load() argument 65 if ( fileName == null ) in Load() 72 text = File.ReadAllText(fileName); in Load() 74 text = File.ReadAllText(fileName, encoding); in Load() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | ANTLRFileStream.cs | 67 public ANTLRFileStream(string fileName) : in ANTLRFileStream() argument 68 this(fileName, Encoding.Default) in ANTLRFileStream() 76 public ANTLRFileStream(string fileName, Encoding encoding) in ANTLRFileStream() argument 78 this.fileName = fileName; in ANTLRFileStream() 79 Load(fileName, encoding); in ANTLRFileStream() 87 get { return fileName; } 101 public virtual void Load(string fileName, Encoding encoding) in Load() argument 103 if (fileName == null) in Load() 109 FileInfo f = new FileInfo(fileName); in Load() 113 fr = new StreamReader(fileName, encoding); in Load() [all …]
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | ANTLRFileStream.java | 39 protected String fileName; field in ANTLRFileStream 41 public ANTLRFileStream(String fileName) throws IOException { in ANTLRFileStream() argument 42 this(fileName, null); in ANTLRFileStream() 45 public ANTLRFileStream(String fileName, String encoding) throws IOException { in ANTLRFileStream() argument 46 this.fileName = fileName; in ANTLRFileStream() 47 load(fileName, encoding); in ANTLRFileStream() 50 public void load(String fileName, String encoding) in load() argument 53 if ( fileName==null ) { in load() 56 File f = new File(fileName); in load() 59 FileInputStream fis = new FileInputStream(fileName); in load() [all …]
|
/external/lzma/CPP/7zip/UI/Common/ |
D | DefaultName.cpp | 7 static UString GetDefaultName3(const UString &fileName, in GetDefaultName3() argument 11 int fileNameLength = fileName.Len(); in GetDefaultName3() 15 if (fileName[dotPos] == '.') in GetDefaultName3() 16 if (extension.IsEqualToNoCase(fileName.Ptr(dotPos + 1))) in GetDefaultName3() 17 return fileName.Left(dotPos) + addSubExtension; in GetDefaultName3() 19 int dotPos = fileName.ReverseFind(L'.'); in GetDefaultName3() 21 return fileName.Left(dotPos) + addSubExtension; in GetDefaultName3() 24 return fileName + L"~"; in GetDefaultName3() 26 return fileName + addSubExtension; in GetDefaultName3() 29 UString GetDefaultName2(const UString &fileName, in GetDefaultName2() argument [all …]
|
/external/opencv3/modules/superres/src/ |
D | frame_source.cpp | 85 Ptr<FrameSource> cv::superres::createFrameSource_Video(const String& fileName) in createFrameSource_Video() argument 87 (void) fileName; in createFrameSource_Video() 136 VideoFrameSource(const String& fileName); 144 VideoFrameSource::VideoFrameSource(const String& fileName) : fileName_(fileName) in VideoFrameSource() argument 180 Ptr<FrameSource> cv::superres::createFrameSource_Video(const String& fileName) in createFrameSource_Video() argument 182 return makePtr<VideoFrameSource>(fileName); in createFrameSource_Video() 197 Ptr<FrameSource> cv::superres::createFrameSource_Video_CUDA(const String& fileName) in createFrameSource_Video_CUDA() argument 199 (void) fileName; in createFrameSource_Video_CUDA() 211 VideoFrameSource_CUDA(const String& fileName); 222 VideoFrameSource_CUDA::VideoFrameSource_CUDA(const String& fileName) : fileName_(fileName) in VideoFrameSource_CUDA() argument [all …]
|
/external/apache-http/android/src/com/android/internal/http/multipart/ |
D | FilePartSource.java | 55 private String fileName = null; field in FilePartSource 74 this.fileName = file.getName(); in FilePartSource() 87 public FilePartSource(String fileName, File file) in FilePartSource() argument 90 if (fileName != null) { in FilePartSource() 91 this.fileName = fileName; in FilePartSource() 114 return (fileName == null) ? "noname" : fileName; in getFileName()
|
D | ByteArrayPartSource.java | 47 private String fileName; field in ByteArrayPartSource 58 public ByteArrayPartSource(String fileName, byte[] bytes) { in ByteArrayPartSource() argument 60 this.fileName = fileName; in ByteArrayPartSource() 76 return fileName; in getFileName()
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
D | ImfStdIO.cpp | 94 StdIFStream::StdIFStream (const char fileName[]): in StdIFStream() argument 95 IStream (fileName), in StdIFStream() 96 _is (new ifstream (fileName, ios_base::binary)), in StdIFStream() 107 StdIFStream::StdIFStream (ifstream &is, const char fileName[]): in StdIFStream() argument 108 IStream (fileName), in StdIFStream() 157 StdOFStream::StdOFStream (const char fileName[]): in StdOFStream() argument 158 OStream (fileName), in StdOFStream() 159 _os (new ofstream (fileName, ios_base::binary)), in StdOFStream() 170 StdOFStream::StdOFStream (ofstream &os, const char fileName[]): in StdOFStream() argument 171 OStream (fileName), in StdOFStream()
|
D | ImfIO.cpp | 48 IStream::IStream (const char fileName[]): _fileName (fileName) in IStream() argument 84 IStream::fileName () const in fileName() function in Imf::IStream 90 OStream::OStream (const char fileName[]): _fileName (fileName) in OStream() argument 103 OStream::fileName () const in fileName() function in Imf::OStream
|
D | ImfTestFile.cpp | 53 isOpenExrFile (const char fileName[], bool &tiled) in isOpenExrFile() argument 57 StdIFStream is (fileName); in isOpenExrFile() 75 isOpenExrFile (const char fileName[]) in isOpenExrFile() argument 78 return isOpenExrFile (fileName, tiled); in isOpenExrFile() 83 isTiledOpenExrFile (const char fileName[]) in isTiledOpenExrFile() argument 86 exr = isOpenExrFile (fileName, tiled); in isTiledOpenExrFile()
|
/external/skia/tools/lua/ |
D | bbh_filter.lua | 23 fileName = '', 54 function sk_scrape_startcanvas(c, fileName) end 56 function sk_scrape_endcanvas(c, fileName) 57 globalInfo[fileName] = currentInfo 58 globalInfo[fileName].fileName = fileName 121 if not visitedFiles[t.fileName] then 122 visitedFiles[t.fileName] = true 123 io.write ("{\nname = \"", t.fileName, "\", \nverbs = {\n") 124 for verb,count in pairs(globalInfo[t.fileName].verbs) do
|
/external/okhttp/okhttp-hpacktests/src/test/java/com/squareup/okhttp/internal/spdy/hpackjson/ |
D | Story.java | 27 private transient String fileName; field in Story 35 void setFileName(String fileName) { in setFileName() argument 36 this.fileName = fileName; in setFileName() 51 story.fileName = this.fileName; in clone() 64 return fileName; in toString()
|
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3filestream.c | 50 static pANTLR3_INPUT_STREAM antlr3CreateFileStream (pANTLR3_UINT8 fileName); 54 antlr3FileStreamNew(pANTLR3_UINT8 fileName, ANTLR3_UINT32 encoding) in antlr3FileStreamNew() argument 63 input = antlr3CreateFileStream(fileName); in antlr3FileStreamNew() 81 input->istream->streamName = input->strFactory->newStr8(input->strFactory, fileName); in antlr3FileStreamNew() 82 input->fileName = input->istream->streamName; in antlr3FileStreamNew() 120 input->fileName = input->istream->streamName; in antlr3StringStreamNew() 308 antlr3CreateFileStream(pANTLR3_UINT8 fileName) in antlr3CreateFileStream() argument 315 if (fileName == NULL) in antlr3CreateFileStream() 332 status = antlr3read8Bit(input, fileName); in antlr3CreateFileStream() 353 antlr3read8Bit(pANTLR3_INPUT_STREAM input, pANTLR3_UINT8 fileName) in antlr3read8Bit() argument [all …]
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
D | TestCaseInputFile.java | 40 private String fileName; field in TestCaseInputFile 43 this.fileName = file; in TestCaseInputFile() 47 return "FILE:" + fileName; in getLabel() 51 this.fileName = script; in setScript() 56 return fileName; in toString() 60 return this.fileName; in getScript()
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
D | ANTLRFileStream.js | 10 org.antlr.runtime.ANTLRFileStream = function(fileName, encoding) { argument 11 this.fileName = fileName; 24 var data = this[method](fileName, encoding); 36 return this.fileName; 46 loadFileUsingJava: function(fileName, encoding) { argument 48 var f = new java.io.File(fileName),
|
/external/apache-harmony/support/src/test/java/tests/util/ |
D | SerializationTester.java | 114 public static boolean assertCompabilitySame(Object obj, String fileName) in assertCompabilitySame() argument 116 return obj == readObject(obj, fileName); in assertCompabilitySame() 128 public static boolean assertCompabilityEquals(Object obj, String fileName) in assertCompabilityEquals() argument 130 return obj.equals(readObject(obj, fileName)); in assertCompabilityEquals() 141 public static Object readObject(Object obj, String fileName) in readObject() argument 146 fileName); in readObject() 149 writeObject(obj, new File(fileName).getName()); in readObject() 182 public static void writeObject(Object obj, String fileName) in writeObject() argument 196 output = new FileOutputStream(fileName); in writeObject()
|
/external/lzma/CPP/Windows/ |
D | FileIO.cpp | 305 IsDeviceFile = IsDevicePath(fileName); \ 306 CalcDeviceSize(fileName); 311 bool CInFile::Open(CFSTR fileName, DWORD shareMode, DWORD creationDisposition, DWORD flagsAndAttrib… in Open() argument 313 bool res = Create(fileName, GENERIC_READ, shareMode, creationDisposition, flagsAndAttributes); in Open() 318 bool CInFile::OpenShared(CFSTR fileName, bool shareForWrite) in OpenShared() argument 319 { return Open(fileName, FILE_SHARE_READ | (shareForWrite ? FILE_SHARE_WRITE : 0), OPEN_EXISTING, FI… in OpenShared() 321 bool CInFile::Open(CFSTR fileName) in Open() argument 322 { return OpenShared(fileName, false); } in Open() 374 bool COutFile::Open(CFSTR fileName, DWORD shareMode, DWORD creationDisposition, DWORD flagsAndAttri… in Open() argument 375 …{ return CFileBase::Create(fileName, GENERIC_WRITE, shareMode, creationDisposition, flagsAndAttrib… in Open() [all …]
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | BuildDependencyGenerator.java | 123 String fileName = grammar.name + suffix + headerExtST.render(); in getGeneratedFileList() local 124 files.add(new File(outputDir, fileName)); in getGeneratedFileList() 171 String fileName = groomQualifiedFileName(libdir, g.fileName); in getDependenciesFileList() local 172 files.add(new File(fileName)); in getDependenciesFileList() 207 dependenciesST.add("grammarFileName", grammar.fileName); in getDependencies() 213 String fileName = "org/antlr/tool/templates/depend.stg"; in loadDependencyTemplates() 214 templates = new STGroupFile(fileName); in loadDependencyTemplates() 225 public String groomQualifiedFileName(String outputDir, String fileName) { in groomQualifiedFileName() argument 227 return fileName; in groomQualifiedFileName() 232 return escSpaces + File.separator + fileName; in groomQualifiedFileName() [all …]
|
/external/deqp/framework/common/ |
D | tcuImageIO.cpp | 55 void loadImage (TextureLevel& dst, const tcu::Archive& archive, const char* fileName) in loadImage() argument 57 string ext = de::FilePath(fileName).getFileExtension(); in loadImage() 60 loadPNG(dst, archive, fileName); in loadImage() 62 throw InternalError("Unrecognized image file extension", fileName, __FILE__, __LINE__); in loadImage() 82 void loadPNG (TextureLevel& dst, const tcu::Archive& archive, const char* fileName) in loadPNG() argument 84 de::UniquePtr<Resource> resource(archive.getResource(fileName)); in loadPNG() 98 throw InternalError("An error occured when loading PNG", fileName, __FILE__, __LINE__); in loadPNG() 118 throw InternalError("Unsupported PNG depth or color type", fileName, __FILE__, __LINE__); in loadPNG() 155 void savePNG (const ConstPixelBufferAccess& src, const char* fileName) in savePNG() argument 157 FILE* fp = fopen(fileName, "wb"); in savePNG() [all …]
|
/external/jcommander/src/main/java/com/beust/jcommander/defaultprovider/ |
D | PropertyFileDefaultProvider.java | 41 public PropertyFileDefaultProvider(String fileName) { in PropertyFileDefaultProvider() argument 42 init(fileName); in PropertyFileDefaultProvider() 45 private void init(String fileName) { in init() argument 48 URL url = ClassLoader.getSystemResource(fileName); in init() 52 throw new ParameterException("Could not find property file: " + fileName in init() 57 throw new ParameterException("Could not open property file: " + fileName); in init()
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | MultiFileMetadataSourceImpl.java | 101 String fileName = filePrefix + "_" + in loadMetadataFromFile() local 103 InputStream source = metadataLoader.loadMetadata(fileName); in loadMetadataFromFile() 105 logger.log(Level.SEVERE, "missing metadata: " + fileName); in loadMetadataFromFile() 106 throw new IllegalStateException("missing metadata: " + fileName); in loadMetadataFromFile() 114 logger.log(Level.SEVERE, "empty metadata: " + fileName); in loadMetadataFromFile() 115 throw new IllegalStateException("empty metadata: " + fileName); in loadMetadataFromFile() 118 logger.log(Level.WARNING, "invalid metadata (too many entries): " + fileName); in loadMetadataFromFile() 127 logger.log(Level.SEVERE, "cannot load/parse metadata: " + fileName, e); in loadMetadataFromFile() 128 throw new RuntimeException("cannot load/parse metadata: " + fileName, e); in loadMetadataFromFile()
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
D | FileUtils.java | 41 public static byte[] readFile(String fileName) { in readFile() argument 42 File file = new File(fileName); in readFile() 96 public static boolean hasArchiveSuffix(String fileName) { in hasArchiveSuffix() argument 97 return fileName.endsWith(".zip") in hasArchiveSuffix() 98 || fileName.endsWith(".jar") in hasArchiveSuffix() 99 || fileName.endsWith(".apk"); in hasArchiveSuffix()
|
/external/icu/icu4c/source/samples/layout/ |
D | UnicodeReader.cpp | 26 const UChar *UnicodeReader::readFile(const char *fileName, GUISupport *guiSupport, int32_t &charCou… in readFile() argument 38 f = fopen(fileName, "rb"); in readFile() 41 sprintf(errorMessage,"Couldn't open %s: %s \n", fileName, strerror(errno)); in readFile() 74 …rintf(errorMessage, "Couldn't detect the encoding of %s: (%2.2X, %2.2X, %2.2X, %2.2X)\n", fileName, in readFile() 86 … sprintf(errorMessage,"Couldn't get memory for reading %s: %s \n", fileName, strerror(errno)); in readFile() 94 sprintf(errorMessage,"Couldn't read %s: %s \n", fileName, strerror(errno)); in readFile() 109 … sprintf(errorMessage,"Couldn't get memory for reading %s: %s \n", fileName, strerror(errno)); in readFile()
|
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/ |
D | PrefixFileReader.java | 67 String fileName = mappingFileProvider.getFileName(prefixMapKey, language, script, region); in getPhonePrefixDescriptions() local 68 if (fileName.length() == 0) { in getPhonePrefixDescriptions() 71 if (!availablePhonePrefixMaps.containsKey(fileName)) { in getPhonePrefixDescriptions() 72 loadPhonePrefixMapFromFile(fileName); in getPhonePrefixDescriptions() 74 return availablePhonePrefixMaps.get(fileName); in getPhonePrefixDescriptions() 77 private void loadPhonePrefixMapFromFile(String fileName) { in loadPhonePrefixMapFromFile() argument 79 PrefixFileReader.class.getResourceAsStream(phonePrefixDataDirectory + fileName); in loadPhonePrefixMapFromFile() 85 availablePhonePrefixMaps.put(fileName, map); in loadPhonePrefixMapFromFile()
|
/external/lzma/CPP/7zip/Common/ |
D | FileStreams.h | 55 bool Open(CFSTR fileName) in Open() argument 57 return File.Open(fileName); in Open() 60 bool OpenShared(CFSTR fileName, bool shareForWrite) in OpenShared() argument 62 return File.OpenShared(fileName, shareForWrite); in OpenShared() 106 bool Create(CFSTR fileName, bool createAlways) in Create() argument 109 return File.Create(fileName, createAlways); in Create() 111 bool Open(CFSTR fileName, DWORD creationDisposition) in Open() argument 114 return File.Open(fileName, creationDisposition); in Open()
|