Searched refs:fileContent (Results 1 – 11 of 11) sorted by relevance
| /developtools/profiler/device/base/test/unittest/ |
| D | common_test.cpp | 32 bool WriteFile(const std::string& filePath, const std::string& fileContent) in WriteFile() argument 41 size_t len = fwrite(const_cast<char*>(fileContent.c_str()), 1, fileContent.length(), file); in WriteFile() 135 std::string fileContent = "Hello world"; variable 136 EXPECT_TRUE(WriteFile(fileName, fileContent)); 167 EXPECT_TRUE(readContent == fileContent); 183 std::string fileContent = "Hello world"; variable 184 EXPECT_FALSE(WriteFile(fileName, fileContent));
|
| /developtools/packing_tool/adapter/ohos/ |
| D | HapZipInfo.java | 109 public void pushResourceMap(String fileName, String fileContent) { in pushResourceMap() argument 110 if (fileName == null || fileContent == null) { in pushResourceMap() 113 resourcemMap.put(fileName, fileContent); in pushResourceMap()
|
| D | FileUtils.java | 442 String fileContent = getFileStringFromZip(filePath, zipFile); in getProfileJson() local 443 resourceMap.put(fileName, fileContent); in getProfileJson()
|
| D | Uncompress.java | 1397 String fileContent = FileUtils.getFileStringFromZip(filePath, zipFile); in getProfileJson() local 1398 resourceMap.put(fileName, fileContent); in getProfileJson() 1464 String fileContent = readStringFromInputStream(zipIn, bufferedReader); in unZipModuleHapFileFromInputStream() local 1465 hapZipInfo.pushResourceMap(fileName, fileContent); in unZipModuleHapFileFromInputStream()
|
| D | JsonUtil.java | 1161 String fileContent = profileJsons.get(pageFile); in parseModulePages() local 1162 if (fileContent != null) { in parseModulePages() 1163 JSONObject pageObj = JSONObject.parseObject(fileContent); in parseModulePages()
|
| /developtools/ace_js2bundle/ace-loader/test/lite/ |
| D | test.js | 30 const fileContent = fs.readFileSync(filePath, "utf-8"); 31 const fileString = fileContent.toString();
|
| /developtools/ace_js2bundle/ace-loader/test/card/ |
| D | test.js | 30 const fileContent = fs.readFileSync(filePath, "utf-8"); 31 const fileString = fileContent.toString();
|
| /developtools/ace_js2bundle/ace-loader/test/rich/ |
| D | test.js | 27 const fileContent = fs.readFileSync(filePath, 'utf-8'); 28 const fileString = fileContent.toString();
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/common/ |
| D | ob_config_resolver.ts | 223 let fileContent = undefined; 225 fileContent = fs.readFileSync(path, 'utf-8'); 230 this.handleConfigContent(fileContent, configs, path); 505 const fileContent = fs.readFileSync(nameCachePath, 'utf-8'); constant 506 const nameCache: { IdentifierCache?, PropertyCache? } = JSON.parse(fileContent);
|
| /developtools/profiler/device/base/include/ |
| D | common.h | 39 …const std::string& filePath, const std::vector<std::string>& validPaths, std::string& fileContent);
|
| /developtools/profiler/device/base/src/ |
| D | common.cpp | 438 …(const std::string &filePath, const std::vector<std::string>& validPaths, std::string& fileContent) in ReadFile() argument 452 fileContent = content; in ReadFile()
|