Home
last modified time | relevance | path

Searched refs:ret_val (Results 1 – 25 of 115) sorted by relevance

12345

/third_party/boost/libs/type_traits/test/
Dhas_binary_classes.hpp10 ret ret_val; variable
16 ret operator+(C001, C001) { return ret_val; } in operator +()
19 ret const operator+(C002, C002) { return ret_val; } in operator +()
22 ret & operator+(C005, C005) { return ret_val; } in operator +()
25 ret const & operator+(C006, C006) { return ret_val; } in operator +()
31 ret operator+(C010, C010 const) { return ret_val; } in operator +()
34 ret const operator+(C011, C011 const) { return ret_val; } in operator +()
37 ret & operator+(C014, C014 const) { return ret_val; } in operator +()
40 ret const & operator+(C015, C015 const) { return ret_val; } in operator +()
46 ret operator+(C037, C037 &) { return ret_val; } in operator +()
[all …]
Dhas_postfix_classes.hpp10 ret ret_val; variable
16 ret operator++(C001, int) { return ret_val; } in operator ++()
19 ret const operator++(C002, int) { return ret_val; } in operator ++()
22 ret & operator++(C005, int) { return ret_val; } in operator ++()
25 ret const & operator++(C006, int) { return ret_val; } in operator ++()
31 ret operator++(C010 const, int) { return ret_val; } in operator ++()
34 ret const operator++(C011 const, int) { return ret_val; } in operator ++()
37 ret & operator++(C014 const, int) { return ret_val; } in operator ++()
40 ret const & operator++(C015 const, int) { return ret_val; } in operator ++()
46 ret operator++(C037 &, int) { return ret_val; } in operator ++()
[all …]
Dhas_prefix_classes.hpp10 ret ret_val; variable
16 ret operator++(C001) { return ret_val; } in operator ++()
19 ret const operator++(C002) { return ret_val; } in operator ++()
22 ret & operator++(C005) { return ret_val; } in operator ++()
25 ret const & operator++(C006) { return ret_val; } in operator ++()
31 ret operator++(C010 const) { return ret_val; } in operator ++()
34 ret const operator++(C011 const) { return ret_val; } in operator ++()
37 ret & operator++(C014 const) { return ret_val; } in operator ++()
40 ret const & operator++(C015 const) { return ret_val; } in operator ++()
46 ret operator++(C037 &) { return ret_val; } in operator ++()
[all …]
/third_party/mindspore/tests/ut/cpp/pipeline/parse/
Dparser_test.cc102 FuncGraphPtr ret_val = ParsePythonCode(fn); in TEST_F() local
103 ASSERT_TRUE(nullptr != ret_val); in TEST_F()
109 FuncGraphPtr ret_val = ParsePythonCode(fn); in TEST_F() local
110 ASSERT_TRUE(nullptr != ret_val); in TEST_F()
116 FuncGraphPtr ret_val = ParsePythonCode(fn); in TEST_F() local
117 ASSERT_TRUE(nullptr != ret_val); in TEST_F()
123 FuncGraphPtr ret_val = ParsePythonCode(fn); in TEST_F() local
124 ASSERT_TRUE(nullptr != ret_val); in TEST_F()
128 FuncGraphPtr ret_val; in TEST_F() local
130 ret_val = ParsePythonCode(fn); in TEST_F()
[all …]
/third_party/libxml2/
Dtestapi.c1304 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/
Dfmtmsg01.c77 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/e2fsprogs/lib/ss/
Derror.c25 register char *ret_val; in ss_name() local
30 ret_val = malloc((unsigned) in ss_name()
33 if (ret_val == (char *)NULL) in ss_name()
35 strcpy(ret_val, infop->subsystem_name); in ss_name()
36 return(ret_val); in ss_name()
41 ret_val = malloc((unsigned)sizeof(char) * in ss_name()
45 if (ret_val == (char *)NULL) in ss_name()
47 cp = ret_val; in ss_name()
58 return(ret_val); in ss_name()
/third_party/ltp/testcases/kernel/syscalls/nftw/
Dtest.c192 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 …]
Dtest64.c191 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/
Dmain-unix.c296 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/
Dmain-zephyr.c49 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/gettext/gettext-tools/src/
Dopen-catalog.c49 FILE *ret_val; in try_open_catalog_file() local
71 ret_val = fopen (file_name, "r"); in try_open_catalog_file()
72 if (ret_val != NULL || errno != ENOENT) in try_open_catalog_file()
76 return ret_val; in try_open_catalog_file()
90 ret_val = fopen (file_name, "r"); in try_open_catalog_file()
91 if (ret_val != NULL || errno != ENOENT) in try_open_catalog_file()
95 return ret_val; in try_open_catalog_file()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setdetachstate/
D2-1.c39 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()
D4-1.c27 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/
D2-1.c57 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/ltp/testcases/kernel/syscalls/kill/
Dkill12.c78 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/boost/boost/polygon/detail/
Dvoronoi_ctypes.hpp361 extended_int ret_val = *this; in operator -() local
362 ret_val.neg(); in operator -()
363 return ret_val; in operator -()
371 extended_int ret_val; in operator +() local
372 ret_val.add(*this, that); in operator +()
373 return ret_val; in operator +()
395 extended_int ret_val; in operator -() local
396 ret_val.dif(*this, that); in operator -()
397 return ret_val; in operator -()
430 extended_int ret_val; in operator *() local
[all …]
/third_party/selinux/libselinux/src/
Dsetrans_client.c128 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/boost/boost/algorithm/cxx11/
Dpartition_point.hpp37 ForwardIterator ret_val = first; in partition_point() local
38 std::advance (ret_val, d2); in partition_point()
39 if (p (*ret_val)) { in partition_point()
40 first = ++ret_val; in partition_point()
44 last = ret_val; in partition_point()
/third_party/ltp/testcases/kernel/fs/inode/
Dinode01.c105 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 …]
Dinode02.c242 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/mindspore/mindspore/lite/src/delegate/nnrt/
Dnnrt_model_kernel.cc20 lite::STATUS ret_val = PrepareInputs(); in Execute() local
21 if (ret_val != lite::RET_OK) { in Execute()
22 MS_LOG(ERROR) << "NNRTModelKernel PrepareInputs failed, STATUS is " << ret_val; in Execute()
23 return ret_val; in Execute()
25 ret_val = TransferOutputs(); in Execute()
26 if (ret_val != lite::RET_OK) { in Execute()
27 MS_LOG(ERROR) << "NNRTModelKernel TransferOutputs failed, STATUS is " << ret_val; in Execute()
28 return ret_val; in Execute()
/third_party/openh264/codec/encoder/core/mips/
Dscore_mmi.c57 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/jerryscript/jerry-ext/handler/
Dhandler-print.c50 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/ltp/testcases/kernel/sched/hyperthreading/ht_enabled/
Dht_enabled.c24 int ret_val = 1; in main() local
29 ret_val = check_ht_capability(); in main()
31 return ret_val; in main()

12345