Home
last modified time | relevance | path

Searched refs:startAddr (Results 1 - 9 of 9) sorted by relevance

/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_value_parcel.cpp107 uint8_t *startAddr = data.data(); in MarshallingBasicValueInner() local
119 errCode = memcpy_s(startAddr + sizeof(uint8_t), memLen, &intValue, basicDataLen); in MarshallingBasicValueInner()
125 errCode = memcpy_s(startAddr + sizeof(uint8_t), memLen, &longValue, basicDataLen); in MarshallingBasicValueInner()
131 errCode = memcpy_s(startAddr + sizeof(uint8_t), memLen, &floatValue, basicDataLen); in MarshallingBasicValueInner()
137 errCode = memcpy_s(startAddr + sizeof(uint8_t), memLen, &doubleValue, basicDataLen); in MarshallingBasicValueInner()
143 errCode = memcpy_s(startAddr + sizeof(uint8_t), memLen, &boolValue, basicDataLen); in MarshallingBasicValueInner()
166 uint8_t *startAddr = data.data(); in MarshallingBasicValue() local
167 int errCode = memcpy_s(startAddr, data.size(), &type, sizeof(uint8_t)); in MarshallingBasicValue()
192 uint8_t *startAddr = data.data(); in MarshallingStringValue() local
193 int errCode = memcpy_s(startAddr, sizeo in MarshallingStringValue()
226 uint8_t *startAddr = data.data(); MarshallingStringArrayValue() local
266 MarshallingVecUInt8AfterType(const PreferencesValue &value, uint8_t *startAddr) MarshallingVecUInt8AfterType() argument
294 MarshallingVecBigIntAfterType(const PreferencesValue &value, uint8_t *startAddr) MarshallingVecBigIntAfterType() argument
330 MarshallingVecDoubleAfterType(const PreferencesValue &value, uint8_t *startAddr) MarshallingVecDoubleAfterType() argument
355 MarshallingVecBoolAfterType(const PreferencesValue &value, uint8_t *startAddr) MarshallingVecBoolAfterType() argument
389 uint8_t *startAddr = data.data(); MarshallingBasicArrayValue() local
454 const uint8_t *startAddr = data.data(); UnmarshallingBasicValue() local
485 const uint8_t *startAddr = data.data(); UnmarshallingStringValue() local
513 const uint8_t *startAddr = data.data() + sizeof(uint8_t); UnmarshallingStringArrayValue() local
537 const uint8_t *startAddr = data.data() + sizeof(uint8_t); UnmarshallingVecUInt8() local
553 const uint8_t *startAddr = data.data() + sizeof(uint8_t); UnmarshallingVecDouble() local
569 const uint8_t *startAddr = data.data() + sizeof(uint8_t); UnmarshallingVecBool() local
585 const uint8_t *startAddr = data.data() + sizeof(uint8_t); UnmarshallingVecBigInt() local
[all...]
/foundation/arkui/ace_engine_lite/frameworks/common/memory/cache/test/unittest/common/
H A Dcache_manager_tdd_test.cpp49 uintptr_t startAddr = reinterpret_cast<uintptr_t>(buffer); in HWTEST_F() local
50 CacheManager::GetInstance().SetupCacheMemInfo(startAddr, totalSize); in HWTEST_F()
56 const uintptr_t targetPos = startAddr + MAGIC_NUMBER_LENGTH; in HWTEST_F()
91 uintptr_t startAddr = reinterpret_cast<uintptr_t>(buffer); in HWTEST_F() local
92 CacheManager::GetInstance().SetupCacheMemInfo(startAddr, totalSize); in HWTEST_F()
101 startAddr + (pageFileBufLength * unit) + (magicNumberCount * MAGIC_NUMBER_LENGTH) + MAGIC_NUMBER_LENGTH; in HWTEST_F()
127 uintptr_t startAddr = reinterpret_cast<uintptr_t>(buffer); in HWTEST_F() local
128 CacheManager::GetInstance().SetupCacheMemInfo(startAddr, totalSize); in HWTEST_F()
158 uintptr_t startAddr = reinterpret_cast<uintptr_t>(buffer); in HWTEST_F() local
159 CacheManager::GetInstance().SetupCacheMemInfo(startAddr, totalSiz in HWTEST_F()
191 uintptr_t startAddr = reinterpret_cast<uintptr_t>(buffer); HWTEST_F() local
229 uintptr_t startAddr = reinterpret_cast<uintptr_t>(buffer); HWTEST_F() local
[all...]
/foundation/arkui/ace_engine_lite/frameworks/common/memory/cache/
H A Dcache_manager.cpp70 void CacheManager::SetupCacheMemInfo(uintptr_t startAddr, size_t length) in SetupCacheMemInfo() argument
77 cacheState_ = DistributeCacheRange(startAddr, length); in SetupCacheMemInfo()
81 wholeCacheMemInfo_.cacheStartAddr = startAddr; in SetupCacheMemInfo()
85 CacheSetupState CacheManager::PrecheckStatus(uintptr_t startAddr, size_t totalBytes) const in PrecheckStatus() argument
96 if (startAddr == 0 || totalBytes == 0) { in PrecheckStatus()
126 CacheSetupState CacheManager::DistributeCacheRange(uintptr_t startAddr, size_t totalBytes) in DistributeCacheRange() argument
128 CacheSetupState setupResult = PrecheckStatus(startAddr, totalBytes); in DistributeCacheRange()
138 uintptr_t startPos = startAddr + offset; in DistributeCacheRange()
H A Dcache_manager.h52 void SetupCacheMemInfo(uintptr_t startAddr, size_t length);
77 * @param startAddr the entire cache buffer start address
82 CacheSetupState DistributeCacheRange(uintptr_t startAddr, size_t totalBytes);
83 CacheSetupState PrecheckStatus(uintptr_t startAddr, size_t totalBytes) const;
/foundation/arkui/ui_lite/frameworks/dfx/
H A Dui_screenshot.cpp102 bool WriteBlockToFile(int32_t fd, uint32_t* buffer, uint8_t*& startAddr, uint32_t row, in WriteBlockToFile() argument
108 uint16_t* temp = reinterpret_cast<uint16_t*>(startAddr); in WriteBlockToFile()
113 if (memcpy_s(buffer, width * DEFAULT_COLOR_SIZE, startAddr, width * DEFAULT_COLOR_SIZE) != EOK) { in WriteBlockToFile()
117 startAddr += stride; in WriteBlockToFile()
/foundation/distributeddatamgr/preferences/frameworks/native/include/
H A Dpreferences_value_parcel.h55 static int MarshallingVecUInt8AfterType(const PreferencesValue &value, uint8_t *startAddr);
56 static int MarshallingVecBigIntAfterType(const PreferencesValue &value, uint8_t *startAddr);
57 static int MarshallingVecDoubleAfterType(const PreferencesValue &value, uint8_t *startAddr);
58 static int MarshallingVecBoolAfterType(const PreferencesValue &value, uint8_t *startAddr);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_ashmem_helper.cpp93 void *startAddr = ::mmap(nullptr, size_, mapType, MAP_SHARED, fd_, 0); in MapAshmem() local
94 if (startAddr == MAP_FAILED) { in MapAshmem()
98 data_ = startAddr; in MapAshmem()
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dbitmap_manager.cpp479 int32_t IpParamParser::GetIp4AndMask(const in_addr &startAddr, const in_addr &endAddr, std::vector<Ip4Data> &list) in GetIp4AndMask() argument
481 uint32_t startIpInt = ntohl(startAddr.s_addr); in GetIp4AndMask()
/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/
H A Dbitmap_manager.h188 * @param startAddr start ip
193 static int32_t GetIp4AndMask(const in_addr &startAddr, const in_addr &endAddr, std::vector<Ip4Data> &list);

Completed in 6 milliseconds