Searched refs:c_int (Results 1 – 4 of 4) sorted by relevance
/aosp12/frameworks/native/libs/binder/rust/tests/ |
H A D | ndk_rust_interop.rs | 25 use std::os::raw::{c_char, c_int}; 33 pub unsafe extern "C" fn rust_call_ndk(service_name: *const c_char) -> c_int { in rust_call_ndk() argument 42 return StatusCode::NAME_NOT_FOUND as c_int; in rust_call_ndk() 50 return StatusCode::BAD_VALUE as c_int; in rust_call_ndk() 63 return e as c_int; in rust_call_ndk() 67 return StatusCode::BAD_TYPE as c_int; in rust_call_ndk() 71 StatusCode::OK as c_int in rust_call_ndk() 90 pub unsafe extern "C" fn rust_start_service(service_name: *const c_char) -> c_int { in rust_start_service() argument 94 Ok(_) => StatusCode::OK as c_int, in rust_start_service() 95 Err(e) => e as c_int, in rust_start_service()
|
/aosp12/art/tools/ |
H A D | pylibdexfile.py | 40 AllMethodsCallback = CFUNCTYPE(c_int, c_void_p, POINTER(ExtMethodInfo)) 47 libdexfile.ExtDexFileOpenFromMemory.restype = c_int 49 ExtDexFile, c_int, AllMethodsCallback, c_void_p 154 c_int(1), my_cb, c_void_p())
|
/aosp12/packages/modules/Virtualization/authfs/src/ |
H A D | fusefs.rs | 94 fn check_access_mode(flags: u32, mode: libc::c_int) -> io::Result<()> { in check_access_mode() 104 fn blk_size() -> libc::c_int { CHUNK_SIZE as libc::c_int }
|
/aosp12/system/sepolicy/tests/ |
H A D | policy.py | 342 lib.get_allow_rule.restype = c_int 366 lib.get_type.restype = c_int 377 lib.get_genfs.restype = c_int
|