Home
last modified time | relevance | path

Searched full:filename (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/developtools/hapsigner/
DOAT.xml28 <filteritem type="filename" name="pom.xml"/>
29 <filteritem type="filename" name="settings.xml"/>
30 <filteritem type="filename" name="README.OpenSource"/>
31 <filteritem type="filename" name="README"/>
32 <filteritem type="filename" name="README.md"/>
33 <filteritem type="filename" name="README_zh.md"/>
34 <filteritem type="filename" name="*.p12"/>
35 <filteritem type="filename" name="*.jks"/>
36 <filteritem type="filename" name="*.bat" desc="script file"/>
37 <filteritem type="filename" name="*.sh" desc="script file"/>
[all …]
/developtools/ace_js2bundle/ace-loader/src/
Dcard-loader.js44 const fileName = resourcePath.replace(path.extname(resourcePath).toString(), '')
47 const styleInfo = findStyleFile(fileName)
52 output = addJson(this, output, fileName, '')
97 compResourcepath + `?${customElementName}#${fileName}`)
102 compStyleInfo.styleFileName + `?${customElementName}#${fileName}`)
104 … output = addJson(this, output, compFileName, `?${customElementName}#${fileName}`, elementLastName)
112 * Finds and identifies style files associated with a given base filename
115 * @param {string} fileName - The base filename without extension
121 function findStyleFile (fileName) { argument
123 let styleFileName = fileName + '.css'
[all …]
/developtools/syscap_codec/
DOAT.xml27 <filteritem type="filename" name="README.OpenSource"/>
28 <filteritem type="filename" name="README"/>
29 <filteritem type="filename" name="README.md"/>
30 <filteritem type="filename" name="README_zh.md"/>
31 <filteritem type="filename" name="*.bat" desc="script file"/>
32 <filteritem type="filename" name="*.sh" desc="script file"/>
35 <filteritem type="filename" name="README.OpenSource"/>
36 <filteritem type="filename" name="README"/>
37 <filteritem type="filename" name="README.md"/>
38 <filteritem type="filename" name="README_zh.md"/>
[all …]
/developtools/hiperf/test/unittest/common/native/
Dperf_file_reader_test.cpp45 const std::string filename = "perf.data"; variable
47 PerfFileReader hiperfFileReader(filename, fp);
48 std::unique_ptr<PerfFileReader> ret = hiperfFileReader.Instance(filename);
54 const std::string filename = "xxx"; variable
56 PerfFileReader hiperfFileReader(filename, fp);
57 std::unique_ptr<PerfFileReader> ret = hiperfFileReader.Instance(filename);
63 const std::string filename = "perf.data"; variable
65 PerfFileReader hiperfFileReader(filename, fp);
72 const std::string filename = "xxx"; variable
74 PerfFileReader hiperfFileReader(filename, fp);
[all …]
Dperf_file_writer_test.cpp71 std::string filename = "./TestFileWriter_Normal"; variable
73 ASSERT_TRUE(fileWriter.Open(filename)) << "current path no write permission?";
102 ASSERT_TRUE((access(filename.c_str(), F_OK) == 0));
107 std::string filename = "./TestFileWriter_Compress"; variable
109 ASSERT_TRUE(fileWriter.Open(filename, true)) << "current path no write permission?";
135 ASSERT_TRUE((access(filename.c_str(), F_OK) == 0));
136 filename += ".gz";
137 ASSERT_TRUE((access(filename.c_str(), F_OK) != 0));
142 std::string filename = "./TestFileWriter_AuxTraceInfo"; variable
144 ASSERT_TRUE(fileWriter.Open(filename)) << "current path no write permission?";
[all …]
Dreport_protobuf_file_test.cpp77 std::string fileName = "perf.proto"; variable
78 ASSERT_EQ(protobufOutputFileWriter_->Create(fileName), true);
79 EXPECT_EQ(access(fileName.c_str(), F_OK), 0);
82 EXPECT_EQ(protobufOutputFileWriter_->Create(fileName), false);
93 std::string fileName = "perf.proto"; variable
95 ASSERT_EQ(protobufOutputFileWriter_->Create(fileName), true);
108 std::string fileName = "perf.proto"; variable
150 std::string fileName = "perf.proto"; variable
152 ASSERT_EQ(protobufOutputFileWriter_->Create(fileName), true);
170 protobufInputFileReader_->Dump(fileName, protobufReadBack);
[all …]
/developtools/integration_verification/
DOAT.xml42 …"filename" is used to check whether the specified file exists in the specified path(support projec…
48 8. filefilter: Filter rules, the type filename is used to filter file name, the type filepath is us…
66 <filteritem type="filename" name="*.png|*.jpeg|*.json" desc="Test files"/>
67 …<filteritem type="filename" name="*.bin|*.exe|ReadMe|oeminfo_nvm_test" desc="There are the upgrade…
73 …<filteritem type="filename" name="*.png|*.jpeg|*.json|*.hap|*.csv|dhcpc.sh" desc="NoLicenseHeader"…
74 …<filteritem type="filename" name="*.bin|*.exe|ReadMe|oeminfo_nvm_test" desc="There are the upgrade…
75 <filteritem type="filename" name="go.mod" desc="no need to check"/>
76 <filteritem type="filename" name="go.sum" desc="no need to check"/>
79 …<filteritem type="filename" name="*.png|*.jpeg|*.json|*.hap|*.csv|dhcpc.sh" desc="InvalidCopyright…
80 …<filteritem type="filename" name="*.bin|*.exe|ReadMe|oeminfo_nvm_test" desc="There are the upgrade…
[all …]
/developtools/packing_tool/packing_tool/frameworks/src/json/
Dmodule_json_utils.cpp67 std::string fileName = fsHapPath.filename().string(); in GetStageHapVerifyInfo() local
68 std::transform(fileName.begin(), fileName.end(), fileName.begin(), ::tolower); in GetStageHapVerifyInfo()
69 if (Utils::EndsWith(fileName, HAP_SUFFIX)) { in GetStageHapVerifyInfo()
71 } else if (Utils::EndsWith(fileName, HSP_SUFFIX)) { in GetStageHapVerifyInfo()
147 std::string fileName = fsHapPath.filename().string(); in GetHapVerifyInfosfromFileList() local
148 if (fileName.empty()) { in GetHapVerifyInfosfromFileList()
152 std::transform(fileName.begin(), fileName.end(), fileName.begin(), ::tolower); in GetHapVerifyInfosfromFileList()
153 if (!Utils::EndsWith(fileName, HAP_SUFFIX) && !Utils::EndsWith(fileName, HSP_SUFFIX)) { in GetHapVerifyInfosfromFileList()
183 std::string fileName = fsHapPath.filename().string(); in GetHapVerifyInfosMapfromFileList() local
184 if (fileName.empty()) { in GetHapVerifyInfosMapfromFileList()
[all …]
/developtools/ace_ets2bundle/compiler/tools/memory_dotting_viewer/memory/
DMainMemory.js63 throw new Error('Failed to get filename: ' + response.statusText);
65 const filename = await response.text();
66 console.log(filename);
67 …oadRes = await fetch(`${window.location.origin}/download?filename=${encodeURIComponent(filename)}`…
72 const file = new File([blob], filename, {type: blob.type});
78 let fileName = file.name;
79 …let showFileName = fileName.lastIndexOf('.') === -1 ? fileName : fileName.substring(0, fileName.la…
80 this.parseLogFile(file, showFileName, file.size, fileName);
170 parseLogFile(file, showFileName, fileSize, fileName) { argument
173 console.log('fileName:' + fileName);
[all …]
/developtools/packing_tool/packing_tool/frameworks/src/
Dzip_utils.cpp72 bool ZipUtils::IsFileExistsInZip(const std::string& zipFilePath, const std::string& filename) in IsFileExistsInZip() argument
101 …ileInfo.external_fa != ZIP_FILE_ATTR_DIRECTORY && strFilePathInZip.length() >= filename.length()) { in IsFileExistsInZip()
103 if (strFilePathInZip.compare(filename) == 0) { in IsFileExistsInZip()
120 bool ZipUtils::IsFileNameExistsInZip(const std::string& zipFilePath, const std::string& filename) in IsFileNameExistsInZip() argument
149 …ileInfo.external_fa != ZIP_FILE_ATTR_DIRECTORY && strFilePathInZip.length() >= filename.length()) { in IsFileNameExistsInZip()
150 …if (strFilePathInZip.substr(strFilePathInZip.length() - filename.length()).compare(filename) == 0)… in IsFileNameExistsInZip()
167 bool ZipUtils::GetFileContentFromZip(const std::string& zipFilePath, const std::string& filename, in GetFileContentFromZip() argument
180 if (unzLocateFile(unzipFile, filename.c_str(), 0) != UNZ_OK) { in GetFileContentFromZip()
181 LOGE("Locate file failed! filename=%s", filename.c_str()); in GetFileContentFromZip()
189 LOGE("Get current file info in zip failed! filename=%s", filename.c_str()); in GetFileContentFromZip()
[all …]
Dversion_normalize.cpp175 std::string fileName = entry.path().filename().string(); in CompressDirToHap() local
177 if (fileName == Constants::ETS_PATH) { in CompressDirToHap()
179 } else if (fileName == Constants::HNP_PATH) { in CompressDirToHap()
181 } else if (fileName == Constants::LIB_PATH) { in CompressDirToHap()
183 } else if (fileName == Constants::AN_PATH) { in CompressDirToHap()
185 } else if (fileName == Constants::AP_PATH) { in CompressDirToHap()
187 } else if (fileName == Constants::RESOURCES_PATH) { in CompressDirToHap()
189 } else if (fileName == Constants::JS_PATH) { in CompressDirToHap()
191 } else if (fileName == Constants::ASSETS_PATH) { in CompressDirToHap()
193 } else if (fileName == Constants::SO_DIR) { in CompressDirToHap()
[all …]
/developtools/profiler/hidebug/interfaces/js/kits/napi/
Dnapi_hidebug_dump.cpp78 bool InitRawHeapFile(std::string& fileName) in InitRawHeapFile() argument
84 fileName = filePath + SLASH_STR + RAW_HEAP_RECORD_FILE; in InitRawHeapFile()
86 return CreateDirectory(fileName, fileMode); in InitRawHeapFile()
218 napi_value DumpHeapSnapshot(const std::string& fileName, napi_env env) in DumpHeapSnapshot() argument
224 std::string filePath = filesDir + SLASH_STR + fileName + HEAPSNAPSHOT_FILE; in DumpHeapSnapshot()
226 return CreateErrorMessage(env, "input fileName is illegal."); in DumpHeapSnapshot()
239 std::string fileName = GetFileNameParam(env, info); in DumpHeapData() local
240 return DumpHeapSnapshot(fileName, env); in DumpHeapData()
246 std::string fileName; in DumpJsHeapData() local
247 if (!GetTheOnlyStringParam(env, info, fileName)) { in DumpJsHeapData()
[all …]
/developtools/profiler/device/plugins/hiebpf_plugin/tools/src/
Debpf_converter.cpp245 outData_ << " fileName: " << itm.first << '\n'; in EventFsParsing()
255 char fileName[maps.fileNameLen + 1]; in EventMapsParsing() local
256 (void)memset_s(fileName, sizeof(fileName), 0, sizeof(fileName)); in EventMapsParsing()
258 size_t dataLen = sizeof(fileName) > 1 ? sizeof(fileName) - 1 : 0; in EventMapsParsing()
259 CHK(Read(reinterpret_cast<void*>(fileName), dataLen)); in EventMapsParsing()
260 maps.fileName = fileName; in EventMapsParsing()
279 << " fileName: " << maps.fileName << '\n'; in EventMapsParsing()
335 char fileName[info.fileNameSize + 1]; in SymbolInfoParsing() local
336 (void)memset_s(fileName, sizeof(fileName), 0, sizeof(fileName)); in SymbolInfoParsing()
338 size_t dataLen = sizeof(fileName) > 1 ? sizeof(fileName) - 1 : 0; in SymbolInfoParsing()
[all …]
/developtools/hapsigner/hapsigntool_cpp/codesigning/sign/src/
Dcode_signing.cpp278 bool CodeSigning::GetSingleFileStreamFromZip(unzFile &zFile, char fileName[], in GetSingleFileStreamFromZip() argument
307 + std::string(fileName) + " failed."); in GetSingleFileStreamFromZip()
332 char fileName[FILE_NAME_SIZE]; in RunParseZipInfo() local
335 if (memset_s(fileName, FILE_NAME_SIZE, 0, FILE_NAME_SIZE) != 0) { in RunParseZipInfo()
336 SIGNATURE_TOOLS_LOGE("memory of fileName memset_s failed"); in RunParseZipInfo()
341 if (!CheckUnzParam(zFile, zFileInfo, fileName, &nameLen)) { in RunParseZipInfo()
345 if (!CheckFileName(fileName, &nameLen)) { in RunParseZipInfo()
349 bool flag = GetSingleFileStreamFromZip(zFile, fileName, zFileInfo, readFileSize, sb); in RunParseZipInfo()
354 bool handleFlag = DoNativeLibSignOrVerify(std::string(fileName), sb, param, readFileSize); in RunParseZipInfo()
356 SIGNATURE_TOOLS_LOGE("%s native libs handle failed", fileName); in RunParseZipInfo()
[all …]
/developtools/ace_ets2bundle/compiler/tools/memory_dotting_viewer/
Dmemory_server.py50 filename = query_params.get('filename', [None])[0]
51 if filename:
52 file_to_load = os.path.join(os.path.dirname(self.server.file_to_load), filename)
57 self.send_header('Content-Disposition', f'attachment; filename="{filename}"')
65 self.send_error(400, "Filename parameter is required")
68 filename = os.path.basename(self.server.file_to_load)
72 self.wfile.write(filename.encode('utf-8'))
/developtools/ace_ets2bundle/compiler/src/interop/src/
Dprocess_module_files.ts58 …* The value of "node.fileName" consists of "test.ts", which does not correspond with the source fi…
64 let filePath: string = moduleId ? moduleId : node.fileName;
90 originSourceFilePath: node.fileName,
115 const fileName: string = moduleId ? moduleId : node.fileName; constant
120 ts.getBaseFileName(fileName),
132 toUnixPath(fileName).startsWith(toUnixPath(projectConfig.projectRootPath)) ?
133 toUnixPath(fileName).replace(toUnixPath(projectConfig.projectRootPath) + '/', '') :
134 toUnixPath(fileName).replace(toUnixPath(metaInfo.belongProjectPath) + '/', '')
138 content = transformModuleSpecifier(fileName, processSystemApi(content, true), projectConfig);
Dets_checker.ts143 .forEach((fileName: string) => {
144 if (/\.d\.ts$/.test(fileName)) {
145 declarationsFileNames.push(path.resolve(__dirname, '../declarations', fileName));
151 const buildInfoWriteFile: ts.WriteFileCallback = (fileName: string, data: string) => {
152 if (fileName.includes(TS_BUILD_INFO_SUFFIX)) {
153 const fd: number = fs.openSync(fileName, 'w');
331 export function getFileContentWithHash(fileName: string): string {
332 let fileContent: string | undefined = fileCache.get(fileName);
334 fileContent = fs.readFileSync(fileName).toString();
335 fileCache.set(fileName, fileContent);
[all …]
/developtools/integration_verification/DeployDevice/
DOAT.xml42 …"filename" is used to check whether the specified file exists in the specified path(support projec…
48 8. filefilter: Filter rules, the type filename is used to filter file name, the type filepath is us…
66 <filteritem type="filename" name="*.png|*.jpeg|*.json" desc="Test files"/>
67 …<filteritem type="filename" name="*.bin|*.exe|ReadMe|oeminfo_nvm_test" desc="There are the upgrade…
70 … <filteritem type="filename" name="*.png|*.jpeg|*.json|*.hap|dhcpc.sh" desc="NoLicenseHeader"/>
71 …<filteritem type="filename" name="*.bin|*.exe|ReadMe|oeminfo_nvm_test" desc="There are the upgrade…
74 …<filteritem type="filename" name="*.png|*.jpeg|*.json|*.hap|dhcpc.sh" desc="InvalidCopyright file"…
75 …<filteritem type="filename" name="*.bin|*.exe|ReadMe|oeminfo_nvm_test" desc="There are the upgrade…
78 … <filteritem type="filename" name="*.png|*.jpeg|*.json|*.hap|busybox" desc="already checked"/>
79 …<filteritem type="filename" name="*.bin|*.exe|ReadMe|oeminfo_nvm_test" desc="There are the upgrade…
/developtools/ace_ets2bundle/compiler/src/
Dprocess_module_files.ts58 …* The value of "node.fileName" consists of "test.ts", which does not correspond with the source fi…
64 let filePath: string = moduleId ? moduleId : node.fileName;
90 originSourceFilePath: node.fileName,
115 const fileName: string = moduleId ? moduleId : node.fileName; constant
120 ts.getBaseFileName(fileName),
132 toUnixPath(fileName).startsWith(toUnixPath(projectConfig.projectRootPath)) ?
133 toUnixPath(fileName).replace(toUnixPath(projectConfig.projectRootPath) + '/', '') :
134 toUnixPath(fileName).replace(toUnixPath(metaInfo.belongProjectPath) + '/', '')
138 content = transformModuleSpecifier(fileName, processSystemApi(content, true), projectConfig);
/developtools/profiler/hiebpf/include/
Delf_symbol_info.h40 bool IsCached(const std::string &fileName) in IsCached() argument
42 return (fileNames_.find(fileName) != fileNames_.end()); in IsCached()
45 void CacheFileName(const std::string &fileName) in CacheFileName() argument
47 fileNames_.insert(fileName); in CacheFileName()
50 bool GetSymbolTable(const std::string &fileName, ElfSymbolTable &symbolTable);
/developtools/packing_tool/packing_tool/frameworks/test/unittest/fast_app_packager_test/mock/
Dmock_fast_app_module_json_utils.cpp182 std::string fileName = fsHapPath.filename().string(); in GetHapVerifyInfosfromFileList() local
183 if (fileName.empty()) { in GetHapVerifyInfosfromFileList()
187 std::transform(fileName.begin(), fileName.end(), fileName.begin(), ::tolower); in GetHapVerifyInfosfromFileList()
188 if (!Utils::EndsWith(fileName, HAP_SUFFIX) && !Utils::EndsWith(fileName, HSP_SUFFIX)) { in GetHapVerifyInfosfromFileList()
222 std::string fileName = fsHapPath.filename().string(); in GetHapVerifyInfosMapfromFileList() local
223 if (fileName.empty()) { in GetHapVerifyInfosMapfromFileList()
227 std::transform(fileName.begin(), fileName.end(), fileName.begin(), ::tolower); in GetHapVerifyInfosMapfromFileList()
228 if (!Utils::EndsWith(fileName, HAP_SUFFIX) && !Utils::EndsWith(fileName, HSP_SUFFIX)) { in GetHapVerifyInfosMapfromFileList()
244 hapVerifyInfoMap.emplace(fileName, hapVerifyInfo); in GetHapVerifyInfosMapfromFileList()
298 std::string fileName(fileNameBuffer.data()); in ProcessZipFile() local
[all …]
/developtools/packing_tool/packing_tool/frameworks/test/unittest/app_packager_test/mock/
Dmock_module_json_utils.cpp181 std::string fileName = fsHapPath.filename().string(); in GetHapVerifyInfosfromFileList() local
182 if (fileName.empty()) { in GetHapVerifyInfosfromFileList()
186 std::transform(fileName.begin(), fileName.end(), fileName.begin(), ::tolower); in GetHapVerifyInfosfromFileList()
187 if (!Utils::EndsWith(fileName, HAP_SUFFIX) && !Utils::EndsWith(fileName, HSP_SUFFIX)) { in GetHapVerifyInfosfromFileList()
221 std::string fileName = fsHapPath.filename().string(); in GetHapVerifyInfosMapfromFileList() local
222 if (fileName.empty()) { in GetHapVerifyInfosMapfromFileList()
226 std::transform(fileName.begin(), fileName.end(), fileName.begin(), ::tolower); in GetHapVerifyInfosMapfromFileList()
227 if (!Utils::EndsWith(fileName, HAP_SUFFIX) && !Utils::EndsWith(fileName, HSP_SUFFIX)) { in GetHapVerifyInfosMapfromFileList()
243 hapVerifyInfoMap.emplace(fileName, hapVerifyInfo); in GetHapVerifyInfosMapfromFileList()
297 std::string fileName(fileNameBuffer.data()); in ProcessZipFile() local
[all …]
/developtools/packing_tool/packing_tool/frameworks/test/unittest/multiapp_packager_test/mock/
Dmock_multiapp_module_json_utils.cpp182 std::string fileName = fsHapPath.filename().string(); in GetHapVerifyInfosfromFileList() local
183 if (fileName.empty()) { in GetHapVerifyInfosfromFileList()
187 std::transform(fileName.begin(), fileName.end(), fileName.begin(), ::tolower); in GetHapVerifyInfosfromFileList()
188 if (!Utils::EndsWith(fileName, HAP_SUFFIX) && !Utils::EndsWith(fileName, HSP_SUFFIX)) { in GetHapVerifyInfosfromFileList()
222 std::string fileName = fsHapPath.filename().string(); in GetHapVerifyInfosMapfromFileList() local
223 if (fileName.empty()) { in GetHapVerifyInfosMapfromFileList()
227 std::transform(fileName.begin(), fileName.end(), fileName.begin(), ::tolower); in GetHapVerifyInfosMapfromFileList()
228 if (!Utils::EndsWith(fileName, HAP_SUFFIX) && !Utils::EndsWith(fileName, HSP_SUFFIX)) { in GetHapVerifyInfosMapfromFileList()
244 hapVerifyInfoMap.emplace(fileName, hapVerifyInfo); in GetHapVerifyInfosMapfromFileList()
298 std::string fileName(fileNameBuffer.data()); in ProcessZipFile() local
[all …]
/developtools/profiler/hiebpf/src/
Dmaps_info.cpp60 …std::copy(map.fileName_.c_str(), map.fileName_.c_str() + map.fileName_.size() + 1, wp); // fileName in GetBinary()
103 bool MapsInfo::IsLegalFileName(const std::string &fileName) in IsLegalFileName() argument
105 if (fileName.find(':') != std::string::npos or in IsLegalFileName()
106 fileName.front() == '[' or fileName.back() == ']' or in IsLegalFileName()
107 std::strncmp(fileName.c_str(), "/dev/", sizeof("/dev/")) == 0 or in IsLegalFileName()
108 std::strncmp(fileName.c_str(), "/memfd:", sizeof("/memfd:")) == 0 or in IsLegalFileName()
109 std::strncmp(fileName.c_str(), "//anon", sizeof("//anon")) == 0 or in IsLegalFileName()
110 StringEndsWith(fileName, ".ttf")) { in IsLegalFileName()
/developtools/profiler/device/base/test/unittest/
Dcommon_test.cpp180 std::string fileName = "/data/local/tmp/config.txt"; variable
182 EXPECT_TRUE(WriteFile(fileName, fileContent));
187 bool ret = ReadFile(fileName, validPaths, readContent);
192 fileName = "config.txt";
195 ret = ReadFile(fileName, validPaths, readContent);
200 fileName = "configtmp.txt";
203 ret = ReadFile(fileName, validPaths, readContent);
208 fileName = "/data/local/tmp/config.txt";
211 ret = ReadFile(fileName, validPaths, readContent);
216 fileName = "/data/local/tmp/config.txt";
[all …]

12345678910>>...16