/third_party/libxml2/ |
D | testapi.c | 1304 int ret_val; in test_UTF8ToHtml() local 1324 ret_val = UTF8ToHtml(out, outlen, (const unsigned char *)in, inlen); in test_UTF8ToHtml() 1325 desret_int(ret_val); in test_UTF8ToHtml() 1369 htmlStatus ret_val; in test_htmlAttrAllowed() local 1385 ret_val = htmlAttrAllowed((const htmlElemDesc *)elt, (const xmlChar *)attr, legacy); in test_htmlAttrAllowed() 1386 desret_htmlStatus(ret_val); in test_htmlAttrAllowed() 1427 int ret_val; in test_htmlAutoCloseTag() local 1443 ret_val = htmlAutoCloseTag(doc, (const xmlChar *)name, elem); in test_htmlAutoCloseTag() 1444 desret_int(ret_val); in test_htmlAutoCloseTag() 1475 htmlParserCtxtPtr ret_val; in test_htmlCreateMemoryParserCtxt() local [all …]
|
/third_party/ltp/testcases/kernel/syscalls/fmtmsg/ |
D | fmtmsg01.c | 77 int fd, ret_val; in main() local 90 ret_val = fmtmsg(MM_PRINT | MM_SOFT, "LTP:fmtmsg", MM_INFO, in main() 96 if (ret_val != 0) { in main() 97 fprintf(temp, "fmtmsg returned %d, expected 0\n\n", ret_val); in main() 133 ret_val = addseverity(3, "INVALID"); in main() 134 if (ret_val != MM_NOTOK) { in main() 136 ret_val); in main() 147 ret_val = addseverity(5, "LTP_TEST"); in main() 148 if (ret_val != MM_OK) { in main() 150 ret_val); in main() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/nftw/ |
D | test.c | 192 int ret_val; in test4A() local 199 if ((ret_val = nftw(path, test_func4, MAX_FD, FTW_DEPTH)) == -1) { in test4A() 204 if (ret_val != 999) { in test4A() 228 int ret_val; in test5A() local 235 if ((ret_val = nftw(path, test_func4, MAX_FD, 0)) == -1) { in test5A() 240 if (ret_val != 999) { in test5A() 264 int ret_val; in test6A() local 278 ret_val = nftw(path, test_func5, MAX_FD, FTW_CHDIR); in test6A() 279 if (ret_val == -1) { in test6A() 284 if ((ret_val == 998) || (ret_val == 999)) { in test6A() [all …]
|
D | test64.c | 191 int ret_val; in test4A() local 199 if ((ret_val = nftw64(path, test_func4, MAX_FD, FTW_DEPTH)) == -1) { in test4A() 204 if (ret_val != 999) { in test4A() 228 int ret_val; in test5A() local 236 if ((ret_val = nftw64(path, test_func4, MAX_FD, 0)) == -1) { in test5A() 241 if (ret_val != 999) { in test5A() 265 int ret_val; in test6A() local 280 ret_val = nftw64(path, test_func5, MAX_FD, FTW_CHDIR); in test6A() 281 if (ret_val == -1) { in test6A() 286 if ((ret_val == 998) || (ret_val == 999)) { in test6A() [all …]
|
/third_party/jerryscript/jerry-main/ |
D | main-unix.c | 296 jerry_value_t ret_val = jerry_parse (resource_name_p, in wait_for_source_callback() local 302 if (!jerry_value_is_error (ret_val)) in wait_for_source_callback() 304 jerry_value_t func_val = ret_val; in wait_for_source_callback() 305 ret_val = jerry_run (func_val); in wait_for_source_callback() 309 return ret_val; in wait_for_source_callback() 903 jerry_value_t ret_val = jerry_parse (NULL, in main() local 909 if (!jerry_value_is_error (ret_val)) in main() 911 jerry_value_t func_val = ret_val; in main() 912 ret_val = jerry_run (func_val); in main() 916 if (!jerry_value_is_error (ret_val)) in main() [all …]
|
/third_party/jerryscript/targets/zephyr/src/ |
D | main-zephyr.c | 49 jerry_value_t ret_val; in shell_cmd_handler() local 51 ret_val = jerry_eval ((jerry_char_t *) source_buffer, in shell_cmd_handler() 55 if (jerry_value_is_error (ret_val)) in shell_cmd_handler() 63 ret_val = jerry_get_value_from_error (ret_val, true); in shell_cmd_handler() 70 &ret_val, in shell_cmd_handler() 75 jerry_release_value (ret_val); in shell_cmd_handler()
|
/third_party/selinux/libselinux/src/ |
D | setrans_client.c | 128 receive_response(int fd, uint32_t function, char **outdata, int32_t * ret_val) in receive_response() argument 144 resp_hdr[2].iov_base = ret_val; in receive_response() 145 resp_hdr[2].iov_len = sizeof(*ret_val); in receive_response() 148 if (count != (sizeof(func) + sizeof(data_size) + sizeof(*ret_val))) { in receive_response() 178 int32_t ret_val; in raw_to_trans_context() local 191 ret = receive_response(fd, RAW_TO_TRANS_CONTEXT, transp, &ret_val); in raw_to_trans_context() 195 ret = ret_val; in raw_to_trans_context() 204 int32_t ret_val; in trans_to_raw_context() local 216 ret = receive_response(fd, TRANS_TO_RAW_CONTEXT, rawp, &ret_val); in trans_to_raw_context() 220 ret = ret_val; in trans_to_raw_context() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/kill/ |
D | kill12.c | 78 int ret_val = 0; in main() local 120 ret_val = 1; in main() 148 ret_val = 1; in main() 154 ret_val = 1; in main() 167 ret_val = 1; in main() 173 ret_val = 1; in main() 177 if (ret_val) in main()
|
/third_party/ltp/testcases/kernel/fs/inode/ |
D | inode01.c | 105 int ret_val; in main() local 137 ret_val = mkdir(path_string, DIRECTORY_MODE); in main() 139 if (ret_val == -1) { in main() 306 int ret_val = 0; in generate() local 403 ret_val = mkdir(new_string, DIRECTORY_MODE); in generate() 405 if (ret_val != 0) { in generate() 435 if (new_ret_val < ret_val) in generate() 436 ret_val = new_ret_val; in generate() 446 return (ret_val); in generate() 653 int ret_val, mod; in mode() local [all …]
|
D | inode02.c | 242 int ret_val; in tree() local 258 ret_val = mkdir(path_string, DIRECTORY_MODE); in tree() 260 if (ret_val == -1) { in tree() 403 int ret_val = 0; in generate() local 503 ret_val = mkdir(new_string, DIRECTORY_MODE); in generate() 505 if (ret_val != 0) { in generate() 536 if (new_ret_val < ret_val) in generate() 537 ret_val = new_ret_val; in generate() 547 return (ret_val); in generate() 755 int ret_val, mod; in mode() local [all …]
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setdetachstate/ |
D | 2-1.c | 39 int ret_val; in main() local 62 ret_val = pthread_join(new_th, NULL); in main() 64 if (ret_val != EINVAL) { in main() 69 ret_val = pthread_detach(new_th); in main() 71 if (ret_val != EINVAL) { in main()
|
D | 4-1.c | 27 int ret_val, invalid_val; in main() local 37 ret_val = pthread_attr_setdetachstate(&new_attr, invalid_val); in main() 39 if (ret_val != EINVAL) { in main() 40 printf("Test FAILED: Returned %d instead of EINVAL\n", ret_val); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_init/ |
D | 2-1.c | 57 int ret_val; in main() local 77 ret_val = pthread_detach(new_th); in main() 79 if (ret_val != 0) { in main() 81 if (ret_val == EINVAL) { in main() 88 ret_val); in main()
|
/third_party/rust/crates/clap/src/output/ |
D | usage.rs | 303 let mut ret_val = Vec::new(); in get_args() localVariable 305 ret_val.extend(required_opts); in get_args() 306 ret_val.extend(required_groups); in get_args() 309 ret_val.push(pos); in get_args() 312 debug!("Usage::get_args: ret_val={:?}", ret_val); in get_args() 313 ret_val in get_args() 431 let mut ret_val = Vec::new(); in get_required_usage_from() localVariable 432 ret_val.extend(required_opts); in get_required_usage_from() 433 ret_val.extend(required_groups); in get_required_usage_from() 435 ret_val.push(pos); in get_required_usage_from() [all …]
|
/third_party/openh264/codec/encoder/core/mips/ |
D | score_mmi.c | 57 int ret_val = 0; in WelsGetNoneZeroCount_mmi() local 80 : [ret_val] "=r"((int)ret_val) in WelsGetNoneZeroCount_mmi() 85 return ret_val; in WelsGetNoneZeroCount_mmi()
|
/third_party/ltp/lib/ |
D | tst_tmpdir.c | 132 int ret_val = 0; in purge_dir() local 171 ret_val = -1; in purge_dir() 175 return ret_val; in purge_dir() 180 int ret_val = 0; in rmobj() local 188 ret_val = purge_dir(obj, errmsg); in rmobj() 192 if (ret_val == -1) in rmobj()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/typedarray/ |
D | ecma-builtin-typedarray.c | 149 ecma_value_t ret_val = ecma_typedarray_create_object_with_length (arguments_list_len, in ecma_builtin_typedarray_of() local 155 if (ECMA_IS_VALUE_ERROR (ret_val)) in ecma_builtin_typedarray_of() 157 return ret_val; in ecma_builtin_typedarray_of() 161 ecma_object_t *ret_obj_p = ecma_get_object_from_value (ret_val); in ecma_builtin_typedarray_of() 182 return ret_val; in ecma_builtin_typedarray_of()
|
/third_party/jerryscript/jerry-ext/handler/ |
D | handler-print.c | 50 jerry_value_t ret_val = jerry_create_undefined (); in jerryx_handler_print() local 68 ret_val = str_val; in jerryx_handler_print() 122 if (args_cnt == 0 || jerry_value_is_error (ret_val)) in jerryx_handler_print() 127 return ret_val; in jerryx_handler_print()
|
/third_party/node/test/js-native-api/ |
D | common.h | 21 #define NAPI_ASSERT_BASE(env, assertion, message, ret_val) \ argument 28 return ret_val; \ 42 #define NAPI_CALL_BASE(env, the_call, ret_val) \ argument 46 return ret_val; \
|
/third_party/ltp/testcases/kernel/sched/hyperthreading/ht_enabled/ |
D | ht_enabled.c | 24 int ret_val = 1; in main() local 29 ret_val = check_ht_capability(); in main() 31 return ret_val; in main()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-array.c | 417 ecma_value_t ret_val = ecma_op_function_construct (ecma_get_object_from_value (this_arg), in ecma_builtin_array_object_of() local 422 if (ECMA_IS_VALUE_ERROR (ret_val)) in ecma_builtin_array_object_of() 425 return ret_val; in ecma_builtin_array_object_of() 429 ecma_object_t *obj_p = ecma_get_object_from_value (ret_val); in ecma_builtin_array_object_of() 449 ret_val = ecma_op_object_put (obj_p, in ecma_builtin_array_object_of() 456 if (ECMA_IS_VALUE_ERROR (ret_val)) in ecma_builtin_array_object_of() 459 return ret_val; in ecma_builtin_array_object_of()
|
/third_party/jerryscript/tests/benchmarks/jerry/ |
D | function_loop.js | 30 var ret_val = cached_n_cached + cached_n_cached; 33 return ret_val + ret_val;
|
/third_party/ltp/testcases/kernel/tracing/ftrace_test/ftrace_stress/ |
D | ftrace_trace_options.sh | 35 ret_val=0 48 ret_val=$? 51 if [ $ret_val -ne 0 ]; then
|
/third_party/googletest/googletest/samples/ |
D | sample9_unittest.cc | 133 int ret_val = RUN_ALL_TESTS(); in main() local 153 ret_val = 0; in main() 155 return ret_val; in main()
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
D | ecma-lex-env.c | 347 ecma_value_t ret_val; in ecma_op_delete_binding() local 351 ret_val = ECMA_VALUE_TRUE; in ecma_op_delete_binding() 359 ret_val = ECMA_VALUE_FALSE; in ecma_op_delete_binding() 365 ret_val = ECMA_VALUE_TRUE; in ecma_op_delete_binding() 369 return ret_val; in ecma_op_delete_binding()
|