Home
last modified time | relevance | path

Searched defs:c_int (Results 1 – 25 of 228) sorted by relevance

12345678910

/third_party/rust/crates/libc/src/unix/
Dmod.rs10 pub type c_int = i32; typedef
434 pub fn isalnum(c: c_int) -> c_int; in isalnum()
435 pub fn isalpha(c: c_int) -> c_int; in isalpha()
436 pub fn iscntrl(c: c_int) -> c_int; in iscntrl()
437 pub fn isdigit(c: c_int) -> c_int; in isdigit()
438 pub fn isgraph(c: c_int) -> c_int; in isgraph()
439 pub fn islower(c: c_int) -> c_int; in islower()
440 pub fn isprint(c: c_int) -> c_int; in isprint()
441 pub fn ispunct(c: c_int) -> c_int; in ispunct()
442 pub fn isspace(c: c_int) -> c_int; in isspace()
[all …]
/third_party/rust/crates/libc/src/unix/nto/
Dneutrino.rs511 pub fn ChannelCreate(__flags: ::c_uint) -> ::c_int; in ChannelCreate()
512 pub fn ChannelCreate_r(__flags: ::c_uint) -> ::c_int; in ChannelCreate_r()
516 ) -> ::c_int; in ChannelCreatePulsePool()
524 ) -> ::c_int; in ChannelCreateExt()
525 pub fn ChannelDestroy(__chid: ::c_int) -> ::c_int; in ChannelDestroy()
526 pub fn ChannelDestroy_r(__chid: ::c_int) -> ::c_int; in ChannelDestroy_r()
530 __chid: ::c_int, in ConnectAttach()
532 __flags: ::c_int, in ConnectAttach()
533 ) -> ::c_int; in ConnectAttach()
537 __chid: ::c_int, in ConnectAttach_r()
[all …]
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Drsa.rs18 pub fn RSA_size(k: *const RSA) -> c_int; in RSA_size()
21 pub fn RSA_set0_key(r: *mut RSA, n: *mut BIGNUM, e: *mut BIGNUM, d: *mut BIGNUM) -> c_int; in RSA_set0_key()
23 pub fn RSA_set0_factors(r: *mut RSA, p: *mut BIGNUM, q: *mut BIGNUM) -> c_int; in RSA_set0_factors()
30 ) -> c_int; in RSA_set0_crt_params()
50 modsz: c_int, in RSA_generate_key()
52 cb: Option<extern "C" fn(c_int, c_int, *mut c_void)>, in RSA_generate_key()
58 bits: c_int, in RSA_generate_key_ex()
61 ) -> c_int; in RSA_generate_key_ex()
64 flen: c_int, in RSA_public_encrypt()
68 pad: c_int, in RSA_public_encrypt()
[all …]
Dbn.rs9 pub fn BN_rand(r: *mut BIGNUM, bits: c_int, top: c_int, bottom: c_int) -> c_int; in BN_rand()
11 pub fn BN_pseudo_rand(r: *mut BIGNUM, bits: c_int, top: c_int, bottom: c_int) -> c_int; in BN_pseudo_rand()
12 pub fn BN_rand_range(r: *mut BIGNUM, range: *const BIGNUM) -> c_int; in BN_rand_range()
14 pub fn BN_pseudo_rand_range(r: *mut BIGNUM, range: *const BIGNUM) -> c_int; in BN_pseudo_rand_range()
19 pub fn BN_set_flags(b: *mut BIGNUM, n: c_int); in BN_set_flags()
21 pub fn BN_get_flags(b: *const BIGNUM, n: c_int) -> c_int; in BN_get_flags()
22 pub fn BN_num_bits(bn: *const BIGNUM) -> c_int; in BN_num_bits()
24 pub fn BN_bin2bn(s: *const u8, size: c_int, ret: *mut BIGNUM) -> *mut BIGNUM; in BN_bin2bn()
25 pub fn BN_bn2bin(a: *const BIGNUM, to: *mut u8) -> c_int; in BN_bn2bin()
27 pub fn BN_bn2binpad(a: *const BIGNUM, to: *mut u8, tolen: c_int) -> c_int; in BN_bn2binpad()
[all …]
Devp.rs69 pub fn EVP_DigestInit_ex(ctx: *mut EVP_MD_CTX, typ: *const EVP_MD, imple: *mut ENGINE) in EVP_DigestInit_ex()
71 pub fn EVP_DigestUpdate(ctx: *mut EVP_MD_CTX, data: *const c_void, n: size_t) -> c_int; in EVP_DigestUpdate()
72 pub fn EVP_DigestFinal_ex(ctx: *mut EVP_MD_CTX, res: *mut u8, n: *mut u32) -> c_int; in EVP_DigestFinal_ex()
82 ) -> c_int; in EVP_Q_digest()
83 pub fn EVP_DigestInit(ctx: *mut EVP_MD_CTX, typ: *const EVP_MD) -> c_int; in EVP_DigestInit()
84 pub fn EVP_DigestFinal(ctx: *mut EVP_MD_CTX, res: *mut u8, n: *mut u32) -> c_int; in EVP_DigestFinal()
86 pub fn EVP_DigestFinalXOF(ctx: *mut EVP_MD_CTX, res: *mut u8, len: usize) -> c_int; in EVP_DigestFinalXOF()
103 datalen: c_int, in EVP_BytesToKey()
104 count: c_int, in EVP_BytesToKey()
107 ) -> c_int; in EVP_BytesToKey()
[all …]
Dbio.rs5 pub fn BIO_set_flags(b: *mut BIO, flags: c_int); in BIO_set_flags()
6 pub fn BIO_clear_flags(b: *mut BIO, flags: c_int); in BIO_clear_flags()
46 pub fn BIO_set_init(a: *mut BIO, init: c_int); in BIO_set_init()
47 pub fn BIO_write(b: *mut BIO, buf: *const c_void, len: c_int) -> c_int; in BIO_write()
48 pub fn BIO_read(b: *mut BIO, buf: *mut c_void, len: c_int) -> c_int; in BIO_read()
49 pub fn BIO_ctrl(b: *mut BIO, cmd: c_int, larg: c_long, parg: *mut c_void) -> c_long; in BIO_ctrl()
61 pub fn BIO_new_socket(sock: c_int, close_flag: c_int) -> *mut BIO; in BIO_new_socket()
64 pub fn BIO_meth_new(type_: c_int, name: *const c_char) -> *mut BIO_METHOD; in BIO_meth_new()
75 write: Option<unsafe extern "C" fn(*mut BIO, *const c_char, c_int) -> c_int>, in BIO_meth_set_write__fixed_rust() argument
81 read: Option<unsafe extern "C" fn(*mut BIO, *mut c_char, c_int) -> c_int>, in BIO_meth_set_read__fixed_rust() argument
[all …]
Dcrypto.rs23 class_index: c_int, in CRYPTO_get_ex_new_index()
29 ) -> c_int; in CRYPTO_get_ex_new_index()
40 func: Option<unsafe extern "C" fn(mode: c_int, n: c_int, file: *const c_char, line: c_int)>, in CRYPTO_set_locking_callback__fixed_rust()
51 pointer: *mut c_int, in CRYPTO_add_lock()
52 amount: c_int, in CRYPTO_add_lock()
53 type_: c_int, in CRYPTO_add_lock()
55 line: c_int, in CRYPTO_add_lock()
56 ) -> c_int; in CRYPTO_add_lock()
77 pub fn FIPS_mode_set(onoff: c_int) -> c_int; in FIPS_mode_set()
79 pub fn CRYPTO_memcmp(a: *const c_void, b: *const c_void, len: size_t) -> c_int; in CRYPTO_memcmp()
Dx509.rs142 pub fn X509_sign(x: *mut X509, pkey: *mut EVP_PKEY, md: *const EVP_MD) -> c_int; in X509_sign()
149 ) -> c_int; in X509_digest()
151 pub fn X509_REQ_sign(x: *mut X509_REQ, pkey: *mut EVP_PKEY, md: *const EVP_MD) -> c_int; in X509_REQ_sign()
270 pub fn X509_get_signature_nid(x: *const X509) -> c_int; in X509_get_signature_nid()
304 pub fn X509_set_version(x: *mut X509, version: c_long) -> c_int; in X509_set_version()
307 pub fn X509_set_serialNumber(x: *mut X509, sn: *mut ASN1_INTEGER) -> c_int; in X509_set_serialNumber()
342 pub fn X509_REQ_set_version(req: *mut X509_REQ, version: c_long) -> c_int; in X509_REQ_set_version()
352 pub fn X509_REQ_set_pubkey(req: *mut X509_REQ, pkey: *mut EVP_PKEY) -> c_int; in X509_REQ_set_pubkey()
363 pub fn X509_set_pubkey(x: *mut X509, pkey: *mut EVP_PKEY) -> c_int; in X509_set_pubkey()
364 pub fn X509_REQ_verify(req: *mut X509_REQ, pkey: *mut EVP_PKEY) -> c_int; in X509_REQ_verify()
[all …]
Ddsa.rs20 pub fn DSA_up_ref(dsa: *mut DSA) -> c_int; in DSA_up_ref()
21 pub fn DSA_size(dsa: *const DSA) -> c_int; in DSA_size()
23 dummy: c_int, in DSA_sign()
25 len: c_int, in DSA_sign()
29 ) -> c_int; in DSA_sign()
31 dummy: c_int, in DSA_verify()
33 len: c_int, in DSA_verify()
35 siglen: c_int, in DSA_verify()
37 ) -> c_int; in DSA_verify()
45 bits: c_int, in DSA_generate_parameters_ex()
[all …]
Dssl.rs219 new_session_cb: Option<unsafe extern "C" fn(*mut SSL, *mut SSL_SESSION) -> c_int>, in SSL_CTX_sess_set_new_cb()
253 extern "C" fn(ssl: *mut SSL, cookie: *mut c_uchar, cookie_len: *mut c_uint) -> c_int, in SSL_CTX_set_cookie_generate_cb()
288 ) -> c_int, in SSL_CTX_set_stateless_cookie_generate_cb()
299 ) -> c_int, in SSL_CTX_set_stateless_cookie_verify_cb()
310 ) -> c_int, in SSL_CTX_set_next_protos_advertised_cb()
322 ) -> c_int, in SSL_CTX_set_next_proto_select_cb()
338 ) -> c_int; in SSL_select_next_proto()
343 pub fn SSL_CTX_set_alpn_protos(s: *mut SSL_CTX, data: *const c_uchar, len: c_uint) -> c_int; in SSL_CTX_set_alpn_protos()
345 pub fn SSL_set_alpn_protos(s: *mut SSL, data: *const c_uchar, len: c_uint) -> c_int; in SSL_set_alpn_protos()
358 ) -> c_int, in SSL_CTX_set_alpn_select_cb__fixed_rust()
[all …]
Dx509_vfy.rs18 cmd: c_int, in X509_LOOKUP_ctrl()
22 ) -> c_int; in X509_LOOKUP_ctrl()
23 pub fn X509_load_cert_file(ctx: *mut X509_LOOKUP, file: *const c_char, _type: c_int) -> c_int; in X509_load_cert_file()
24 pub fn X509_load_crl_file(ctx: *mut X509_LOOKUP, file: *const c_char, _type: c_int) -> c_int; in X509_load_crl_file()
39 ) -> c_int; in X509_STORE_CTX_init()
42 pub fn X509_STORE_add_cert(store: *mut X509_STORE, x: *mut X509) -> c_int; in X509_STORE_add_cert()
49 pub fn X509_STORE_set_default_paths(store: *mut X509_STORE) -> c_int; in X509_STORE_set_default_paths()
50 pub fn X509_STORE_set_flags(store: *mut X509_STORE, flags: c_ulong) -> c_int; in X509_STORE_set_flags()
51 pub fn X509_STORE_set_purpose(ctx: *mut X509_STORE, purpose: c_int) -> c_int; in X509_STORE_set_purpose()
52 pub fn X509_STORE_set_trust(ctx: *mut X509_STORE, trust: c_int) -> c_int; in X509_STORE_set_trust()
[all …]
Ddh.rs8 prime_len: c_int, in DH_generate_parameters()
9 generator: c_int, in DH_generate_parameters()
10 callback: Option<extern "C" fn(c_int, c_int, *mut c_void)>, in DH_generate_parameters()
16 prime_len: c_int, in DH_generate_parameters_ex()
17 generator: c_int, in DH_generate_parameters_ex()
19 ) -> c_int; in DH_generate_parameters_ex()
21 pub fn DH_generate_key(dh: *mut DH) -> c_int; in DH_generate_key()
22 pub fn DH_compute_key(key: *mut c_uchar, pub_key: *const BIGNUM, dh: *mut DH) -> c_int; in DH_compute_key()
23 pub fn DH_size(dh: *const DH) -> c_int; in DH_size()
26 pub fn i2d_DHparams(dh: *const DH, pp: *mut *mut c_uchar) -> c_int; in i2d_DHparams()
[all …]
Dobject.rs9 pub fn OBJ_obj2nid(o: *const ASN1_OBJECT) -> c_int; in OBJ_obj2nid()
12 buf_len: c_int, in OBJ_obj2txt()
14 no_name: c_int, in OBJ_obj2txt()
15 ) -> c_int; in OBJ_obj2txt()
17 pub fn OBJ_find_sigid_algs(signid: c_int, pdig_nid: *mut c_int, ppkey_nid: *mut c_int) in OBJ_find_sigid_algs()
19 pub fn OBJ_sn2nid(sn: *const libc::c_char) -> libc::c_int; in OBJ_sn2nid()
25 ) -> c_int; in OBJ_create()
Dec.rs28 ) -> c_int; in EC_GROUP_get_order()
34 ) -> c_int; in EC_GROUP_get_cofactor()
43 ) -> c_int; in EC_GROUP_set_generator()
45 pub fn EC_GROUP_get_curve_name(group: *const EC_GROUP) -> c_int; in EC_GROUP_get_curve_name()
47 pub fn EC_GROUP_set_asn1_flag(key: *mut EC_GROUP, flag: c_int); in EC_GROUP_set_asn1_flag()
55 ) -> c_int; in EC_GROUP_get_curve_GFp()
64 ) -> c_int; in EC_GROUP_get_curve_GF2m()
66 pub fn EC_GROUP_get_degree(group: *const EC_GROUP) -> c_int; in EC_GROUP_get_degree()
69 pub fn EC_GROUP_order_bits(group: *const EC_GROUP) -> c_int; in EC_GROUP_order_bits()
88 pub fn EC_POINT_is_at_infinity(group: *const EC_GROUP, point: *const EC_POINT) -> c_int; in EC_POINT_is_at_infinity()
[all …]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Dwrap-static-fns.rs18 pub fn takes_ptr(arg: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; in takes_ptr()
25 arg1: ::std::os::raw::c_int, in takes_fn_ptr()
26 ) -> ::std::os::raw::c_int, in takes_fn_ptr()
35 arg1: ::std::os::raw::c_int, in takes_fn()
36 ) -> ::std::os::raw::c_int, in takes_fn()
45 pub fn takes_alias(f: func) -> ::std::os::raw::c_int; in takes_alias()
50 arg: *const *const ::std::os::raw::c_int, in takes_qualified()
51 ) -> ::std::os::raw::c_int; in takes_qualified()
Daccessors.rs87 pub fn get_mBothAccessors(&self) -> &::std::os::raw::c_int { in get_mBothAccessors()
91 pub fn get_mBothAccessors_mut(&mut self) -> &mut ::std::os::raw::c_int { in get_mBothAccessors_mut()
95 pub unsafe fn get_mUnsafeAccessors(&self) -> &::std::os::raw::c_int { in get_mUnsafeAccessors()
101 ) -> &mut ::std::os::raw::c_int { in get_mUnsafeAccessors_mut()
105 pub fn get_mImmutableAccessor(&self) -> &::std::os::raw::c_int { in get_mImmutableAccessor()
159 pub fn get_mBothAccessors(&self) -> &::std::os::raw::c_int { in get_mBothAccessors()
163 pub fn get_mBothAccessors_mut(&mut self) -> &mut ::std::os::raw::c_int { in get_mBothAccessors_mut()
167 pub fn get_mAlsoBothAccessors(&self) -> &::std::os::raw::c_int { in get_mAlsoBothAccessors()
171 pub fn get_mAlsoBothAccessors_mut(&mut self) -> &mut ::std::os::raw::c_int { in get_mAlsoBothAccessors_mut()
225 pub unsafe fn get_mBothAccessors(&self) -> &::std::os::raw::c_int { in get_mBothAccessors()
[all …]
Dtimex.rs180 pub fn a(&self) -> ::std::os::raw::c_int { in a()
186 pub fn set_a(&mut self, val: ::std::os::raw::c_int) { in set_a()
193 pub fn b(&self) -> ::std::os::raw::c_int { in b()
199 pub fn set_b(&mut self, val: ::std::os::raw::c_int) { in set_b()
206 pub fn c(&self) -> ::std::os::raw::c_int { in c()
212 pub fn set_c(&mut self, val: ::std::os::raw::c_int) { in set_c()
219 pub fn d(&self) -> ::std::os::raw::c_int { in d()
225 pub fn set_d(&mut self, val: ::std::os::raw::c_int) { in set_d()
232 pub fn e(&self) -> ::std::os::raw::c_int { in e()
238 pub fn set_e(&mut self, val: ::std::os::raw::c_int) { in set_e()
[all …]
/third_party/rust/crates/libc/src/
Dwasi.rs8 pub type c_int = i32; typedef
451 pub fn _Exit(code: c_int) -> !; in _Exit()
452 pub fn _exit(code: c_int) -> !; in _exit()
456 pub fn exit(code: c_int) -> !; in exit()
463 pub fn read(fd: c_int, ptr: *mut c_void, size: size_t) -> ssize_t; in read()
465 pub fn setenv(k: *const c_char, v: *const c_char, a: c_int) -> c_int; in setenv()
466 pub fn unsetenv(k: *const c_char) -> c_int; in unsetenv()
468 pub fn write(fd: c_int, ptr: *const c_void, size: size_t) -> ssize_t; in write()
472 pub fn fclose(f: *mut FILE) -> c_int; in fclose()
473 pub fn remove(a: *const c_char) -> c_int; in remove()
[all …]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-9/
Dmangling-win32.rs38 arg1: ::std::os::raw::c_int, in fast_call_func_many_args()
39 arg2: ::std::os::raw::c_int, in fast_call_func_many_args()
40 arg3: ::std::os::raw::c_int, in fast_call_func_many_args()
41 ) -> ::std::os::raw::c_int; in fast_call_func_many_args()
48 arg1: ::std::os::raw::c_int, in std_call_func_many_args()
49 arg2: ::std::os::raw::c_int, in std_call_func_many_args()
50 arg3: ::std::os::raw::c_int, in std_call_func_many_args()
51 ) -> ::std::os::raw::c_int; in std_call_func_many_args()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-5/
Dmangling-win32.rs38 arg1: ::std::os::raw::c_int, in fast_call_func_many_args()
39 arg2: ::std::os::raw::c_int, in fast_call_func_many_args()
40 arg3: ::std::os::raw::c_int, in fast_call_func_many_args()
41 ) -> ::std::os::raw::c_int; in fast_call_func_many_args()
48 arg1: ::std::os::raw::c_int, in std_call_func_many_args()
49 arg2: ::std::os::raw::c_int, in std_call_func_many_args()
50 arg3: ::std::os::raw::c_int, in std_call_func_many_args()
51 ) -> ::std::os::raw::c_int; in std_call_func_many_args()
/third_party/rust/crates/libc/src/vxworks/
Dmod.rs19 pub type c_int = i32; typedef
132 pub unsafe fn si_status(&self) -> ::c_int { in si_status()
1081 pub fn isalnum(c: c_int) -> c_int; in isalnum()
1082 pub fn isalpha(c: c_int) -> c_int; in isalpha()
1083 pub fn iscntrl(c: c_int) -> c_int; in iscntrl()
1084 pub fn isdigit(c: c_int) -> c_int; in isdigit()
1085 pub fn isgraph(c: c_int) -> c_int; in isgraph()
1086 pub fn islower(c: c_int) -> c_int; in islower()
1087 pub fn isprint(c: c_int) -> c_int; in isprint()
1088 pub fn ispunct(c: c_int) -> c_int; in ispunct()
[all …]
/third_party/rust/crates/libc/src/windows/
Dmod.rs7 pub type c_int = i32; typedef
286 pub fn printf(format: *const c_char, ...) -> ::c_int; in printf()
287 pub fn fprintf(stream: *mut FILE, format: *const c_char, ...) -> ::c_int; in fprintf()
291 pub fn isalnum(c: c_int) -> c_int; in isalnum()
292 pub fn isalpha(c: c_int) -> c_int; in isalpha()
293 pub fn iscntrl(c: c_int) -> c_int; in iscntrl()
294 pub fn isdigit(c: c_int) -> c_int; in isdigit()
295 pub fn isgraph(c: c_int) -> c_int; in isgraph()
296 pub fn islower(c: c_int) -> c_int; in islower()
297 pub fn isprint(c: c_int) -> c_int; in isprint()
[all …]
/third_party/rust/crates/libc/src/solid/
Dmod.rs9 pub type c_int = i32; typedef
425 pub fn isalnum(c: c_int) -> c_int; in isalnum()
426 pub fn isalpha(c: c_int) -> c_int; in isalpha()
427 pub fn iscntrl(c: c_int) -> c_int; in iscntrl()
428 pub fn isdigit(c: c_int) -> c_int; in isdigit()
429 pub fn isgraph(c: c_int) -> c_int; in isgraph()
430 pub fn islower(c: c_int) -> c_int; in islower()
431 pub fn isprint(c: c_int) -> c_int; in isprint()
432 pub fn ispunct(c: c_int) -> c_int; in ispunct()
433 pub fn isspace(c: c_int) -> c_int; in isspace()
[all …]
/third_party/rust/crates/rust-openssl/openssl-sys/src/
Dbio.rs40 write: unsafe extern "C" fn(*mut BIO, *const c_char, c_int) -> c_int, in BIO_meth_set_write() argument
46 read: unsafe extern "C" fn(*mut BIO, *mut c_char, c_int) -> c_int, in BIO_meth_set_read() argument
52 read: unsafe extern "C" fn(*mut BIO, *const c_char) -> c_int, in BIO_meth_set_puts()
58 read: unsafe extern "C" fn(*mut BIO, c_int, c_long, *mut c_void) -> c_long, in BIO_meth_set_ctrl() argument
59 ) -> c_int; in BIO_meth_set_ctrl()
64 create: unsafe extern "C" fn(*mut BIO) -> c_int, in BIO_meth_set_create()
70 destroy: unsafe extern "C" fn(*mut BIO) -> c_int, in BIO_meth_set_destroy()
/third_party/rust/crates/rustix/src/backend/libc/
Doffset.rs133 ) -> c::c_int { in libc_prlimit()
139 resource: c::c_int, in libc_prlimit()
142 ) -> c::c_int { in libc_prlimit()
148 resource: c::c_int, in libc_prlimit()
151 ) -> c::c_int { in libc_prlimit()
242 fd: c::c_int, in preadv64()
244 iovcnt: c::c_int, in preadv64()
275 fd: c::c_int, in pwritev64()
277 iovcnt: c::c_int, in pwritev64()

12345678910