/external/ltp/testcases/kernel/sched/hyperthreading/ht_enabled/ |
ht_enabled.c | 24 int ret_val = 1; local 29 ret_val = check_ht_capability(); 31 return ret_val;
|
/art/test/485-checker-dce-switch/src/ |
Main.java | 172 int ret_val = wholeSwitchDead(10); local 173 if (ret_val != 100) { 174 throw new Error("Incorrect return value from wholeSwitchDead:" + ret_val); 177 ret_val = constantSwitch_InRange(); 178 if (ret_val != 7) { 179 throw new Error("Incorrect return value from constantSwitch_InRange:" + ret_val); 182 ret_val = constantSwitch_AboveRange(); 183 if (ret_val != 15) { 184 throw new Error("Incorrect return value from constantSwitch_AboveRange:" + ret_val); 187 ret_val = constantSwitch_BelowRange() [all...] |
/external/libcxxabi/test/ |
test_aux_runtime_op_array_new.pass.cpp | 32 int ret_val = 0; local 36 ret_val = 1; 39 return ret_val;
|
test_aux_runtime.pass.cpp | 53 int ret_val = 0; local 57 ret_val = 1; 62 ret_val = 1; 65 return ret_val;
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/ |
test_aux_runtime_op_array_new.pass.cpp | 30 int ret_val = 0; local 34 ret_val = 1; 37 return ret_val;
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++abi/test/ |
test_aux_runtime_op_array_new.pass.cpp | 30 int ret_val = 0; local 34 ret_val = 1; 37 return ret_val;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setdetachstate/ |
4-1.c | 27 int ret_val, invalid_val; local 37 ret_val = pthread_attr_setdetachstate(&new_attr, invalid_val); 39 if (ret_val != EINVAL) { 40 printf("Test FAILED: Returned %d instead of EINVAL\n", ret_val);
|
2-1.c | 39 int ret_val; local 62 ret_val = pthread_join(new_th, NULL); 64 if (ret_val != EINVAL) { 69 ret_val = pthread_detach(new_th); 71 if (ret_val != EINVAL) {
|
/external/webrtc/webrtc/system_wrappers/source/ |
condition_variable.cc | 27 ConditionVariableWrapper* ret_val = ConditionVariableNativeWin::Create(); local 28 if (!ret_val) { 31 ret_val = new ConditionVariableEventWin(); 33 return ret_val;
|
rw_lock_posix.cc | 23 RWLockPosix* ret_val = new RWLockPosix(); local 24 if (!ret_val->Init()) { 25 delete ret_val; 28 return ret_val;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_init/ |
2-1.c | 57 int ret_val; local 77 ret_val = pthread_detach(new_th); 79 if (ret_val != 0) { 81 if (ret_val == EINVAL) { 88 ret_val);
|
/external/eigen/blas/f2c/ |
lsame.c | 18 logical ret_val; local 54 ret_val = *(unsigned char *)ca == *(unsigned char *)cb; 55 if (ret_val) { 56 return ret_val; 109 ret_val = inta == intb; 115 return ret_val;
|
/prebuilts/ndk/r11/sources/cxx-stl/gabi++/tests/ |
test_aux_runtime.cpp | 51 int ret_val = 0; local 55 ret_val = 1; 60 ret_val = 1; 63 return ret_val;
|
/prebuilts/ndk/r13/sources/cxx-stl/gabi++/tests/ |
test_aux_runtime.cpp | 51 int ret_val = 0; local 55 ret_val = 1; 60 ret_val = 1; 63 return ret_val;
|
/cts/hostsidetests/security/securityPatch/CVE-2017-0579/ |
poc.c | 34 int ret_val; local 36 ret_val = ioctl(file_desc, request, param); 38 if (ret_val < 0) { 39 return ret_val; 41 return ret_val; 46 int ret_val; local 67 ret_val = call_ioctl(file_desc, MSMFB_CURSOR, &cursor ); 68 if(ret_val < 0) { 69 return ret_val; 75 return ret_val; 80 int file_desc, ret_val; local [all...] |
/external/e2fsprogs/lib/ss/ |
error.c | 25 register char *ret_val; local 30 ret_val = malloc((unsigned) 33 if (ret_val == (char *)NULL) 35 strcpy(ret_val, infop->subsystem_name); 36 return(ret_val); 41 ret_val = malloc((unsigned)sizeof(char) * 45 cp = ret_val; 56 return(ret_val);
|
/external/ltp/testcases/kernel/syscalls/waitpid/ |
waitpid08.c | 149 int ret_val; local 163 ret_val = FORK_OR_VFORK(); 164 if (ret_val == 0) { 169 exit(ret_val); 176 if (ret_val < 0) { 179 exit(ret_val); 183 fork_kid_pid[kid_count] = ret_val; 189 ret_val = waitpid(-1, &status, WNOHANG | WUNTRACED); 190 if (ret_val != 0) { 192 tst_resm(TFAIL, "Expected 0 got %d", ret_val); [all...] |
waitpid12.c | 71 int kid_count, ret_val, status; local 123 ret_val = FORK_OR_VFORK(); 124 if (ret_val == 0) { 134 if (ret_val < 0) 139 fork_kid_pid[kid_count] = ret_val; 143 ret_val = waitpid(0, &status, WNOHANG); 144 if (ret_val != 0) { 146 tst_resm(TFAIL, "Expected 0 got %d", ret_val); 168 while (((ret_val = waitpid(0, &status, WNOHANG)) != -1) || 170 if ((ret_val == -1) || (ret_val == 0) [all...] |
waitpid13.c | 71 int kid_count, ret_val, status; local 123 ret_val = FORK_OR_VFORK(); 124 if (ret_val == 0) { 136 if (ret_val < 0) 141 fork_kid_pid[kid_count] = ret_val; 145 ret_val = waitpid(0, &status, WNOHANG | WUNTRACED); 146 if (ret_val != 0) { 149 tst_resm(TFAIL, "Expected 0 got %d", ret_val); 173 while (((ret_val = waitpid(0, &status, WUNTRACED)) != -1) || 175 if (ret_val == -1 [all...] |
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
loc.cpp | 165 const GpsInterface* ret_val; local 176 ret_val = NULL; 178 ret_val = &sLocEngInterface; 183 EXIT_LOG(%p, ret_val); 184 return ret_val; 330 int ret_val = loc_eng_start(loc_afw_data); local 332 EXIT_LOG(%d, ret_val); 333 return ret_val; 355 int ret_val = -1; local 356 ret_val = loc_eng_stop(loc_afw_data) 385 int ret_val = -1; local 426 int ret_val = 0; local 475 int ret_val = 0; local 565 const void* ret_val = NULL; local 660 int ret_val = loc_eng_agps_open(loc_afw_data, agpsType, apn, bearerType); local 687 int ret_val = loc_eng_agps_closed(loc_afw_data, agpsType); local 714 int ret_val = loc_eng_agps_open_failed(loc_afw_data, agpsType); local 752 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port); local 778 int ret_val = loc_eng_xtra_init(loc_afw_data, (GpsXtraExtCallbacks*)callbacks); local 804 int ret_val = -1; local [all...] |
/external/syslinux/gpxe/src/drivers/net/e1000/ |
e1000_hw.c | 217 uint32_t ret_val; local 227 ret_val = e1000_read_phy_reg(hw, 0x2F5B, &phy_saved_data); 546 int32_t ret_val; local 701 ret_val = e1000_get_auto_rd_done(hw); 702 if (ret_val) 703 return ret_val; 891 int32_t ret_val; local 1113 int32_t ret_val; local 1159 int32_t ret_val; local 1296 int32_t ret_val; local 1439 int32_t ret_val; local 1499 int32_t ret_val; local 1649 int32_t ret_val; local 1797 int32_t ret_val; local 1901 int32_t ret_val; local 1972 int32_t ret_val; local 2010 int32_t ret_val; local 2124 int32_t ret_val = E1000_SUCCESS; local 2160 int32_t ret_val = E1000_SUCCESS; local 2197 int32_t ret_val; local 2347 int32_t ret_val; local 2628 int32_t ret_val; local 2753 int32_t ret_val; local 2964 int32_t ret_val; local 3197 int32_t ret_val; local 3276 int32_t ret_val; local 3528 uint32_t ret_val; local 3666 uint32_t ret_val; local 3852 int32_t ret_val; local 3945 int32_t ret_val; local 4050 int32_t ret_val; local 4103 int32_t phy_init_status, ret_val; local 4202 int32_t ret_val; local 4230 int32_t ret_val; local 4307 int32_t ret_val; local 4357 int32_t ret_val; local 4436 int32_t ret_val; local 4504 int32_t ret_val = E1000_SUCCESS; local 5790 int32_t ret_val; local 6232 int32_t ret_val = E1000_SUCCESS; local 6325 int32_t ret_val = E1000_SUCCESS; local 6715 int32_t ret_val; local 6820 int32_t ret_val; local 7010 int32_t ret_val; local 7085 int32_t ret_val; local 7132 int32_t ret_val; local 7319 int32_t ret_val; local 7366 int32_t ret_val; local 7496 int32_t ret_val; local 7585 int32_t ret_val; local 7859 int32_t ret_val; local 7912 int32_t ret_val, checksum; local 7978 int32_t ret_val; local 9080 uint32_t ret_val = E1000_SUCCESS; local 9121 uint32_t reg_data, cnf_base_addr, cnf_size, ret_val, loop; local [all...] |
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
loc.cpp | 201 const GpsInterface* ret_val; local 212 ret_val = NULL; 214 ret_val = &sLocEngInterface; 219 EXIT_LOG(%p, ret_val); 220 return ret_val; 454 int ret_val = loc_eng_start(loc_afw_data); local 456 EXIT_LOG(%d, ret_val); 457 return ret_val; 479 int ret_val = -1; local 480 ret_val = loc_eng_stop(loc_afw_data) 509 int ret_val = -1; local 550 int ret_val = 0; local 587 int ret_val = 0; local 696 const void* ret_val = NULL; local 795 int ret_val = loc_eng_agps_open(loc_afw_data, agpsType, apn, bearerType); local 839 int ret_val = loc_eng_agps_open(loc_afw_data, agpsType, apn, bearerType); local 866 int ret_val = loc_eng_agps_closed(loc_afw_data, agpsType); local 893 int ret_val = loc_eng_agps_open_failed(loc_afw_data, agpsType); local 931 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port); local 957 int ret_val = loc_eng_xtra_init(loc_afw_data, (GpsXtraExtCallbacks*)callbacks); local 983 int ret_val = -1; local 1012 int ret_val = loc_eng_gps_measurement_init(loc_afw_data, local 1124 int ret_val = loc_eng_agps_install_certificates(loc_afw_data, certificates, length); local 1133 int ret_val = AGPS_CERTIFICATE_ERROR_GENERIC; local [all...] |
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
loc.cpp | 202 const GpsInterface* ret_val; local 213 ret_val = NULL; 215 ret_val = &sLocEngInterface; 220 EXIT_LOG(%p, ret_val); 221 return ret_val; 387 int ret_val = loc_eng_start(loc_afw_data); local 389 EXIT_LOG(%d, ret_val); 390 return ret_val; 412 int ret_val = -1; local 413 ret_val = loc_eng_stop(loc_afw_data) 442 int ret_val = -1; local 483 int ret_val = 0; local 513 int ret_val = 0; local 601 const void* ret_val = NULL; local 691 int ret_val = loc_eng_agps_open(loc_afw_data, agpsType, apn, bearerType); local 735 int ret_val = loc_eng_agps_open(loc_afw_data, agpsType, apn, bearerType); local 762 int ret_val = loc_eng_agps_closed(loc_afw_data, agpsType); local 789 int ret_val = loc_eng_agps_open_failed(loc_afw_data, agpsType); local 827 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port); local 856 int ret_val = loc_eng_xtra_init(loc_afw_data, &extCallbacks); local 882 int ret_val = -1; local 911 int ret_val = loc_eng_gps_measurement_init(loc_afw_data, local 1091 int ret_val = loc_eng_agps_install_certificates(loc_afw_data, certificates, length); local 1100 int ret_val = AGPS_CERTIFICATE_ERROR_GENERIC; local [all...] |
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
loc.cpp | 198 const GpsInterface* ret_val; local 209 ret_val = NULL; 211 ret_val = &sLocEngInterface; 216 EXIT_LOG(%p, ret_val); 217 return ret_val; 387 int ret_val = loc_eng_start(loc_afw_data); local 389 EXIT_LOG(%d, ret_val); 390 return ret_val; 412 int ret_val = -1; local 413 ret_val = loc_eng_stop(loc_afw_data) 442 int ret_val = -1; local 483 int ret_val = 0; local 513 int ret_val = 0; local 604 const void* ret_val = NULL; local 699 int ret_val = loc_eng_agps_open(loc_afw_data, agpsType, apn, bearerType); local 743 int ret_val = loc_eng_agps_open(loc_afw_data, agpsType, apn, bearerType); local 770 int ret_val = loc_eng_agps_closed(loc_afw_data, agpsType); local 797 int ret_val = loc_eng_agps_open_failed(loc_afw_data, agpsType); local 835 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port); local 864 int ret_val = loc_eng_xtra_init(loc_afw_data, &extCallbacks); local 890 int ret_val = -1; local 919 int ret_val = loc_eng_gps_measurement_init(loc_afw_data, local 1031 int ret_val = loc_eng_agps_install_certificates(loc_afw_data, certificates, length); local 1040 int ret_val = AGPS_CERTIFICATE_ERROR_GENERIC; local [all...] |
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
loc.cpp | 198 const GpsInterface* ret_val; local 209 ret_val = NULL; 211 ret_val = &sLocEngInterface; 216 EXIT_LOG(%p, ret_val); 217 return ret_val; 383 int ret_val = loc_eng_start(loc_afw_data); local 385 EXIT_LOG(%d, ret_val); 386 return ret_val; 408 int ret_val = -1; local 409 ret_val = loc_eng_stop(loc_afw_data) 438 int ret_val = -1; local 479 int ret_val = 0; local 509 int ret_val = 0; local 597 const void* ret_val = NULL; local 692 int ret_val = loc_eng_agps_open(loc_afw_data, agpsType, apn, bearerType); local 736 int ret_val = loc_eng_agps_open(loc_afw_data, agpsType, apn, bearerType); local 763 int ret_val = loc_eng_agps_closed(loc_afw_data, agpsType); local 790 int ret_val = loc_eng_agps_open_failed(loc_afw_data, agpsType); local 828 int ret_val = loc_eng_set_server_proxy(loc_afw_data, serverType, hostname, port); local 857 int ret_val = loc_eng_xtra_init(loc_afw_data, &extCallbacks); local 883 int ret_val = -1; local 912 int ret_val = loc_eng_gps_measurement_init(loc_afw_data, local 1024 int ret_val = loc_eng_agps_install_certificates(loc_afw_data, certificates, length); local 1033 int ret_val = AGPS_CERTIFICATE_ERROR_GENERIC; local [all...] |