Home
last modified time | relevance | path

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

123456

/external/rust/crates/libc/src/unix/
Dmod.rs10 pub type c_int = i32; typedef
407 pub fn isalnum(c: c_int) -> c_int; in isalnum()
408 pub fn isalpha(c: c_int) -> c_int; in isalpha()
409 pub fn iscntrl(c: c_int) -> c_int; in iscntrl()
410 pub fn isdigit(c: c_int) -> c_int; in isdigit()
411 pub fn isgraph(c: c_int) -> c_int; in isgraph()
412 pub fn islower(c: c_int) -> c_int; in islower()
413 pub fn isprint(c: c_int) -> c_int; in isprint()
414 pub fn ispunct(c: c_int) -> c_int; in ispunct()
415 pub fn isspace(c: c_int) -> c_int; in isspace()
[all …]
/external/rust/crates/libc/src/
Dwasi.rs6 pub type c_int = i32; typedef
341 pub fn _Exit(code: c_int) -> !; in _Exit()
342 pub fn _exit(code: c_int) -> !; in _exit()
346 pub fn exit(code: c_int) -> !; in exit()
353 pub fn read(fd: c_int, ptr: *mut c_void, size: size_t) -> ssize_t; in read()
355 pub fn setenv(k: *const c_char, v: *const c_char, a: c_int) -> c_int; in setenv()
356 pub fn unsetenv(k: *const c_char) -> c_int; in unsetenv()
358 pub fn write(fd: c_int, ptr: *const c_void, size: size_t) -> ssize_t; in write()
362 pub fn fclose(f: *mut FILE) -> c_int; in fclose()
363 pub fn remove(a: *const c_char) -> c_int; in remove()
[all …]
/external/rust/crates/libz-sys/src/
Dlib.rs69 pub fn deflate(strm: z_streamp, flush: c_int) -> c_int; in deflate()
71 pub fn deflateCopy(dest: z_streamp, source: z_streamp) -> c_int; in deflateCopy()
72 pub fn deflateEnd(strm: z_streamp) -> c_int; in deflateEnd()
73 pub fn deflateInit_(strm: z_streamp, level: c_int, in deflateInit_()
75 stream_size: c_int) -> c_int; in deflateInit_()
77 level: c_int, in deflateInit2_()
78 method: c_int, in deflateInit2_()
79 windowBits: c_int, in deflateInit2_()
80 memLevel: c_int, in deflateInit2_()
81 strategy: c_int, in deflateInit2_()
[all …]
/external/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()
1074 pub fn isalnum(c: c_int) -> c_int; in isalnum()
1075 pub fn isalpha(c: c_int) -> c_int; in isalpha()
1076 pub fn iscntrl(c: c_int) -> c_int; in iscntrl()
1077 pub fn isdigit(c: c_int) -> c_int; in isdigit()
1078 pub fn isgraph(c: c_int) -> c_int; in isgraph()
1079 pub fn islower(c: c_int) -> c_int; in islower()
1080 pub fn isprint(c: c_int) -> c_int; in isprint()
1081 pub fn ispunct(c: c_int) -> c_int; in ispunct()
[all …]
/external/rust/crates/libc/src/windows/
Dmod.rs7 pub type c_int = i32; typedef
262 pub fn isalnum(c: c_int) -> c_int; in isalnum()
263 pub fn isalpha(c: c_int) -> c_int; in isalpha()
264 pub fn iscntrl(c: c_int) -> c_int; in iscntrl()
265 pub fn isdigit(c: c_int) -> c_int; in isdigit()
266 pub fn isgraph(c: c_int) -> c_int; in isgraph()
267 pub fn islower(c: c_int) -> c_int; in islower()
268 pub fn isprint(c: c_int) -> c_int; in isprint()
269 pub fn ispunct(c: c_int) -> c_int; in ispunct()
270 pub fn isspace(c: c_int) -> c_int; in isspace()
[all …]
/external/minijail/rust/minijail-sys/
Dlibminijail.rs80 ) -> ::std::os::raw::c_int; in minijail_change_user()
86 ) -> ::std::os::raw::c_int; in minijail_change_group()
107 pub fn minijail_parse_seccomp_filters_from_fd(j: *mut minijail, fd: ::std::os::raw::c_int); in minijail_parse_seccomp_filters_from_fd()
155 ) -> ::std::os::raw::c_int; in minijail_namespace_set_hostname()
185 ) -> ::std::os::raw::c_int; in minijail_uidmap()
191 ) -> ::std::os::raw::c_int; in minijail_gidmap()
203 ) -> ::std::os::raw::c_int; in minijail_write_pid_file()
212 ) -> ::std::os::raw::c_int; in minijail_use_alt_syscall()
217 type_: ::std::os::raw::c_int, in minijail_rlimit()
220 ) -> ::std::os::raw::c_int; in minijail_rlimit()
[all …]
/external/rust/crates/libsqlite3-sys/bindgen-bindings/
Dbindgen_3.7.7.rs274 pub fn sqlite3_compileoption_used(zOptName: *const ::std::os::raw::c_char) in sqlite3_compileoption_used()
292 pub fn sqlite3_close(arg1: *mut sqlite3) -> ::std::os::raw::c_int; in sqlite3_close()
310 ::std::os::raw::c_int, in sqlite3_exec()
314 *mut *mut ::std::os::raw::c_char) in sqlite3_exec()
318 errmsg: *mut *mut ::std::os::raw::c_char) in sqlite3_exec()
586 pub fn sqlite3_config(arg1: ::std::os::raw::c_int, ...) in sqlite3_config()
587 -> ::std::os::raw::c_int; in sqlite3_config()
591 op: ::std::os::raw::c_int, ...) in sqlite3_db_config()
592 -> ::std::os::raw::c_int; in sqlite3_db_config()
630 onoff: ::std::os::raw::c_int) in sqlite3_extended_result_codes()
[all …]
Dbindgen_3.6.23.rs229 pub fn sqlite3_compileoption_used(zOptName: *const ::std::os::raw::c_char) in sqlite3_compileoption_used()
247 pub fn sqlite3_close(arg1: *mut sqlite3) -> ::std::os::raw::c_int; in sqlite3_close()
265 ::std::os::raw::c_int, in sqlite3_exec()
269 *mut *mut ::std::os::raw::c_char) in sqlite3_exec()
273 errmsg: *mut *mut ::std::os::raw::c_char) in sqlite3_exec()
488 pub fn sqlite3_config(arg1: ::std::os::raw::c_int, ...) in sqlite3_config()
489 -> ::std::os::raw::c_int; in sqlite3_config()
493 op: ::std::os::raw::c_int, ...) in sqlite3_db_config()
494 -> ::std::os::raw::c_int; in sqlite3_db_config()
532 onoff: ::std::os::raw::c_int) in sqlite3_extended_result_codes()
[all …]
Dbindgen_3.6.8.rs219 pub fn sqlite3_close(arg1: *mut sqlite3) -> ::std::os::raw::c_int; in sqlite3_close()
237 ::std::os::raw::c_int, in sqlite3_exec()
241 *mut *mut ::std::os::raw::c_char) in sqlite3_exec()
245 errmsg: *mut *mut ::std::os::raw::c_char) in sqlite3_exec()
460 pub fn sqlite3_config(arg1: ::std::os::raw::c_int, ...) in sqlite3_config()
461 -> ::std::os::raw::c_int; in sqlite3_config()
465 op: ::std::os::raw::c_int, ...) in sqlite3_db_config()
466 -> ::std::os::raw::c_int; in sqlite3_db_config()
504 onoff: ::std::os::raw::c_int) in sqlite3_extended_result_codes()
511 pub fn sqlite3_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int; in sqlite3_changes()
[all …]
Dbindgen_3.7.16.rs305 pub fn sqlite3_compileoption_used(zOptName: *const ::std::os::raw::c_char) in sqlite3_compileoption_used()
323 pub fn sqlite3_close(arg1: *mut sqlite3) -> ::std::os::raw::c_int; in sqlite3_close()
326 pub fn sqlite3_close_v2(arg1: *mut sqlite3) -> ::std::os::raw::c_int; in sqlite3_close_v2()
344 ::std::os::raw::c_int, in sqlite3_exec()
348 *mut *mut ::std::os::raw::c_char) in sqlite3_exec()
352 errmsg: *mut *mut ::std::os::raw::c_char) in sqlite3_exec()
620 pub fn sqlite3_config(arg1: ::std::os::raw::c_int, ...) in sqlite3_config()
621 -> ::std::os::raw::c_int; in sqlite3_config()
625 op: ::std::os::raw::c_int, ...) in sqlite3_db_config()
626 -> ::std::os::raw::c_int; in sqlite3_db_config()
[all …]
/external/rust/crates/libsqlite3-sys/sqlite3/
Dbindgen_bundled_version.rs461 ) -> ::std::os::raw::c_int; in sqlite3_compileoption_used()
479 pub fn sqlite3_close(arg1: *mut sqlite3) -> ::std::os::raw::c_int; in sqlite3_close()
482 pub fn sqlite3_close_v2(arg1: *mut sqlite3) -> ::std::os::raw::c_int; in sqlite3_close_v2()
499 arg2: ::std::os::raw::c_int, in sqlite3_exec()
502 ) -> ::std::os::raw::c_int, in sqlite3_exec()
1229 pub fn sqlite3_config(arg1: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int; in sqlite3_config()
1234 op: ::std::os::raw::c_int, in sqlite3_db_config()
1236 ) -> ::std::os::raw::c_int; in sqlite3_db_config()
1359 onoff: ::std::os::raw::c_int, in sqlite3_extended_result_codes()
1360 ) -> ::std::os::raw::c_int; in sqlite3_extended_result_codes()
[all …]
/external/crosvm/rutabaga_gfx/src/generated/
Dvirgl_renderer_bindings.rs94 flags: ::std::os::raw::c_int, in virgl_renderer_init()
96 ) -> ::std::os::raw::c_int; in virgl_renderer_init()
110 resource_id: ::std::os::raw::c_int, in virgl_renderer_get_rect()
114 x: ::std::os::raw::c_int, in virgl_renderer_get_rect()
115 y: ::std::os::raw::c_int, in virgl_renderer_get_rect()
116 width: ::std::os::raw::c_int, in virgl_renderer_get_rect()
117 height: ::std::os::raw::c_int, in virgl_renderer_get_rect()
123 fd: *mut ::std::os::raw::c_int, in virgl_renderer_get_fd_for_texture()
124 ) -> ::std::os::raw::c_int; in virgl_renderer_get_fd_for_texture()
129 fd: *mut ::std::os::raw::c_int, in virgl_renderer_get_fd_for_texture2()
[all …]
/external/rust/crates/libc/src/unix/solarish/
Dsolaris.rs41 fd: ::c_int, in fexecve()
44 ) -> ::c_int; in fexecve()
46 pub fn mincore(addr: *const ::c_void, len: ::size_t, vec: *mut ::c_char) -> ::c_int; in mincore()
48 pub fn door_call(d: ::c_int, params: *const door_arg_t) -> ::c_int; in door_call()
65 ) -> ::c_int; in door_create()
67 pub fn fattach(fildes: ::c_int, path: *const ::c_char) -> ::c_int; in fattach()
69 pub fn pthread_getattr_np(thread: ::pthread_t, attr: *mut ::pthread_attr_t) -> ::c_int; in pthread_getattr_np()
Dcompat.rs34 pub unsafe fn cfsetspeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int { in cfsetspeed()
42 unsafe fn bail(fdm: ::c_int, fds: ::c_int) -> ::c_int { in bail()
55 amain: *mut ::c_int, in openpty()
56 asubord: *mut ::c_int, in openpty()
60 ) -> ::c_int { in openpty()
123 amain: *mut ::c_int, in forkpty()
/external/rust/crates/libc/src/fuchsia/
Dmod.rs12 pub type c_int = i32; typedef
3349 pub fn isalnum(c: c_int) -> c_int; in isalnum()
3350 pub fn isalpha(c: c_int) -> c_int; in isalpha()
3351 pub fn iscntrl(c: c_int) -> c_int; in iscntrl()
3352 pub fn isdigit(c: c_int) -> c_int; in isdigit()
3353 pub fn isgraph(c: c_int) -> c_int; in isgraph()
3354 pub fn islower(c: c_int) -> c_int; in islower()
3355 pub fn isprint(c: c_int) -> c_int; in isprint()
3356 pub fn ispunct(c: c_int) -> c_int; in ispunct()
3357 pub fn isspace(c: c_int) -> c_int; in isspace()
[all …]
/external/crosvm/base/src/
Dioctl.rs9 pub unsafe fn ioctl<F: AsRawDescriptor>(descriptor: &F, nr: IoctlNr) -> c_int { in ioctl()
14 pub unsafe fn ioctl_with_val(descriptor: &dyn AsRawDescriptor, nr: IoctlNr, arg: c_ulong) -> c_int { in ioctl_with_val()
19 pub unsafe fn ioctl_with_ref<T>(descriptor: &dyn AsRawDescriptor, nr: IoctlNr, arg: &T) -> c_int { in ioctl_with_ref()
32 ) -> c_int { in ioctl_with_mut_ref()
45 ) -> c_int { in ioctl_with_ptr()
54 ) -> c_int { in ioctl_with_mut_ptr()
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd11/
Dmod.rs201 pub fn mprotect(addr: *const ::c_void, len: ::size_t, prot: ::c_int) -> ::c_int; in mprotect()
204 pub fn freelocale(loc: ::locale_t) -> ::c_int; in freelocale()
208 msqid: ::c_int, in msgrcv()
212 msgflg: ::c_int, in msgrcv()
213 ) -> ::c_int; in msgrcv()
215 pub fn fdatasync(fd: ::c_int) -> ::c_int; in fdatasync()
/external/rust/crates/android_log-sys/src/
Dlib.rs13 pub type c_int = raw::c_int; typedef
65 pub fn __android_log_write(prio: c_int, in __android_log_write()
68 -> c_int; in __android_log_write()
69 pub fn __android_log_print(prio: c_int, in __android_log_print()
73 -> c_int; in __android_log_print()
74 pub fn __android_log_vprint(prio: c_int, in __android_log_vprint()
78 -> c_int; in __android_log_vprint()
83 pub fn __android_log_is_loggable(prio: c_int, in __android_log_is_loggable()
86 -> c_int; in __android_log_is_loggable()
/external/crosvm/crosvm_plugin/src/
Dlib.rs134 fn proto_error_to_int(e: protobuf::ProtobufError) -> c_int { in proto_error_to_int()
257 fn from_connection(socket: UnixDatagram) -> result::Result<crosvm, c_int> { in from_connection() argument
291 ) -> result::Result<(MainResponse, Vec<File>), c_int> { in main_transaction() argument
319 fn try_clone(&mut self) -> result::Result<crosvm, c_int> { in try_clone() argument
333 fn destroy(&mut self, id: u32) -> result::Result<(), c_int> { in destroy() argument
343 fn load_all_vcpus(&mut self) -> result::Result<(), c_int> { in load_all_vcpus() argument
361 fn get_shutdown_event(&mut self) -> result::Result<File, c_int> { in get_shutdown_event() argument
371 fn check_extension(&mut self, extension: u32) -> result::Result<bool, c_int> { in check_extension() argument
385 ) -> result::Result<(), c_int> { in get_supported_cpuid() argument
418 ) -> result::Result<(), c_int> { in get_emulated_cpuid() argument
[all …]
/external/rust/crates/libc/src/unix/bsd/
Dmod.rs583 pub fn getrlimit(resource: ::c_int, rlim: *mut ::rlimit) -> ::c_int; in getrlimit()
588 pub fn setrlimit(resource: ::c_int, rlim: *const ::rlimit) -> ::c_int; in setrlimit()
590 pub fn strerror_r(errnum: ::c_int, buf: *mut c_char, buflen: ::size_t) -> ::c_int; in strerror_r()
591 pub fn abs(i: ::c_int) -> ::c_int; in abs()
605 pub fn getifaddrs(ifap: *mut *mut ::ifaddrs) -> ::c_int; in getifaddrs()
607 pub fn setgroups(ngroups: ::c_int, ptr: *const ::gid_t) -> ::c_int; in setgroups()
608 pub fn ioctl(fd: ::c_int, request: ::c_ulong, ...) -> ::c_int; in ioctl()
610 pub fn unmount(target: *const ::c_char, arg: ::c_int) -> ::c_int; in unmount()
611 pub fn syscall(num: ::c_int, ...) -> ::c_int; in syscall()
621 pub fn getloadavg(loadavg: *mut ::c_double, nelem: ::c_int) -> ::c_int; in getloadavg()
[all …]
/external/crosvm/rutabaga_gfx/src/
Dgfxstream.rs62 ) -> c_int; in pipe_virgl_renderer_resource_create()
65 fn pipe_virgl_renderer_context_create(handle: u32, nlen: u32, name: *const c_char) -> c_int; in pipe_virgl_renderer_context_create()
76 iovec_cnt: c_int, in pipe_virgl_renderer_transfer_read_iov()
77 ) -> c_int; in pipe_virgl_renderer_transfer_read_iov()
81 level: c_int, in pipe_virgl_renderer_transfer_write_iov()
88 ) -> c_int; in pipe_virgl_renderer_transfer_write_iov()
93 ) -> c_int; in pipe_virgl_renderer_submit_cmd()
95 res_handle: c_int, in pipe_virgl_renderer_resource_attach_iov()
97 num_iovs: c_int, in pipe_virgl_renderer_resource_attach_iov()
98 ) -> c_int; in pipe_virgl_renderer_resource_attach_iov()
[all …]
/external/rust/crates/flate2/src/ffi/
Dc.rs125 unsafe fn destroy(stream: *mut mz_stream) -> c_int; in destroy()
150 unsafe fn destroy(stream: *mut mz_stream) -> c_int { in destroy()
155 unsafe fn destroy(stream: *mut mz_stream) -> c_int { in destroy()
379 level: c_int, in mz_deflateInit2()
380 method: c_int, in mz_deflateInit2()
381 window_bits: c_int, in mz_deflateInit2()
382 mem_level: c_int, in mz_deflateInit2()
383 strategy: c_int, in mz_deflateInit2()
384 ) -> c_int { in mz_deflateInit2()
396 pub unsafe extern "C" fn mz_inflateInit2(stream: *mut mz_stream, window_bits: c_int) -> c_int { in mz_inflateInit2()
[all …]
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/
Dmod.rs212 pub fn aio_readv(aiocbp: *mut ::aiocb) -> ::c_int; in aio_readv()
213 pub fn aio_writev(aiocbp: *mut ::aiocb) -> ::c_int; in aio_writev()
215 pub fn mprotect(addr: *mut ::c_void, len: ::size_t, prot: ::c_int) -> ::c_int; in mprotect()
218 msqid: ::c_int, in msgrcv()
222 msgflg: ::c_int, in msgrcv()
226 flags: ::c_int, in clock_nanosleep()
229 ) -> ::c_int; in clock_nanosleep()
231 pub fn fdatasync(fd: ::c_int) -> ::c_int; in fdatasync()
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
Dmod.rs1278 pub fn aio_cancel(fd: ::c_int, aiocbp: *mut aiocb) -> ::c_int; in aio_cancel()
1279 pub fn aio_error(aiocbp: *const aiocb) -> ::c_int; in aio_error()
1280 pub fn aio_fsync(op: ::c_int, aiocbp: *mut aiocb) -> ::c_int; in aio_fsync()
1281 pub fn aio_read(aiocbp: *mut aiocb) -> ::c_int; in aio_read()
1285 nitems: ::c_int, in aio_suspend()
1287 ) -> ::c_int; in aio_suspend()
1288 pub fn aio_write(aiocbp: *mut aiocb) -> ::c_int; in aio_write()
1291 fd: ::c_int, in extattr_delete_fd()
1292 attrnamespace: ::c_int, in extattr_delete_fd()
1294 ) -> ::c_int; in extattr_delete_fd()
[all …]
/external/rust/crates/quiche/src/
Dtls.rs308 pub fn get_error(&self, ret_code: c_int) -> c_int { in get_error()
341 pub fn set_ex_data<T>(&self, idx: c_int, data: &T) -> Result<()> { in set_ex_data()
559 ) -> c_int { in set_read_secret()
609 ) -> c_int { in set_write_secret()
653 ) -> c_int { in add_handshake_data()
686 extern fn flush_flight(_ssl: *mut SSL) -> c_int { in flush_flight()
693 extern fn send_alert(ssl: *mut SSL, level: crypto::Level, alert: u8) -> c_int { in send_alert()
736 ) -> c_int { in select_alpn()
865 ) -> c_int; in SSL_CTX_use_certificate_chain_file()
868 ctx: *mut SSL_CTX, file: *const c_char, ty: c_int, in SSL_CTX_use_PrivateKey_file()
[all …]

123456