Home
last modified time | relevance | path

Searched refs:retcode (Results 26 - 50 of 158) sorted by relevance

1234567

/third_party/node/deps/uv/src/win/
H A Dgetaddrinfo.c92 req->retcode = uv__getaddrinfo_translate_error(err); in uv__getaddrinfo_work()
122 assert(req->retcode == 0); in uv__getaddrinfo_done()
123 req->retcode = UV_EAI_CANCELED; in uv__getaddrinfo_done()
127 if (req->retcode == 0) { in uv__getaddrinfo_done()
143 req->retcode = uv_translate_sys_error(GetLastError()); in uv__getaddrinfo_done()
217 req->retcode = UV_EAI_MEMORY; in uv__getaddrinfo_done()
232 req->getaddrinfo_cb(req, req->retcode, req->addrinfo); in uv__getaddrinfo_done()
279 req->retcode = 0; in uv_getaddrinfo()
388 return req->retcode; in uv_getaddrinfo()
/third_party/curl/lib/
H A Dmprintf.c1061 int retcode; in curl_mvsnprintf() local
1068 retcode = formatf(&info, addbyter, format, ap_save); in curl_mvsnprintf()
1074 DEBUGASSERT(retcode); in curl_mvsnprintf()
1075 retcode--; /* don't count the nul byte */ in curl_mvsnprintf()
1080 return retcode; in curl_mvsnprintf()
1085 int retcode; in curl_msnprintf() local
1088 retcode = curl_mvsnprintf(buffer, maxlength, format, ap_save); in curl_msnprintf()
1090 return retcode; in curl_msnprintf()
1159 int retcode; in curl_msprintf() local
1161 retcode in curl_msprintf()
1179 int retcode; curl_mprintf() local
1190 int retcode; curl_mfprintf() local
1200 int retcode = formatf(&buffer, storebuffer, format, ap_save); curl_mvsprintf() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_do_redirect.c26 volatile int retcode = XDP_REDIRECT; variable
36 int ret = retcode; in xdp_redirect()
58 if (retcode > XDP_PASS) in xdp_redirect()
59 retcode--; in xdp_redirect()
/third_party/curl/docs/examples/
H A Dftpupload.c59 size_t retcode = fread(ptr, size, nmemb, stream); in read_callback() local
61 if(retcode > 0) { in read_callback()
62 nread = (unsigned long)retcode; in read_callback()
66 return retcode; in read_callback()
/third_party/curl/lib/vtls/
H A Dmbedtls.c880 CURLcode retcode = CURLE_OK; local
915 retcode = Curl_ssl_addsessionid(cf, data, our_ssl_sessionid,
922 if(retcode) {
924 return retcode;
1085 CURLcode retcode; local
1106 retcode = mbed_connect_step1(cf, data);
1107 if(retcode)
1108 return retcode;
1161 retcode = mbed_connect_step2(cf, data);
1162 if(retcode || (nonblockin
1200 CURLcode retcode; global() local
[all...]
/kernel/linux/linux-5.10/arch/openrisc/kernel/
H A Dsignal.c36 unsigned char retcode[16]; /* trampoline code */ member
178 /* trampoline - the desired return ip is the retcode itself */ in setup_rt_frame()
179 return_ip = (unsigned long)&frame->retcode; in setup_rt_frame()
184 err |= __put_user(0xa960, (short __user *)(frame->retcode + 0)); in setup_rt_frame()
185 err |= __put_user(__NR_rt_sigreturn, (short __user *)(frame->retcode + 2)); in setup_rt_frame()
186 err |= __put_user(0x20000001, (unsigned long __user *)(frame->retcode + 4)); in setup_rt_frame()
187 err |= __put_user(0x15000000, (unsigned long __user *)(frame->retcode + 8)); in setup_rt_frame()
/kernel/linux/linux-6.6/arch/openrisc/kernel/
H A Dsignal.c34 unsigned char retcode[16]; /* trampoline code */ member
183 /* trampoline - the desired return ip is the retcode itself */ in setup_rt_frame()
184 return_ip = (unsigned long)&frame->retcode; in setup_rt_frame()
189 err |= __put_user(0xa960, (short __user *)(frame->retcode + 0)); in setup_rt_frame()
190 err |= __put_user(__NR_rt_sigreturn, (short __user *)(frame->retcode + 2)); in setup_rt_frame()
191 err |= __put_user(0x20000001, (unsigned long __user *)(frame->retcode + 4)); in setup_rt_frame()
192 err |= __put_user(0x15000000, (unsigned long __user *)(frame->retcode + 8)); in setup_rt_frame()
/third_party/libuv/src/unix/
H A Dgetaddrinfo.c104 req->retcode = uv__getaddrinfo_translate_error(err); in uv__getaddrinfo_work()
129 assert(req->retcode == 0); in uv__getaddrinfo_done()
130 req->retcode = UV_EAI_CANCELED; in uv__getaddrinfo_done()
134 req->cb(req, req->retcode, req->addrinfo); in uv__getaddrinfo_done()
187 req->retcode = 0; in uv_getaddrinfo()
218 return req->retcode; in uv_getaddrinfo()
/third_party/node/deps/uv/src/unix/
H A Dgetaddrinfo.c104 req->retcode = uv__getaddrinfo_translate_error(err); in uv__getaddrinfo_work()
129 assert(req->retcode == 0); in uv__getaddrinfo_done()
130 req->retcode = UV_EAI_CANCELED; in uv__getaddrinfo_done()
134 req->cb(req, req->retcode, req->addrinfo); in uv__getaddrinfo_done()
187 req->retcode = 0; in uv_getaddrinfo()
215 return req->retcode; in uv_getaddrinfo()
/third_party/libdrm/tests/
H A Dhash.c128 int retcode = drmHashLookup(table, key, &retval); in check_table() local
130 switch (retcode) { in check_table()
144 retcode = -1; in check_table()
148 printf("Bad retcode = %d: key = %lu, expected = %p, returned = %p\n", in check_table()
149 retcode, key, value, retval); in check_table()
152 return retcode; in check_table()
/kernel/linux/linux-5.10/drivers/gpu/drm/i810/
H A Di810_dma.c133 int retcode = 0; in i810_map_buffer() local
150 retcode = PTR_ERR(buf_priv->virtual); in i810_map_buffer()
154 return retcode; in i810_map_buffer()
160 int retcode = 0; in i810_unmap_buffer() local
165 retcode = vm_munmap((unsigned long)buf_priv->virtual, in i810_unmap_buffer()
171 return retcode; in i810_unmap_buffer()
179 int retcode = 0; in i810_dma_get_buffer() local
183 retcode = -ENOMEM; in i810_dma_get_buffer()
184 DRM_DEBUG("retcode=%d\n", retcode); in i810_dma_get_buffer()
432 int retcode = 0; i810_dma_init() local
999 int retcode = 0; i810_getbuf() local
[all...]
/third_party/python/Modules/_ssl/
H A Dcert.c78 int retcode; in _ssl_Certificate_public_bytes_impl() local
90 retcode = PEM_write_bio_X509(bio, self->cert); in _ssl_Certificate_public_bytes_impl()
93 retcode = PEM_write_bio_X509_AUX(bio, self->cert); in _ssl_Certificate_public_bytes_impl()
96 retcode = i2d_X509_bio(bio, self->cert); in _ssl_Certificate_public_bytes_impl()
103 if (retcode != 1) { in _ssl_Certificate_public_bytes_impl()
/kernel/linux/linux-5.10/arch/x86/um/
H A Dsignal.c345 char retcode[8]; member
357 char retcode[8]; member
373 restorer = frame->retcode; in setup_signal_stack_sc()
391 err |= __put_user(0xb858, (short __user *)(frame->retcode+0)); in setup_signal_stack_sc()
392 err |= __put_user(__NR_sigreturn, (int __user *)(frame->retcode+2)); in setup_signal_stack_sc()
393 err |= __put_user(0x80cd, (short __user *)(frame->retcode+6)); in setup_signal_stack_sc()
418 restorer = frame->retcode; in setup_signal_stack_si()
437 err |= __put_user(0xb8, (char __user *)(frame->retcode+0)); in setup_signal_stack_si()
438 err |= __put_user(__NR_rt_sigreturn, (int __user *)(frame->retcode+1)); in setup_signal_stack_si()
439 err |= __put_user(0x80cd, (short __user *)(frame->retcode in setup_signal_stack_si()
[all...]
/kernel/linux/linux-5.10/arch/alpha/kernel/
H A Dsignal.c128 unsigned int retcode[3]; member
135 unsigned int retcode[3]; member
346 err |= __put_user(INSN_MOV_R30_R16, frame->retcode+0); in setup_frame()
347 err |= __put_user(INSN_LDI_R0+__NR_sigreturn, frame->retcode+1); in setup_frame()
348 err |= __put_user(INSN_CALLSYS, frame->retcode+2); in setup_frame()
350 r26 = (unsigned long) frame->retcode; in setup_frame()
400 err |= __put_user(INSN_MOV_R30_R16, frame->retcode+0); in setup_rt_frame()
402 frame->retcode+1); in setup_rt_frame()
403 err |= __put_user(INSN_CALLSYS, frame->retcode+2); in setup_rt_frame()
405 r26 = (unsigned long) frame->retcode; in setup_rt_frame()
[all...]
/kernel/linux/linux-6.6/arch/alpha/kernel/
H A Dsignal.c128 unsigned int retcode[3]; member
135 unsigned int retcode[3]; member
347 err |= __put_user(INSN_MOV_R30_R16, frame->retcode+0); in setup_frame()
348 err |= __put_user(INSN_LDI_R0+__NR_sigreturn, frame->retcode+1); in setup_frame()
349 err |= __put_user(INSN_CALLSYS, frame->retcode+2); in setup_frame()
351 r26 = (unsigned long) frame->retcode; in setup_frame()
401 err |= __put_user(INSN_MOV_R30_R16, frame->retcode+0); in setup_rt_frame()
403 frame->retcode+1); in setup_rt_frame()
404 err |= __put_user(INSN_CALLSYS, frame->retcode+2); in setup_rt_frame()
406 r26 = (unsigned long) frame->retcode; in setup_rt_frame()
[all...]
/kernel/linux/linux-6.6/arch/x86/um/
H A Dsignal.c346 char retcode[8]; member
358 char retcode[8]; member
374 restorer = frame->retcode; in setup_signal_stack_sc()
392 err |= __put_user(0xb858, (short __user *)(frame->retcode+0)); in setup_signal_stack_sc()
393 err |= __put_user(__NR_sigreturn, (int __user *)(frame->retcode+2)); in setup_signal_stack_sc()
394 err |= __put_user(0x80cd, (short __user *)(frame->retcode+6)); in setup_signal_stack_sc()
419 restorer = frame->retcode; in setup_signal_stack_si()
438 err |= __put_user(0xb8, (char __user *)(frame->retcode+0)); in setup_signal_stack_si()
439 err |= __put_user(__NR_rt_sigreturn, (int __user *)(frame->retcode+1)); in setup_signal_stack_si()
440 err |= __put_user(0x80cd, (short __user *)(frame->retcode in setup_signal_stack_si()
[all...]
/kernel/linux/linux-5.10/arch/sparc/math-emu/
H A Dmath_32.c165 int retcode = 0; /* assume all succeed */ in do_mathemu() local
183 retcode = do_one_mathemu(insn, &fpt->thread.fsr, fpt->thread.float_regs); in do_mathemu()
184 if (retcode) { in do_mathemu()
190 return retcode; in do_mathemu()
195 retcode = do_one_mathemu(fpt->thread.fpqueue[i].insn, &(fpt->thread.fsr), fpt->thread.float_regs); in do_mathemu()
196 if (!retcode) /* insn failed, no point doing any more */ in do_mathemu()
200 if (retcode) in do_mathemu()
206 return retcode; in do_mathemu()
/kernel/linux/linux-6.6/arch/sparc/math-emu/
H A Dmath_32.c165 int retcode = 0; /* assume all succeed */ in do_mathemu() local
183 retcode = do_one_mathemu(insn, &fpt->thread.fsr, fpt->thread.float_regs); in do_mathemu()
184 if (retcode) { in do_mathemu()
190 return retcode; in do_mathemu()
195 retcode = do_one_mathemu(fpt->thread.fpqueue[i].insn, &(fpt->thread.fsr), fpt->thread.float_regs); in do_mathemu()
196 if (!retcode) /* insn failed, no point doing any more */ in do_mathemu()
200 if (retcode) in do_mathemu()
206 return retcode; in do_mathemu()
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/
H A Dtest_cpu.c273 int retcode; in run_cpucg_weight_test() local
275 waitpid(children[i].pid, &retcode, 0); in run_cpucg_weight_test()
276 if (!WIFEXITED(retcode)) in run_cpucg_weight_test()
278 if (WEXITSTATUS(retcode)) in run_cpucg_weight_test()
483 int retcode; in run_cpucg_nested_weight_test() local
485 waitpid(leaf[i].pid, &retcode, 0); in run_cpucg_nested_weight_test()
486 if (!WIFEXITED(retcode)) in run_cpucg_nested_weight_test()
488 if (WEXITSTATUS(retcode)) in run_cpucg_nested_weight_test()
/third_party/python/Lib/test/libregrtest/
H A Druntest_mp.py233 retcode = popen.wait(timeout=self.timeout)
234 assert retcode is not None
235 return retcode
246 retcode = None
278 retcode = self._run_process(test_name, stdout_fh)
282 if retcode is None:
286 if retcode != 0:
287 err_msg = "Exit code %s" % retcode
/kernel/linux/linux-5.10/tools/time/
H A Dudelay_test.sh56 retcode=1
59 exit $retcode
/kernel/linux/linux-6.6/tools/time/
H A Dudelay_test.sh56 retcode=1
59 exit $retcode
/third_party/ltp/testcases/kernel/mem/lib/
H A Dmem.c118 * @retcode: expected return code of child process
125 void oom(int testcase, int lite, int retcode, int allow_sigkill) in oom() argument
155 if (WEXITSTATUS(status) == retcode) { in oom()
156 tst_res(TPASS, "victim retcode: (%d) %s", in oom()
157 retcode, strerror(retcode)); in oom()
160 "retcode: %d, expected: %d", in oom()
161 WEXITSTATUS(status), retcode); in oom()
213 void testoom(int mempolicy, int lite, int retcode, int allow_sigkill) in testoom() argument
220 oom(NORMAL, lite, retcode, allow_sigkil in testoom()
[all...]
/third_party/vk-gl-cts/scripts/build/
H A Dcommon.py86 retcode = subprocess.call(args)
87 if retcode != 0:
88 raise Exception("Failed to execute '%s', got %d" % (str(args), retcode))
/third_party/vk-gl-cts/scripts/ctsbuild/
H A Dcommon.py86 retcode = subprocess.call(args)
87 if retcode != 0:
88 raise Exception("Failed to execute '%s', got %d" % (str(args), retcode))

Completed in 28 milliseconds

1234567