Home | History | Annotate | Download | only in upstream-dlmalloc

Lines Matching defs:WIN32

115        pthread mutex, win32 critical section, or a spin-lock if if
134 MORECORE and MMAP are enabled. On Win32, it uses emulations
225 WIN32 default: defined if _WIN32 defined
226 Defining WIN32 sets up defaults for MS environment and compilers.
229 Win32 malloc: Random-looking failures from Win32 GDI API's (eg;
238 in cases where MSC and gcc (cygwin) are known to differ on WIN32,
264 pthread or WIN32 mutex lock/unlock. (If set true, this can be
273 MS compilers. Otherwise, posix locks or win32 critical sections are
346 MALLOC_FAILURE_ACTION default: sets errno to ENOMEM, or no-op on win32
350 HAVE_MORECORE default: 1 (true) unless win32 or ONLY_MSPACES
400 for standard unix mmap using /dev/zero and on WIN32 except for WINCE.
407 this setting has no effect. Similarly for Win32 under recent MS compilers.
414 if WIN32, where page size is determined using getSystemInfo during
443 LACKS_STDLIB_H LACKS_SCHED_H LACKS_TIME_H default: NOT defined unless on WIN32
448 system_info.dwAllocationGranularity in WIN32,
458 to either page size or win32 region size. (Note: In previous
533 #ifndef WIN32
535 #define WIN32 1
539 #define WIN32 1
541 #endif /* WIN32 */
542 #ifdef WIN32
566 #endif /* WIN32 */
672 #if (MORECORE_CONTIGUOUS || defined(WIN32))
1456 #if !defined(WIN32) && !defined(LACKS_TIME_H)
1458 #endif /* WIN32 */
1495 #ifndef WIN32
1520 #elif defined(WIN32) && defined(__GNUC__)
1523 #endif /* Win32 */
1531 /* Declarations for bit scanning on win32 */
1550 #ifndef WIN32
1564 # ifdef WIN32 /* use supplied emulation of getpagesize */
1640 #ifndef WIN32
1664 #else /* WIN32 */
1666 /* Win32 MMAP via VirtualAlloc */
1700 #endif /* WIN32 */
1704 #ifndef WIN32
1706 #endif /* WIN32 */
1857 #else /* Win32 MSC */
1898 #ifdef WIN32
1973 #elif defined(WIN32) /* Win32 critical sections */
2679 #ifdef WIN32
3119 #ifndef WIN32
3122 #else /* WIN32 */
3130 #endif /* WIN32 */
3180 #ifdef WIN32
6125 * Win32 improvements; thanks to Niall Douglas and Earl Chew
6189 * new WIN32 sbrk, mmap, munmap, lock code from <Walter@GeNeSys-e.de>.
6210 * Added Several WIN32 cleanups from Martin C. Fong <mcfong at yahoo.com>
6212 (e.g. WIN32 platforms)
6213 * Cleanup header file inclusion for WIN32 platforms
6217 * Set 'malloc_getpagesize' for WIN32 platforms (needs more work)
6218 * Use 'assert' rather than 'ASSERT' in WIN32 code to conform to
6219 usage of 'assert' in non-WIN32 code
6220 * Improve WIN32 'sbrk()' emulation's 'findRegion()' routine to
6230 * Added anonymously donated WIN32 sbrk emulation