Home
last modified time | relevance | path

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

12345678

/developtools/hapsigner/
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="ohnull.p12"/>
32 <filteritem type="filename" name="*.bat" desc="script file"/>
33 <filteritem type="filename" name="*.sh" desc="script file"/>
36 <filteritem type="filename" name="README.OpenSource"/>
37 <filteritem type="filename" name="README"/>
38 <filteritem type="filename" name="README.md"/>
[all …]
/developtools/ace_js2bundle/ace-loader/src/
Dcard-loader.js37 const fileName = resourcePath.replace(path.extname(resourcePath).toString(), '')
40 const styleInfo = findStyleFile(fileName)
45 output = addJson(this, output, fileName, '')
90 compResourcepath + `?${customElementName}#${fileName}`)
95 compStyleInfo.styleFileName + `?${customElementName}#${fileName}`)
97 … output = addJson(this, output, compFileName, `?${customElementName}#${fileName}`, elementLastName)
104 function findStyleFile (fileName) { argument
106 let styleFileName = fileName + '.css'
112 styleFileName = fileName + '.less'
117 styleFileName = fileName + '.sass'
[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.cpp47 const std::string filename = "perf.data"; variable
49 PerfFileReader *hiperfFileReader = new PerfFileReader(filename, fp);
50 std::unique_ptr<PerfFileReader> ret = hiperfFileReader->Instance(filename);
60 const std::string filename = "xxx"; variable
62 PerfFileReader *hiperfFileReader = new PerfFileReader(filename, fp);
63 std::unique_ptr<PerfFileReader> ret = hiperfFileReader->Instance(filename);
73 const std::string filename = "perf.data"; variable
75 PerfFileReader *hiperfFileReader = new PerfFileReader(filename, fp);
82 const std::string filename = "xxx"; variable
84 PerfFileReader *hiperfFileReader = new PerfFileReader(filename, fp);
[all …]
Dperf_file_writer_test.cpp73 std::string filename = "./TestFileWriter_Normal"; variable
75 ASSERT_TRUE(fileWriter.Open(filename)) << "current path no write permission?";
104 ASSERT_TRUE((access(filename.c_str(), F_OK) == 0));
109 std::string filename = "./TestFileWriter_Compress"; variable
111 ASSERT_TRUE(fileWriter.Open(filename, true)) << "current path no write permission?";
137 ASSERT_TRUE((access(filename.c_str(), F_OK) == 0));
138 filename += ".gz";
139 ASSERT_TRUE((access(filename.c_str(), F_OK) != 0));
144 std::string filename = "./TestFileWriter_NoWriteAttrAndId"; variable
146 ASSERT_TRUE(fileWriter.Open(filename)) << "current path no write permission?";
[all …]
Dreport_protobuf_file_test.cpp80 std::string fileName = "perf.proto"; variable
81 ASSERT_EQ(protobufOutputFileWriter_->Create(fileName), true);
82 EXPECT_EQ(access(fileName.c_str(), F_OK), 0);
85 EXPECT_EQ(protobufOutputFileWriter_->Create(fileName), false);
96 std::string fileName = "perf.proto"; variable
98 ASSERT_EQ(protobufOutputFileWriter_->Create(fileName), true);
111 std::string fileName = "perf.proto"; variable
153 std::string fileName = "perf.proto"; variable
155 ASSERT_EQ(protobufOutputFileWriter_->Create(fileName), true);
173 protobufInputFileReader_->Dump(fileName, protobufReadBack);
[all …]
/developtools/profiler/device/base/test/unittest/
Dcommon_test.cpp132 std::string fileName = "/data/local/tmp/config.txt"; variable
134 WriteFile(fileName, fileContent);
139 bool ret = ReadFile(fileName, validPaths, readContent);
144 fileName = "config.txt";
147 ret = ReadFile(fileName, validPaths, readContent);
152 fileName = "configtmp.txt";
155 ret = ReadFile(fileName, validPaths, readContent);
160 fileName = "/data/local/tmp/config.txt";
163 ret = ReadFile(fileName, validPaths, readContent);
168 fileName = "/data/local/tmp/config.txt";
[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…
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/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/profiler/hidebug/interfaces/js/kits/napi/
Dnapi_hidebug.cpp177 HiLog::Error(LABEL, "Get input filename param length failed."); in GetFileNameParam()
182 HiLog::Error(LABEL, "input filename param length is illegal."); in GetFileNameParam()
187 std::string fileName = buf; in GetFileNameParam() local
188 return fileName; in GetFileNameParam()
191 …ool GetFileNameParamThrowErrorVersion(napi_env env, napi_callback_info info, std::string &fileName) in GetFileNameParamThrowErrorVersion() argument
209 HiLog::Error(LABEL, "Get input filename param length failed."); in GetFileNameParamThrowErrorVersion()
214 HiLog::Error(LABEL, "input filename param length is illegal."); in GetFileNameParamThrowErrorVersion()
219 fileName = buf; in GetFileNameParamThrowErrorVersion()
241 std::string fileName = GetFileNameParam(env, info); in StartProfiling() local
251 fileName + JSON_FILE; in StartProfiling()
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/bean/
DPerfProfile.ts24 fileName: string = "" property in PerfFile
30 data.fileName = data.path.substring(number + 1)
34 data.fileName = data.path
41 this.fileName = this.path.substring(number + 1)
45 this.fileName = this.path
66 fileName: string = ""; property in PerfCallChain
154 … currentNode.symbol = `${callChain.name} ${callChain.fileName ? `(${callChain.fileName})` : ""}`
158 currentNode.libName = callChain.fileName
/developtools/ace_ets2bundle/compiler/src/
Dets_checker.ts60 .forEach((fileName: string) => {
61 if (/\.d\.ts$/.test(fileName)) {
62 declarationsFileNames.push(path.resolve(__dirname, '../declarations', fileName));
121 getScriptVersion: fileName =>
122 files[fileName] && files[fileName].version.toString(),
123 getScriptSnapshot: fileName => {
124 if (!fs.existsSync(fileName)) {
127 if (/(?<!\.d)\.(ets|ts)$/.test(fileName)) {
128 let content: string = processContent(fs.readFileSync(fileName).toString(), fileName);
130 content = instanceInsteadThis(content, fileName, extendFunctionInfo);
[all …]
Dprocess_module_files.ts55 …let temporaryFile: string = genTemporaryPath(node.fileName, projectConfig.projectPath, process.env…
76 …let source = toUnixPath(node.fileName).replace(toUnixPath(projectConfig.projectRootPath) + '/', ''…
97 const fileName: string = node.fileName; constant
102 ts.getBaseFileName(fileName),
113 …sourceMapJson['sources'] = [fileName.replace(toUnixPath(projectConfig.projectRootPath) + '/', '')];
119 content = transformModuleSpecifier(fileName, processSystemApi(content, true), projectConfig);
/developtools/hiperf/script/
Drecv_binary_cache.py85 filename = bin_file[bin_file.rfind('/') + 1:]
86 if file_dict.get(filename) is None:
87 file_dict[filename] = [bin_file]
89 file_dict[filename].append(bin_file)
92 for filename in files:
93 paths = file_dict.get(filename)
97 build_id = get_build_id(os.path.join(root, filename))
105 os.path.join(root, filename), bin_file)
168 filename = device_path[device_path.rfind('/') + 1:]
172 os.path.join('/data/local/tmp/', filename),
[all …]
/developtools/hiperf/test/fuzztest/perffile_fuzzer/
DPerfFile_fuzzer.cpp23 explicit PerfFileReaderFuzzer(const std::string &fileName, FILE *fp) in PerfFileReaderFuzzer() argument
24 : PerfFileReader(fileName, fp) {} in PerfFileReaderFuzzer()
26 static std::unique_ptr<PerfFileReaderFuzzer> Instance(const std::string &fileName, in Instance() argument
29 std::string resolvedPath = CanonicalizeSpecPath(fileName.c_str()); in Instance()
32 printf("fail to append file %s\n", fileName.c_str()); in Instance()
41 printf("fail to open file %s\n", fileName.c_str()); in Instance()
/developtools/hiperf/test/unittest/common/native/include/
Dcallstack_test.h36 std::string fileName; member
57 prot 1, flags 2, filename /data/local/tmp/hiperf_example_cmd
62 prot 5, flags 2, filename /data/local/tmp/hiperf_example_cmd
67 prot 1, flags 2, filename /data/local/tmp/hiperf_example_cmd
72 prot 3, flags 2, filename /data/local/tmp/hiperf_example_cmd
112 prot 1, flags 2, filename /data/local/tmp/hiperf_example_cmd_64
117 prot 5, flags 2, filename /data/local/tmp/hiperf_example_cmd_64
122 prot 1, flags 2, filename /data/local/tmp/hiperf_example_cmd_64
160 void LoadFromFile(const std::string &fileName, std::vector<T> &data) in LoadFromFile() argument
162 FILE* fp_ = fopen(fileName.c_str(), "r"); in LoadFromFile()
[all …]
/developtools/profiler/device/plugins/api/src/
Dplugin_watcher.cpp75 std::string fileName = entry->d_name; in ScanPlugins() local
77 size_t pos = fileName.rfind(".so"); in ScanPlugins()
78 if (pos != std::string::npos && (pos == fileName.length() - strlen(".so"))) { in ScanPlugins()
79 OnPluginAdded(std::string(fullpath) + '/' + fileName); in ScanPlugins()
121 std::string fileName = event->name; in MonitorIsSet() local
122 size_t pos = fileName.rfind(".so"); in MonitorIsSet()
123 if ((pos == std::string::npos) || (pos != fileName.length() - strlen(".so"))) { in MonitorIsSet()
129 OnPluginAdded(pluginDir + '/' + fileName); in MonitorIsSet()
133 OnPluginRemoved(pluginDir + '/' + fileName); in MonitorIsSet()
/developtools/hdc/src/common/
Ddebug.cpp20 int WriteHexToDebugFile(const char *fileName, const uint8_t *buf, const int bufLen) in WriteHexToDebugFile() argument
23 …(snprintf_s(pathName, sizeof(pathName), sizeof(pathName) - 1, "/mnt/hgfs/vtmp/%s", fileName) < 0) { in WriteHexToDebugFile()
30 … if (snprintf_s(pathName, sizeof(pathName), sizeof(pathName) - 1, "/tmp/%s", fileName) < 0) { in WriteHexToDebugFile()
48 int ReadHexFromDebugFile(const char *fileName, uint8_t *buf, const int bufLen) in ReadHexFromDebugFile() argument
51 …(snprintf_s(pathName, sizeof(pathName), sizeof(pathName) - 1, "/mnt/hgfs/vtmp/%s", fileName) < 0) { in ReadHexFromDebugFile()
56 … if (snprintf_s(pathName, sizeof(pathName), sizeof(pathName) - 1, "/tmp/%s", fileName) < 0 || in ReadHexFromDebugFile()
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/include/
Dcallstack_test.h48 std::string fileName; member
57 prot 1, flags 2, filename /data/local/tmp/hiperf_example_cmd
62 prot 5, flags 2, filename /data/local/tmp/hiperf_example_cmd
67 prot 1, flags 2, filename /data/local/tmp/hiperf_example_cmd
72 prot 3, flags 2, filename /data/local/tmp/hiperf_example_cmd
113 void LoadFromFile(const std::string &fileName, std::vector<T> &data) in LoadFromFile() argument
115 FILE *fp_cin = fopen(fileName.c_str(), "r"); in LoadFromFile()
144 thread.CreateMapItem(mmap.fileName, mmap.begin, mmap.len, mmap.pgoff); in MakeMaps()
/developtools/profiler/host/smartperf/ide/src/trace/
DSpApplication.ts463 function postLog(filename: string, fileSize: string) {
464 log("postLog filename is: " + filename + " fileSize: " + fileSize)
471 fileName: filename,
479 …function handleServerMode(ev: any, showFileName: string, fileSize: string, fileName: string, isCli…
519 that.vsDownload(mainMenu, fileName, true, dbName);
521 that.download(mainMenu, fileName, true, dbName);
600 function handleWasmMode(ev: any, showFileName: string, fileSize: string, fileName: string) {
623 that.vsDownload(mainMenu, fileName, false);
625 that.download(mainMenu, fileName, false);
717 let fileName = openResult.fileName
[all …]
/developtools/hiperf/include/
Delf_parser.h82 const std::string fileName {"ehdr_buffer_dump"}; in DumpEhdrBuf()
83 std::ofstream ofs {fileName, std::ios::binary}; in DumpEhdrBuf()
120 const std::string fileName {"phdr_buffer_dump"}; in DumpPhdrBuf()
121 std::ofstream ofs {fileName, std::ios::binary}; in DumpPhdrBuf()
165 const std::string fileName {"shdr_buffer_dump"}; in DumpShdrBuf()
166 std::ofstream ofs {fileName, std::ios::binary}; in DumpShdrBuf()
201 const std::string fileName {"shdr_buffer_dump"}; in DumpSymBuf()
202 std::ofstream ofs {fileName, std::ios::binary}; in DumpSymBuf()
227 static std::unique_ptr<ElfFile> MakeUnique(const std::string &filename);
282 explicit ElfFile(const std::string &filename);
/developtools/profiler/device/plugins/native_daemon/include/
Delf_parser.h92 const std::string fileName {"ehdr_buffer_dump"}; in DumpEhdrBuf()
93 std::ofstream ofs {fileName, std::ios::binary}; in DumpEhdrBuf()
130 const std::string fileName {"phdr_buffer_dump"}; in DumpPhdrBuf()
131 std::ofstream ofs {fileName, std::ios::binary}; in DumpPhdrBuf()
175 const std::string fileName {"shdr_buffer_dump"}; in DumpShdrBuf()
176 std::ofstream ofs {fileName, std::ios::binary}; in DumpShdrBuf()
211 const std::string fileName {"shdr_buffer_dump"}; in DumpSymBuf()
212 std::ofstream ofs {fileName, std::ios::binary}; in DumpSymBuf()
237 static std::unique_ptr<ElfFile> MakeUnique(const std::string &filename);
292 explicit ElfFile(const std::string &filename);
/developtools/profiler/host/smartperf/ide/test/trace/bean/
DPerfProfile.test.ts34 fileName: "fileName",
42 fileName: expect.any(String) }, `
45 "fileName": Any<String>,
80 fileName: "fileName",
103 fileName: expect.any(String),
126 "fileName": Any<String>,
297 fileName: "fileName",
/developtools/ace_ets2bundle/compiler/test/
Dtest.ts48 fileName: `${name}.ts`,
62 const fileName: string = path.basename(item, '.ts'); constant
63 it(fileName, () => {
64 expectActual(fileName, item);
/developtools/hiperf/src/
Dvirtual_thread.cpp188 bool VirtualThread::IsLegalFileName(const std::string &fileName) in IsLegalFileName() argument
191 if (fileName == "[vdso]") { in IsLegalFileName()
194 if (fileName.empty() or fileName.find(':') != std::string::npos or fileName.front() == '[' or in IsLegalFileName()
195 fileName.back() == ']' or std::strncmp(fileName.c_str(), "/dev/", sizeof("/dev/")) == 0 or in IsLegalFileName()
196 std::strncmp(fileName.c_str(), "/memfd:", sizeof("/memfd:")) == 0 or in IsLegalFileName()
197 std::strncmp(fileName.c_str(), "//anon", sizeof("//anon")) == 0 or in IsLegalFileName()
198 StringEndsWith(fileName, ".ttf")) { in IsLegalFileName()
360 void VirtualThread::CreateMapItem(const std::string filename, uint64_t begin, uint64_t len, in CreateMapItem() argument
363 if (!IsLegalFileName(filename)) { in CreateMapItem()
366 MemMapItem &map = memMaps_.emplace_back(begin, begin + len, offset, filename); in CreateMapItem()

12345678