Home
last modified time | relevance | path

Searched refs:ENOERR (Results 1 – 25 of 80) sorted by relevance

1234

/kernel/liteos_a/compat/posix/src/
Dpthread_attr.c56 return ENOERR; in pthread_attr_init()
66 return ENOERR; in pthread_attr_destroy()
73 return ENOERR; in pthread_attr_setdetachstate()
87 return ENOERR; in pthread_attr_getdetachstate()
98 return ENOERR; in pthread_attr_setscope()
116 return ENOERR; in pthread_attr_getscope()
123 return ENOERR; in pthread_attr_setinheritsched()
137 return ENOERR; in pthread_attr_getinheritsched()
144 return ENOERR; in pthread_attr_setschedpolicy()
158 return ENOERR; in pthread_attr_getschedpolicy()
[all …]
Dpthread.c266 return ENOERR; in pthread_create()
284 if (pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, (int *)0) != ENOERR) { in pthread_exit()
288 if (pthread_mutex_lock(&g_pthreadsDataMutex) != ENOERR) { in pthread_exit()
304 if (pthread_mutex_unlock(&g_pthreadsDataMutex) != ENOERR) { in pthread_exit()
423 if (pthread_mutex_lock(&g_pthreadsDataMutex) != ENOERR) { in pthread_detach()
453 if (pthread_mutex_unlock(&g_pthreadsDataMutex) != ENOERR) { in pthread_detach()
475 if (ret != ENOERR) { in pthread_setschedparam()
482 if (ret != ENOERR) { in pthread_setschedparam()
493 if (ret != ENOERR) { in pthread_setschedparam()
498 return ENOERR; in pthread_setschedparam()
[all …]
Dpthread_cond.c104 return ENOERR; in pthread_cond_destroy()
110 if (pthread_mutex_destroy(cond->mutex) != ENOERR) { in pthread_cond_destroy()
116 return ENOERR; in pthread_cond_destroy()
121 int ret = ENOERR; in pthread_cond_init()
160 int ret = ENOERR; in pthread_cond_broadcast()
183 int ret = ENOERR; in pthread_cond_signal()
235 ret = ENOERR; in ProcessReturnVal()
263 if (ret != ENOERR) { in pthread_cond_timedwait()
282 if (pthread_mutex_unlock(mutex) != ENOERR) { in pthread_cond_timedwait()
291 if (pthread_mutex_lock(mutex) != ENOERR) { in pthread_cond_timedwait()
[all …]
Dsemaphore.c51 if (map_errno(ret) != ENOERR) { in sem_init()
70 if (map_errno(ret) != ENOERR) { in sem_destroy()
87 if (map_errno(ret) == ENOERR) { in sem_wait()
105 if (map_errno(ret) == ENOERR) { in sem_trywait()
132 if (map_errno(ret) == ENOERR) { in sem_timedwait()
149 if (map_errno(ret) != ENOERR) { in sem_post()
/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/full/
DIt_posix_mutex_042.c59 ICUNIT_ASSERT_EQUAL(ret, ENOERR, ret); in Testcase()
62 ICUNIT_ASSERT_EQUAL(ret, ENOERR, ret); in Testcase()
65 ICUNIT_ASSERT_EQUAL(ret, ENOERR, ret); in Testcase()
69 ICUNIT_ASSERT_EQUAL(ret, ENOERR, ret); in Testcase()
72 ICUNIT_ASSERT_EQUAL(ret, ENOERR, ret); in Testcase()
76 ICUNIT_GOTO_EQUAL(ret, ENOERR, ret, EXIT); in Testcase()
80 ICUNIT_GOTO_EQUAL(ret, ENOERR, ret, EXIT); in Testcase()
83 ICUNIT_GOTO_EQUAL(ret, ENOERR, ret, EXIT); in Testcase()
DIt_posix_mutex_024.c56 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
60 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT1); in Testcase()
64 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT3); in Testcase()
68 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT3); in Testcase()
72 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT3); in Testcase()
76 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT2); in Testcase()
80 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT1); in Testcase()
DIt_posix_mutex_032.c58 ICUNIT_ASSERT_EQUAL(err, ENOERR, err); in Testcase()
65 ICUNIT_ASSERT_EQUAL(err, ENOERR, err); in Testcase()
69 ICUNIT_ASSERT_EQUAL(err, ENOERR, err); in Testcase()
73 ICUNIT_ASSERT_EQUAL(err, ENOERR, err); in Testcase()
76 ICUNIT_GOTO_EQUAL(err, ENOERR, err, EXIT1); in Testcase()
79 ICUNIT_GOTO_EQUAL(err, ENOERR, err, EXIT2); in Testcase()
DIt_posix_mutex_034.c61 ICUNIT_ASSERT_EQUAL(err, ENOERR, err); in Testcase()
68 ICUNIT_ASSERT_EQUAL(err, ENOERR, err); in Testcase()
72 ICUNIT_GOTO_EQUAL(err, ENOERR, err, EXIT1); in Testcase()
76 ICUNIT_GOTO_EQUAL(err, ENOERR, err, EXIT2); in Testcase()
79 ICUNIT_GOTO_EQUAL(err, ENOERR, err, EXIT1); in Testcase()
82 ICUNIT_GOTO_EQUAL(err, ENOERR, err, EXIT2); in Testcase()
DIt_posix_mutex_035.c61 ICUNIT_ASSERT_EQUAL(err, ENOERR, err); in Testcase()
68 ICUNIT_GOTO_EQUAL(err, ENOERR, err, EXIT1); in Testcase()
72 ICUNIT_GOTO_EQUAL(err, ENOERR, err, EXIT1); in Testcase()
76 ICUNIT_GOTO_EQUAL(err, ENOERR, err, EXIT2); in Testcase()
79 ICUNIT_GOTO_EQUAL(err, ENOERR, err, EXIT1); in Testcase()
82 ICUNIT_GOTO_EQUAL(err, ENOERR, err, EXIT2); in Testcase()
DIt_posix_mutex_018.c60 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
64 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT1); in Testcase()
68 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT2); in Testcase()
71 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT1); in Testcase()
74 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT2); in Testcase()
77 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT3); in Testcase()
DIt_posix_mutex_039.c59 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
63 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
67 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
71 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
74 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT); in Testcase()
DIt_posix_mutex_041.c52 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
55 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
59 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
62 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
DIt_posix_mutex_004.c60 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
64 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT); in Testcase()
68 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
71 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT); in Testcase()
DIt_posix_mutex_037.c56 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
60 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT1); in Testcase()
63 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT2); in Testcase()
66 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT1); in Testcase()
DIt_posix_mutex_025.c52 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
56 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT); in Testcase()
60 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
63 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT); in Testcase()
DIt_posix_mutex_023.c53 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
57 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT1); in Testcase()
60 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT2); in Testcase()
63 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT2); in Testcase()
DIt_posix_mutex_029.c51 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
55 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT); in Testcase()
60 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT1); in Testcase()
64 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT); in Testcase()
DIt_posix_mutex_011.c55 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
64 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT); in Testcase()
68 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT); in Testcase()
78 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT); in Testcase()
/kernel/liteos_a/drivers/mtd/multi_partition/src/
Dmtd_partition.c196 return ENOERR; in MtdInitFsparParam()
212 return ENOERR; in MtdDeinitFsparParam()
246 return ENOERR; in AddParamCheck()
282 return ENOERR; in BlockDriverRegisterOperate()
317 return ENOERR; in CharDriverRegisterOperate()
333 return ENOERR; in BlockDriverUnregister()
350 return ENOERR; in CharDriverUnregister()
369 if (ret != ENOERR) { in add_mtd_partition()
374 if (ret != ENOERR) { in add_mtd_partition()
379 if (ret != ENOERR) { in add_mtd_partition()
[all …]
/kernel/liteos_a/fs/vfs/bcache/src/
Dbcache.c113 return ENOERR; in LOS_SetSyncThreadPrio()
123 if (pthread_mutex_lock(&disk->disk_mutex) != ENOERR) { in LOS_SetSyncThreadPrio()
130 if (pthread_mutex_unlock(&disk->disk_mutex) != ENOERR) { in LOS_SetSyncThreadPrio()
243 return ENOERR; in FindFlagPos()
263 return ENOERR; in BlockRead()
274 return ENOERR; in BcacheGetFlag()
282 return ENOERR; in BcacheGetFlag()
286 if (ret != ENOERR) { in BcacheGetFlag()
321 return ENOERR; in BcacheGetFlag()
350 INT32 ret = ENOERR; in BcacheSyncBlock()
[all …]
/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/smoke/
DIt_posix_mutex_016.c61 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
71 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT); in Testcase()
75 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT); in Testcase()
80 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT); in Testcase()
85 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT); in Testcase()
DIt_posix_mutex_020.c53 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
57 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT1); in Testcase()
63 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT2); in Testcase()
67 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT1); in Testcase()
DIt_posix_mutex_015.c58 ICUNIT_ASSERT_EQUAL(ret, ENOERR, ret); in Testcase()
61 ICUNIT_GOTO_EQUAL(ret, ENOERR, ret, EXIT); in Testcase()
65 ICUNIT_GOTO_EQUAL(ret, ENOERR, ret, EXIT); in Testcase()
77 ICUNIT_GOTO_EQUAL(ret, ENOERR, ret, EXIT); in Testcase()
DIt_posix_mutex_007.c59 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
68 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
72 ICUNIT_ASSERT_EQUAL(rc, ENOERR, rc); in Testcase()
81 ICUNIT_GOTO_EQUAL(rc, ENOERR, rc, EXIT); in Testcase()
/kernel/liteos_a/kernel/common/
Dvirtual_serial.c67 if (ret != ENOERR) { in SerialOpen()
81 return ENOERR; in SerialOpen()
101 return ENOERR; in SerialClose()
111 if (ret != ENOERR) { in SerialRead()
135 if (ret != ENOERR) { in SerialWrite()
158 if (ret != ENOERR) { in SerialIoctl()
181 if (ret != ENOERR) { in SerialPoll()
244 return ENOERR; in virtual_serial_init()

1234