/base/startup/appspawn/standard/ |
D | appspawn_service.c | 321 const uint8_t *buffer, uint32_t buffLen) in ReceiveRequestDataToDataGroup() argument 331 …APPSPAWN_CHECK(dataGroupInfoList->totalLength >= buffLen, LE_CloseTask(LE_GetDefaultLoop(), taskHa… in ReceiveRequestDataToDataGroup() 332 … return false, "ReceiveRequestDataToDataGroup: too many data for data group %{public}u ", buffLen); in ReceiveRequestDataToDataGroup() 334 int ret = memcpy_s(data, buffLen, buffer, buffLen); in ReceiveRequestDataToDataGroup() 343 const uint8_t *buffer, uint32_t buffLen) in ReceiveRequestDataToOverlay() argument 353 APPSPAWN_CHECK(overlayInfo->totalLength >= (buffLen - groupTotal), in ReceiveRequestDataToOverlay() 355 return false, "ReceiveRequestData: too many data for overlay %{public}u ", buffLen); in ReceiveRequestDataToOverlay() 357 int ret = memcpy_s(data, (buffLen - groupTotal), buffer, (buffLen - groupTotal)); in ReceiveRequestDataToOverlay() 362 buffLen -= overlayInfo->totalLength; in ReceiveRequestDataToOverlay() 364 return ReceiveRequestDataToDataGroup(taskHandle, client, buffer, buffLen); in ReceiveRequestDataToOverlay() [all …]
|
/base/security/device_auth/common_lib/impl/src/ |
D | uint8buff_utils.c | 22 int32_t InitUint8Buff(Uint8Buff *buff, uint32_t buffLen) in InitUint8Buff() argument 27 if (buffLen == 0) { in InitUint8Buff() 30 buff->val = (uint8_t *)HcMalloc(buffLen, 0); in InitUint8Buff() 34 buff->length = buffLen; in InitUint8Buff()
|
/base/startup/init/services/loopevent/task/ |
D | le_asynctask.c | 122 const TaskHandle taskHandle, uint64_t eventId, const uint8_t *data, uint32_t buffLen) in LE_StartAsyncEvent() argument 125 BufferHandle handle = LE_CreateBuffer(loopHandle, buffLen + 1 + sizeof(eventId)); in LE_StartAsyncEvent() 129 if (data != NULL || buffLen == 0) { in LE_StartAsyncEvent() 130 ret = memcpy_s(buff + sizeof(eventId), buffLen, data, buffLen); in LE_StartAsyncEvent() 132 buff[sizeof(eventId) + buffLen] = '\0'; in LE_StartAsyncEvent() 134 return LE_Send(loopHandle, taskHandle, handle, buffLen); in LE_StartAsyncEvent()
|
D | le_task.c | 170 const TaskHandle taskHandle, const BufferHandle buffHandle, uint32_t buffLen) in LE_Send() argument 178 buffer->dataSize = buffLen; in LE_Send()
|
/base/security/dlp_permission_service/frameworks/common/src/ |
D | permission_policy.cpp | 94 static void FreeUint8Buffer(uint8_t** buff, uint32_t& buffLen) in FreeUint8Buffer() argument 97 memset_s(*buff, buffLen, 0, buffLen); in FreeUint8Buffer() 101 buffLen = 0; in FreeUint8Buffer() 277 void FreeCharBuffer(char* buff, uint32_t buffLen) in FreeCharBuffer() argument 280 memset_s(buff, buffLen, 0, buffLen); in FreeCharBuffer()
|
/base/startup/init/services/loopevent/include/ |
D | loop_event.h | 101 typedef void (*LE_RecvMessage)(const TaskHandle taskHandle, const uint8_t *buffer, uint32_t buffLen… 129 const TaskHandle taskHandle, const BufferHandle handle, uint32_t buffLen); 137 uint64_t eventId, const uint8_t *buffer, uint32_t buffLen); 143 const TaskHandle taskHandle, uint64_t eventId, const uint8_t *data, uint32_t buffLen);
|
/base/security/device_auth/common_lib/interfaces/ |
D | uint8buff_utils.h | 31 int32_t InitUint8Buff(Uint8Buff *buff, uint32_t buffLen);
|
/base/security/dlp_permission_service/frameworks/common/include/ |
D | permission_policy.h | 133 void FreeCharBuffer(char* buff, uint32_t buffLen);
|
/base/startup/init/interfaces/innerkits/control_fd/ |
D | control_fd_client.c | 67 …_STATIC void CmdClientOnRecvMessage(const TaskHandle task, const uint8_t *buffer, uint32_t buffLen) in CmdClientOnRecvMessage() argument 69 BEGET_LOGI("[control_fd] CmdOnRecvMessage %s len %d.", (char *)buffer, buffLen); in CmdClientOnRecvMessage()
|
D | control_fd_service.c | 55 …ROL_FD_STATIC void CmdOnRecvMessage(const TaskHandle task, const uint8_t *buffer, uint32_t buffLen) in CmdOnRecvMessage() argument
|
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_common/ |
D | dlp_permission_serializer.cpp | 65 …c int32_t ReadUint8ArrayFromJson(const unordered_json& permJson, uint8_t** buff, uint32_t& buffLen, in ReadUint8ArrayFromJson() argument 69 permJson.at(lenName).get_to(buffLen); in ReadUint8ArrayFromJson() 76 if (length != buffLen) { in ReadUint8ArrayFromJson() 77 buffLen = length; in ReadUint8ArrayFromJson()
|
/base/update/updater/test/unittest/package/ |
D | pkg_package_unittest.cpp | 136 int32_t buffLen = MAX_FILE_NAME + sizeof(LocalFileHeader) + sizeof(DataDescriptor) + in TestBigZipEntry() local 138 std::vector<uint8_t> buff(buffLen); in TestBigZipEntry()
|
/base/startup/init/test/unittest/loopevent/ |
D | loopevent_unittest.cpp | 60 …sAsyncEvent(const TaskHandle taskHandle, uint64_t eventId, const uint8_t *buffer, uint32_t buffLen) in ProcessAsyncEvent() argument 65 UNUSED(buffLen); in ProcessAsyncEvent()
|
D | loopserver_unittest.cpp | 120 …sAsyncEvent(const TaskHandle taskHandle, uint64_t eventId, const uint8_t *buffer, uint32_t buffLen) in ProcessAsyncEvent() argument 125 UNUSED(buffLen); in ProcessAsyncEvent()
|
/base/startup/init/test/unittest/init/ |
D | group_unittest.cpp | 64 size_t buffLen = strlen(buff); in TestHashKeyFunction() local 65 for (size_t i = 0; i < buffLen; i++) { in TestHashKeyFunction()
|
/base/startup/init/interfaces/kits/jskits/src/ |
D | native_parameters_watch.cpp | 85 …etParamValue(napi_env env, napi_value arg, napi_valuetype valueType, char *buffer, size_t &buffLen) in GetParamValue() argument 92 status = napi_get_value_string_utf8(env, arg, buffer, buffLen, &buffLen); in GetParamValue()
|
/base/startup/init/test/unittest/innerkits/ |
D | innerkits_unittest.cpp | 40 void CmdOnRecvMessage(const TaskHandle task, const uint8_t *buffer, uint32_t buffLen); 46 void CmdClientOnRecvMessage(const TaskHandle task, const uint8_t *buffer, uint32_t buffLen);
|
/base/startup/init/test/unittest/param/ |
D | param_stub.cpp | 65 size_t buffLen = strlen(buff); in TestGenHashCode() local 66 for (size_t i = 0; i < buffLen; i++) { in TestGenHashCode()
|
/base/startup/init/services/param/trigger/ |
D | trigger_manager.c | 622 size_t buffLen = strlen(buff); in JobNodeGetKeyHasCode() local 623 for (size_t i = 0; i < buffLen; i++) { in JobNodeGetKeyHasCode()
|
/base/update/updater/services/package/pkg_package/ |
D | pkg_zipfile.cpp | 242 size_t buffLen = MAX_FILE_NAME + sizeof(LocalFileHeader) + sizeof(DataDescriptor) in ParseFileEntries() local 244 PkgBuffer buffer(buffLen); in ParseFileEntries()
|
/base/location/frameworks/native/source/ |
D | napi_util.cpp | 572 int buffLen = 100; in GetLocationArray() local 573 JsObjectToString(env, elementValue, "additions", buffLen, additions); in GetLocationArray()
|
/base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
D | app_spawn_standard_test.cpp | 53 const uint8_t *buffer, uint32_t buffLen);
|