Searched refs:sizeLeft (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/base/tee/tee_client/interfaces/kits/c/src/ |
H A D | tee_client.cpp | 642 size_t sizeLeft = dataSize; in TeecOptDecode() local 674 size_t sizeLeft = *dataSize; in TeecOptDecodeTempMem() local 713 *dataSize = sizeLeft; in TeecOptDecodeTempMem() 820 *sizeLeft -= sizeof(bool); in CovertEncodePtr() 826 *sizeLeft -= sizeof(uint32_t); in CovertEncodePtr() 832 *sizeLeft -= sizeof(uint32_t); in CovertEncodePtr() 853 size_t sizeLeft = *dataSize; in TeecOptEncodePartialMem() local 863 if (sizeLeft < shmSize) { in TeecOptEncodePartialMem() 875 if (sizeLeft < cSize) { in TeecOptEncodePartialMem() 895 sizeLeft -= cSize; in TeecOptEncodePartialMem() [all …]
|
H A D | tee_client.h | 134 bool CovertEncodePtr(sptr<Ashmem> &optMem, size_t *sizeLeft, TEEC_SharedMemory *shm);
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/socket/ |
H A D | socket.cpp | 94 int sizeLeft = static_cast<int>(len); in WriteAll() local 101 while (sizeLeft > 0) { in WriteAll() 102 midRes = Write(ptr, sizeLeft); in WriteAll() 106 sizeLeft -= midRes; in WriteAll()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | templates_parser.cpp | 247 double sizeLeft = size - sizeNonRepeatGap - sizeNonRepeat; in ParseArgsWithAutoFill() local 250 count = (sizeLeft + gap) / (sizeRepeat + countRepeat * gap); in ParseArgsWithAutoFill() 369 double sizeLeft = size > ((strs.size() - 1) * gap) ? size - (strs.size() - 1) * gap : size; in ParseArgsWithoutAutoFill() local 371 double sizeNoGap = sizeLeft; in ParseArgsWithoutAutoFill() 377 lens.push_back(sizeLeft < 0.0 ? 0.0 : std::clamp(num, 0.0, sizeLeft)); in ParseArgsWithoutAutoFill() 378 sizeLeft -= num; in ParseArgsWithoutAutoFill() 384 sizeLeft -= prSize; in ParseArgsWithoutAutoFill() 431 double sizeLeft = size - sizeNonRepeatGap - sizeNonRepeat; in ParseArgsWithAutoFit() local 434 count = (sizeLeft + gap) / (sizeRepeat + countRepeat * gap); in ParseArgsWithAutoFit() 442 double gridWidth = (sizeLeft + gap) / count - gap; in ParseArgsWithAutoFit()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | templates_parser.cpp | 221 double sizeLeft = size - sizeNonRepeatGap - sizeNonRepeat; in ParseArgsWithAutoFill() local 224 count = (sizeLeft + gap) / (sizeRepeat + (countRepeat)*gap); in ParseArgsWithAutoFill() 290 double sizeLeft = size - (static_cast<int32_t>(strs.size()) - 1) * gap; in ParseArgs() local 297 lens.push_back(sizeLeft < 0.0 ? 0.0 : std::clamp(num, 0.0, sizeLeft)); in ParseArgs() 298 sizeLeft -= num; in ParseArgs() 304 sizeLeft -= prSize; in ParseArgs()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/render_context/ |
H A D | cache_data.cpp | 314 size_t sizeLeft = size - byteOffset - headSize; in Serialize() local 315 if (memcpy_s(shaderBuffer->data_, sizeLeft, keyPointer->GetData(), keySize)) { in Serialize() 319 …if (memcpy_s(shaderBuffer->data_ + keySize, sizeLeft - keySize, valuePointer->GetData(), valueSize… in Serialize()
|
/ohos5.0/base/tee/tee_client/services/cadaemon/src/ca_daemon/ |
H A D | cadaemon_service.cpp | 697 size_t sizeLeft = optMemSize; in GetTeecOptMem() local 710 if (CheckSizeStatus(shmInfoOffset, refSize, optMemSize, sizeLeft)) { in GetTeecOptMem() 712 refSize, shmInfoOffset, (uint32_t)sizeLeft, (uint32_t)optMemSize); in GetTeecOptMem() 716 sizeLeft -= refSize; in GetTeecOptMem() 722 tmpInputPara.memSize = sizeLeft; in GetTeecOptMem() 729 sizeLeft = tmpInputPara.memSize; in GetTeecOptMem()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/ |
H A D | render_grid_layout.cpp | 584 double sizeLeft = size - (strs.size() - 1) * gap; in ParseArgsInner() local 590 lens.push_back(sizeLeft < 0.0 ? 0.0 : std::clamp(num, 0.0, sizeLeft)); in ParseArgsInner() 591 sizeLeft -= num; in ParseArgsInner() 597 sizeLeft -= prSize; in ParseArgsInner() 3384 double sizeLeft = size - sizeNonRepeatGap - sizeNonRepeat; in ParseArgsWithAutoFill() local 3387 count = LessOrEqual(sizeLeft / sizeRepeat, 1) ? 1 : floor(sizeLeft / sizeRepeat); in ParseArgsWithAutoFill()
|