/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/test/ |
ipa_nat_test013.c | 49 int ret; local 79 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); 80 CHECK_ERR(ret); 83 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl); 84 CHECK_ERR(ret); 86 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule1, &rule_hdl1); 87 CHECK_ERR(ret); 89 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule2, &rule_hdl2); 90 CHECK_ERR(ret); 92 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2) [all...] |
ipa_nat_test014.c | 49 int ret; local 66 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); 67 CHECK_ERR(ret); 70 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); 71 CHECK_ERR(ret); 73 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); 74 CHECK_ERR(ret); 76 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); 77 CHECK_ERR(ret); 79 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1) [all...] |
ipa_nat_test015.c | 51 int ret; local 69 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); 70 CHECK_ERR(ret); 73 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); 74 CHECK_ERR(ret); 76 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); 77 CHECK_ERR(ret); 79 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); 80 CHECK_ERR(ret); 82 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1) [all...] |
ipa_nat_test016.c | 50 int ret; local 67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); 68 CHECK_ERR(ret); 71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); 72 CHECK_ERR(ret); 74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); 75 CHECK_ERR(ret); 77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); 78 CHECK_ERR(ret); 80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2) [all...] |
ipa_nat_test017.c | 50 int ret; local 67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); 68 CHECK_ERR(ret); 71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); 72 CHECK_ERR(ret); 74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); 75 CHECK_ERR(ret); 77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); 78 CHECK_ERR(ret); 80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2) [all...] |
ipa_nat_test018.c | 50 int ret; local 67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); 68 CHECK_ERR(ret); 71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); 72 CHECK_ERR(ret); 74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); 75 CHECK_ERR(ret); 77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); 78 CHECK_ERR(ret); 80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3) [all...] |
ipa_nat_test019.c | 50 int ret; local 67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); 68 CHECK_ERR(ret); 71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); 72 CHECK_ERR(ret); 74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); 75 CHECK_ERR(ret); 77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); 78 CHECK_ERR(ret); 80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3) [all...] |
ipa_nat_test022.c | 52 int ret; local 79 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); 80 CHECK_ERR1(ret, tbl_hdl); 83 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); 84 CHECK_ERR1(ret, tbl_hdl); 86 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); 87 CHECK_ERR1(ret, tbl_hdl); 89 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); 90 CHECK_ERR1(ret, tbl_hdl); 93 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
8-1.c | 48 int ret; local 66 ret = pthread_sigmask(SIG_SETMASK, &main_sigmask, NULL); 67 if (ret) { 68 fprintf(stderr, "pthread_sigmask(): %s\n", strerror(ret)); 81 ret = pthread_create(&new_th, NULL, a_thread_func, NULL); 82 if (ret) { 83 fprintf(stderr, "pthread_create(): %s\n", strerror(ret)); 87 ret = pthread_join(new_th, NULL); 88 if (ret) { 89 fprintf(stderr, "pthread_join(): %s\n", strerror(ret)); [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
29-1.c | 59 * UNRESOLVED(ret, descr); 60 * where descr is a description of the error and ret is an int 110 int ret; local 132 ret = sigemptyset(&sa.sa_mask); 134 if (ret != 0) { 135 UNRESOLVED(ret, "Failed to empty signal set"); 139 ret = sigaction(SIGRTMAX, &sa, 0); 141 if (ret != 0) { 142 UNRESOLVED(ret, "Failed to set signal handler"); 146 ret = sigemptyset(&mask) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/ |
8-1.c | 50 * UNRESOLVED(ret, descr); 51 * where descr is a description of the error and ret is an int (error code for example) 101 int ret; local 107 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); 109 if (ret != 0) { 110 UNRESOLVED(ret, 117 if ((ret = sem_wait(thearg->sem))) { 124 ret = kill(process, thearg->sig); 126 if (ret != 0) { 169 int ret = 0 local 211 int ret; local [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/ |
1-2.c | 61 * UNRESOLVED(ret, descr); 62 * where descr is a description of the error and ret is an int (error code for example) 106 int ret, tmp; local 108 if ((ret = pthread_mutex_lock(p_mtx))) { 109 UNRESOLVED(ret, "First mutex lock in deadlk_issue"); 112 if ((ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &tmp))) { 113 UNRESOLVED(ret, "Set cancel type in deadlk_issue"); 115 if ((ret = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &tmp))) { 116 UNRESOLVED(ret, "Set cancel state in deadlk_issue"); 121 if ((ret = sem_post(&semA))) 138 int ret; local 178 int ret; local [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/ |
6-1.c | 49 * UNRESOLVED(ret, descr); 50 * where descr is a description of the error and ret is an int (error code for example) 100 int ret; local 106 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); 108 if (ret != 0) { 109 UNRESOLVED(ret, 116 if ((ret = sem_wait(thearg->sem))) { 123 ret = kill(process, thearg->sig); 125 if (ret != 0) { 168 int ret = 0 local 219 int ret; local [all...] |
/external/zlib/src/examples/ |
fitblk.c | 75 int ret, flush; local 86 ret = deflate(def, flush); 87 assert(ret != Z_STREAM_ERROR); 89 return ret; 98 int ret, flush; local 106 ret = inflate(inf, Z_NO_FLUSH); 107 assert(ret != Z_STREAM_ERROR && ret != Z_DATA_ERROR && 108 ret != Z_NEED_DICT); 109 if (ret == Z_MEM_ERROR 129 int ret; \/* return code *\/ local [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
neapi.c | 30 NJ_INT16 ret; local 47 ret = set_previous_selection(iwnn, r_result); 48 if (ret < 0) { 49 return ret; 71 NJ_INT16 ret; local 88 ret = njd_get_candidate(iwnn, result, buf, buf_size); 93 ret = NJ_SET_ERR_VAL(NJ_FUNC_NJ_GET_CANDIDATE, NJ_ERR_INVALID_RESULT); 97 return ret; 101 NJ_INT16 ret; local 118 ret = njd_get_stroke(iwnn, result, buf, buf_size) 131 NJ_INT16 ret; local 152 NJ_INT16 ret; local [all...] |
/toolchain/binutils/binutils-2.27/zlib/examples/ |
fitblk.c | 75 int ret, flush; local 86 ret = deflate(def, flush); 87 assert(ret != Z_STREAM_ERROR); 89 return ret; 98 int ret, flush; local 106 ret = inflate(inf, Z_NO_FLUSH); 107 assert(ret != Z_STREAM_ERROR && ret != Z_DATA_ERROR && 108 ret != Z_NEED_DICT); 109 if (ret == Z_MEM_ERROR 129 int ret; \/* return code *\/ local [all...] |
/external/llvm/test/MC/MachO/ |
x86_32-optimal_nop.s | 5 ret 9 ret 12 ret 13 ret 17 ret 20 ret 24 ret 27 ret 28 ret 29 ret [all...] |
/external/swiftshader/third_party/LLVM/test/MC/MachO/ |
x86_32-optimal_nop.s | 5 ret 9 ret 12 ret 13 ret 17 ret 20 ret 24 ret 27 ret 28 ret 29 ret [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_equal/ |
2-1.c | 50 * UNRESOLVED(ret, descr); 51 * where descr is a description of the error and ret is an int (error code for example) 101 int ret; local 107 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); 108 if (ret != 0) { 109 UNRESOLVED(ret, 115 if ((ret = sem_wait(thearg->sem))) { 121 ret = kill(process, thearg->sig); 122 if (ret != 0) { 154 int ret = 0 local 188 int ret; local [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/ |
4-1.c | 52 * UNRESOLVED(ret, descr); 53 * where descr is a description of the error and ret is an int 162 int ret, status; local 166 ret = pthread_mutex_lock(&mtx); 168 if (ret != 0) { 169 UNRESOLVED(ret, "Failed to lock mutex"); 172 ret = pthread_mutex_unlock(&mtx); 174 if (ret != 0) { 175 UNRESOLVED(ret, "Failed to unlock mutex"); 217 int ret; local [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
14-1.c | 56 int ret, status; local 75 ret = sem_unlink("/fork_14_1b"); 77 if (ret != 0) { 91 ret = sem_post(sem_linked); 93 while ((ret != 0) && (errno == EINTR)); 95 if (ret != 0) { 100 ret = sem_post(sem_unlinked); 102 while ((ret != 0) && (errno == EINTR)); 104 if (ret != 0) { 125 ret = sem_trywait(sem_linked) [all...] |
22-1.c | 51 int ret, status; local 77 ret = clock_getcpuclockid(0, &clp); 79 if (ret != 0) { 80 UNRESOLVED(ret, 85 ret = clock_gettime(clp, &tp); 87 if (ret != 0) { 96 ret = pthread_getcpuclockid(pthread_self(), &clt); 98 if (ret != 0) { 99 UNRESOLVED(ret, 104 ret = clock_gettime(clt, &tp) [all...] |
/external/autotest/client/tests/aio_dio_bugs/src/ |
aio-dio-subblock-eof-read.c | 38 int ret; local 54 ret = ftruncate(fd, FILE_SIZE); 55 if (ret < 0) 59 ret = read(fd, buffer, 4096); 60 if (ret != FILE_SIZE) 61 fail("buffered read returned %d, should be 300\n", ret); 74 ret = io_queue_init(1, &ioctx); 75 if (ret != 0) 76 fail("io_queue_init returned error %d\n", ret); 78 ret = io_submit(ioctx, 1, &cb) [all...] |
/external/avb/test/ |
avb_unittest_util.cc | 28 std::string ret; local 31 ret.push_back(digits[data[n] >> 4]); 32 ret.push_back(digits[data[n] & 0x0f]); 34 return ret;
|
/external/libchrome/base/files/ |
scoped_file.cc | 32 int ret = IGNORE_EINTR(close(fd)); local 44 if (ret != 0 && errno != EBADF) 45 ret = 0; 48 PCHECK(0 == ret);
|