Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 99) sorted by relevance

1234

/developtools/hiperf/include/
Dreport_json_file.h38 void OutputJsonKey(FILE *output, const T &value) in OutputJsonKey() argument
45 fprintf(output, "\"%s\":", value.c_str()); in OutputJsonKey()
51 fprintf(output, "\"%s\":", value.data()); in OutputJsonKey()
57 fprintf(output, "\"%s\":", value); in OutputJsonKey()
59 fprintf(output, "\"%s\":", std::to_string(value).c_str()); in OutputJsonKey()
63 void OutputJsonValue(FILE *output, const T &value, bool first = true)
66 fprintf(output, ",");
69 fprintf(output, "\"%s\"", value.c_str());
71 fprintf(output, "\"%s\"", value.data());
73 fprintf(output, "%s", std::to_string(value).c_str());
[all …]
/developtools/hiperf/test/unittest/common/native/
Dreport_json_file_test.cpp109 StdoutRecord output; variable
112 output.Start();
114 EXPECT_STREQ(output.Stop().c_str(), "");
116 output.Start();
118 EXPECT_STREQ(output.Stop().c_str(), "");
121 output.Start();
123 EXPECT_STREQ(output.Stop().c_str(), "\"keyname\":");
125 output.Start();
127 EXPECT_STREQ(output.Stop().c_str(), "\"1\":");
129 output.Start();
[all …]
/developtools/hiperf/demo/js/entry/src/main/js/MainAbility/pages/index/
Dindex.js22 output: '',
27 this.output = this.clickTimes;
45 this.output = '';
48 this.output += ('ResetOption: ' + result + '\n');
51 this.output += ('SetOutputFilename: ' + result + '\n');
54 this.output += ('GetOutputFileName: ' + result + '\n');
105 this.output += ('GetOptionVecString: ' + result + '\n');
108 this.output += ('StartWithOption: ' + result + '\n');
115 this.output = ('recordOnclick\n' + this.clickTimes + '\n');
120 this.output += ('SetDebugMode: ' + result + '\n');
[all …]
/developtools/profiler/host/smartperf/trace_streamer/gn/toolchain/
DBUILD.gn68 depfiles = "{{output}}.d"
69 …{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} ${external_cflags} -c {{source}} -o {{output}}"
77 depfiles = "{{output}}.d" # must be defined
78 …rs}} {{cflags}} {{cflags_cc}} ${external_cflags} ${external_cxxflags} -c {{source}} -o {{output}}"
86 rspfile = "{{output}}.rsp" # must be defined
89 command = "rm -f {{output}} && libtool -static {{arflags}} -o {{output}} -filelist $rspfile"
91 command = "rm -rf {{output}} && $ar rcsD {{output}} @$rspfile"
97 description = "step: link {{output}}"
105 …ld_arg -shared {{ldflags}} ${external_ldflags} {{inputs}} {{solibs}} {{libs}} $rpath -o {{output}}"
114 …_wrapper $cxx $ld_arg {{ldflags}} ${external_ldflags} {{inputs}} {{solibs}} {{libs}} -o {{output}}"
[all …]
/developtools/global_resource_tool/src/
Dfile_manager.cpp33 uint32_t FileManager::ScanModules(const vector<string> &inputs, const string &output) in ScanModules() argument
38 if (ScanModule(input, output, resTypeOfDirs) != RESTOOL_SUCCESS) { in ScanModules()
41 FilterRefSolidXml(output, sxmlFolders, resTypeOfDirs); in ScanModules()
43 return ParseReference(output, sxmlFolders); in ScanModules()
46 uint32_t FileManager::ScanIncrement(const string &output) in ScanIncrement() argument
51 FilterRefSolidXml(output, sxmlFolders, incrementManager.GetScanDirs()); in ScanIncrement()
52 return ParseReference(output, sxmlFolders); in ScanIncrement()
61 uint32_t FileManager::ScanModule(const string &input, const string &output, in ScanModule() argument
64 ResourceModule resourceModule(input, output, moduleName_); in ScanModule()
73 uint32_t FileManager::ParseReference(const string &output, const vector<string> &sxmlFolders) in ParseReference() argument
[all …]
Dfactory_resource_compiler.cpp26 …_ptr<IResourceCompiler> FactoryResourceCompiler::CreateCompiler(ResType type, const string &output) in CreateCompiler() argument
29 return make_unique<JsonCompiler>(type, output); in CreateCompiler()
31 return make_unique<SolidXmlCompiler>(type, output); in CreateCompiler()
33 return make_unique<GenericCompiler>(type, output); in CreateCompiler()
37 …ourceCompiler> FactoryResourceCompiler::CreateCompilerForAppend(ResType type, const string &output) in CreateCompilerForAppend() argument
40 return make_unique<JsonCompiler>(type, output); in CreateCompilerForAppend()
42 return make_unique<AppendCompiler>(type, output); in CreateCompilerForAppend()
Dpreview_manager.cpp35 uint32_t PreviewManager::ScanModules(const vector<string> &modulePaths, const string &output) in ScanModules() argument
38 string dbPath = FileEntry::FilePath(output).Append("resources.db").GetPath(); in ScanModules()
51 ResourceModule resourceMoudle(iter, output, ""); in ScanModules()
/developtools/ace_js2bundle/ace-loader/src/
Dcard-loader.js38 let output = '//card_start\n'
39 output += 'var card_template =' + getRequireString(this, jsonLoaders('template'), resourcePath)
42 output += 'var card_style =' +
45 output = addJson(this, output, fileName, '')
89output += `var card_element_template_${elementLastName} =` + getRequireString(this, jsonLoaders('t…
93 output += `var card_element_style_${elementLastName} =` +
97output = addJson(this, output, compFileName, `?${customElementName}#${fileName}`, elementLastName)
100 output = output + '\n//card_end'
101 return output
135 function addJson(_this, output, fileName, query, elementLastName) { argument
[all …]
DgenBin-plugin.js40 let output variable
46 output = output_
59 if (output && webpackPath && path.extname(key) === '.js') {
65 writeFileSync(newContent, path.resolve(output, keyPath), key)
72 function writeFileSync(inputString, output, jsBundleFile) { argument
73 const parent = path.join(output, '..')
77 fs.writeFileSync(output, inputString)
78 if (fs.existsSync(output)){
79 qjscFirst(output, output.replace(/\.jtc$/, sencondFileEXT))
81 …console.error('\u001b[31m', `Failed to convert file ${jsBundleFile} to bin. ${output} is lost`, '\…
Dloader-gen.js188 let output = ''
193 output = '//card_start\n'
194 output += `var card_template =` + getRequireString(this,
196 output += `var card_style =` + getRequireString(this,
198 output += `var card_json =` + getRequireString(this,
200 output += '\n//card_end'
203 output = 'var $app_script$ = ' + generateOutput(that, 'script', jsFileName, isElement)
204 output += 'var $app_template$ = ' + generateOutput(that, 'template', jsFileName, isElement)
205 output += 'var $app_style$ = ' + generateOutput(that, 'style', jsFileName, isElement)
206 output += generateOutput(that, 'others', jsFileName, isElement)
[all …]
Dresource-plugin.js29 let output = ''; variable
38 function copyFile(input, output) { argument
41 const parent = path.join(output, '..');
55 if (themeFileBuild(input, output)) {
60 const writeStream = fs.createWriteStream(output);
DgenAbc-plugin.js41 let output; variable
72 output = output_;
100 buildPathInfo = output;
103 if (output && path.extname(key) === '.js') {
112 writeFileSync(newContent, output, keyPath, key, true);
113 } else if (output && path.extname(key) === '.json' &&
115 writeFileSync(assets[key].source(), output, key, key, false);
123 buildPathInfo = output;
143 const projectI18nPath = outI18nPath.replace(output, process.env.projectPath);
171 let output = path.resolve(buildPath, keyPath);
[all …]
/developtools/profiler/device/plugins/native_daemon/include/
Dperf_event_record.h69 std::string output; in ToSymbolString() local
71 output = StringPrintf("va: 0x%016llx(%llx) ", vaddrInFile_, ip_); in ToSymbolString()
73 output = StringPrintf("ip: 0x%016llx ", ip_); in ToSymbolString()
75 output.append(": "); in ToSymbolString()
76 output.append(symbolName_); in ToSymbolString()
78 output.append("@"); in ToSymbolString()
79 output.append(filePath_); in ToSymbolString()
81 output.append(":"); in ToSymbolString()
82 output.append(std::to_string(symbolIndex_)); in ToSymbolString()
84 return output; in ToSymbolString()
/developtools/ace_ets2bundle/
DgenerateSysResource.py50 output = open(js_file, 'w+')
51 output.write("module.exports.sys = {\n")
56 output.write(" %s: {\n" % (item_type))
58 output.write(",\n %s: {\n" % (item_type))
63 output.write(" %s: %d" % (res_name, res_id))
65 output.write(",\n %s: %d" % (res_name, res_id))
66 output.write("\n }")
67 output.write("\n}\n")
68 output.close()
/developtools/profiler/host/smartperf/ide/src/command/
DCmd.ts34 result.then(output => {
35 callback(output);
56 result.then(output => {
57 callback(output);
96 result.then(output => {
97 callback(output);
120 result.then(output => {
121 callback(output);
/developtools/syscap_codec/interfaces/inner_api/
Dsyscap_interface.h46 bool EncodeOsSyscap(char *output, int len);
47 bool DecodeOsSyscap(const char input[PCID_MAIN_BYTES], char (**output)[SINGLE_SYSCAP_LEN], int *out…
48 bool EncodePrivateSyscap(char **output, int *outputLen);
49 bool DecodePrivateSyscap(char *input, char (**output)[SINGLE_SYSCAP_LEN], int *outputCnt);
/developtools/global_resource_tool/include/
Dfile_manager.h30 uint32_t ScanModules(const std::vector<std::string> &inputs, const std::string &output);
39 uint32_t ScanIncrement(const std::string &output);
43 uint32_t ScanModule(const std::string &input, const std::string &output,
45 uint32_t ParseReference(const std::string &output, const std::vector<std::string> &sxmlFolders);
47 void FilterRefSolidXml(const std::string &output, std::vector<std::string> &outputPaths,
Dfactory_resource_compiler.h27 … static std::unique_ptr<IResourceCompiler> CreateCompiler(ResType type, const std::string &output);
28 …td::unique_ptr<IResourceCompiler> CreateCompilerForAppend(ResType type, const std::string &output);
/developtools/integration_verification/tools/rom_ram_analyzer/standard/
DREADME.md49 … basename of output file, default: rom_analysis_result. eg: demo/rom_analysis_result
51 if output result as excel, default: False. eg: -e True
58 # demo/demo: path of output file, where the second 'demo' is the basename of output file
59 # -e True:output result in excel format additionally
128 … base name of output file, default: ram_analysis_result. eg: -o ram_analysis_result
130 if output result as excel, default: False. eg: -e True
135 # demo/demo: path of output file, where the second 'demo' is the basename of output file
136 # -e True:output result in excel format additionally
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/
Dutils.py37 output = pipe.read().strip()
42 print("With output:", output)
44 return [i for i in output.split('\n') if i]
/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/
Dprocess_utils_test.cpp59 std::string output; variable
60 EXPECT_EQ(ProcessUtils::Execute(args, output), 0);
61 EXPECT_NE(output, "");
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/
Dgn_common_tool.py127 output = BasicTool.execute(cmd, lambda x: x.strip().strip('"'))
129 if not output:
132 var_val_dict[v] = output
133 GnCommonTool.__var_val_mem_dict[v] = output
170 output = os.popen(cmd).readlines()
172 if not output:
174 for line in output:
Dbasic_tool.py136 output = os.popen(cmd).read()
137 output = post_processor(output)
138 return output
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dprocess_utils.cpp173 std::string output; in ReceiveOutputAndSigchld() local
177 output += out; in ReceiveOutputAndSigchld()
196 return output; in ReceiveOutputAndSigchld()
221 int ProcessUtils::Execute(const ExecuteArgs& args, std::string& output) in Execute() argument
245 output = ReceiveOutputAndSigchld(pipeFds[RD], sigChldHandler); in Execute()
246 auto lines = StringUtils::Split(output, "\n"); in Execute()
247 …HILOG_INFO(LOG_CORE, "ExecuteCommand(%s): output %zuB, %zuLn", cmdline.c_str(), output.size(), lin… in Execute()
255 retval, output.c_str()); in Execute()
/developtools/integration_verification/DeployDevice/src/func/liteOsUpgrade/
DliteOsUpgrade_L3_app.py254 …retcode, output = subprocess.getstatusoutput('adb -s %s reboot fastboot' % self.params_dict.get('s…
256 logger.info('adb -s %s reboot fastboot output: %s'% (self.params_dict.get('sn'),output))
259 retcode, output = subprocess.getstatusoutput('fastboot devices')
262 if self.params_dict.get('sn') in output:
296 …retcode, output = subprocess.getstatusoutput('fastboot -s %s flash system %s' % (self.params_dict.…
298 …('fastboot -s %s flash system %s output: %s'% (self.params_dict.get('sn'),local_image_path,output))
324 … retcode, output = subprocess.getstatusoutput('fastboot -s %s reboot' % self.params_dict.get('sn'))
326 logger.info('fastboot -s %s reboot output: %s'% (self.params_dict.get('sn'),output))
328 retcode, output = subprocess.getstatusoutput('adb devices')
330 logger.info('adb devices: %s'% output)
[all …]

1234