Home
last modified time | relevance | path

Searched refs:retLen (Results 1 - 19 of 19) sorted by relevance

/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/
H A Dcommon_func.cpp82 size_t retLen = bufLen - bufOff; in GetActualLen() local
86 tie(succ, opLength) = op.GetProp("length").ToInt64(static_cast<int64_t>(retLen)); in GetActualLen()
87 if (!succ || opLength < 0 || static_cast<size_t>(opLength) > retLen) { in GetActualLen()
91 retLen = static_cast<size_t>(opLength); in GetActualLen()
93 return { true, retLen }; in GetActualLen()
99 int64_t retLen; in GetActualLenV9() local
110 retLen = bufLen - bufOff; in GetActualLenV9()
116 retLen = opLength; in GetActualLenV9()
119 retLen = bufLen - bufOff; in GetActualLenV9()
122 return { true, retLen }; in GetActualLenV9()
179 size_t retLen = 0; GetReadArg() local
244 size_t retLen = 0; GetWriteArg() local
288 int64_t retLen; GetReadArgV9() local
324 int64_t retLen; GetWriteArgV9() local
[all...]
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/
H A Dnstackx_openssl.c126 uint32_t retLen = 0; in AesGcmEncryptVec() local
138 if ((outLen - GCM_ADDED_LEN) < (retLen + vec[i].len)) { in AesGcmEncryptVec()
139 LOGE(TAG, "outBuf len %u is less to %u bytes input", outLen, retLen + vec[i].len); in AesGcmEncryptVec()
142 if (EVP_EncryptUpdate(cryptPara->ctx, outBuf + retLen, &length, vec[i].buf, (int32_t)vec[i].len) == 0 || in AesGcmEncryptVec()
147 retLen += (uint32_t)length; in AesGcmEncryptVec()
149 if (EVP_EncryptFinal_ex(cryptPara->ctx, outBuf + retLen, &length) == 0 || length != 0) { in AesGcmEncryptVec()
153 if (EVP_CIPHER_CTX_ctrl(cryptPara->ctx, EVP_CTRL_AEAD_GET_TAG, GCM_TAG_LENGTH, outBuf + retLen) == 0) { in AesGcmEncryptVec()
157 retLen += GCM_TAG_LENGTH; in AesGcmEncryptVec()
158 if (memcpy_s(outBuf + retLen, outLen - retLen, cryptPar in AesGcmEncryptVec()
200 uint32_t retLen; AesGcmDecrypt() local
[all...]
/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dstream_impl.cpp48 size_t retLen = bufLen - bufOff; in GetActualLen() local
51 return { SUCCESS_CODE, retLen }; in GetActualLen()
54 if (length < 0 || static_cast<size_t>(length) > retLen) { in GetActualLen()
55 LOGE("Invalid option length, length: %{public}" PRId64 ", retLen: %{public}zu", length, retLen); in GetActualLen()
58 retLen = static_cast<size_t>(length); in GetActualLen()
59 return { SUCCESS_CODE, retLen }; in GetActualLen()
79 auto [lenState, retLen] = GetActualLen(bufLen, 0, offset, length); in GetWriteArg()
90 return { SUCCESS_CODE, move(bufferGuard), buf, retLen, offset }; in GetWriteArg()
97 auto [state, retLen] in GetReadArg()
[all...]
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/
H A Dcommon_func.cpp139 size_t retLen = bufLen - bufOff; in GetActualLen() local
144 tie(succ, opLength) = op.GetPropValue("length").ToInt64(static_cast<int64_t>(retLen)); in GetActualLen()
146 tie(succ, opLength) = op.GetProp("length").ToInt64(static_cast<int64_t>(retLen)); in GetActualLen()
148 if (!succ || opLength < 0 || static_cast<size_t>(opLength) > retLen) { in GetActualLen()
153 retLen = static_cast<size_t>(opLength); in GetActualLen()
155 return { true, retLen }; in GetActualLen()
382 size_t retLen = 0; in GetReadArg() local
393 return { false, nullptr, retLen, offset }; in GetReadArg()
396 tie(succ, retLen) = GetActualLen(env, bufLen, 0, op); in GetReadArg()
399 return { false, nullptr, retLen, offse in GetReadArg()
447 size_t retLen = 0; GetReadArg() local
[all...]
/third_party/node/lib/internal/streams/
H A Dbuffer_list.js140 const retLen = n;
146 TypedArrayPrototypeSet(ret, buf, retLen - n);
150 TypedArrayPrototypeSet(ret, buf, retLen - n);
159 retLen - n);
/third_party/icu/icu4c/source/tools/genrb/
H A Dprscmnts.cpp163 int32_t retLen = pattern->split(src, stringArray, MAX_SPLIT_STRINGS, *status); in getCount() local
171 for(int32_t i=0; i<retLen; i++){ in getCount()
203 int32_t retLen = pattern->split(src, stringArray, MAX_SPLIT_STRINGS, *status); in getAt() local
211 for(int32_t i=0; i<retLen; i++){ in getAt()
/third_party/node/deps/icu-small/source/tools/genrb/
H A Dprscmnts.cpp163 int32_t retLen = pattern->split(src, stringArray, MAX_SPLIT_STRINGS, *status); in getCount() local
171 for(int32_t i=0; i<retLen; i++){ in getCount()
203 int32_t retLen = pattern->split(src, stringArray, MAX_SPLIT_STRINGS, *status); in getAt() local
211 for(int32_t i=0; i<retLen; i++){ in getAt()
/third_party/skia/third_party/externals/icu/source/tools/genrb/
H A Dprscmnts.cpp163 int32_t retLen = pattern->split(src, stringArray, MAX_SPLIT_STRINGS, *status); in getCount() local
171 for(int32_t i=0; i<retLen; i++){ in getCount()
203 int32_t retLen = pattern->split(src, stringArray, MAX_SPLIT_STRINGS, *status); in getAt() local
211 for(int32_t i=0; i<retLen; i++){ in getAt()
/foundation/distributeddatamgr/kv_store/test/distributedtest/single_kvstore_client/
H A Ddistributed_test_agent.cpp41 int OnProcessMsg(const std::string &msg, int len, std::string &ret, int retLen) override;
148 int DistributedTestAgent::OnProcessMsg(const std::string &msg, int len, std::string &ret, int retLen) in OnProcessMsg() argument
160 return DistributedAgent::OnProcessMsg(msg, len, ret, retLen); in OnProcessMsg()
/third_party/icu/icu4c/source/test/cintltst/
H A Dcrestst.c823 int32_t retLen = 0; in TestFileStream() local
845 retLen=T_FileStream_read(stream,&c,1); in TestFileStream()
846 if(retLen==0){ in TestFileStream()
849 retLen=0; in TestFileStream()
914 retLen = T_FileStream_read(stream, buf, bufLen); in TestFileStream()
915 if(uprv_strncmp(testline, buf,retLen)!=0){ in TestFileStream()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
H A Djoin.c240 int retLen = 0; in mwifiex_cmd_append_wps_ie() local
260 retLen += sizeof(ie_header); in mwifiex_cmd_append_wps_ie()
264 retLen += priv->wps_ie_len; in mwifiex_cmd_append_wps_ie()
270 return retLen; in mwifiex_cmd_append_wps_ie()
284 int retLen = 0; in mwifiex_cmd_append_wapi_ie() local
310 retLen += sizeof(ie_header); in mwifiex_cmd_append_wapi_ie()
319 retLen += priv->wapi_ie_len; in mwifiex_cmd_append_wapi_ie()
323 return retLen; in mwifiex_cmd_append_wapi_ie()
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/
H A Djoin.c228 int retLen = 0; in mwifiex_cmd_append_wps_ie() local
248 retLen += sizeof(ie_header); in mwifiex_cmd_append_wps_ie()
252 retLen += priv->wps_ie_len; in mwifiex_cmd_append_wps_ie()
258 return retLen; in mwifiex_cmd_append_wps_ie()
272 int retLen = 0; in mwifiex_cmd_append_wapi_ie() local
298 retLen += sizeof(ie_header); in mwifiex_cmd_append_wapi_ie()
307 retLen += priv->wapi_ie_len; in mwifiex_cmd_append_wapi_ie()
311 return retLen; in mwifiex_cmd_append_wapi_ie()
/third_party/icu/icu4c/source/common/
H A Duidna.cpp631 int32_t retLen = _internal_toASCII(src, srcLength, dest, destCapacity, options, nameprep, parseError, status); in uidna_toASCII() local
636 return retLen; in uidna_toASCII()
660 int32_t retLen = _internal_toUnicode(src, srcLength, dest, destCapacity, options, nameprep, parseError, status); in uidna_toUnicode() local
664 return retLen; in uidna_toUnicode()
/third_party/node/deps/icu-small/source/common/
H A Duidna.cpp631 int32_t retLen = _internal_toASCII(src, srcLength, dest, destCapacity, options, nameprep, parseError, status); in uidna_toASCII() local
636 return retLen; in uidna_toASCII()
660 int32_t retLen = _internal_toUnicode(src, srcLength, dest, destCapacity, options, nameprep, parseError, status); in uidna_toUnicode() local
664 return retLen; in uidna_toUnicode()
/third_party/skia/third_party/externals/icu/source/common/
H A Duidna.cpp631 int32_t retLen = _internal_toASCII(src, srcLength, dest, destCapacity, options, nameprep, parseError, status); in uidna_toASCII() local
636 return retLen; in uidna_toASCII()
660 int32_t retLen = _internal_toUnicode(src, srcLength, dest, destCapacity, options, nameprep, parseError, status); in uidna_toUnicode() local
664 return retLen; in uidna_toUnicode()
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
H A Dapi_shell.c2942 int retLen = 0; local
2964 retLen += ret;
2970 retLen += ret;
2973 return retLen;
2980 int retLen = 0; local
3004 retLen += ret;
3005 if (retLen <= 0) { // overflow, set rteLen = -1 to indicate
3006 retLen = -1;
3014 retLen += ret;
3015 if (retLen <
[all...]
/foundation/arkui/ace_engine/interfaces/napi/kits/animator/
H A Djs_animator.cpp47 size_t retLen = 0; in ParseString() local
48 napi_get_value_string_utf8(env, propertyNapi, propertyString.get(), buffSize + 1, &retLen); in ParseString()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fSSBOLayoutCase.cpp1398 int retLen = 0; in getGLBufferLayout() local
1401 gl.getProgramResourceName(program, GL_SHADER_STORAGE_BLOCK, (deUint32)blockNdx, (glw::GLsizei)name.size(), &retLen, &name[0]); in getGLBufferLayout()
1404 if (retLen+1 != nameLen) in getGLBufferLayout()
1461 int retLen = 0; in getGLBufferLayout() local
1464 gl.getProgramResourceName(program, GL_BUFFER_VARIABLE, (deUint32)bufVarNdx, (glw::GLsizei)name.size(), &retLen, &name[0]); in getGLBufferLayout()
1467 if (retLen+1 != nameLen) in getGLBufferLayout()
/foundation/communication/ipc/services/dbinder/test/distributedtest/src/
H A Ddbinder_distributed_test.cpp112 int ret = SendMessage(AGENT_NO::ONE, msg, strlen(msg.c_str()), [&](const std::string &retId, int retLen) -> bool { in GetRemoteDeviceId()
113 if (memcpy_s(serverId_, DEVICEID_LENGTH, retId.c_str(), DEVICEID_LENGTH) != 0 || retLen != DEVICEID_LENGTH) { in GetRemoteDeviceId()

Completed in 24 milliseconds