Searched defs:ret (Results 76 - 100 of 3891) sorted by relevance

1234567891011>>

/external/libunwind/src/ppc32/
H A Dinit.h35 int ret; local
51 ret = dwarf_get (&c->dwarf, c->dwarf.loc[UNW_PPC32_LR], &c->dwarf.ip);
52 if (ret < 0)
53 return ret;
55 ret = dwarf_get (&c->dwarf, DWARF_REG_LOC (&c->dwarf, UNW_PPC32_R1),
57 if (ret < 0)
58 return ret;
/external/libunwind/src/ppc64/
H A Dinit.h33 int ret; local
61 ret = dwarf_get (&c->dwarf, c->dwarf.loc[UNW_PPC64_NIP], &c->dwarf.ip);
62 if (ret < 0)
63 return ret;
65 ret = dwarf_get (&c->dwarf, DWARF_REG_LOC (&c->dwarf, UNW_PPC64_R1),
67 if (ret < 0)
68 return ret;
/external/libunwind/src/sh/
H A DGget_proc_info.c31 int ret; local
33 ret = dwarf_make_proc_info (&c->dwarf);
34 if (ret < 0)
35 return ret;
/external/libunwind/src/x86/
H A Dinit.h31 int ret, i; local
48 ret = dwarf_get (&c->dwarf, c->dwarf.loc[EIP], &c->dwarf.ip);
49 if (ret < 0)
50 return ret;
52 ret = dwarf_get (&c->dwarf, DWARF_REG_LOC (&c->dwarf, UNW_X86_ESP),
54 if (ret < 0)
55 return ret;
/external/libunwind/src/x86_64/
H A Dinit.h47 int ret; local
67 ret = dwarf_get (&c->dwarf, c->dwarf.loc[RIP], &c->dwarf.ip);
68 if (ret < 0)
69 return ret;
71 ret = dwarf_get (&c->dwarf, DWARF_REG_LOC (&c->dwarf, UNW_X86_64_RSP),
73 if (ret < 0)
74 return ret;
/external/ltp/testcases/kernel/syscalls/ipc/shmat/
H A Dshmat_common.h6 int ret; local
23 ret = shmdt(p);
24 if (ret == -1)
/external/ltp/testcases/kernel/syscalls/open/
H A Dopen12_child.c25 int ret; local
34 ret = write(fd, argv[1], strlen(argv[1]));
36 return ret != -1;
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_destroy/
H A D1-1.c38 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/
H A D4-1.c41 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/
H A D1-1.c38 int ret, i, pshared; local
48 ret =
51 if (ret != 0) {
54 ret);
H A D1-2.c38 int ret, i, pshared; local
48 ret =
51 if (ret != 0) {
54 ret);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setpshared/
H A D1-1.c45 int ret, i, pshared; local
55 ret =
58 if (ret != 0) {
61 ret);
H A D1-2.c45 int ret, i, pshared; local
55 ret =
58 if (ret != 0) {
61 ret);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
H A D4-1.c31 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/
H A D1-1.c44 int ret; local
72 ret = pthread_join(new_th, NULL);
77 if (ret == 0) {
80 } else if (ret == EINVAL) {
H A D2-1.c43 int ret; local
71 ret = pthread_cancel(new_th);
73 if (ret != 0) {
74 if (ret == ESRCH) {
H A D3-1.c43 int ret; local
65 ret = pthread_detach(new_th);
71 if (ret != 0) {
72 if ((ret != ESRCH) || (ret != EINVAL)) {
H A D4-1.c48 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/
H A D6-1.c48 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_mutexattr_gettype/speculative/
H A D3-1.c32 int type, ret; local
38 ret = pthread_mutexattr_gettype(&mta, &type);
40 switch (ret) {
48 printf("Test FAILED: Expected EINVAL, but got: %d\n", ret);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setprotocol/
H A D3-1.c30 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/
H A D7-1.c33 int ret; local
49 ret = pthread_mutexattr_settype(&mta, invalid_type);
51 if (ret != EINVAL) {
53 ret);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/
H A D1-1.c39 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/sem_unlink/
H A D4-2.c52 * UNRESOLVED(ret, descr);
53 * where descr is a description of the error and ret is an int
86 int ret; local
93 ret = sem_unlink(SEM_NAME);
95 if (ret != -1) {
/external/selinux/libselinux/src/
H A Ddisable.c14 int fd, ret; local
30 ret = write(fd, buf, strlen(buf));
32 if (ret < 0)

Completed in 529 milliseconds

1234567891011>>