Home
last modified time | relevance | path

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

1234567

/third_party/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()
106 CharString filePath; in traceOpenDataFile() local
107 filePath.append(path, status); in traceOpenDataFile()
108 filePath.append('/', status); in traceOpenDataFile()
109 filePath.append(name, status); in traceOpenDataFile()
110 filePath.append('.', status); in traceOpenDataFile()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Drestrace.cpp26 CharString filePath; in trace() local
27 getFilePath(filePath, status); in trace()
41 filePath.data(), in trace()
53 CharString filePath; in traceOpen() local
54 UTRACE_DATA1(UTRACE_VERBOSE, "%s", getFilePath(filePath, status).data()); in traceOpen()
110 CharString filePath; in traceOpenDataFile() local
111 filePath.append(path, status); in traceOpenDataFile()
112 filePath.append('/', status); in traceOpenDataFile()
113 filePath.append(name, status); in traceOpenDataFile()
114 filePath.append('.', status); in traceOpenDataFile()
[all …]
/third_party/node/deps/icu-small/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()
106 CharString filePath; in traceOpenDataFile() local
107 filePath.append(path, status); in traceOpenDataFile()
108 filePath.append('/', status); in traceOpenDataFile()
109 filePath.append(name, status); in traceOpenDataFile()
110 filePath.append('.', status); in traceOpenDataFile()
[all …]
/third_party/node/test/parallel/
Dtest-fs-rm.js113 const filePath = path.join(tmpdir.path, 'rm-async-file.txt'); constant
114 fs.writeFileSync(filePath, '');
115 fs.rm(filePath, { recursive: true }, common.mustCall((err) => {
118 assert.strictEqual(fs.existsSync(filePath), false);
120 fs.rmSync(filePath, { force: true });
148 const filePath = path.join(tmpdir.path, 'rm-file.txt'); constant
149 fs.writeFileSync(filePath, '');
152 fs.rmSync(filePath, { recursive: true });
154 fs.rmSync(filePath, { force: true });
195 const filePath = path.join(tmpdir.path, 'rm-promises-file.txt'); constant
[all …]
Dtest-fs-promises-file-handle-read.js23 const filePath = path.resolve(tmpDir, 'tmp-read-file.txt');
24 const fileHandle = await open(filePath, 'w+');
27 const fd = fs.openSync(filePath, 'w+');
38 const filePath = path.resolve(tmpDir, 'tmp-read-empty-file.txt');
39 const fileHandle = await open(filePath, 'w+');
42 const fd = fs.openSync(filePath, 'w+');
55 const filePath = fixtures.path('x.txt');
56 const fileHandle = await open(filePath, 'r');
64 const filePath = fixtures.path('x.txt');
65 const fileHandle = await open(filePath, 'r');
[all …]
Dtest-fs-promises-file-handle-append-file.js18 const filePath = path.resolve(tmpDir, 'tmp-append-file-buffer.txt');
19 const fileHandle = await open(filePath, 'a');
23 const appendedFileData = fs.readFileSync(filePath);
30 const filePath = path.resolve(tmpDir, 'tmp-append-file-string.txt');
31 const fileHandle = await open(filePath, 'a');
36 const appendedFileData = fs.readFileSync(filePath);
Dtest-fs-promises-file-handle-chmod.js18 const filePath = path.resolve(tmpDir, 'tmp-chmod.txt');
19 const fileHandle = await open(filePath, 'w+', 0o444);
21 const statsBeforeMod = fs.statSync(filePath);
39 const statsAfterMod = fs.statSync(filePath);
/third_party/typescript_eslint/packages/typescript-estree/src/create-program/
DcreateWatchProgram.ts92 const currentLintOperationState: { code: string; filePath: CanonicalPath } = { constant
94 filePath: '' as CanonicalPath,
147 const filePath = getCanonicalFileName(filePathIn); constant
152 currentLintOperationState.filePath = filePath;
155 const fileWatchCallbacks = fileWatchCallbackTrackingMap.get(filePath);
158 parsedFilesSeenHash.get(filePath) !== codeHash &&
163 cb(filePath, ts.FileWatcherEventKind.Changed),
179 if (fileList.has(filePath)) {
180 log('Found existing program for file. %s', filePath);
192 filePath,
[all …]
Dshared.ts46 ? (filePath: string): string => filePath
47 : (filePath: string): string => filePath.toLowerCase();
49 function getCanonicalFileName(filePath: string): CanonicalPath {
50 let normalized = path.normalize(filePath);
73 filePath: string = extra.filePath,
75 const extension = path.extname(filePath).toLowerCase();
DcreateProjectProgram.ts30 log('Creating project program for: %s', extra.filePath);
33 getProgramsForProjects(code, extra.filePath, extra),
35 const ast = currentProgram.getSourceFile(extra.filePath);
38 const expectedExt = getExtension(extra.filePath);
54 extra.filePath,
74 const fileExtension = path.extname(extra.filePath);
DcreateDefaultProgram.ts24 log('Getting default program for: %s', extra.filePath || 'unnamed file');
48 path.normalize(fileName) === path.normalize(extra.filePath)
53 [extra.filePath],
57 const ast = program.getSourceFile(extra.filePath);
DcreateIsolatedProgram.ts20 extra.filePath,
28 return extra.filePath;
65 [extra.filePath],
75 const ast = program.getSourceFile(extra.filePath);
/third_party/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()
/third_party/node/deps/icu-small/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()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/typescript/scripts/importDefinitelyTypedTests/
DimportDefinitelyTypedTests.ts127 for (const filePath of files.map(f => path.join(directoryPath, f))) { constant
128 if (filePathEndsWith(filePath, ".ts")) {
129 tsFiles.push(filePath);
131 if (filePathEndsWith(filePath, "-tests.ts")) {
132 testFiles.push(filePath);
135 else if (filePathEndsWith(filePath, ".tscparams")) {
136 paramFile = filePath;
/third_party/mesa3d/ohos/
DmodifyDtsi.py28 def __init__(self, filePath) -> None: argument
29 self.filePath = filePath
32 fp = open(self.filePath, 'r')
40 fp = open(self.filePath, 'w')
/third_party/typescript/src/compiler/
DresolutionCache.ts13 invalidateResolutionOfFile(filePath: Path): void;
14 removeResolutionsOfFile(filePath: Path): void;
15 removeResolutionsFromProjectReferenceRedirects(filePath: Path): void;
64 fileIsOpen(filePath: Path): boolean;
550 filePath: Path,
571 (resolution.files || (resolution.files = [])).push(filePath);
629 filePath: Path,
632 unorderedRemoveItem(Debug.assertDefined(resolution.files), filePath);
698 filePath: Path,
702 const resolutions = cache.get(filePath);
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dacct.c38 const char *filePath = "/data/tests/libc-test/src/functionalext/supplement/unistd/accttest.txt"; in acct_0200() local
39 int result = acct(filePath); in acct_0200()
41 remove(filePath); in acct_0200()
/third_party/vk-gl-cts/scripts/src_util/
Dcommon.py60 def isTextFile (filePath): argument
62 if filePath.endswith("preprocessor.test"):
65 ext = os.path.splitext(filePath)[1]
72 f = open(filePath, "rb")
/third_party/typescript_eslint/packages/typescript-estree/src/
Dparser.ts98 filePath: getFileName(),
211 if (typeof options.filePath === 'string' && options.filePath !== '<input>') {
212 extra.filePath = options.filePath;
214 extra.filePath = getFileName(extra);
253 extra.filePath = ensureAbsolutePath(extra.filePath, extra);
/third_party/skia/third_party/externals/angle2/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()
/third_party/typescript_eslint/packages/experimental-utils/src/ts-eslint/
DESLint.ts25 calculateConfigForFile(filePath: string): Promise<Linter.Config>;
32 isPathIgnored(filePath: string): Promise<boolean>;
223 filePath: string;
259 filePath?: string;
/third_party/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`;

1234567