/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/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;
|
/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/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/ |
D | ZipEntryData.java | 65 try (FileInputStream input = new FileInputStream(file)) { in getZipEntry() argument 68 …byte[] headBytes = FileUtils.readInputByOffsetAndLength(input, entryOffset, ZipEntryHeader.HEADER_… in getZipEntry() 74 … byte[] fileNameBytes = FileUtils.readInputByLength(input, entryHeader.getFileNameLength()); in getZipEntry() 80 … byte[] extraBytes = FileUtils.readInputByLength(input, entryHeader.getExtraLength()); in getZipEntry() 89 input.skip(fileSize); in getZipEntry() 97 byte[] desBytes = FileUtils.readInputByLength(input, DataDescriptor.DES_LENGTH); in getZipEntry()
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
D | FileUtils.java | 127 public static byte[] read(InputStream input) throws IOException { in read() argument 131 while ((read = input.read(buffer)) != FILE_END) { in read() 136 close(input); in read() 149 try (FileInputStream input = new FileInputStream(file)) { in readFileByOffsetAndLength() argument 150 return readInputByOffsetAndLength(input, offset, length); in readFileByOffsetAndLength() 163 …public static byte[] readInputByOffsetAndLength(InputStream input, long offset, long length) throw… in readInputByOffsetAndLength() argument 164 input.skip(offset); in readInputByOffsetAndLength() 165 return readInputByLength(input, length); in readInputByOffsetAndLength() 175 public static byte[] readInputByLength(InputStream input, long length) throws IOException { in readInputByLength() argument 180 writeInputToOutPut(input, output, length); in readInputByLength() [all …]
|
D | ProfileUtils.java | 38 public static byte[] getProvisionContent(File input) throws IOException { in getProvisionContent() argument 39 byte[] bytes = FileUtils.readFile(input); in getProvisionContent()
|
/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 …]
|
/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/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…
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/sign/ |
D | CodeSigning.java | 117 public byte[] getElfCodeSignBlock(File input, long offset, String inForm, String profileContent) in getElfCodeSignBlock() argument 122 long fileSize = input.length(); in getElfCodeSignBlock() 125 try (FileInputStream inputStream = new FileInputStream(input)) { in getElfCodeSignBlock() 168 …public byte[] getCodeSignBlock(File input, long offset, String inForm, String profileContent, Zip … in getCodeSignBlock() argument 188 try (FileInputStream inputStream = new FileInputStream(input)) { in getCodeSignBlock() 198 signNativeLibs(input, ownerID); in getCodeSignBlock() 233 …private void signNativeLibs(File input, String ownerID) throws IOException, FsVerityDigestExceptio… in signNativeLibs() argument 241 try (JarFile inputJar = new JarFile(input, false)) { in signNativeLibs()
|