/external/libxml2/python/tests/ |
schema.py | 34 ret = doc.schemaValidateDoc(ctxt_valid) variable 35 if ret != 0:
|
tstmem.py | 20 ret = doc.validateDtd(ctxt, dtd) variable 21 if ret != 1:
|
walker.py | 41 ret = reader.Read() variable 42 while ret == 1: 44 ret = reader.Read() variable 46 if ret != 0: 81 ret = reader.Read() variable 82 while ret == 1: 84 ret = reader.Read() variable 86 if ret != 0: 119 ret = reader.Read() variable 120 while ret == 1 122 ret = reader.Read() variable [all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/ |
tm-sigreturn.c | 29 uint64_t ret; local 38 "std%X[ret] 3, %[ret] ;" 39 : [ret] "=m"(ret) 43 if (ret) 55 uint64_t ret = 0; local 73 "std%X[ret] 3,%[ret] ;" 78 "std%X[ret] 3,%[ret] ; [all...] |
/external/ltp/lib/ |
tst_dir_is_empty.c | 32 int ret = 1; local 42 ret = 0; 48 return ret;
|
/external/ltp/testcases/kdump/lib/kprobes/ |
kprobes.c | 32 int ret; local 35 if ((ret = register_jprobe(&my_jprobe)) < 0) { 36 printk("register_jprobe failed, returned %d\n", ret);
|
/external/ltp/testcases/kernel/syscalls/openat/ |
openat02_child.c | 30 int ret; local 38 ret = write(fd, STR, sizeof(STR) - 1); 40 return ret != -1;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_destroy/ |
1-1.c | 38 int ret; local 54 ret = pthread_create(&new_th, &new_attr, a_thread_func, NULL); 56 if (ret == EINVAL) { 59 } else if ((ret != 0) && ((ret == EPERM) || (ret == EAGAIN))) { 62 } else if (ret == 0) { 69 ret);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/ |
4-1.c | 41 int ret; local 56 ret = pthread_cancel(new_th); 58 if (ret != 0) { 59 if (ret == ESRCH) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_getpshared/ |
1-1.c | 38 int ret, i, pshared; local 48 ret = 51 if (ret != 0) { 54 ret);
|
1-2.c | 38 int ret, i, pshared; local 48 ret = 51 if (ret != 0) { 54 ret);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setpshared/ |
1-1.c | 45 int ret, i, pshared; local 55 ret = 58 if (ret != 0) { 61 ret);
|
1-2.c | 45 int ret, i, pshared; local 55 ret = 58 if (ret != 0) { 61 ret);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
4-1.c | 31 int ret; local 33 ret = pthread_create(&new_th, NULL, a_thread_func, NULL); 34 if (ret) { 35 fprintf(stderr, "pthread_create(): %s\n", strerror(ret)); 39 ret = pthread_join(new_th, NULL); 40 if (ret) { 41 fprintf(stderr, "pthread_join(): %s\n", strerror(ret));
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/ |
1-1.c | 44 int ret; local 72 ret = pthread_join(new_th, NULL); 77 if (ret == 0) { 80 } else if (ret == EINVAL) {
|
1-2.c | 53 * UNRESOLVED(ret, descr); 54 * where descr is a description of the error and ret is an int (error code for example) 96 int ret = 0; local 99 ret = pthread_detach(pthread_self()); 100 if (ret != 0) { 101 UNRESOLVED(ret, "Failed to detach the thread"); 107 ret = sem_post(&(scenarii[sc].sem)); 109 while ((ret == -1) && (errno == EINTR)); 110 if (ret == -1) { 119 int ret = 0 local [all...] |
2-1.c | 43 int ret; local 71 ret = pthread_cancel(new_th); 73 if (ret != 0) { 74 if (ret == ESRCH) {
|
3-1.c | 43 int ret; local 65 ret = pthread_detach(new_th); 71 if (ret != 0) { 72 if ((ret != ESRCH) || (ret != EINVAL)) {
|
4-1.c | 48 int ret; local 70 ret = pthread_detach(new_th); 76 if (ret != EINVAL) { 77 if (ret == ESRCH) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/speculative/ |
6-1.c | 48 int ret; local 58 ret = pthread_join(new_th, NULL); 59 if (ret != EINVAL) { 61 "but is: %d instead.\n", ret);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/ |
5-2.c | 50 * UNRESOLVED(ret, descr); 51 * where descr is a description of the error and ret is an int (error code for example) 81 int ret; local 91 ret = pthread_mutexattr_init(&ma); 92 if (ret != 0) { 93 UNRESOLVED(ret, "Mutex attribute init failed"); 96 ret = pthread_mutexattr_settype(&ma, PTHREAD_MUTEX_RECURSIVE); 97 if (ret != 0) { 98 UNRESOLVED(ret, "Set type recursive failed"); 101 ret = pthread_mutex_init(&m, &ma) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setprotocol/ |
3-1.c | 30 int ret; local 44 ret = pthread_mutexattr_setprotocol(&mta, protocol); 45 if ((ret == ENOTSUP) || (ret == EINVAL)) { 51 ret);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/ |
2-1.c | 45 int ret; local 65 ret = pthread_mutex_lock(&mutex); 66 if (ret != 0) { 68 "error code %d\n", ret); 75 ret = pthread_mutex_lock(&mutex);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/ |
1-1.c | 39 int ret; local 46 ret = pthread_once(&once_control, an_init_func); 47 if (ret != 0) { 53 ret = pthread_once(&once_control, an_init_func); 54 if (ret != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
18-1.c | 53 int ret; local 59 ret = sigemptyset(&sa.sa_mask); 61 if (ret != 0) { 67 ret = sigaction(SIGABRT, &sa, 0); 69 if (ret != 0) { 80 ret = raise(SIGABRT); 82 if (ret != 0) {
|