| /developtools/hiperf/include/ |
| D | report_json_file.h | 38 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/ |
| D | report_json_file_test.cpp | 109 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/ |
| D | index.js | 22 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/ |
| D | BUILD.gn | 74 depfiles = "{{output}}.d" 75 …{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} ${external_cflags} -c {{source}} -o {{output}}" 83 depfiles = "{{output}}.d" # must be defined 84 …rs}} {{cflags}} {{cflags_cc}} ${external_cflags} ${external_cxxflags} -c {{source}} -o {{output}}" 92 rspfile = "{{output}}.rsp" # must be defined 95 command = "rm -f {{output}} && libtool -static {{arflags}} -o {{output}} -filelist $rspfile" 97 command = "rm -rf {{output}} && $ar rcsD {{output}} @$rspfile" 103 description = "step: link {{output}}" 111 …ld_arg -shared {{ldflags}} ${external_ldflags} {{inputs}} {{solibs}} {{libs}} $rpath -o {{output}}" 120 …_wrapper $cxx $ld_arg {{ldflags}} ${external_ldflags} {{inputs}} {{solibs}} {{libs}} -o {{output}}" [all …]
|
| /developtools/smartperf_host/trace_streamer/gn/toolchain/ |
| D | BUILD.gn | 74 depfiles = "{{output}}.d" 75 …{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} ${external_cflags} -c {{source}} -o {{output}}" 83 depfiles = "{{output}}.d" # must be defined 84 …rs}} {{cflags}} {{cflags_cc}} ${external_cflags} ${external_cxxflags} -c {{source}} -o {{output}}" 92 rspfile = "{{output}}.rsp" # must be defined 95 command = "rm -f {{output}} && libtool -static {{arflags}} -o {{output}} -filelist $rspfile" 97 command = "rm -rf {{output}} && $ar rcsD {{output}} @$rspfile" 103 description = "step: link {{output}}" 111 …ld_arg -shared {{ldflags}} ${external_ldflags} {{inputs}} {{solibs}} {{libs}} $rpath -o {{output}}" 120 …_wrapper $cxx $ld_arg {{ldflags}} ${external_ldflags} {{inputs}} {{solibs}} {{libs}} -o {{output}}" [all …]
|
| /developtools/ace_js2bundle/ace-loader/src/ |
| D | card-loader.js | 38 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, '') 89 …output += `var card_element_template_${elementLastName} =` + getRequireString(this, jsonLoaders('t… 93 output += `var card_element_style_${elementLastName} =` + 97 … output = 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 …]
|
| D | genBin-plugin.js | 40 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`, '\…
|
| D | loader-gen.js | 188 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 …]
|
| D | resource-plugin.js | 29 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);
|
| D | genAbc-plugin.js | 41 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/ |
| D | perf_event_record.h | 79 std::string output; in ToSymbolString() local 81 output = StringPrintf("va: 0x%016llx(%llx) ", vaddrInFile_, ip_); in ToSymbolString() 83 output = StringPrintf("ip: 0x%016llx ", ip_); in ToSymbolString() 85 output.append(": "); in ToSymbolString() 86 output.append(symbolName_); in ToSymbolString() 88 output.append("@"); in ToSymbolString() 89 output.append(filePath_); in ToSymbolString() 91 output.append(":"); in ToSymbolString() 92 output.append(std::to_string(symbolIndex_)); in ToSymbolString() 94 return output; in ToSymbolString()
|
| /developtools/ace_ets2bundle/ |
| D | generateSysResource.py | 50 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/global_resource_tool/src/ |
| D | factory_resource_compiler.cpp | 25 …_ptr<IResourceCompiler> FactoryResourceCompiler::CreateCompiler(ResType type, const string &output) in CreateCompiler() argument 28 return make_unique<JsonCompiler>(type, output); in CreateCompiler() 30 return make_unique<GenericCompiler>(type, output); in CreateCompiler() 34 …ourceCompiler> FactoryResourceCompiler::CreateCompilerForAppend(ResType type, const string &output) in CreateCompilerForAppend() argument 37 return make_unique<JsonCompiler>(type, output); in CreateCompilerForAppend() 39 return make_unique<AppendCompiler>(type, output); in CreateCompilerForAppend()
|
| D | file_manager.cpp | 32 uint32_t FileManager::ScanModules(const vector<string> &inputs, const string &output) in ScanModules() argument 36 if (ScanModule(input, output, resTypeOfDirs) != RESTOOL_SUCCESS) { in ScanModules() 40 return ParseReference(output); in ScanModules() 49 uint32_t FileManager::ScanModule(const string &input, const string &output, in ScanModule() argument 52 ResourceModule resourceModule(input, output, moduleName_); in ScanModule() 61 uint32_t FileManager::ParseReference(const string &output) in ParseReference() argument 64 if (referenceParser.ParseRefInResources(items_, output) != RESTOOL_SUCCESS) { in ParseReference()
|
| /developtools/syscap_codec/interfaces/inner_api/ |
| D | syscap_interface.h | 46 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/profiler/host/smartperf/trace_streamer/ |
| D | dl_tools.sh | 21 …epo.huaweicloud.com/openharmony/compiler/gn/1717/linux/gn-linux-x86-1717.tar.gz --output gn.tar.gz 23 …ud.com/openharmony/compiler/ninja/1.11.0/linux/ninja-linux-x86-1.11.0.tar.gz --output ninja.tar.gz 26 …uaweicloud.com/openharmony/compiler/gn/2024/darwin/gn-darwin-x86-20230425.tar.gz --output gn.tar.gz 28 ….com/openharmony/compiler/ninja/1.11.0/darwin/ninja-darwin-x86-1.11.0.tar.gz --output ninja.tar.gz 31 …ps://repo.huaweicloud.com/openharmony/compiler/gn/1744/windows/gn-windows-amd64.zip --output gn.zip 33 …s://repo.huaweicloud.com/openharmony/compiler/ninja/1.9.0/windows/ninja-win.zip --output ninja.zip
|
| /developtools/smartperf_host/trace_streamer/ |
| D | dl_tools.sh | 21 …epo.huaweicloud.com/openharmony/compiler/gn/1717/linux/gn-linux-x86-1717.tar.gz --output gn.tar.gz 23 …ud.com/openharmony/compiler/ninja/1.11.0/linux/ninja-linux-x86-1.11.0.tar.gz --output ninja.tar.gz 26 …uaweicloud.com/openharmony/compiler/gn/2024/darwin/gn-darwin-x86-20230425.tar.gz --output gn.tar.gz 28 ….com/openharmony/compiler/ninja/1.11.0/darwin/ninja-darwin-x86-1.11.0.tar.gz --output ninja.tar.gz 31 …ps://repo.huaweicloud.com/openharmony/compiler/gn/1744/windows/gn-windows-amd64.zip --output gn.zip 33 …s://repo.huaweicloud.com/openharmony/compiler/ninja/1.9.0/windows/ninja-win.zip --output ninja.zip
|
| /developtools/integration_verification/tools/deps_guard/elf_file_mgr/ |
| D | utils.py | 37 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/ |
| D | process_utils_test.cpp | 59 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/ |
| D | gn_common_tool.py | 127 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:
|
| /developtools/profiler/device/plugins/ftrace_plugin/src/ |
| D | process_utils.cpp | 169 std::string output; in ReceiveOutputAndSigchld() local 173 output += out; in ReceiveOutputAndSigchld() 192 return output; in ReceiveOutputAndSigchld() 217 int ProcessUtils::Execute(const ExecuteArgs& args, std::string& output) in Execute() argument 241 output = ReceiveOutputAndSigchld(pipeFds[RD], sigChldHandler); in Execute() 242 auto lines = StringUtils::Split(output, "\n"); in Execute() 243 …HILOG_INFO(LOG_CORE, "ExecuteCommand(%s): output %zuB, %zuLn", cmdline.c_str(), output.size(), lin… in Execute() 251 retval, output.c_str()); in Execute()
|
| /developtools/global_resource_tool/include/ |
| D | file_manager.h | 29 uint32_t ScanModules(const std::vector<std::string> &inputs, const std::string &output); 41 uint32_t ScanModule(const std::string &input, const std::string &output, 43 uint32_t ParseReference(const std::string &output);
|
| D | factory_resource_compiler.h | 27 … 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/DeployDevice/src/func/liteOsUpgrade/ |
| D | liteOsUpgrade_L3_app.py | 254 …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 …]
|
| /developtools/integration_verification/tools/rom_ram_analyzer/standard/pkgs/ |
| D | basic_tool.py | 82 output = os.popen(cmd).read() 83 output = post_processor(output) 84 return output
|