Home
last modified time | relevance | path

Searched refs:nmemb (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Virtualization/vmbase/src/
Dheap.rs83 unsafe extern "C" fn calloc(nmemb: usize, size: usize) -> *mut c_void { in calloc()
84 let Some(size) = nmemb.checked_mul(size) else { return ptr::null_mut() }; in calloc()
Dbionic.rs165 extern "C" fn fwrite(ptr: *const c_void, size: usize, nmemb: usize, stream: usize) -> usize { in fwrite()
166 let length = size.saturating_mul(nmemb); in fwrite()
/packages/modules/adb/
Dsysdeps_win32.cpp2849 static size_t _console_fwrite(const void* ptr, size_t size, size_t nmemb, in _console_fwrite() argument
2851 const int result = _console_write_utf8(reinterpret_cast<const char*>(ptr), size * nmemb, stream, in _console_fwrite()
2861 size_t adb_fwrite(const void* ptr, size_t size, size_t nmemb, FILE* stream) { in adb_fwrite() argument
2867 return _console_fwrite(ptr, size, nmemb, stream, console); in adb_fwrite()
2873 return fwrite(ptr, size, nmemb, stream); in adb_fwrite()
Dsysdeps.h265 extern size_t adb_fwrite(const void* ptr, size_t size, size_t nmemb, FILE* stream);