Searched refs:PJ_STATUS_TO_OS (Results 1 – 4 of 4) sorted by relevance
31 errno = PJ_STATUS_TO_OS(code); in pj_set_os_error()41 errno = PJ_STATUS_TO_OS(code); in pj_set_netos_error()
123 SetLastError(PJ_STATUS_TO_OS(code)); in pj_set_os_error()133 WSASetLastError(PJ_STATUS_TO_OS(code)); in pj_set_netos_error()
191 len = platform_strerror(PJ_STATUS_TO_OS(statcode), buf, bufsize); in pj_strerror()
290 # define PJ_STATUS_TO_OS(e) (e == 0 ? PJ_SUCCESS : e - PJ_ERRNO_START_SYS) macro292 # define PJ_STATUS_TO_OS(e) (e == 0 ? PJ_SUCCESS : PJ_ERRNO_START_SYS - e) macro