Home
last modified time | relevance | path

Searched refs:fileContent (Results 1 – 11 of 11) sorted by relevance

/developtools/profiler/device/base/test/unittest/
Dcommon_test.cpp32 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/
DHapZipInfo.java109 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()
DFileUtils.java442 String fileContent = getFileStringFromZip(filePath, zipFile); in getProfileJson() local
443 resourceMap.put(fileName, fileContent); in getProfileJson()
DUncompress.java1397 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()
DJsonUtil.java1161 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/
Dtest.js30 const fileContent = fs.readFileSync(filePath, "utf-8");
31 const fileString = fileContent.toString();
/developtools/ace_js2bundle/ace-loader/test/card/
Dtest.js30 const fileContent = fs.readFileSync(filePath, "utf-8");
31 const fileString = fileContent.toString();
/developtools/ace_js2bundle/ace-loader/test/rich/
Dtest.js27 const fileContent = fs.readFileSync(filePath, 'utf-8');
28 const fileString = fileContent.toString();
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/common/
Dob_config_resolver.ts223 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/
Dcommon.h39 …const std::string& filePath, const std::vector<std::string>& validPaths, std::string& fileContent);
/developtools/profiler/device/base/src/
Dcommon.cpp438 …(const std::string &filePath, const std::vector<std::string>& validPaths, std::string& fileContent) in ReadFile() argument
452 fileContent = content; in ReadFile()