/external/u-boot/drivers/ata/ |
D | sata_sil.c | 116 static void sil_read_fis(int dev, int tag, struct sata_fis_d2h *fis) in sil_read_fis() argument 125 src = (u32 *)&prb->fis; in sil_read_fis() 126 dst = (u32 *)fis; in sil_read_fis() 171 struct sata_fis_d2h fis; in sil_cmd_set_feature() local 176 pcmd->prb.fis.fis_type = SATA_FIS_TYPE_REGISTER_H2D; in sil_cmd_set_feature() 177 pcmd->prb.fis.pm_port_c = (1 << 7); in sil_cmd_set_feature() 178 pcmd->prb.fis.command = ATA_CMD_SET_FEATURES; in sil_cmd_set_feature() 179 pcmd->prb.fis.features = SETFEATURES_XFER; in sil_cmd_set_feature() 186 pcmd->prb.fis.sector_count = XFER_UDMA_6; in sil_cmd_set_feature() 188 pcmd->prb.fis.sector_count = XFER_UDMA_5; in sil_cmd_set_feature() [all …]
|
D | ahci.c | 632 static int ahci_device_data_io(struct ahci_uc_priv *uc_priv, u8 port, u8 *fis, in ahci_device_data_io() argument 655 memcpy((unsigned char *)pp->cmd_tbl, fis, fis_len); in ahci_device_data_io() 701 u8 fis[20]; in ata_scsiop_inquiry() local 714 memset(fis, 0, sizeof(fis)); in ata_scsiop_inquiry() 716 fis[0] = 0x27; /* Host to device FIS. */ in ata_scsiop_inquiry() 717 fis[1] = 1 << 7; /* Command FIS. */ in ata_scsiop_inquiry() 718 fis[2] = ATA_CMD_ID_ATA; /* Command byte. */ in ata_scsiop_inquiry() 723 if (ahci_device_data_io(uc_priv, port, (u8 *)&fis, sizeof(fis), in ata_scsiop_inquiry() 761 u8 fis[20]; in ata_scsiop_read_write() local 795 memset(fis, 0, sizeof(fis)); in ata_scsiop_read_write() [all …]
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ |
D | Lister.java | 58 try (final InputStream fis = new BufferedInputStream(Files.newInputStream(f.toPath())); in listStream() argument 59 final ArchiveInputStream ais = createArchiveInputStream(args, fis)) { in listStream() 68 …vate static ArchiveInputStream createArchiveInputStream(final String[] args, final InputStream fis) in createArchiveInputStream() argument 71 return factory.createArchiveInputStream(args[1], fis); in createArchiveInputStream() 73 return factory.createArchiveInputStream(fis); in createArchiveInputStream() 77 try (final InputStream fis = new BufferedInputStream(Files.newInputStream(f.toPath()))) { in detectFormat() argument 78 return factory.detect(fis); in detectFormat()
|
/external/testng/src/main/java/org/testng/internal/ |
D | PropertiesFile.java | 27 FileInputStream fis = null; in PropertiesFile() local 32 fis = new FileInputStream(new File(fileName)); in PropertiesFile() 33 m_properties.load(fis); in PropertiesFile() 37 if( fis != null) { in PropertiesFile() 38 fis.close(); in PropertiesFile()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/ |
D | CpioTestCase.java | 203 FileInputStream fis = null; in testFileEntryFromFile() local 211 fis = new FileInputStream(tmp[1]); in testFileEntryFromFile() 212 while (fis.read(b) > 0) { in testFileEntryFromFile() 215 fis.close(); in testFileEntryFromFile() 216 fis = null; in testFileEntryFromFile() 238 if (fis != null) { in testFileEntryFromFile() 239 fis.close(); in testFileEntryFromFile() 252 FileInputStream fis = null; in testExplicitFileEntry() local 263 fis = new FileInputStream(tmp[1]); in testExplicitFileEntry() 264 while (fis.read(b) > 0) { in testExplicitFileEntry() [all …]
|
D | TarTestCase.java | 224 FileInputStream fis = null; in testFileEntryFromFile() local 232 fis = new FileInputStream(tmp[1]); in testFileEntryFromFile() 233 while (fis.read(b) > 0) { in testFileEntryFromFile() 236 fis.close(); in testFileEntryFromFile() 237 fis = null; in testFileEntryFromFile() 259 if (fis != null) { in testFileEntryFromFile() 260 fis.close(); in testFileEntryFromFile() 273 FileInputStream fis = null; in testExplicitFileEntry() local 283 fis = new FileInputStream(tmp[1]); in testExplicitFileEntry() 284 while (fis.read(b) > 0) { in testExplicitFileEntry() [all …]
|
D | ArTestCase.java | 279 FileInputStream fis = null; in testFileEntryFromFile() local 287 fis = new FileInputStream(tmp[1]); in testFileEntryFromFile() 288 while (fis.read(b) > 0) { in testFileEntryFromFile() 291 fis.close(); in testFileEntryFromFile() 292 fis = null; in testFileEntryFromFile() 315 if (fis != null) { in testFileEntryFromFile() 316 fis.close(); in testFileEntryFromFile() 329 FileInputStream fis = null; in testExplicitFileEntry() local 339 fis = new FileInputStream(tmp[1]); in testExplicitFileEntry() 340 while (fis.read(b) > 0) { in testExplicitFileEntry() [all …]
|
D | ZipTestCase.java | 520 FileInputStream fis = null; in testFileEntryFromFile() local 528 fis = new FileInputStream(tmp[1]); in testFileEntryFromFile() 529 while (fis.read(b) > 0) { in testFileEntryFromFile() 532 fis.close(); in testFileEntryFromFile() 533 fis = null; in testFileEntryFromFile() 551 if (fis != null) { in testFileEntryFromFile() 552 fis.close(); in testFileEntryFromFile() 565 FileInputStream fis = null; in testExplicitFileEntry() local 575 fis = new FileInputStream(tmp[1]); in testExplicitFileEntry() 576 while (fis.read(b) > 0) { in testExplicitFileEntry() [all …]
|
D | SevenZTestCase.java | 208 FileInputStream fis = null; in copy() local 210 fis = new FileInputStream(src); in copy() 213 while ((bytesRead = fis.read(buffer)) >= 0) { in copy() 217 if (fis != null) { in copy() 218 fis.close(); in copy()
|
D | ArchiveStreamFactoryTest.java | 67 try (FileInputStream fis = new FileInputStream("src/test/resources/testAIFF.aif")) { in aiffFilesAreNoTARs() argument 68 try (InputStream is = new BufferedInputStream(fis)) { in aiffFilesAreNoTARs() 79 try (FileInputStream fis = new FileInputStream("src/test/resources/testCompress209.doc")) { in testCOMPRESS209() argument 80 try (InputStream bis = new BufferedInputStream(fis)) { in testCOMPRESS209() 110 try (FileInputStream fis = new FileInputStream("src/test/resources/bla.7z")) { in detectsAndThrowsFor7z() argument 111 try (InputStream bis = new BufferedInputStream(fis)) { in detectsAndThrowsFor7z() 127 try (FileInputStream fis = new FileInputStream("src/test/resources/COMPRESS-208.zip")) { in skipsPK00Prefix() argument 128 try (InputStream bis = new BufferedInputStream(fis)) { in skipsPK00Prefix()
|
/external/apache-xml/src/main/java/org/apache/xalan/xslt/ |
D | ObjectFactory.java | 296 FileInputStream fis = null; in lookUpFactoryClassName() local 321 fis = ss.getFileInputStream(propertiesFile); in lookUpFactoryClassName() 322 fXalanProperties.load(fis); in lookUpFactoryClassName() 333 if (fis != null) { in lookUpFactoryClassName() 335 fis.close(); in lookUpFactoryClassName() 346 FileInputStream fis = null; in lookUpFactoryClassName() local 348 fis = ss.getFileInputStream(new File(propertiesFilename)); in lookUpFactoryClassName() 350 props.load(fis); in lookUpFactoryClassName() 359 if (fis != null) { in lookUpFactoryClassName() 361 fis.close(); in lookUpFactoryClassName()
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
D | ObjectFactory.java | 296 FileInputStream fis = null; in lookUpFactoryClassName() local 321 fis = ss.getFileInputStream(propertiesFile); in lookUpFactoryClassName() 322 fXalanProperties.load(fis); in lookUpFactoryClassName() 333 if (fis != null) { in lookUpFactoryClassName() 335 fis.close(); in lookUpFactoryClassName() 346 FileInputStream fis = null; in lookUpFactoryClassName() local 348 fis = ss.getFileInputStream(new File(propertiesFilename)); in lookUpFactoryClassName() 350 props.load(fis); in lookUpFactoryClassName() 359 if (fis != null) { in lookUpFactoryClassName() 361 fis.close(); in lookUpFactoryClassName()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
D | ObjectFactory.java | 295 FileInputStream fis = null; in lookUpFactoryClassName() local 320 fis = ss.getFileInputStream(propertiesFile); in lookUpFactoryClassName() 321 fXalanProperties.load(fis); in lookUpFactoryClassName() 332 if (fis != null) { in lookUpFactoryClassName() 334 fis.close(); in lookUpFactoryClassName() 345 FileInputStream fis = null; in lookUpFactoryClassName() local 347 fis = ss.getFileInputStream(new File(propertiesFilename)); in lookUpFactoryClassName() 349 props.load(fis); in lookUpFactoryClassName() 358 if (fis != null) { in lookUpFactoryClassName() 360 fis.close(); in lookUpFactoryClassName()
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ |
D | ObjectFactory.java | 296 FileInputStream fis = null; in lookUpFactoryClassName() local 321 fis = ss.getFileInputStream(propertiesFile); in lookUpFactoryClassName() 322 fXalanProperties.load(fis); in lookUpFactoryClassName() 333 if (fis != null) { in lookUpFactoryClassName() 335 fis.close(); in lookUpFactoryClassName() 346 FileInputStream fis = null; in lookUpFactoryClassName() local 348 fis = ss.getFileInputStream(new File(propertiesFilename)); in lookUpFactoryClassName() 350 props.load(fis); in lookUpFactoryClassName() 359 if (fis != null) { in lookUpFactoryClassName() 361 fis.close(); in lookUpFactoryClassName()
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | ObjectFactory.java | 296 FileInputStream fis = null; in lookUpFactoryClassName() local 321 fis = ss.getFileInputStream(propertiesFile); in lookUpFactoryClassName() 322 fXalanProperties.load(fis); in lookUpFactoryClassName() 333 if (fis != null) { in lookUpFactoryClassName() 335 fis.close(); in lookUpFactoryClassName() 346 FileInputStream fis = null; in lookUpFactoryClassName() local 348 fis = ss.getFileInputStream(new File(propertiesFilename)); in lookUpFactoryClassName() 350 props.load(fis); in lookUpFactoryClassName() 359 if (fis != null) { in lookUpFactoryClassName() 361 fis.close(); in lookUpFactoryClassName()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/ |
D | GZipTestCase.java | 145 try (FileInputStream fis = new FileInputStream(getFile("test3.xml"))) { in testInteroperabilityWithGzipCompressorInputStream() argument 146 content = IOUtils.toByteArray(fis); in testInteroperabilityWithGzipCompressorInputStream() 171 try (FileInputStream fis = new FileInputStream(getFile("test3.xml"))) { in testInteroperabilityWithGZIPInputStream() argument 172 content = IOUtils.toByteArray(fis); in testInteroperabilityWithGZIPInputStream() 214 try (FileInputStream fis = new FileInputStream(getFile("test3.xml"))) { in testExtraFlags() argument 215 content = IOUtils.toByteArray(fis); in testExtraFlags() 267 …am out = new GzipCompressorOutputStream(bout, parameters); FileInputStream fis = new FileInputStre… in testMetadataRoundTrip() argument 269 IOUtils.copy(fis, out); in testMetadataRoundTrip()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/ |
D | TarLister.java | 46 final InputStream fis = new BufferedInputStream(new FileInputStream(f)); in main() local 49 ais = new TarArchiveInputStream(fis, args[1]); in main() 51 ais = new TarArchiveInputStream(fis); in main() 59 fis.close(); in main()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | XMLFileReader.java | 92 InputStream fis = new FileInputStream(fileName); in read() local 93 fis = new FilterBomInputStream(fis); in read() 94 return read(fileName, fis, handlers, validating); in read() 108 public XMLFileReader read(String fileName, InputStream fis, int handlers, boolean validating) { in read() argument 109 … return read(fileName, new InputStreamReader(fis, Charset.forName("UTF-8")), handlers, validating); in read() 407 public DebuggingInputStream(InputStream fis) { in DebuggingInputStream() argument 408 contents = fis; in DebuggingInputStream() 426 public FilterBomInputStream(InputStream fis) { in FilterBomInputStream() argument 427 contents = fis; in FilterBomInputStream()
|
D | XMLValidator.java | 181 FileInputStream fis = null; in parse() local 183 fis = new FileInputStream(filename); in parse() 185 if (fis.read(bytes) == 3 && in parse() 192 if (fis != null) { in parse() 193 fis.close(); in parse()
|
D | InputStreamFactory.java | 24 FileInputStream fis = new FileInputStream(f); in createInputStream() local 25 return InputStreamFactory.buffer(fis); in createInputStream()
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/ |
D | ANTLRFileStream.java | 59 FileInputStream fis = new FileInputStream(fileName); in load() local 61 isr = new InputStreamReader(fis, encoding); in load() 64 isr = new InputStreamReader(fis); in load()
|
/external/smali/smali/src/main/java/org/jf/smali/ |
D | Smali.java | 150 FileInputStream fis = null; in assembleSmaliFile() local 152 fis = new FileInputStream(smaliFile); in assembleSmaliFile() 153 InputStreamReader reader = new InputStreamReader(fis, "UTF-8"); in assembleSmaliFile() 203 if (fis != null) { in assembleSmaliFile() 204 fis.close(); in assembleSmaliFile()
|
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/ |
D | ANTLRFileStream.js | 51 fis = new java.io.FileInputStream(f); 53 isr = new java.io.InputStreamReader(fis, encoding); 55 isr = new java.io.InputStreamReader(fis);
|
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/ |
D | InplaceFileConverter.java | 56 FileInputStream fis = new FileInputStream(file); in readIntoByteArray() local 60 while ((n = fis.read(buffer)) != -1) { in readIntoByteArray() 64 fis.close(); in readIntoByteArray()
|
/external/caliper/caliper/src/main/java/com/google/caliper/config/ |
D | LoggingConfigLoader.java | 63 FileInputStream fis = null; in loadLoggingConfig() local 65 fis = closer.register(new FileInputStream(loggingPropertiesFile)); in loadLoggingConfig() 66 logManager.readConfiguration(fis); in loadLoggingConfig()
|