| /developtools/smartperf_host/ide/src/hdc/common/ |
| D | BaseConversion.ts | 16 export function toHex8(num: number): string { 17 const padLen = 1 - num.toString(16).length; constant 22 return padded + num.toString(16); 25 export function toHex16(num: number): string { 26 const padLen = 2 - num.toString(16).length; constant 31 return padded + num.toString(16); 34 export function toHex32(num: number): string { 35 const padLen = 4 - num.toString(16).length; constant 40 return padded + num.toString(16); 43 export function toHex64(num: number): string { [all …]
|
| D | Utils.ts | 48 public static numToHexString(num: number): string { 49 if (num == undefined || num == null || isNaN(num)) { 52 if (num < 0) { 53 return '0x' + (num >>> 0).toString(16); 55 return '0x' + num.toString(16);
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
| D | ByteArrayUtils.java | 43 public static int insertIntToByteArray(byte[] desByte, int index, int num) { in insertIntToByteArray() argument 48 desByte[pos] = (byte) ((num >> TRIPLE_BIT_SIZE) & 0xff); in insertIntToByteArray() 50 desByte[pos] = (byte) ((num >> DOUBLE_BIT_SIZE) & 0xff); in insertIntToByteArray() 52 desByte[pos] = (byte) ((num >> BIT_SIZE) & 0xff); in insertIntToByteArray() 54 desByte[pos] = (byte) (num & 0xff); in insertIntToByteArray() 68 public static int insertShortToByteArray(byte[] desByte, int desByteLen, int index, short num) { in insertShortToByteArray() argument 73 desByte[pos] = (byte) ((num >> BIT_SIZE) & 0xff); in insertShortToByteArray() 75 desByte[pos] = (byte) (num & 0xff); in insertShortToByteArray()
|
| D | HashUtils.java | 99 int num = 0; in getFileDigest() local 104 hashList.put(num, dig); in getFileDigest() 105 num++; in getFileDigest()
|
| /developtools/profiler/device/plugins/process_plugin/src/ |
| D | process_data_plugin.cpp | 412 uint64_t num; in GetBootData() local 422 num = strtoull(pTmp, &end, DEC_BASE); in GetBootData() 423 CHECK_TRUE(num >= 0, count, "%s:strtoull failed", __func__); in GetBootData() 424 bootTimeVec.push_back(num); in GetBootData() 425 bootTime += num; in GetBootData() 456 uint64_t num; in GetCpuUsageData() local 473 num = strtoull(pTmp, &end, DEC_BASE); in GetCpuUsageData() 474 cpuUsageVec.push_back(num); in GetCpuUsageData() 475 cpuTime += num; in GetCpuUsageData() 513 uint64_t num; in GetDiskioData() local [all …]
|
| /developtools/smartperf_host/ide/test/base-ui/chart/pagenation/ |
| D | PageNation.test.ts | 34 change(num: number) {}, 47 change(num: number) {}, 60 change(num: number) {}, 73 change(num: number) {}, 86 change(num: number) {}, 99 change(num: number) {}, 112 change(num: number) {},
|
| /developtools/smartperf_host/trace_streamer/src/base/ |
| D | codec_cov.cpp | 29 int32_t num = 0; in PreNum() local 33 num++; in PreNum() 38 return num; in PreNum() 46 int32_t num = 0; in IsUTF8() local 53 if ((num = PreNum(data[i])) <= TARGET) { in IsUTF8() 57 for (int32_t j = 0; j < num - 1; j++) { in IsUTF8()
|
| /developtools/smartperf_host/ide/test/trace/component/chart/ |
| D | SpClockChart.test.ts | 37 num: 20, 41 num: 10, 45 num: 10,
|
| /developtools/hiperf/test/unittest/common/native/ |
| D | dwarf_test.cpp | 38 constexpr int num {9}; variable 40 constexpr int num {7}; variable 42 const unsigned char *data[num] {}; 180 for (std::size_t j = 0; j < num; ++j) { 199 for (std::size_t j = 0; j < num; ++j) { 218 for (std::size_t j = 0; j < num; ++j) { 233 for (std::size_t j = 0; j < num; ++j) {
|
| /developtools/profiler/host/smartperf/client/client_command/ |
| D | parse_slide_fps_trace.cpp | 41 float num = 0.1; in GetLastCompleteLine() local 42 if (completeNow - completeLast > num) { in GetLastCompleteLine() 93 size_t num = 7; in GetLineTime() local 96 return lineStr.substr(position1 + num, position2 - position1 - num); in GetLineTime()
|
| D | startup_delay.cpp | 83 int num = 2; in GetHisysId() local 86 if (count == num) { in GetHisysId() 106 int num = 2; in GetHisysIdResponse() local 109 if (count == num) { in GetHisysIdResponse() 129 int num = 2; in GetHisysIdComplete() local 132 if (count == num) { in GetHisysIdComplete() 214 size_t num = 3; in InitXY2() local 216 if (pointNum > num) { in InitXY2() 253 size_t num = 3; in InitXY() local 255 if (pointNum > num) { in InitXY()
|
| D | parse_page_fps_trace.cpp | 87 size_t num = 7; in getLineTime() local 90 return line.substr(position1 + num, position2 - position1 -num); in getLineTime()
|
| D | parse_start_trace_noh.cpp | 75 size_t num = 7; in GetLineTime() local 78 return line.substr(position1 + num, position2 - position1 - num); in GetLineTime()
|
| /developtools/profiler/device/plugins/diskio_plugin/src/ |
| D | io_stats.cpp | 292 uint64_t num; in ParseLineFields() local 310 num = strtoull(pTmp, &end, DEC_BASE); in ParseLineFields() 311 CHECK_TRUE(num >= 0, count, "%s:strtoull failed", __func__); in ParseLineFields() 312 fields_.push_back(num); in ParseLineFields() 321 uint64_t num; in ParseLineFields() local 328 num = static_cast<uint32_t>(strtoull(pTmp, &end, DEC_BASE)); in ParseLineFields() 329 CHECK_TRUE(num >= 0, count, "%s:strtoull failed", __func__); in ParseLineFields() 330 fields_.push_back(num); in ParseLineFields()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/ |
| D | SignBin.java | 208 private static boolean isLongOverflowInteger(long num) { in isLongOverflowInteger() argument 209 return (num - (num & 0xffffffffL)) != 0; in isLongOverflowInteger() 212 private static boolean isLongOverflowShort(long num) { in isLongOverflowShort() argument 213 return (num - (num & 0xffffL)) != 0; in isLongOverflowShort()
|
| D | SignElf.java | 273 private static boolean isLongOverflowInteger(long num) { in isLongOverflowInteger() argument 274 return (num - (num & 0xffffffffL)) != 0; in isLongOverflowInteger() 277 private static boolean isLongOverflowShort(long num) { in isLongOverflowShort() argument 278 return (num - (num & 0xffffL)) != 0; in isLongOverflowShort()
|
| D | SignHap.java | 179 int num; in writeOutputStream() local 180 while ((num = data.read(buffer)) > 0) { in writeOutputStream() 181 out.write(buffer, 0, num); in writeOutputStream() 192 int num; in writeOutputStreamAndGetOffset() local 193 while ((num = data.read(buffer)) > 0) { in writeOutputStreamAndGetOffset() 194 out.write(buffer, 0, num); in writeOutputStreamAndGetOffset() 195 currentOffset += num; in writeOutputStreamAndGetOffset()
|
| /developtools/integration_verification/tools/fotff/vcs/gitee/ |
| D | issue.go | 29 func GetMRIssueURL(owner string, repo string, num int) ([]string, error) { 30 url := fmt.Sprintf("https://gitee.com/api/v5/repos/%s/%s/pulls/%d/issues", owner, repo, num)
|
| /developtools/integration_verification/DeployDevice/src/core/ |
| D | run.py | 94 num = int(result.split("(")[1].split(")")[0]) 95 logger.info(num) 96 return num
|
| /developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/utils/ |
| D | CalculationUtils.ts | 156 let num = 0 162 num++ 166 return num
|
| /developtools/hdc/src/test/ |
| D | main.cpp | 22 uint16_t num; in TEST() local 26 GTEST_ASSERT_EQ(0, Base::ConnectKey2IPPort("127.0.0.1:8080", bufString, &num)); in TEST()
|
| /developtools/smartperf_host/ide/src/trace/component/chart/ |
| D | SpEBPFChart.ts | 371 let num = 0; 374 num = EBPFChartStruct.hoverEBPFStruct.size ?? 0; 377 if (num > 0) { 378 let tipStr = Utils.getProbablyTime(num); 386 if (num > 0) { 388 tip = `<span>${num} (10.00ms)</span>`; 390 tip = `<span>${num}</span>`;
|
| /developtools/profiler/host/smartperf/client/client_command_fps/ |
| D | main.cpp | 297 int num = 1; in main() local 301 num = atoi(argv[1]); in main() 302 if (num < 0) { in main() 303 printf("set num:%d not valid arg\n", num); in main() 305 printf("set num:%d success\n", num); in main() 316 for (int i = 0; i < num; i++) { in main()
|
| /developtools/profiler/hiebpf/test/unittest/ |
| D | bpf_controller_test.cpp | 91 int num = 1; variable 97 num++;
|
| /developtools/integration_verification/tools/components_deps/ |
| D | components_deps_analyzer.py | 117 for num in new_line_num: 118 if num not in in_if_line_num and num in in_dep_line_num: 119 scan_line.append(num)
|