Home
last modified time | relevance | path

Searched refs:filePath (Results 1 – 25 of 104) sorted by relevance

12345

/external/icu/icu4c/source/common/
Drestrace.cpp25 CharString filePath; in trace() local
26 getFilePath(filePath, status); in trace()
40 filePath.data(), in trace()
50 CharString filePath; in traceOpen() local
51 UTRACE_DATA1(UTRACE_VERBOSE, "%s", getFilePath(filePath, status).data()); in traceOpen()
103 CharString filePath; in traceOpenDataFile() local
104 filePath.append(path, status); in traceOpenDataFile()
105 filePath.append('/', status); in traceOpenDataFile()
106 filePath.append(name, status); in traceOpenDataFile()
107 filePath.append('.', status); in traceOpenDataFile()
[all …]
/external/icu/icu4c/source/tools/toolutil/
Dfiletools.cpp45 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir) { in isFileModTimeLater() argument
48 if (filePath == NULL || checkAgainst == NULL) { in isFileModTimeLater()
73 isLatest = isFileModTimeLater(filePath, newpath.data(), isDir); in isFileModTimeLater()
78 int32_t latest = whichFileModTimeIsLater(filePath, newpath.data()); in isFileModTimeLater()
95 int32_t latest = whichFileModTimeIsLater(filePath, checkAgainst); in isFileModTimeLater()
136 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar) { in swapFileSepChar() argument
137 for (int32_t i = 0, length = static_cast<int32_t>(uprv_strlen(filePath)); i < length; i++) { in swapFileSepChar()
138 filePath[i] = (filePath[i] == oldFileSepChar ) ? newFileSepChar : filePath[i]; in swapFileSepChar()
Dfiletools.h29 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir=FALSE);
32 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar);
/external/tensorflow/tensorflow/lite/experimental/support/java/src/java/org/tensorflow/lite/support/common/
DFileUtil.java47 public static List<String> loadLabels(@NonNull Context context, @NonNull String filePath) in loadLabels() argument
50 SupportPreconditions.checkNotNull(filePath, "File path cannot be null."); in loadLabels()
51 InputStream inputStream = context.getAssets().open(filePath); in loadLabels()
84 public static MappedByteBuffer loadMappedFile(@NonNull Context context, @NonNull String filePath) in loadMappedFile() argument
87 SupportPreconditions.checkNotNull(filePath, "File path cannot be null."); in loadMappedFile()
88 AssetFileDescriptor fileDescriptor = context.getAssets().openFd(filePath); in loadMappedFile()
/external/antlr/gunit/src/main/java/org/antlr/gunit/
DgUnitBaseTest.java61 String filePath = testInput; in execLexer() local
62 File testInputFile = new File(filePath); in execLexer()
65 testInputFile = new File(packagePath, filePath); in execLexer()
66 if ( testInputFile.exists() ) filePath = testInputFile.getCanonicalPath(); in execLexer()
68 input = new ANTLRFileStream(filePath); in execLexer()
150 String filePath = testInput; in execParser() local
151 File testInputFile = new File(filePath); in execParser()
154 testInputFile = new File(packagePath, filePath); in execParser()
155 if ( testInputFile.exists() ) filePath = testInputFile.getCanonicalPath(); in execParser()
157 input = new ANTLRFileStream(filePath); in execParser()
[all …]
/external/tensorflow/tensorflow/lite/experimental/swift/Sources/
DModel.swift30 init?(filePath: String) {
31 guard !filePath.isEmpty, let cModel = TfLiteModelCreateFromFile(filePath) else { return nil }
/external/deqp/scripts/src_util/
Dcommon.py59 def isTextFile (filePath): argument
61 if filePath.endswith("preprocessor.test"):
64 ext = os.path.splitext(filePath)[1]
71 f = open(filePath, "rb")
/external/angle/util/
Dtest_utils.cpp27 bool GetFileSize(const char *filePath, uint32_t *sizeOut) in GetFileSize() argument
29 std::ifstream stream(filePath); in GetFileSize()
40 bool ReadEntireFileToString(const char *filePath, char *contentsOut, uint32_t maxLen) in ReadEntireFileToString() argument
42 std::ifstream stream(filePath); in ReadEntireFileToString()
/external/icu/icu4c/source/test/perf/collationperf/
DCollPerf.pl45 my $filePath = $CollationDataPath . "/";
80 my @icu = `$p -locale @locale[$n] -loop 1000 -file $filePath@data[$n] -qsort`;
81 my @nix = `$p -locale @locale[$n] -unix -loop 1000 -file $filePath@data[$n] -qsort`;
92 @icu = `$p -locale @locale[$n] -loop 1000 -file $filePath@data[$n] -keygen`;
93 @nix = `$p -locale @locale[$n] -unix -loop 1000 -file $filePath@data[$n] -keygen`;
/external/tensorflow/tensorflow/lite/experimental/swift/Tests/
DModelTests.swift44 XCTAssertNotNil(Model(filePath: modelPath)) in testInitWithFilePath()
48 XCTAssertNil(Model(filePath: "")) in testInitWithEmptyFilePath_FailsInitialization()
52 XCTAssertNil(Model(filePath: "invalid/path")) in testInitWithInvalidFilePath_FailsInitialization()
/external/clang/include/clang/ARCMigrate/
DFileRemapper.h47 bool initFromFile(StringRef filePath, DiagnosticsEngine &Diag,
55 void remap(StringRef filePath, std::unique_ptr<llvm::MemoryBuffer> memBuf);
65 const FileEntry *getOriginalFile(StringRef filePath);
/external/tensorflow/tensorflow/lite/experimental/support/java/src/java/org/tensorflow/lite/support/label/ops/
DLabelAxisOp.java56 public Builder addAxisLabel(@NonNull Context context, int axis, @NonNull String filePath) in addAxisLabel() argument
59 SupportPreconditions.checkNotNull(filePath, "File path cannot be null."); in addAxisLabel()
60 List<String> labels = FileUtil.loadLabels(context, filePath); in addAxisLabel()
/external/clang/lib/ARCMigrate/
DFileRemapper.cpp56 bool FileRemapper::initFromFile(StringRef filePath, DiagnosticsEngine &Diag, in initFromFile() argument
60 std::string infoFile = filePath; in initFromFile()
206 void FileRemapper::remap(StringRef filePath, in remap() argument
208 remap(getOriginalFile(filePath), std::move(memBuf)); in remap()
227 const FileEntry *FileRemapper::getOriginalFile(StringRef filePath) { in getOriginalFile() argument
228 const FileEntry *file = FileMgr->getFile(filePath); in getOriginalFile()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/typesolvers/
DJavaParserTypeSolver.java117 String filePath = srcDir.getAbsolutePath(); in tryToSolveTypeUncached() local
119 filePath += "/" + nameElements[j]; in tryToSolveTypeUncached()
121 filePath += ".java"; in tryToSolveTypeUncached()
131 File srcFile = new File(filePath); in tryToSolveTypeUncached()
/external/testng/src/main/java/org/testng/internal/
DYamlParser.java13 public XmlSuite parse(String filePath, InputStream is, boolean loadClasses) in parse() argument
16 return Yaml.parse(filePath, is); in parse()
/external/lz4/tests/
Dtest-lz4-speed.py193 …ranch, commit, args, executableName, md5sum, compilerVersion, resultsFileName, filePath, fileName): argument
196 …commit, args, executableName, md5sum, compilerVersion, resultsFileName, filePath, fileName, csize,…
199 …commit, args, executableName, md5sum, compilerVersion, resultsFileName, filePath, fileName, csize,…
220 for filePath in testFilePaths:
221 fileName = filePath.rpartition('/')[2]
223 …nch, commit, args, 'lz4', md5_lz4, 'gcc_version='+gcc_version, resultsFileName, filePath, fileName)
228 …ommit, args, 'lz4c32', md5_lz4c32, 'gcc_version='+gcc_version, resultsFileName, filePath, fileName)
233 …s, 'lz4_clang', md5_lz4_clang, 'clang_version='+clang_version, resultsFileName, filePath, fileName)
/external/lzma/CPP/Windows/
DFileFind.cpp456 FString filePath (path); in Find() local
457 filePath.DeleteFrom(colonPos); in Find()
469 if (IsDrivePath2(filePath) && in Find()
470 (colonPos == 2 || colonPos == 3 && filePath[2] == '\\')) in Find()
476 Name = filePath; in Find()
479 isOk = Find(filePath); in Find()
485 CStreamEnumerator enumerator(filePath); in Find()
DCommonDialog.cpp105 LPCWSTR filePath, in MyGetOpenFileName() argument
122 MyStringCopy(buf, (const char *)GetSystemString(filePath)); in MyGetOpenFileName()
152 MyStringCopy(buf, filePath); in MyGetOpenFileName()
DFileFind.h107 bool FindFirst(CFSTR filePath, CStreamInfo &streamInfo);
118 CStreamEnumerator(const FString &filePath): _filePath(filePath) {} in CStreamEnumerator() argument
/external/python/cpython3/Mac/BuildScript/
Dseticon.m16 NSString* filePath = [NSString stringWithUTF8String:argv[2]];
22 forFile: filePath
/external/python/cpython2/Mac/BuildScript/
Dseticon.m16 NSString* filePath = [NSString stringWithUTF8String:argv[2]];
22 forFile: filePath
/external/perfetto/infra/perfetto.dev/src/
Dgen_stats_reference.js46 function parseTablesInCppFile(filePath) { argument
47 const hdr = fs.readFileSync(filePath, 'UTF8');
/external/antlr/runtime/Python3/
Dsetup.py50 filePath = os.path.join(root, name)
53 log.info("removing '%s'", filePath)
54 os.unlink(filePath)
58 filePath, exc
/external/parameter-framework/upstream/test/test-platform/
Dmain.cpp86 auto filePath = options.front(); in main() local
104 if (!CTestPlatform(filePath, bindAddress).run(strError)) { in main()
/external/webrtc/talk/app/webrtc/objc/public/
DRTCLogging.h41 extern "C" NSString* RTCFileName(const char* filePath);
53 extern NSString* RTCFileName(const char* filePath);

12345