Home
last modified time | relevance | path

Searched refs:zone (Results 1 – 25 of 98) sorted by relevance

1234

/llvm-project-15.0.7/compiler-rt/test/tsan/Darwin/
H A Dmalloc_size.mm1 // Test that malloc_zone_from_ptr returns a valid zone for a 0-sized allocation.
17 fprintf(stderr, "zone = %p\n", z);
19 fprintf(stderr, "zone = no zone\n");
32 // CHECK: zone = 0x{{[0-9a-f]+}}
39 // CHECK: zone = 0x{{[0-9a-f]+}}
46 // CHECK: zone = no zone
57 // CHECK: zone = no zone
64 // CHECK: zone = no zone
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_malloc_mac.inc41 // zone enumeration.
80 if (zone->zone_name) {
81 COMMON_MALLOC_FREE((void *)zone->zone_name);
83 COMMON_MALLOC_FREE(zone);
94 if (size) { // Claimed by sanitizer zone?
132 REAL(malloc_set_zone_name)(zone, name);
332 boolean_t mi_check(malloc_zone_t *zone) {
344 void mi_force_lock(malloc_zone_t *zone) {
348 void mi_force_unlock(malloc_zone_t *zone) {
353 COMMON_MALLOC_FILL_STATS(zone, stats);
[all …]
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Darwin/
H A Dmalloc_set_zone_name-mprotect.cpp25 malloc_zone_t *zone = NULL; in main() local
28 zone = malloc_create_zone(0, 0); in main()
29 if (((uintptr_t)zone & (~0xfff)) == (uintptr_t)zone) { in main()
40 malloc_set_zone_name(zone, "foobar"); in main()
50 malloc_destroy_zone(zone); in main()
H A Dmalloc_destroy_zone.cpp9 malloc_zone_t *zone = malloc_create_zone(0, 0); in main() local
10 fprintf(stderr, "zone = %p\n", zone); in main()
11 malloc_set_zone_name(zone, "myzone"); in main()
13 malloc_destroy_zone(zone); in main()
H A Dmalloc_zone-protected.cpp15 malloc_zone_t *zone = malloc_create_zone(0, 0); in main() local
16 zone->malloc = pwn; in main()
17 void *v = malloc_zone_malloc(zone, 1); in main()
/llvm-project-15.0.7/flang/test/Lower/Intrinsics/
H A Ddate_and_time.f906 character(*) :: date, time, zone local
19 call date_and_time(date, time, zone, values)
43 subroutine date_and_time_dynamic_optional(date, time, zone, values) argument
49 character(*), optional :: zone local
51 call date_and_time(date, time, zone, values)
/llvm-project-15.0.7/flang/unittests/Runtime/
H A DTime.cpp92 zone(bufferSize, 'Z'); in TEST() local
94 (date.data(), date.size(), time.data(), time.size(), zone.data(), zone.size(), in TEST()
152 if (isBlank(zone)) { in TEST()
155 ASSERT_TRUE(zone.size() > 1); in TEST()
156 EXPECT_TRUE(zone[0] == '+' || zone[0] == '-'); in TEST()
159 std::from_chars(zone.data() + 1, zone.data() + zone.size(), number)}; in TEST()
/llvm-project-15.0.7/flang/runtime/
H A Dtime-intrinsic.cpp199 char *zone, std::size_t zoneChars, in DateAndTimeUnavailable() argument
207 if (zone) { in DateAndTimeUnavailable()
208 std::memset(zone, static_cast<int>(' '), zoneChars); in DateAndTimeUnavailable()
261 std::size_t dateChars, char *time, std::size_t timeChars, char *zone, in GetDateAndTime() argument
267 terminator, date, dateChars, time, timeChars, zone, zoneChars, values); in GetDateAndTime()
294 if (zone) { in GetDateAndTime()
299 copyBufferAndPad(zone, zoneChars, len); in GetDateAndTime()
332 std::size_t dateChars, char *time, std::size_t timeChars, char *zone, in GetDateAndTime() argument
338 terminator, date, dateChars, time, timeChars, zone, zoneChars, values); in GetDateAndTime()
361 std::size_t timeChars, char *zone, std::size_t zoneChars, in RTNAME()
[all …]
/llvm-project-15.0.7/clang/test/ARCMT/
H A Datautorelease-check.m20 - (NSZone *)zone NS_AUTOMATED_REFCOUNT_UNAVAILABLE;
24 - (id)copyWithZone:(NSZone *)zone;
28 - (id)mutableCopyWithZone:(NSZone *)zone;
35 + (id)allocWithZone:(NSZone *)zone NS_AUTOMATED_REFCOUNT_UNAVAILABLE;
44 + (id)copyWithZone:(NSZone *)zone NS_AUTOMATED_REFCOUNT_UNAVAILABLE;
45 + (id)mutableCopyWithZone:(NSZone *)zone NS_AUTOMATED_REFCOUNT_UNAVAILABLE;
48 extern void NSRecycleZone(NSZone *zone);
/llvm-project-15.0.7/clang/test/Rewriter/
H A Drewrite-super-message.mm27 + (id)allocWithZone:(NSZone *)zone;
35 + (id)allocWithZone:(NSZone *)zone {
36 return [super allocWithZone:zone];
/llvm-project-15.0.7/clang/test/Analysis/
H A Drdar-6562655.m14 @end @protocol NSCopying - (id)copyWithZone:(NSZone *)zone;
17 @end extern id NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone);
55 - (id)copyWithZone:(NSZone *)zone { return 0; }
H A DPR3991.m12 @end @protocol NSCopying - (id)copyWithZone:(NSZone *)zone;
13 @end @protocol NSMutableCopying - (id)mutableCopyWithZone:(NSZone *)zone;
17 @end extern id <NSObject> NSAllocateObject(Class aClass, unsigned extraBytes, NSZone *zone);
H A DCFRetainRelease_NSAssertionHandler.m11 @protocol NSCopying - (id)copyWithZone:(NSZone *)zone; @end
12 @protocol NSMutableCopying - (id)mutableCopyWithZone:(NSZone *)zone; @end
15 extern id NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone);
H A Duninit-ps-rdar6145427.m11 @protocol NSCopying - (id)copyWithZone:(NSZone *)zone; @end
17 extern id NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone);
H A DanalyzeOneFunction.m8 @protocol NSCopying - (id)copyWithZone:(NSZone *)zone; @end
10 @protocol NSMutableCopying - (id)mutableCopyWithZone:(NSZone *)zone; @end
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dinterface-layout.m13 - (id) copyWithZone:(NSZone *) zone;
19 extern id NSAllocateObject (Class aClass, NSUInteger extraBytes, NSZone * zone);
H A Dweak-attr-ivar.m10 @protocol NSCopying - (id)copyWithZone:(NSZone *)zone;
12 @protocol NSMutableCopying - (id)mutableCopyWithZone:(NSZone *)zone;
18 extern id NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone);
H A Dmethod-conflict.m8 @end @protocol NSCopying - (id)copyWithZone:(NSZone *)zone;
9 @end @protocol NSMutableCopying - (id)mutableCopyWithZone:(NSZone *)zone;
13 @end extern id NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone);
H A Dproperty-6.m17 - (id)copyWithZone:(NSZone *)zone;
21 - (id)mutableCopyWithZone:(NSZone *)zone;
H A Dcompare-qualified-id.m8 @protocol NSCopying - (id)copyWithZone:(NSZone *)zone; @end // expected-note {{method 'copyWithZon…
9 @protocol NSMutableCopying - (id)mutableCopyWithZone:(NSZone *)zone; @end
H A Dproperty-8.m10 @protocol NSCopying - (id)copyWithZone:(NSZone *)zone; @end
11 @protocol NSMutableCopying - (id)mutableCopyWithZone:(NSZone *)zone; @end
H A Dcomptypes-9.m16 - (id)copyWithZone:(NSZone *)zone;
20 - (id)mutableCopyWithZone:(NSZone *)zone;
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dstack-probe-red-zone.ll3 ; Ensure that red zone usage occurs.
12 ; Ensure stack probes do not result in red zone usage.
/llvm-project-15.0.7/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-objc.h62 @end @protocol NSCopying - (id)copyWithZone:(NSZone *)zone;
63 @end @protocol NSMutableCopying - (id)mutableCopyWithZone:(NSZone *)zone;
67 + (id)allocWithZone:(NSZone *)zone;
74 extern id NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone);
/llvm-project-15.0.7/libcxx/docs/Status/
H A DSpaceshipProjects.csv64 | `[time.zone.nonmembers] <https://wg21.link/time.zone.nonmembers>`_
65 | `[time.zone.leap.nonmembers] <https://wg21.link/time.zone.leap.nonmembers>`_
66 | `[time.zone.link.nonmembers] <https://wg21.link/time.zone.link.nonmembers>`_","| chrono::duration

1234