Home
last modified time | relevance | path

Searched refs:fileContent (Results 1 - 4 of 4) sorted by relevance

/ide/tools/previewer/automock/
H A Dbuild_jsmock_system_plugin.js85 const fileContent = fs.readFileSync(configJSAPIMockOutput.file, 'utf-8');
86 fs.writeFileSync(configJSAPIMockOutput.file, fileContent.replace(/CommonMethod\$\d*/g, 'CommonMethod'), 'utf-8');
/ide/tools/previewer/test/unittest/jsapp/
H A DStageContextTest.cpp152 std::string fileContent = R"({"aceModuleBuild":"abc"})"; in TEST_F() local
153 WriteFile(testFile, fileContent); in TEST_F()
160 fileContent = ""; in TEST_F()
161 WriteFile(testFile, fileContent); in TEST_F()
165 fileContent = R"({"aceModuleBuild11":"abc"})"; in TEST_F()
166 WriteFile(testFile, fileContent); in TEST_F()
186 std::string fileContent = ""; in TEST_F() local
187 WriteFile(testFile, fileContent); in TEST_F()
191 fileContent = R"({ in TEST_F()
196 WriteFile(testFile, fileContent); in TEST_F()
[all...]
H A DJsAppImplTest.cpp38 static void WriteFile(std::string testFile, std::string fileContent) in WriteFile() argument
42 file << fileContent; in WriteFile() local
/ide/tools/previewer/jsapp/rich/external/
H A DStageContext.cpp407 std::vector<uint8_t>* fileContent = new(std::nothrow) std::vector<uint8_t>(); in GetModuleBufferFromHsp() local
408 if (!fileContent) { in GetModuleBufferFromHsp()
409 ELOG("Memory allocation failed: fileContent."); in GetModuleBufferFromHsp()
410 return fileContent; in GetModuleBufferFromHsp()
413 fileContent->insert(fileContent->end(), buffer, buffer + bytesRead); in GetModuleBufferFromHsp()
415 hspBufferPtrsVec.push_back(fileContent); in GetModuleBufferFromHsp()
420 return fileContent; in GetModuleBufferFromHsp()

Completed in 3 milliseconds