Home
last modified time | relevance | path

Searched refs:capacity (Results 1 – 19 of 19) sorted by relevance

/developtools/smartperf_host/ide/src/trace/component/trace/sheet/energy/
DTabPanePowerBattery.ts51 capacity: [],
80 { name: 'Capacity', value: `${powerData.POWER_IDE_BATTERY.capacity} mAh` },
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/
DObjectPool.ets48 …* Returns an ObjectPool instance, of a given starting capacity, that recycles instances of a given…
64 throw new Error('Object Pool must be instantiated with a capacity greater than 0!');
116 * replenished. If the pool capacity is sufficiently large, this could come at a performance
205 * Returns the capacity of this object pool. Note : The pool will automatically resize
207 * capacity allows, but this comes at a performance cost.
209 * @return The capacity of the pool.
/developtools/smartperf_host/trace_streamer/test/unittest/rawtrace/
Dftrace_field_processor_test.cpp38 … if (memcpy_s(&fieldBuffer_[offset], fieldBuffer_.capacity() - offset, &value, sizeof(value))) { in AppendIntFiled()
54 … if (memcpy_s(&fieldBuffer_[offset], fieldBuffer_.capacity() - offset, &str[0], str.size())) { in AppendString()
/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/
Dftrace_field_parser_test.cpp39 if (memcpy_s(&buffer_[offset], buffer_.capacity() - offset, &value, sizeof(value))) { in AppendInt()
55 if (memcpy_s(&buffer_[offset], buffer_.capacity() - offset, &str[0], str.size())) { in AppendString()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/utils/
DHapUtils.java392 int capacity = source.capacity(); in sliceBuffer() local
393 if (startPos < 0 || endPos < startPos || endPos > capacity) { in sliceBuffer()
395 "startPos: " + startPos + ", endPos: " + endPos + ", capacity: " + capacity); in sliceBuffer()
422 byte[] signatureBlockBytes = new byte[header.capacity()]; in reverseSliceBuffer()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/
DVerifyHap.java363 hapSigningBlock.capacity() - ZIP_HEAD_OF_SIGNING_BLOCK_LENGTH, in getHapSignatureSchemeBlockAndOptionalBlocks()
364 hapSigningBlock.capacity()); in getHapSignatureSchemeBlockAndOptionalBlocks()
366 hapSigningBlock.capacity() - ZIP_HEAD_OF_SIGNING_BLOCK_LENGTH); in getHapSignatureSchemeBlockAndOptionalBlocks()
368 byte[] signatureValueBytes = new byte[value.capacity()]; in getHapSignatureSchemeBlockAndOptionalBlocks()
373 int current = value.capacity() - ZIP_HEAD_OF_SUBSIGNING_BLOCK_LENGTH * blockCount; in getHapSignatureSchemeBlockAndOptionalBlocks()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/fsverity/
DMerkleTreeBuilder.java182 int bufferSize = buffer.capacity(); in runHashTask()
208 long size = inputBuffer.capacity(); in transInputDataToHashData()
283 dataRoundupChunkSize(generateHashBuffer, originalHashBuffer.capacity(), digestSize); in generateHashDataByHashData()
/developtools/hdc/hdc_rust/src/common/
Dhdctransfer.rs249 let capacity = read_len as i32; in spawn_handler() localVariable
259 capacity, in spawn_handler()
260 capacity, in spawn_handler()
Duds.rs143 let capacity = mem::size_of_val(&addr.addr) as socklen_t; in wrap_accept() localVariable
144 addr.len = capacity; in wrap_accept()
/developtools/hdc/src/daemon/
Djdwp.cpp289 size_t capacity = sizeof(saddr.sun_path); in UvPipeBind() local
290 size_t min = size < capacity ? size : capacity; in UvPipeBind()
294 saddr.sun_path[capacity - 1] = '\0'; in UvPipeBind()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
DZipUtils.java80 int searchBufferSize = searchBuffer.capacity(); in findEocdInSearchBuffer()
/developtools/profiler/device/plugins/native_daemon/include/
Dhashlist.h166 inline std::size_t capacity() const in capacity() function
/developtools/profiler/protos/types/plugins/xpower_data/
Dxpower_plugin_result.proto36 int64 capacity = 1; //电池容量 field
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/
Dhashlist_test.cpp45 ASSERT_EQ(hashList.capacity(), size_);
/developtools/hiperf/test/unittest/common/native/
Dhashlist_test.cpp45 ASSERT_EQ(hashList.capacity(), size_);
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/entity/
DDatabaseEntity.ets191 public capacity: String;
/developtools/profiler/device/plugins/xpower_plugin/test/
Dxpower_decoder.cpp140 cJSON_AddNumberToObject(cjsonBattery, "capacity", realBattery.capacity()); in CreateRealBattery()
/developtools/hiperf/include/
Dhashlist.h166 inline std::size_t capacity() const in capacity() function
/developtools/profiler/hiebpf/include/
Dvmlinux.h7692 __u64 capacity; member
22766 long unsigned int capacity; member
23680 long unsigned int capacity; member
117654 int capacity; member
123960 sector_t capacity; member
124049 unsigned int capacity; member
135583 int capacity; member
138598 unsigned int capacity; member