/developtools/hdc/src/host/ |
D | translate.cpp | 227 string ForwardPort(const char *input, FormatCommand *outCmd) in ForwardPort() argument 230 const char *pExtra = input + 6; // CMDSTR_FORWARD_FPORT CMDSTR_FORWARD_RPORT + " " size in ForwardPort() 236 outCmd->parameters = input + 9; in ForwardPort() 239 const char *p = input + 6; in ForwardPort() 248 outCmd->parameters = input; in ForwardPort() 253 string RunMode(const char *input, FormatCommand *outCmd) in RunMode() argument 257 outCmd->parameters = input + CMDSTR_TARGET_MODE.size() + 1; // with ' ' in RunMode() 265 int port = atoi(input + strlen("tmode port ")); in RunMode() 274 void TargetReboot(const char *input, FormatCommand *outCmd) in TargetReboot() argument 277 if (strcmp(input, CMDSTR_TARGET_REBOOT.c_str())) { in TargetReboot() [all …]
|
/developtools/ace_js2bundle/ace-loader/test/lite/testcase/pages/event/ |
D | event.hml | 12 <input @click="handleInput('(')" /> 15 <input @click="handleInput('(')" /> 18 <input @click="handleInput(')')" /> 21 <input @click="handleInput(')')" /> 24 <input @click="handleInput('kk', value, 'dd')" /> 27 <input @click="handleInput(value, time , '(')" /> 30 <input @click="handleInput('(', value, time)" />
|
/developtools/ace_js2bundle/ace-loader/test/rich/testcase/pages/expression/ |
D | expression.hml | 44 <input value='{{"ABCDEFG".toLowerCase()}}'></input> 45 <input value="{{ns[1]}}"></input> 46 <input value="{{a.b.c.d}}"></input> 47 <input value="{{a.b.c[1]}}"></input> 48 <input value="{{(a.b.c)[1]}}"></input>
|
/developtools/profiler/host/smartperf/ide/src/trace/component/setting/ |
D | SpSdkConfig.ts | 188 let input = this.selectConfig?.shadowRoot?.querySelector<HTMLInputElement>('#singleInput'); 189 if (input) { 195 this.changGpu(input!.value); 259 let input = document.createElement('input'); 260 input.className = 'sdk-config-input config'; 262 input.value = this.sdkConfigList.configuration[key].default; 264 input.setAttribute('configName', key); 265 input.setAttribute('type', this.sdkConfigList.configuration[key].type); 266 input.oninput = (ev) => { 267 let inputValue = this.checkIntegerInput(input.value); [all …]
|
D | SpAllocations.ts | 112 let input = this.processId.shadowRoot?.querySelector('.multipleSelect') as HTMLDivElement; 116 input.addEventListener('mousedown', (ev) => { 121 input.addEventListener('valuable', (ev) => { 124 input.addEventListener('inputClick', () => { 463 private convertToValue(input: string, unit: string): number { 467 value = Number(input) * 1024 * 1024; 470 value = Number(input) * 1024;
|
/developtools/smartperf_host/ide/src/trace/component/setting/ |
D | SpSdkConfig.ts | 188 let input = this.selectConfig?.shadowRoot?.querySelector<HTMLInputElement>('#singleInput'); 189 if (input) { 195 this.changGpu(input!.value); 259 let input = document.createElement('input'); 260 input.className = 'sdk-config-input config'; 262 input.value = this.sdkConfigList.configuration[key].default; 264 input.setAttribute('configName', key); 265 input.setAttribute('type', this.sdkConfigList.configuration[key].type); 266 input.oninput = (ev) => { 267 let inputValue = this.checkIntegerInput(input.value); [all …]
|
D | SpAllocations.ts | 121 let input = this.processId.shadowRoot?.querySelector('.multipleSelect') as HTMLDivElement; 125 input.addEventListener('mousedown', (ev) => { 130 input.addEventListener('valuable', (ev) => { 133 input.addEventListener('inputClick', () => { 475 private convertToValue(input: string, unit: string): number { 479 value = Number(input) * 1024 * 1024; 482 value = Number(input) * 1024;
|
D | SpVmTracker.ts | 34 …let input = this.vmTrackerProcessInput?.shadowRoot?.querySelector<HTMLInputElement>('#singleInput'… 35 input!.value = '';
|
/developtools/profiler/device/plugins/process_plugin/src/ |
D | process_data_plugin.cpp | 377 std::ifstream input(path, std::ios::in); in ReadBootTime() local 378 … CHECK_TRUE(!input.fail(), false, "%s open %s failed, errno = %d", __func__, path.c_str(), errno); in ReadBootTime() 380 if (!input.good()) { in ReadBootTime() 384 getline(input, line); in ReadBootTime() 392 input.close(); in ReadBootTime() 425 std::ifstream input(path, std::ios::in); in ReadCpuUsage() local 426 … CHECK_TRUE(!input.fail(), false, "%s open %s failed, errno = %d", __func__, path.c_str(), errno); in ReadCpuUsage() 428 if (!input.good()) { in ReadCpuUsage() 432 getline(input, line); in ReadCpuUsage() 436 input.close(); in ReadCpuUsage() [all …]
|
/developtools/profiler/device/plugins/diskio_plugin/src/ |
D | io_stats.cpp | 48 std::ifstream input(SYSTIME_PATH, std::ios::in); in GetSystime() local 49 …CHECK_TRUE(!input.fail(), systime, "%s:open %s failed, errno = %d", __func__, SYSTIME_PATH, errno); in GetSystime() 51 if (!input.good()) { in GetSystime() 55 getline(input, line); in GetSystime() 66 input.close(); in GetSystime() 84 std::ifstream input(CPU_PATH, std::ios::in); in ParseCpuStats() local 85 CHECK_TRUE(!input.fail(), false, "%s: open %s failed, errno = %d", __func__, CPU_PATH, errno); in ParseCpuStats() 87 if (!input.good()) { in ParseCpuStats() 91 getline(input, line); in ParseCpuStats() 98 } while (!input.eof()); in ParseCpuStats() [all …]
|
/developtools/global_resource_tool/src/ |
D | file_manager.cpp | 34 for (auto input : inputs) { in ScanModules() local 36 if (ScanModule(input, output, resTypeOfDirs) != RESTOOL_SUCCESS) { in ScanModules() 49 uint32_t FileManager::ScanModule(const string &input, const string &output, in ScanModule() argument 52 ResourceModule resourceModule(input, output, moduleName_); in ScanModule()
|
/developtools/syscap_codec/src/ |
D | syscap_tool.c | 286 static int32_t ParseRpcidToJson(char *input, uint32_t inputLen, cJSON *rpcidJson) in ParseRpcidToJson() argument 290 uint16_t sysCapLength = NtohsInter(*(uint16_t *)(input + sizeof(uint32_t))); in ParseRpcidToJson() 296 char *sysCapBegin = input + sizeof(RPCIDHead) + sizeof(uint32_t); in ParseRpcidToJson() 297 RPCIDHead *rpcidHeader = (RPCIDHead *)input; in ParseRpcidToJson() 577 char *input = (char *)malloc(inputLen + 1); in CopyInputString() local 578 if (input == NULL) { in CopyInputString() 582 int32_t ret = strcpy_s(input, inputLen + 1, inputString); in CopyInputString() 585 free(input); in CopyInputString() 588 input[inputLen] = '\0'; in CopyInputString() 589 return input; in CopyInputString() [all …]
|
D | create_pcid.c | 570 static int32_t ParseStringSyscap(char *input, uint32_t *osSyscap, uint32_t osSyscapNum, in ParseStringSyscap() argument 576 size_t inputLen = strlen(input); in ParseStringSyscap() 583 …if (sscanf_s(input, "%u,%u,%s", &header[0], &header[1], input, inputLen) != 3) { // 3, return val … in ParseStringSyscap() 588 while ((ret = sscanf_s(input, "%u,%s", &tempNum, input, inputLen)) > 0) { in ParseStringSyscap() 599 if (strlen(input) <= 1) { in ParseStringSyscap() 600 *input = '\0'; in ParseStringSyscap() 723 int32_t DecodeStringPCIDToJson(char *input, char *outDirPath) in DecodeStringPCIDToJson() argument 732 if (GetFileContext(input, &ctx, &fileContextLen) != 0) { in DecodeStringPCIDToJson() 733 PRINT_ERR("GetFileContext failed, input file : %s\n", input); in DecodeStringPCIDToJson()
|
/developtools/ace_js2bundle/ace-loader/src/ |
D | resource-plugin.js | 28 let input = ''; variable 38 function copyFile(input, output) { argument 40 if (fs.existsSync(input)) { 45 const pathInfo = path.parse(input); 55 if (themeFileBuild(input, output)) { 59 const readStream = fs.createReadStream(input);
|
D | gen-abc.js | 28 const input = inputPaths[i].path.replace(/\.temp\.js$/, "_.js"); 36 … console.debug(red, `ERROR Failed to convert file ${input} to abc. Error message: ${e}`, reset);
|
/developtools/profiler/hidebug/frameworks/native/ |
D | hidebug_base.c | 67 static void ParseKeyValue(const char *input) in ParseKeyValue() argument 73 const char *colonPos = strchr(input, COLON_CHR); in ParseKeyValue() 78 errno_t err = strncpy_s(g_params[g_paramCnt].key, MAX_PARA_LEN, input, colonPos - input); in ParseKeyValue() 91 static void SplitParams(char *input) in SplitParams() argument 97 param = strtok_s(input, space, &next); in SplitParams()
|
/developtools/packing_tool/adapter/ohos/ |
D | UncompressEntrance.java | 269 …public static UncompressResult parseApp(InputStream input, String parseMode, String deviceType, St… in parseApp() argument 273 if (input == null) { in parseApp() 292 compressResult = Uncompress.uncompressAppByInput(utility, input); in parseApp() 338 …public static UncompressResult parseApp(InputStream input, ParseAppMode parseAppMode, String hapNa… in parseApp() argument 340 if (input == null) { in parseApp() 355 compressResult = Uncompress.uncompressAppByInput(utility, input); in parseApp() 388 public static UncompressResult parseHap(InputStream input) { in parseHap() argument 391 if (input == null) { in parseHap() 399 compressResult = Uncompress.uncompressHapByInput(utility, input); in parseHap()
|
/developtools/ace_js2bundle/ace-loader/test/rich/testcase/pages/event/ |
D | event.hml | 21 <input @click="handleInput('(')" /> 24 <input @click="handleInput(')')" /> 27 <input @click="handleInput('(', value, time)" />
|
/developtools/hiperf/demo/js/entry/src/main/js/MainAbility/pages/second/ |
D | second.hml | 5 <input class="btn" type="button" value="{{ $t('strings.back') }}" onclick="onclick"></input>
|
/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/ |
D | printk_formats_parser_test.cpp | 159 std::string input = "test"; variable 160 EXPECT_FALSE(PrintkFormatsParser::GetInstance().Parse(input)); 191 std::string input = "1 : \"test\""; variable 192 EXPECT_NE(input, ""); 194 EXPECT_TRUE(PrintkFormatsParser::GetInstance().Parse(input));
|
/developtools/syscap_codec/interfaces/inner_api/ |
D | syscap_interface.h | 47 bool DecodeOsSyscap(const char input[PCID_MAIN_BYTES], char (**output)[SINGLE_SYSCAP_LEN], int *out… 49 bool DecodePrivateSyscap(char *input, char (**output)[SINGLE_SYSCAP_LEN], int *outputCnt);
|
D | syscap_interface.c | 196 bool DecodeOsSyscap(const char input[PCID_MAIN_BYTES], char (**output)[SINGLE_SYSCAP_LEN], int *out… in DecodeOsSyscap() 203 uint8_t *osSyscap = (uint8_t *)(input + 8); // 8, int[2] of pcid header in DecodeOsSyscap() 245 int32_t GetPriSyscapCount(char *input) in GetPriSyscapCount() argument 249 char *inputPos = input; in GetPriSyscapCount() 260 bool DecodePrivateSyscap(char *input, char (**output)[SINGLE_SYSCAP_LEN], int *outputCnt) in DecodePrivateSyscap() argument 262 char *inputPos = input; in DecodePrivateSyscap() 265 if (input == NULL) { in DecodePrivateSyscap() 283 inputPos = input; in DecodePrivateSyscap() 335 static int32_t ParseRpcidToJson(char *input, uint32_t inputLen, cJSON *rpcidJson) in ParseRpcidToJson() argument 339 uint16_t sysCapLength = NtohsInter(*(uint16_t *)(input + sizeof(uint32_t))); in ParseRpcidToJson() [all …]
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
D | ProfileUtils.java | 38 public static byte[] getProvisionContent(File input) throws IOException { in getProvisionContent() argument 39 byte[] bytes = FileUtils.readFile(input); in getProvisionContent()
|
D | FileUtils.java | 109 public static byte[] read(InputStream input) throws IOException { in read() argument 113 while ((read = input.read(buffer)) != FILE_END) { in read() 118 close(input); in read() 298 private static byte[] toByteArray(final InputStream input, final int size) throws IOException { in toByteArray() argument 311 while (offset < size && (read = input.read(data, offset, size - offset)) != FILE_END) { in toByteArray()
|
/developtools/ace_ets2bundle/compiler/src/ |
D | gen_abc.ts | 31 const input: string = inputPaths[i].path.replace(/\.temp\.js$/, "_.js"); constant 40 …logger.debug(red, `ArkTS:ERROR Failed to convert file ${input} to abc. Error message: ${e} `, rese…
|