Home
last modified time | relevance | path

Searched refs:nRet (Results 1 - 4 of 4) sorted by relevance

/developtools/hdc/hdc_rust/src/cffi/
H A Duart.cpp55 errno_t nRet = 0; local
56 nRet = memset_s(strDSName, sizeof(TCHAR) * MAX_VALUE_NAME, 0, sizeof(TCHAR) * MAX_VALUE_NAME);
57 if (nRet != EOK) {
380 errno_t nRet = 0; local
381 nRet = memcpy_s(&options, sizeof(options), &oldttys1, sizeof(options));
382 if (nRet != EOK) {
/developtools/hdc/src/common/
H A Dforward.cpp738 int nRet = 0; in SendForwardBuf() local
754 nRet = ctx->fdClass->WriteWithMem(pDynBuf, size); in SendForwardBuf()
765 nRet = Base::SendToStreamEx((uv_stream_t *)&ctx->tcp, pDynBuf, size, nullptr, in SendForwardBuf()
769 nRet = Base::SendToStreamEx((uv_stream_t *)&ctx->pipe, pDynBuf, size, nullptr, in SendForwardBuf()
772 if (nRet < 0) { in SendForwardBuf()
774 nRet, size, ctx->id, ctx->type); in SendForwardBuf()
777 return nRet; in SendForwardBuf()
/developtools/syscap_codec/interfaces/inner_api/
H A Dsyscap_interface.c159 errno_t nRet = 0; in DecodeOsSyscap() local
190 nRet = strcpy_s(*strSyscap, SINGLE_SYSCAP_LEN, g_arraySyscap[j].str); in DecodeOsSyscap()
191 if (nRet != EOK) { in DecodeOsSyscap()
192 printf("strcpy_s failed. error = %d\n", nRet); in DecodeOsSyscap()
/developtools/syscap_codec/src/
H A Dcreate_pcid.c121 errno_t nRet = strcat_s(priSyscapHead, allPriSyscapStrLen + 1, priSyscapStr); in SetPriSyscap() local
122 nRet += strcat_s(priSyscapHead, allPriSyscapStrLen + 1, ","); in SetPriSyscap()
123 if (nRet != EOK) { in SetPriSyscap()
319 errno_t nRet = memcpy_s(osSyscap, OS_SYSCAP_BYTES, (uint8_t *)pcidMain + 8, OS_SYSCAP_BYTES); in GetOsSyscap() local
320 if (nRet != EOK) { in GetOsSyscap()

Completed in 6 milliseconds