Home
last modified time | relevance | path

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

/developtools/hdc/hdc_rust/src/cffi/
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) {
374 errno_t nRet = 0; local
375 nRet = memcpy_s(&options, sizeof(options), &oldttys1, sizeof(options));
376 if (nRet != EOK) {
/developtools/syscap_codec/interfaces/inner_api/
Dsyscap_interface.c158 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/hdc/src/common/
Dforward.cpp733 int nRet = 0; in SendForwardBuf() local
748 nRet = ctx->fdClass->WriteWithMem(pDynBuf, size); in SendForwardBuf()
758 nRet = Base::SendToStreamEx((uv_stream_t *)&ctx->tcp, pDynBuf, size, nullptr, in SendForwardBuf()
762 nRet = Base::SendToStreamEx((uv_stream_t *)&ctx->pipe, pDynBuf, size, nullptr, in SendForwardBuf()
766 return nRet; in SendForwardBuf()
/developtools/syscap_codec/src/
Dcreate_pcid.c116 errno_t nRet = strcat_s(priSyscapHead, allPriSyscapStrLen + 1, priSyscapStr); in SetPriSyscap() local
117 nRet += strcat_s(priSyscapHead, allPriSyscapStrLen + 1, ","); in SetPriSyscap()
118 if (nRet != EOK) { in SetPriSyscap()
314 errno_t nRet = memcpy_s(osSyscap, OS_SYSCAP_BYTES, (uint8_t *)pcidMain + 8, OS_SYSCAP_BYTES); in GetOsSyscap() local
315 if (nRet != EOK) { in GetOsSyscap()