Home
last modified time | relevance | path

Searched refs:GlobalAlloc (Results 1 – 25 of 1742) sorted by relevance

12345678910>>...70

/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/mir/interpret/
H A Dmod.rs210 GlobalAlloc::Memory(alloc) => { in specialized_encode_alloc_id()
215 GlobalAlloc::Function(fn_instance) => { in specialized_encode_alloc_id()
220 GlobalAlloc::Static(did) => { in specialized_encode_alloc_id()
383 pub enum GlobalAlloc<'tcx> { enum
393 impl GlobalAlloc<'tcx> { impl
399 GlobalAlloc::Memory(mem) => mem, in unwrap_memory()
409 GlobalAlloc::Function(instance) => instance, in unwrap_fn()
417 alloc_map: FxHashMap<AllocId, GlobalAlloc<'tcx>>,
423 dedup: FxHashMap<GlobalAlloc<'tcx>, AllocId>,
465 GlobalAlloc::Function(..) | GlobalAlloc::Static(..) => {} in reserve_and_set_dedup()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/allocator/
H A Dnot-an-allocator.stderr1 error[E0277]: the trait bound `usize: GlobalAlloc` is not satisfied
7 | ^^^^^^^^^^^^^^^^^^^^ the trait `GlobalAlloc` is not implemented for `usize`
11 error[E0277]: the trait bound `usize: GlobalAlloc` is not satisfied
17 | ^^^^^^^^^^^^^^^^^^^^ the trait `GlobalAlloc` is not implemented for `usize`
21 error[E0277]: the trait bound `usize: GlobalAlloc` is not satisfied
27 | ^^^^^^^^^^^^^^^^^^^^ the trait `GlobalAlloc` is not implemented for `usize`
31 error[E0277]: the trait bound `usize: GlobalAlloc` is not satisfied
37 | ^^^^^^^^^^^^^^^^^^^^ the trait `GlobalAlloc` is not implemented for `usize`
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/
H A DVariant.java284 long oldPtr = OS.GlobalAlloc(COM.GMEM_FIXED | COM.GMEM_ZEROINIT, sizeof); in getAutomation()
285 long newPtr = OS.GlobalAlloc(COM.GMEM_FIXED | COM.GMEM_ZEROINIT, sizeof); in getAutomation()
327 long oldPtr = OS.GlobalAlloc(COM.GMEM_FIXED | COM.GMEM_ZEROINIT, sizeof); in getDispatch()
328 long newPtr = OS.GlobalAlloc(COM.GMEM_FIXED | COM.GMEM_ZEROINIT, sizeof); in getDispatch()
369 long oldPtr = OS.GlobalAlloc(COM.GMEM_FIXED | COM.GMEM_ZEROINIT, sizeof); in getBoolean()
370 long newPtr = OS.GlobalAlloc(COM.GMEM_FIXED | COM.GMEM_ZEROINIT, sizeof); in getBoolean()
427 long oldPtr = OS.GlobalAlloc(COM.GMEM_FIXED | COM.GMEM_ZEROINIT, sizeof); in getByte()
428 long newPtr = OS.GlobalAlloc(COM.GMEM_FIXED | COM.GMEM_ZEROINIT, sizeof); in getByte()
467 long oldPtr = OS.GlobalAlloc(COM.GMEM_FIXED | COM.GMEM_ZEROINIT, sizeof); in getChar()
468 long newPtr = OS.GlobalAlloc(COM.GMEM_FIXED | COM.GMEM_ZEROINIT, sizeof); in getChar()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/other-licenses/nsis/Contrib/ExDLL/
H A Dexdllutil.cpp22 th=(stack_t*)GlobalAlloc(GPTR,(sizeof(stack_t)+(g_stringsize)*sizeof(TCHAR))); in pushstring()
43 wchar_t* wideStr = (wchar_t*) GlobalAlloc(GPTR, g_stringsize*sizeof(wchar_t)); in PopStringA()
52 wchar_t* wideStr = (wchar_t*) GlobalAlloc(GPTR, g_stringsize*sizeof(wchar_t)); in PushStringA()
83 char* ansiStr = (char*) GlobalAlloc(GPTR, g_stringsize); in PopStringW()
92 char* ansiStr = (char*) GlobalAlloc(GPTR, g_stringsize); in PushStringW()
130 return (TCHAR*) GlobalAlloc(GPTR, g_stringsize*sizeof(TCHAR)); in AllocString()
/dports/www/firefox/firefox-99.0/other-licenses/nsis/Contrib/ExDLL/
H A Dexdllutil.cpp22 th=(stack_t*)GlobalAlloc(GPTR,(sizeof(stack_t)+(g_stringsize)*sizeof(TCHAR))); in pushstring()
43 wchar_t* wideStr = (wchar_t*) GlobalAlloc(GPTR, g_stringsize*sizeof(wchar_t)); in PopStringA()
52 wchar_t* wideStr = (wchar_t*) GlobalAlloc(GPTR, g_stringsize*sizeof(wchar_t)); in PushStringA()
83 char* ansiStr = (char*) GlobalAlloc(GPTR, g_stringsize); in PopStringW()
92 char* ansiStr = (char*) GlobalAlloc(GPTR, g_stringsize); in PushStringW()
130 return (TCHAR*) GlobalAlloc(GPTR, g_stringsize*sizeof(TCHAR)); in AllocString()
/dports/lang/spidermonkey60/firefox-60.9.0/other-licenses/nsis/Contrib/ExDLL/
H A Dexdllutil.cpp22 th=(stack_t*)GlobalAlloc(GPTR,(sizeof(stack_t)+(g_stringsize)*sizeof(TCHAR))); in pushstring()
43 wchar_t* wideStr = (wchar_t*) GlobalAlloc(GPTR, g_stringsize*sizeof(wchar_t)); in PopStringA()
52 wchar_t* wideStr = (wchar_t*) GlobalAlloc(GPTR, g_stringsize*sizeof(wchar_t)); in PushStringA()
83 char* ansiStr = (char*) GlobalAlloc(GPTR, g_stringsize); in PopStringW()
92 char* ansiStr = (char*) GlobalAlloc(GPTR, g_stringsize); in PushStringW()
130 return (TCHAR*) GlobalAlloc(GPTR, g_stringsize*sizeof(TCHAR)); in AllocString()
/dports/www/firefox-legacy/firefox-52.8.0esr/other-licenses/nsis/Contrib/ExDLL/
H A Dexdllutil.cpp22 th=(stack_t*)GlobalAlloc(GPTR,(sizeof(stack_t)+(g_stringsize)*sizeof(TCHAR))); in pushstring()
43 wchar_t* wideStr = (wchar_t*) GlobalAlloc(GPTR, g_stringsize*sizeof(wchar_t)); in PopStringA()
52 wchar_t* wideStr = (wchar_t*) GlobalAlloc(GPTR, g_stringsize*sizeof(wchar_t)); in PushStringA()
83 char* ansiStr = (char*) GlobalAlloc(GPTR, g_stringsize); in PopStringW()
92 char* ansiStr = (char*) GlobalAlloc(GPTR, g_stringsize); in PushStringW()
130 return (TCHAR*) GlobalAlloc(GPTR, g_stringsize*sizeof(TCHAR)); in AllocString()
/dports/mail/thunderbird/thunderbird-91.8.0/other-licenses/nsis/Contrib/ExDLL/
H A Dexdllutil.cpp22 th=(stack_t*)GlobalAlloc(GPTR,(sizeof(stack_t)+(g_stringsize)*sizeof(TCHAR))); in pushstring()
43 wchar_t* wideStr = (wchar_t*) GlobalAlloc(GPTR, g_stringsize*sizeof(wchar_t)); in PopStringA()
52 wchar_t* wideStr = (wchar_t*) GlobalAlloc(GPTR, g_stringsize*sizeof(wchar_t)); in PushStringA()
83 char* ansiStr = (char*) GlobalAlloc(GPTR, g_stringsize); in PopStringW()
92 char* ansiStr = (char*) GlobalAlloc(GPTR, g_stringsize); in PushStringW()
130 return (TCHAR*) GlobalAlloc(GPTR, g_stringsize*sizeof(TCHAR)); in AllocString()
/dports/lang/spidermonkey78/firefox-78.9.0/other-licenses/nsis/Contrib/ExDLL/
H A Dexdllutil.cpp22 th=(stack_t*)GlobalAlloc(GPTR,(sizeof(stack_t)+(g_stringsize)*sizeof(TCHAR))); in pushstring()
43 wchar_t* wideStr = (wchar_t*) GlobalAlloc(GPTR, g_stringsize*sizeof(wchar_t)); in PopStringA()
52 wchar_t* wideStr = (wchar_t*) GlobalAlloc(GPTR, g_stringsize*sizeof(wchar_t)); in PushStringA()
83 char* ansiStr = (char*) GlobalAlloc(GPTR, g_stringsize); in PopStringW()
92 char* ansiStr = (char*) GlobalAlloc(GPTR, g_stringsize); in PushStringW()
130 return (TCHAR*) GlobalAlloc(GPTR, g_stringsize*sizeof(TCHAR)); in AllocString()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_codegen_cranelift/example/
H A Dalloc_system.rs32 use core::alloc::{GlobalAlloc, Layout};
40 let new_ptr = GlobalAlloc::alloc(self, new_layout); in realloc_fallback()
44 GlobalAlloc::dealloc(self, ptr, old_layout); in realloc_fallback()
56 use core::alloc::{GlobalAlloc, Layout};
57 unsafe impl GlobalAlloc for System {
142 use core::alloc::{GlobalAlloc, Layout};
181 unsafe impl GlobalAlloc for System {
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_codegen_gcc/example/
H A Dalloc_system.rs32 use core::alloc::{GlobalAlloc, Layout};
40 let new_ptr = GlobalAlloc::alloc(self, new_layout); in realloc_fallback()
44 GlobalAlloc::dealloc(self, ptr, old_layout); in realloc_fallback()
56 use core::alloc::{GlobalAlloc, Layout};
57 unsafe impl GlobalAlloc for System {
142 use core::alloc::{GlobalAlloc, Layout};
181 unsafe impl GlobalAlloc for System {
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/updater/win/net/
H A Dscoped_winttp_proxy_info.h63 proxy_info_.lpszProxy = GlobalAlloc(proxy); in set_proxy()
70 proxy_info_.lpszProxyBypass = GlobalAlloc(proxy_bypass); in set_proxy_bypass()
79 base::char16* GlobalAlloc(const base::string16& str) { in GlobalAlloc() function
82 reinterpret_cast<base::char16*>(::GlobalAlloc(GPTR, size_in_bytes)); in GlobalAlloc()
/dports/lang/rust/rustc-1.58.1-src/library/std/src/sys/common/
H A Dalloc.rs1 use crate::alloc::{GlobalAlloc, Layout, System};
41 let new_ptr = GlobalAlloc::alloc(alloc, new_layout); in realloc_fallback()
45 GlobalAlloc::dealloc(alloc, ptr, old_layout); in realloc_fallback()
/dports/audio/jamulus/jamulus-r3_8_1/windows/nsProcess/
H A Dpluginapi.c37 th=(stack_t*)GlobalAlloc(GPTR,(sizeof(stack_t)+(g_stringsize)*sizeof(TCHAR))); in pushstring()
58 wchar_t* wideStr = (wchar_t*) GlobalAlloc(GPTR, g_stringsize*sizeof(wchar_t)); in PopStringA()
68 wchar_t* wideStr = (wchar_t*) GlobalAlloc(GPTR, realLen*sizeof(wchar_t)); in PopStringNA()
77 wchar_t* wideStr = (wchar_t*) GlobalAlloc(GPTR, g_stringsize*sizeof(wchar_t)); in PushStringA()
108 char* ansiStr = (char*) GlobalAlloc(GPTR, g_stringsize); in PopStringW()
118 char* ansiStr = (char*) GlobalAlloc(GPTR, realLen); in PopStringNW()
127 char* ansiStr = (char*) GlobalAlloc(GPTR, g_stringsize); in PushStringW()
/dports/textproc/sonic/sonic-1.3.0/cargo-crates/jemallocator-0.3.2/src/
H A Dlib.rs27 use core::alloc::{GlobalAlloc, Layout};
77 unsafe impl GlobalAlloc for Jemalloc {
114 NonNull::new(GlobalAlloc::alloc(self, layout)).ok_or(AllocErr) in alloc()
119 NonNull::new(GlobalAlloc::alloc_zeroed(self, layout)).ok_or(AllocErr) in alloc_zeroed()
124 GlobalAlloc::dealloc(self, ptr.as_ptr(), layout) in dealloc()
134 NonNull::new(GlobalAlloc::realloc(self, ptr.as_ptr(), layout, new_size)).ok_or(AllocErr) in realloc()
/dports/sysutils/vector/vector-0.10.0/cargo-crates/jemallocator-0.3.2/src/
H A Dlib.rs27 use core::alloc::{GlobalAlloc, Layout};
77 unsafe impl GlobalAlloc for Jemalloc {
114 NonNull::new(GlobalAlloc::alloc(self, layout)).ok_or(AllocErr) in alloc()
119 NonNull::new(GlobalAlloc::alloc_zeroed(self, layout)).ok_or(AllocErr) in alloc_zeroed()
124 GlobalAlloc::dealloc(self, ptr.as_ptr(), layout) in dealloc()
134 NonNull::new(GlobalAlloc::realloc(self, ptr.as_ptr(), layout, new_size)).ok_or(AllocErr) in realloc()
/dports/dns/encrypted-dns-server/encrypted-dns-server-0.9.1/cargo-crates/jemallocator-0.3.2/src/
H A Dlib.rs27 use core::alloc::{GlobalAlloc, Layout};
77 unsafe impl GlobalAlloc for Jemalloc {
114 NonNull::new(GlobalAlloc::alloc(self, layout)).ok_or(AllocErr) in alloc()
119 NonNull::new(GlobalAlloc::alloc_zeroed(self, layout)).ok_or(AllocErr) in alloc_zeroed()
124 GlobalAlloc::dealloc(self, ptr.as_ptr(), layout) in dealloc()
134 NonNull::new(GlobalAlloc::realloc(self, ptr.as_ptr(), layout, new_size)).ok_or(AllocErr) in realloc()
/dports/dns/doh-proxy/doh-proxy-0.9.2/cargo-crates/jemallocator-0.3.2/src/
H A Dlib.rs27 use core::alloc::{GlobalAlloc, Layout};
77 unsafe impl GlobalAlloc for Jemalloc {
114 NonNull::new(GlobalAlloc::alloc(self, layout)).ok_or(AllocErr) in alloc()
119 NonNull::new(GlobalAlloc::alloc_zeroed(self, layout)).ok_or(AllocErr) in alloc_zeroed()
124 GlobalAlloc::dealloc(self, ptr.as_ptr(), layout) in dealloc()
134 NonNull::new(GlobalAlloc::realloc(self, ptr.as_ptr(), layout, new_size)).ok_or(AllocErr) in realloc()
/dports/textproc/ripgrep/ripgrep-13.0.0/cargo-crates/jemallocator-0.3.2/src/
H A Dlib.rs27 use core::alloc::{GlobalAlloc, Layout};
77 unsafe impl GlobalAlloc for Jemalloc {
114 NonNull::new(GlobalAlloc::alloc(self, layout)).ok_or(AllocErr) in alloc()
119 NonNull::new(GlobalAlloc::alloc_zeroed(self, layout)).ok_or(AllocErr) in alloc_zeroed()
124 GlobalAlloc::dealloc(self, ptr.as_ptr(), layout) in dealloc()
134 NonNull::new(GlobalAlloc::realloc(self, ptr.as_ptr(), layout, new_size)).ok_or(AllocErr) in realloc()
/dports/textproc/angle-grinder/angle-grinder-0.18.0/cargo-crates/jemallocator-0.3.2/src/
H A Dlib.rs27 use core::alloc::{GlobalAlloc, Layout};
77 unsafe impl GlobalAlloc for Jemalloc {
114 NonNull::new(GlobalAlloc::alloc(self, layout)).ok_or(AllocErr) in alloc()
119 NonNull::new(GlobalAlloc::alloc_zeroed(self, layout)).ok_or(AllocErr) in alloc_zeroed()
124 GlobalAlloc::dealloc(self, ptr.as_ptr(), layout) in dealloc()
134 NonNull::new(GlobalAlloc::realloc(self, ptr.as_ptr(), layout, new_size)).ok_or(AllocErr) in realloc()
/dports/sysutils/fd/fd-8.3.0/cargo-crates/jemallocator-0.3.2/src/
H A Dlib.rs27 use core::alloc::{GlobalAlloc, Layout};
77 unsafe impl GlobalAlloc for Jemalloc {
114 NonNull::new(GlobalAlloc::alloc(self, layout)).ok_or(AllocErr)
119 NonNull::new(GlobalAlloc::alloc_zeroed(self, layout)).ok_or(AllocErr)
124 GlobalAlloc::dealloc(self, ptr.as_ptr(), layout)
134 NonNull::new(GlobalAlloc::realloc(self, ptr.as_ptr(), layout, new_size)).ok_or(AllocErr)
/dports/archivers/zip/zip30/windll/
H A Dwindll.c88 hStr = GlobalAlloc( GPTR, (DWORD)65535L); in comment()
91 hStr = GlobalAlloc( GPTR, (DWORD) 2); in comment()
123 hMemory = GlobalAlloc(GMEM_MOVEABLE, STDIO_BUF_SIZE); in printf()
149 hMemory = GlobalAlloc(GMEM_MOVEABLE, STDIO_BUF_SIZE); in fprintf()
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/cargo-crates/tikv-jemallocator-0.4.1/src/
H A Dlib.rs24 use core::alloc::{GlobalAlloc, Layout};
95 unsafe impl GlobalAlloc for Jemalloc {
146 NonNull::new(GlobalAlloc::alloc(self, layout)).ok_or(AllocErr) in alloc()
151 NonNull::new(GlobalAlloc::alloc_zeroed(self, layout)).ok_or(AllocErr) in alloc_zeroed()
156 GlobalAlloc::dealloc(self, ptr.as_ptr(), layout) in dealloc()
166 NonNull::new(GlobalAlloc::realloc(self, ptr.as_ptr(), layout, new_size)).ok_or(AllocErr) in realloc()
/dports/lang/rust/rustc-1.58.1-src/library/std/src/
H A Dalloc.rs140 GlobalAlloc::alloc_zeroed(self, layout) in alloc_impl()
142 GlobalAlloc::alloc(self, layout) in alloc_impl()
176 let raw_ptr = GlobalAlloc::realloc(self, ptr.as_ptr(), old_layout, new_size); in grow_impl()
218 unsafe { GlobalAlloc::dealloc(self, ptr.as_ptr(), layout) } in deallocate()
268 let raw_ptr = GlobalAlloc::realloc(self, ptr.as_ptr(), old_layout, new_size); in shrink()
338 use super::{GlobalAlloc, Layout, System};
/dports/lang/rust/rustc-1.58.1-src/vendor/tikv-jemallocator/src/
H A Dlib.rs24 use core::alloc::{GlobalAlloc, Layout};
95 unsafe impl GlobalAlloc for Jemalloc {
146 NonNull::new(GlobalAlloc::alloc(self, layout)).ok_or(AllocErr) in alloc()
151 NonNull::new(GlobalAlloc::alloc_zeroed(self, layout)).ok_or(AllocErr) in alloc_zeroed()
156 GlobalAlloc::dealloc(self, ptr.as_ptr(), layout) in dealloc()
166 NonNull::new(GlobalAlloc::realloc(self, ptr.as_ptr(), layout, new_size)).ok_or(AllocErr) in realloc()

12345678910>>...70