Home
last modified time | relevance | path

Searched refs:filePath (Results 1 - 25 of 97) sorted by relevance

1234

/third_party/icu/icu4c/source/common/
H A 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 in traceOpenDataFile()
121 CharString filePath; traceOpenResFile() local
[all...]
/third_party/node/deps/icu-small/source/common/
H A 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 in traceOpenDataFile()
121 CharString filePath; traceOpenResFile() local
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A 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 in traceOpenDataFile()
126 CharString filePath; traceOpenResFile() local
[all...]
/third_party/node/test/parallel/
H A Dtest-fs-promises-file-handle-read.js23 const filePath = path.resolve(tmpDir, file);
26 const fd = fs.openSync(filePath, 'w+');
27 const fileHandle = await open(filePath, 'w+');
28 const streamFileHandle = await open(filePath, 'w+');
55 const filePath = fixtures.path('x.txt');
56 const fileHandle = await open(filePath, 'r');
65 const filePath = fixtures.path('x.txt');
66 const fileHandle = await open(filePath, 'r');
76 const filePath = fixtures.path('x.txt');
77 const fileHandle = await open(filePath, '
[all...]
H A Dtest-fs-rm.js139 const filePath = path.join(tmpdir.path, 'rm-async-file.txt');
140 fs.writeFileSync(filePath, '');
141 fs.rm(filePath, common.mustNotMutateObjectDeep({ recursive: true }), common.mustCall((err) => {
144 assert.strictEqual(fs.existsSync(filePath), false);
146 fs.rmSync(filePath, common.mustNotMutateObjectDeep({ force: true }));
226 const filePath = path.join(tmpdir.path, 'rm-file.txt');
227 fs.writeFileSync(filePath, '');
230 fs.rmSync(filePath, common.mustNotMutateObjectDeep({ recursive: true }));
231 assert.strictEqual(fs.existsSync(filePath), false);
233 fs.rmSync(filePath, commo
[all...]
/third_party/icu/icu4c/source/tools/toolutil/
H A 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[ in swapFileSepChar()
[all...]
H A Dfiletools.h29 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir=false);
32 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar);
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Dfiletools.cpp45 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir) { in isFileModTimeLater() argument
48 if (filePath == nullptr || checkAgainst == nullptr) { 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[ in swapFileSepChar()
[all...]
H A Dfiletools.h29 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir=false);
32 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar);
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A 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[ in swapFileSepChar()
[all...]
/third_party/astc-encoder/Test/testlib/
H A Dimage.py53 filePath: The path of the file on disk.
81 def __init__(self, filePath):
86 filePath (str): The path of the image on disk.
91 self.filePath = os.path.abspath(filePath)
92 if not os.path.exists(self.filePath):
93 raise ImageException("Image doesn't exist (%s)" % filePath)
98 partialPath = os.path.relpath(self.filePath, rootInDir)
182 img = PILImage.open(self.filePath)
225 def __init__(self, filePath)
[all...]
H A Dtestset.py79 filePath = os.path.join(dirPath, fileName)
80 image = TestImage(filePath)
92 self.tests.append((filePath, image))
H A Dresultset.py292 def save_to_file(self, filePath):
297 filePath (str): The output file path.
299 dirName = os.path.dirname(filePath)
303 with open(filePath, "w", newline="") as csvfile:
338 def load_from_file(self, filePath):
343 filePath (str): The input file path.
345 with open(filePath, "r") as csvfile:
/third_party/parse5/packages/parse5/
H A Duglify-source.js26 const filePath = path.join(inputPath, file);
27 if (fs.existsSync(filePath)) {
28 const fileStat = fs.statSync(filePath);
30 const code = fs.readFileSync(filePath, 'utf-8');
31 uglifyCode(code, filePath);
34 readCode(filePath);
/third_party/weex-loader/
H A Duglify-source.js27 const filePath = path.join(inputPath, file);
28 if (fs.existsSync(filePath)) {
29 const fileStat = fs.statSync(filePath);
31 const code = fs.readFileSync(filePath, 'utf-8');
32 uglifyCode(code, filePath);
35 readCode(filePath);
/third_party/vk-gl-cts/scripts/
H A Dmustpass.py121 def __init__(self, filePath, sortedLines):
122 self.filePath = filePath
128 filePath = getCaseListPath(buildCfg, module, "txt")
129 with open(filePath, 'r') as first_file:
132 caseList = CaseList(filePath, lines)
285 logging.debug("Reading " + currentCaseList.filePath)
299 def openAndStoreFile(filePath, testFilePath, parentFile):
300 if filePath not in output_files:
302 print(" " + filePath)
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/
H A Dlinux_getxattr_test.cpp34 const char* filePath = "getxattr.txt"; in HWTEST_F() local
35 int fileDescriptor = open(filePath, O_RDWR | O_CREAT, 0666); in HWTEST_F()
41 int setResult = setxattr(filePath, attrName, attrValue, strlen(attrValue), XATTR_CREATE); in HWTEST_F()
44 int getResult = getxattr(filePath, attrName, buffer, sizeof(buffer)); in HWTEST_F()
47 int removeResult = remove(filePath); in HWTEST_F()
H A Dlinux_setxattr_test.cpp36 const char* filePath = "setxattr.txt"; in HWTEST_F() local
37 int fileDescriptor = open(filePath, O_RDWR | O_CREAT, 0666); in HWTEST_F()
43 int setResult = setxattr(filePath, attrName, attrValue, strlen(attrValue), XATTR_CREATE); in HWTEST_F()
45 int removeResult = remove(filePath); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dacct.c44 char filePath[PATH_MAX] = {0}; in acct_0200() local
45 FILE_ABSOLUTE_PATH("accttest.txt", filePath); in acct_0200()
46 int result = acct(filePath); in acct_0200()
48 remove(filePath); in acct_0200()
/third_party/mesa3d/ohos/
H A DmodifyDtsi.py28 def __init__(self, filePath) -> None:
29 self.filePath = filePath
32 fp = open(self.filePath, 'r')
40 fp = open(self.filePath, 'w')
/third_party/skia/third_party/externals/angle2/util/
H A 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/vk-gl-cts/scripts/src_util/
H A Dcommon.py64 def isTextFile (filePath):
66 if filePath.endswith("preprocessor.test"):
69 ext = os.path.splitext(filePath)[1]
76 f = open(filePath, "rb")
/third_party/typescript/tests/arkTSTest/
H A Drun.js31 function getAllETSFiles(filePath) {
33 if (fs.existsSync(filePath)) {
34 const files = fs.readdirSync(filePath);
37 let currentFilePath = path.normalize(path.join(filePath, file));
54 console.warn(`The specified directory ${filePath} Non-existent!`);
323 let filePath = 'testcase'
325 filePath = pathParam
339 let filePathStats = fs.lstatSync(filePath)
341 runComp(filePath, path.basename(filePath))
[all...]
/third_party/vk-gl-cts/external/vulkancts/vkscpc/
H A Dvkscpc.cpp73 const de::FilePath filePath = iter.getItem(); in importFilesForExternalCompiler() local
74 if (filePath.getType() != de::FilePath::TYPE_FILE) in importFilesForExternalCompiler()
76 if (filePath.getFileExtension() != "json") in importFilesForExternalCompiler()
78 if (!filePrefix.empty() && filePath.getBaseName().find(filePrefix) != 0) in importFilesForExternalCompiler()
83 std::ifstream file(filePath.getPath()); in importFilesForExternalCompiler()
93 TCU_THROW(InternalError, (std::string("JSON parsing error. File ") + filePath.getPath() + " Error : " + errors).c_str()); in importFilesForExternalCompiler()
102 TCU_THROW(InternalError, (std::string("JSON - unknown pipeline. File ") + filePath.getPath()).c_str()); in importFilesForExternalCompiler()
202 TCU_THROW(InternalError, (std::string("JSON - missing shader stage. File ") + filePath.getPath()).c_str()); in importFilesForExternalCompiler()
208 TCU_THROW(InternalError, (std::string("JSON - missing shader file ") + fileName + ". File " + filePath.getPath()).c_str()); in importFilesForExternalCompiler()
219 TCU_THROW(InternalError, (std::string("JSON - error reading shader file ") + fileName + ". File " + filePath in importFilesForExternalCompiler()
[all...]
/third_party/jsframework/
H A Dbuild_strip_native_min.js88 function countSize(filePath) {
89 const file = path.relative(__dirname, filePath);
90 fs.stat(filePath, function (error, stats) {

Completed in 9 milliseconds

1234