Home
last modified time | relevance | path

Searched refs:num (Results 1 – 25 of 90) sorted by relevance

1234

/developtools/profiler/host/smartperf/ide/src/hdc/common/
DBaseConversion.ts16 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 …]
DUtils.ts48 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/
DBaseConversion.ts16 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 …]
DUtils.ts48 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/
DByteArrayUtils.java43 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()
DHashUtils.java99 int num = 0; in getFileDigest() local
104 hashList.put(num, dig); in getFileDigest()
105 num++; in getFileDigest()
/developtools/profiler/device/plugins/process_plugin/src/
Dprocess_data_plugin.cpp399 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/
DPageNation.test.ts36 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/
Dcodec_cov.cpp29 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/
Dcodec_cov.cpp29 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/
DSpClockChart.test.ts39 num: 20,
43 num: 10,
47 num: 10,
/developtools/hiperf/test/unittest/common/native/
Ddwarf_test.cpp38 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/
DSignBin.java208 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()
DSignElf.java273 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/
Dissue.go29 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/
Dio_stats.cpp368 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/
Drun.py94 num = int(result.split("(")[1].split(")")[0])
95 logger.info(num)
96 return num
/developtools/profiler/host/smartperf/client/client_command/
Dparse_page_fps_trace.cpp87 size_t num = 7; in getLineTime() local
90 return line.substr(position1 + num, position2 - position1 -num); in getLineTime()
Dparse_start_trace_noh.cpp75 size_t num = 7; in GetLineTime() local
78 return line.substr(position1 + num, position2 - position1 - num); in GetLineTime()
Dstartup_delay.cpp101 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/
DSpFileSystemChart.ts296 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/
DSpFileSystemChart.ts296 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/
Dbytrace_example.cpp45 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/
DCalculationUtils.ts156 let num = 0
162 num++
166 return num
/developtools/hdc/src/test/
Dmain.cpp22 uint16_t num; in TEST() local
26 GTEST_ASSERT_EQ(0, Base::ConnectKey2IPPort("127.0.0.1:8080", bufString, &num)); in TEST()

1234