/developtools/profiler/host/smartperf/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/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 | 399 uint64_t num; in GetBootData() local 409 num = strtoull(pTmp, &end, DEC_BASE); in GetBootData() 410 CHECK_TRUE(num >= 0, count, "%s:strtoull failed", __func__); in GetBootData() 411 bootTimeVec.push_back(num); in GetBootData() 412 bootTime += num; in GetBootData() 443 uint64_t num; in GetCpuUsageData() local 460 num = strtoull(pTmp, &end, DEC_BASE); in GetCpuUsageData() 461 cpuUsageVec.push_back(num); in GetCpuUsageData() 462 cpuTime += num; in GetCpuUsageData() 498 uint64_t num; in GetDiskioData() local [all …]
|
/developtools/smartperf_host/ide/test/base-ui/chart/pagenation/ |
D | PageNation.test.ts | 36 change(num: number) {}, 49 change(num: number) {}, 62 change(num: number) {}, 75 change(num: number) {}, 88 change(num: number) {}, 101 change(num: number) {}, 114 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/profiler/host/smartperf/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 | 39 num: 20, 43 num: 10, 47 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/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()
|
/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/profiler/device/plugins/diskio_plugin/src/ |
D | io_stats.cpp | 368 uint64_t num; in ParseLineFields() local 386 num = strtoull(pTmp, &end, DEC_BASE); in ParseLineFields() 387 CHECK_TRUE(num >= 0, count, "%s:strtoull failed", __func__); in ParseLineFields() 388 fields_.push_back(num); in ParseLineFields() 397 uint64_t num; in ParseLineFields() local 404 num = static_cast<uint32_t>(strtoull(pTmp, &end, DEC_BASE)); in ParseLineFields() 405 CHECK_TRUE(num >= 0, count, "%s:strtoull failed", __func__); in ParseLineFields() 406 fields_.push_back(num); in ParseLineFields()
|
/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_command/ |
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()
|
D | startup_delay.cpp | 101 size_t num = 3; in InitXY2() local 103 if (pointNum > num) { in InitXY2() 140 size_t num = 3; in InitXY() local 142 if (pointNum > num) { in InitXY()
|
/developtools/smartperf_host/ide/src/trace/component/chart/ |
D | SpFileSystemChart.ts | 296 let num = 0; 299 num = FileSysChartStruct.hoverFileSysStruct.size ?? 0; 302 if (num > 0) { 303 let tipStr = Utils.getProbablyTime(num); 311 if (num > 0) { 313 tip = `<span>${num} (10.00ms)</span>`; 315 tip = `<span>${num}</span>`;
|
/developtools/profiler/host/smartperf/ide/src/trace/component/chart/ |
D | SpFileSystemChart.ts | 296 let num = 0; 299 num = FileSysChartStruct.hoverFileSysStruct.size ?? 0; 302 if (num > 0) { 303 let tipStr = Utils.getProbablyTime(num); 311 if (num > 0) { 313 tip = `<span>${num} (10.00ms)</span>`; 315 tip = `<span>${num}</span>`;
|
/developtools/bytrace/bin/example/ |
D | bytrace_example.cpp | 45 int num = 0; in FuncC() local 47 CountTrace(HITRACE_TAG_OHOS, "count number", ++num); in FuncC()
|
/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()
|