/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/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] {}; 136 for (std::size_t j = 0; j < num; ++j) { 155 for (std::size_t j = 0; j < num; ++j) { 174 for (std::size_t j = 0; j < num; ++j) { 189 for (std::size_t j = 0; j < num; ++j) {
|
/developtools/profiler/host/smartperf/client/client_command/ |
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() 152 int num = 2; in GetHisysIdStart() local 155 if (count == num) { in GetHisysIdStart() 175 int num = 2; in GetHisysIdMaxFrame() local 178 if (count == num) { in GetHisysIdMaxFrame() [all …]
|
D | parse_slide_fps_trace.cpp | 80 size_t num = 7; in GetLineTime() local 83 return lineStr.substr(position1 + num, position2 - position1 - num); in GetLineTime()
|
D | parse_page_fps_trace.cpp | 100 size_t num = 7; in GetLineTime() local 103 return line.substr(position1 + num, position2 - position1 - num); in GetLineTime()
|
D | parse_start_trace_noh.cpp | 85 size_t num = 7; in GetLineTime() local 88 return line.substr(position1 + num, position2 - position1 - num); in GetLineTime()
|
/developtools/smartperf_host/ide/test/trace/component/chart/ |
D | SpClockChart.test.ts | 50 num: 20, 54 num: 10, 58 num: 10,
|
/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/profiler/host/smartperf/client/client_command_fps/ |
D | main.cpp | 298 static void GetFpsUniteInfo(int num) in GetFpsUniteInfo() argument 300 if (num <= 0) { in GetFpsUniteInfo() 301 printf("Invalid value for num: %d\n", num); in GetFpsUniteInfo() 314 for (int i = 0; i < num; i++) { in GetFpsUniteInfo() 355 int num = atoi(argv[1]); in main() local 356 if (num < 0) { in main() 357 printf("set num:%d not valid arg\n", num); in main() 359 printf("set num:%d success\n", num); in main() 360 GetFpsUniteInfo(num); in main()
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/ |
D | SignBin.java | 205 private static boolean isLongOverflowInteger(long num) { in isLongOverflowInteger() argument 206 return (num - (num & 0xffffffffL)) != 0; in isLongOverflowInteger() 209 private static boolean isLongOverflowShort(long num) { in isLongOverflowShort() argument 210 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/hidebug/interfaces/js/kits/napi/ |
D | napi_hidebug_init.cpp | 46 napi_value CreateInt32(const napi_env env, int32_t num) in CreateInt32() argument 49 if (napi_create_int32(env, num, &intValue) != napi_ok) { in CreateInt32() 55 napi_value CreateBigintUint64(const napi_env env, uint64_t num) in CreateBigintUint64() argument 58 if (napi_create_bigint_uint64(env, num, &intValue) != napi_ok) { in CreateBigintUint64()
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/utils/ |
D | CalculationUtils.ts | 162 let num = 0; 168 num++; 172 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 | 389 let num = 0; 392 num = EBPFChartStruct.hoverEBPFStruct.size ?? 0; 395 if (num > 0) { 396 let tipStr = Utils.getProbablyTime(num); 404 if (num > 0) { 406 tip = `<span>${num} (10.00ms)</span>`; 408 tip = `<span>${num}</span>`;
|
/developtools/profiler/hiebpf/test/unittest/ |
D | bpf_controller_test.cpp | 91 int num = 1; variable 97 num++;
|