/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/ |
H A D | StringPool.java | 64 int currentIndex = 0; in StringPool() 67 if (currentIndex < this.size) { in StringPool() 68 int stringLength = lengthMap.get(currentIndex); in StringPool() 69 offsetMap.put(currentIndex, new StringItem(current, stringLength)); in StringPool() 71 currentIndex++; in StringPool()
|
/base/startup/appspawn/interfaces/innerkits/client/ |
H A D | appspawn_msg.c | 68 block->currentIndex = 0; in CreateAppSpawnMsgBlock() 79 if ((block->blockSize - block->currentIndex) >= realLen) { in GetValidMsgBlock() 107 APPSPAWN_CHECK(block->blockSize > block->currentIndex, in AddAppDataToBlock() 109 uint32_t reminderLen = block->blockSize - block->currentIndex; in AddAppDataToBlock() 112 int ret = memcpy_s(block->buffer + block->currentIndex, reminderLen, data, dataLen); in AddAppDataToBlock() 115 *((char *)block->buffer + block->currentIndex + dataLen) = '\0'; in AddAppDataToBlock() 117 block->currentIndex += realDataLen; in AddAppDataToBlock() 128 uint32_t reminderBufferLen = block->blockSize - block->currentIndex; in AddAppDataToTail() 133 int ret = memcpy_s(block->buffer + block->currentIndex, reminderBufferLen, data + currLen, reminderDataLen); in AddAppDataToTail() 135 block->currentIndex in AddAppDataToTail() [all...] |
H A D | appspawn_client.h | 58 uint32_t currentIndex; // 当前已经填充的位置 member
|
H A D | appspawn_client.c | 76 clientInstance->recvBlock.currentIndex = 0; in InitClientInstance() 216 uint32_t currentIndex = 0; in HandleMsgSend() local 220 int ret = WriteMessage(socketId, sendBlock->buffer, sendBlock->currentIndex, in HandleMsgSend() 223 currentIndex += sendBlock->currentIndex; in HandleMsgSend() 225 ret, reqNode->msg->msgId, reqNode->msg->msgLen, currentIndex); in HandleMsgSend()
|
/base/security/device_auth/services/session_manager/inc/session/v1/compatible_auth_sub_session/ |
H A D | compatible_auth_sub_session_defines.h | 30 uint32_t currentIndex; member
|
/base/security/device_auth/services/session_manager/src/session/v1/compatible_auth_sub_session/ |
H A D | compatible_auth_sub_session.c | 65 subSession->currentIndex = 0; in CreateClientAuthSubSessionInner() 126 CJson *paramInSession = (session->paramsList).get(&(session->paramsList), session->currentIndex); in ProcessClientAuthTaskInner() 156 CJson *paramInSession = (session->paramsList).get(&(session->paramsList), session->currentIndex); in ProcessClientAuthTask() 199 CJson *paramInSession = (session->paramsList).get(&(session->paramsList), session->currentIndex); in CreateAndProcessClientAuthTask() 224 CJson *paramInSession = (session->paramsList).get(&(session->paramsList), session->currentIndex); in ProcessServerAuthTaskInner() 242 CJson *paramInSession = (session->paramsList).get(&(session->paramsList), session->currentIndex); in ProcessServerAuthTask() 268 CJson *paramInSession = (session->paramsList).get(&(session->paramsList), session->currentIndex); in CreateAndProcessServerAuthTask() 341 subSession->currentIndex = 0; in CreateServerAuthSubSession() 379 CJson *paramInSession = (realSession->paramsList).get(&(realSession->paramsList), realSession->currentIndex); in DestroyCompatibleAuthSubSession()
|
H A D | compatible_auth_sub_session_common.c | 461 CJson *authParam = (session->paramsList).get(&(session->paramsList), session->currentIndex); in ReturnTransmitData() 511 const CJson *authParam = list.get(&list, session->currentIndex); in ReturnFinishData() 536 if (session->currentIndex >= session->paramsList.size(&session->paramsList) - 1) { in AuthOnNextGroupIfExist() 540 session->currentIndex++; in AuthOnNextGroupIfExist() 541 CJson *paramInNextSession = (session->paramsList).get(&(session->paramsList), session->currentIndex); in AuthOnNextGroupIfExist() 637 CJson *paramInSession = list.get(&list, session->currentIndex); in ProcessClientAuthError() 658 CJson *paramInSession = list.get(&list, session->currentIndex); in ProcessServerAuthError() 673 CJson *authParam = list.get(&list, session->currentIndex); in AddGroupAuthTransmitData() 691 if (isClient && (session->currentIndex < (list.size(&list) - 1))) { in AddGroupAuthTransmitData() 692 CJson *nextParam = list.get(&list, session->currentIndex in AddGroupAuthTransmitData() [all...] |
/base/startup/init/test/systest/ |
H A D | loopclient_systest.c | 52 uint32_t currentIndex; // 当前已经填充的位置 member 122 clientInstance->recvBlock.currentIndex = 0; in InitClientInstance() 295 uint32_t currentIndex = 0; in HandleMsgSend() local 299 int ret = WriteMessage(socketId, sendBlock->buffer, sendBlock->currentIndex, in HandleMsgSend() 302 currentIndex += sendBlock->currentIndex; in HandleMsgSend() 304 ret, reqNode->msg->msgId, reqNode->msg->msgLen, currentIndex); in HandleMsgSend()
|
/base/global/i18n_lite/frameworks/i18n/src/ |
H A D | data_resource.cpp | 390 uint32_t currentIndex = 0;
in Retrieve() local 402 adjustResource[currentIndex] = nullptr;
in Retrieve() 403 adjustResourceIndex[currentIndex] = index;
in Retrieve() 416 adjustResource[currentIndex] = temp;
in Retrieve() 417 adjustResourceIndex[currentIndex] = index;
in Retrieve() 419 ++currentIndex;
in Retrieve()
|
/base/web/webview/interfaces/kits/cj/src/ |
H A D | webview_controller_impl.cpp | 728 int32_t currentIndex = 0; in GetCurrentIndex() local 731 return currentIndex; in GetCurrentIndex() 733 currentIndex = sptrHistoryList_->GetCurrentIndex(); in GetCurrentIndex() 734 return currentIndex; in GetCurrentIndex()
|
/base/startup/appspawn/test/unittest/ |
H A D | app_spawn_test_helper.cpp | 563 block->buffer + bufferStart, block->currentIndex - bufferStart); in GetAppProperty() 569 currIndex += block->currentIndex - bufferStart; in GetAppProperty()
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
H A D | napi_webview_controller.cpp | 3909 int32_t currentIndex = list->GetCurrentIndex(); in getBackForwardEntries() local 3917 napi_create_int32(env, currentIndex, &js_currentIndex); in getBackForwardEntries() 3918 napi_set_named_property(env, result, "currentIndex", js_currentIndex); in getBackForwardEntries()
|