/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/ |
D | Checker.java | 41 public Checker(NGramList list, InputFile dataFile) in Checker() argument 44 ngrams.setMapper(dataFile); in Checker() 46 language = languageName(dataFile.getFilename()); in Checker() 47 encoding = dataFile.getEncoding(); in Checker() 145 public void check(InputFile dataFile) in check() argument 149 dataFile.open(); in check() 151 String dataFilename = dataFile.getFilename(); in check() 152 String fileEncoding = dataFile.getEncoding(); in check() 156 setMapper(dataFile); in check() 159 while (nextBuffer(dataFile)) { in check() [all …]
|
/third_party/skia/third_party/externals/angle2/scripts/ |
D | gen_vk_gl_cts_build.py | 176 for dataFile in dataFiles: 177 path, filename = os.path.split(dataFile) 179 filesToCopy += templateFilesToCopy.format(dataFile=dataFile.replace(os.sep, '/')) 206 for dataFile in dataFiles: 207 if dataDirectory + os.sep in dataFile: 209 dataFile=fixDestinationDirectory(pathReplacements, dataFile).replace(
|
/third_party/mindspore/mindspore/lite/java/java/fl_client/src/main/java/com/mindspore/flclient/model/ |
D | AlTrainBert.java | 62 public int initDataSet(String dataFile, String vocabFile, String idsFile) { in initDataSet() argument 63 if (dataFile == null || vocabFile == null || idsFile == null) { in initDataSet() 67 features = DataSet.init(dataFile, vocabFile, idsFile, true, maxSeqLen); in initDataSet()
|
D | AlInferBert.java | 111 public int[] inferModel(String modelPath, String dataFile, String vocabFile, String idsFile) { in inferModel() argument 112 if (modelPath == null || vocabFile == null || idsFile == null || dataFile == null) { in inferModel() 116 …logger.info(Common.addTag("Infer model," + modelPath + ",Data file," + dataFile + ",vocab file," +… in inferModel() 123 int inferSize = initDataSet(dataFile, vocabFile, idsFile, false); in inferModel()
|
D | DataSet.java | 131 public static byte[] readBinFile(String dataFile) { in readBinFile() argument 132 if (dataFile == null || dataFile.isEmpty()) { in readBinFile() 137 Path path = Paths.get(dataFile); in readBinFile()
|
/third_party/skia/third_party/icu/ |
D | SkLoadICU.cpp | 21 static void* win_mmap(const char* dataFile) { in win_mmap() argument 22 if (!dataFile) { in win_mmap() 26 std::unique_ptr<FILE, FCloseWrapper> stream(fopen(dataFile, "rb")); in win_mmap() 28 fprintf(stderr, "SkIcuLoader: datafile missing: %s.\n", dataFile); in win_mmap()
|
/third_party/flutter/skia/third_party/icu/ |
D | SkLoadICU.cpp | 21 static void* win_mmap(const char* dataFile) { in win_mmap() argument 22 if (!dataFile) { in win_mmap() 26 std::unique_ptr<FILE, FCloseWrapper> stream(fopen(dataFile, "rb")); in win_mmap()
|
/third_party/icu/icu4c/source/tools/toolutil/ |
D | pkg_gencmn.cpp | 121 … const char *dataFile, uint32_t max_size, UBool sourceTOC, UBool verbose, char *gencmnFileName) { in createCommonDataFile() argument 153 if (dataFile == NULL) { in createCommonDataFile() 156 in = T_FileStream_open(dataFile, "r"); in createCommonDataFile() 158 fprintf(stderr, "gencmn: unable to open input file %s\n", dataFile); in createCommonDataFile() 217 fprintf(stderr, "gencmn: no files listed in %s\n", dataFile == NULL ? "<stdin>" : dataFile); in createCommonDataFile()
|
D | pkg_gencmn.h | 16 … const char *dataFile, uint32_t max_size, UBool sourceTOC, UBool verbose, char *gencmnFileName);
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
D | pkg_gencmn.cpp | 121 … const char *dataFile, uint32_t max_size, UBool sourceTOC, UBool verbose, char *gencmnFileName) { in createCommonDataFile() argument 153 if (dataFile == NULL) { in createCommonDataFile() 156 in = T_FileStream_open(dataFile, "r"); in createCommonDataFile() 158 fprintf(stderr, "gencmn: unable to open input file %s\n", dataFile); in createCommonDataFile() 217 fprintf(stderr, "gencmn: no files listed in %s\n", dataFile == NULL ? "<stdin>" : dataFile); in createCommonDataFile()
|
D | pkg_gencmn.h | 16 … const char *dataFile, uint32_t max_size, UBool sourceTOC, UBool verbose, char *gencmnFileName);
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
D | pkg_gencmn.cpp | 121 … const char *dataFile, uint32_t max_size, UBool sourceTOC, UBool verbose, char *gencmnFileName) { in createCommonDataFile() argument 153 if (dataFile == NULL) { in createCommonDataFile() 156 in = T_FileStream_open(dataFile, "r"); in createCommonDataFile() 158 fprintf(stderr, "gencmn: unable to open input file %s\n", dataFile); in createCommonDataFile() 217 fprintf(stderr, "gencmn: no files listed in %s\n", dataFile == NULL ? "<stdin>" : dataFile); in createCommonDataFile()
|
D | pkg_gencmn.h | 16 … const char *dataFile, uint32_t max_size, UBool sourceTOC, UBool verbose, char *gencmnFileName);
|
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/ |
D | pkg_gencmn.cpp | 121 … const char *dataFile, uint32_t max_size, UBool sourceTOC, UBool verbose, char *gencmnFileName) { in createCommonDataFile() argument 153 if (dataFile == NULL) { in createCommonDataFile() 156 in = T_FileStream_open(dataFile, "r"); in createCommonDataFile() 158 fprintf(stderr, "gencmn: unable to open input file %s\n", dataFile); in createCommonDataFile() 217 fprintf(stderr, "gencmn: no files listed in %s\n", dataFile == NULL ? "<stdin>" : dataFile); in createCommonDataFile()
|
D | pkg_gencmn.h | 16 … const char *dataFile, uint32_t max_size, UBool sourceTOC, UBool verbose, char *gencmnFileName);
|
/third_party/protobuf/benchmarks/java/src/main/java/com/google/protobuf/ |
D | ProtoCaliperBenchmark.java | 99 private String dataFile; field in ProtoCaliperBenchmark 131 if (!dataFile.equals("")) { in setUp() 132 RandomAccessFile file = new RandomAccessFile(new File(dataFile), "r"); in setUp()
|
/third_party/icu/tools/currency/src/com/ibm/icu/dev/tool/currency/ |
D | CurrencyDataParser.java | 33 …public static Collection<CurrencyDataEntry> parse(File dataFile, boolean historic) throws IOExcept… in parse() argument 40 parser.parse(new FileInputStream(dataFile), handler); in parse()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | rbbiapts.h | 67 void RoundtripRule(const char *dataFile);
|
D | rbbiapts.cpp | 1026 void RBBIAPITest::RoundtripRule(const char *dataFile) { in RoundtripRule() argument 1031 LocalUDataMemoryPointer data(udata_open(U_ICUDATA_BRKITR, "brk", dataFile, &status)); in RoundtripRule() 1038 …errcheckln(status, "%s:%d Can't open \"%s\" - %s", __FILE__, __LINE__, dataFile, u_errorName(statu… in RoundtripRule() 1052 logln("Comparing \"%s\" len=%d", dataFile, length); in RoundtripRule() 1054 errln("%s:%d Built rules and rebuilt rules are different %s", __FILE__, __LINE__, dataFile); in RoundtripRule()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | ICUBinary.java | 513 for (DataFile dataFile : icuDataFiles) { 514 ByteBuffer data = dataFile.getData(itemPath); 550 for (DataFile dataFile : icuDataFiles) { 551 dataFile.addBaseNamesInFolder(folder, suffix, names);
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICUBinary.java | 508 for (DataFile dataFile : icuDataFiles) { 509 ByteBuffer data = dataFile.getData(itemPath); 545 for (DataFile dataFile : icuDataFiles) { 546 dataFile.addBaseNamesInFolder(folder, suffix, names);
|