/external/jemalloc/src/ |
H A D | zone.c | 16 static malloc_zone_t zone; variable 22 static size_t zone_size(malloc_zone_t *zone, void *ptr); 23 static void *zone_malloc(malloc_zone_t *zone, size_t size); 24 static void *zone_calloc(malloc_zone_t *zone, size_t num, size_t size); 25 static void *zone_valloc(malloc_zone_t *zone, size_t size); 26 static void zone_free(malloc_zone_t *zone, void *ptr); 27 static void *zone_realloc(malloc_zone_t *zone, void *ptr, size_t size); 29 static void *zone_memalign(malloc_zone_t *zone, size_t alignment, 33 static void zone_free_definite_size(malloc_zone_t *zone, void *ptr, 36 static void *zone_destroy(malloc_zone_t *zone); 47 zone_size(malloc_zone_t *zone, void *ptr) argument 63 zone_malloc(malloc_zone_t *zone, size_t size) argument 70 zone_calloc(malloc_zone_t *zone, size_t num, size_t size) argument 77 zone_valloc(malloc_zone_t *zone, size_t size) argument 87 zone_free(malloc_zone_t *zone, void *ptr) argument 99 zone_realloc(malloc_zone_t *zone, void *ptr, size_t size) argument 110 zone_memalign(malloc_zone_t *zone, size_t alignment, size_t size) argument 122 zone_free_definite_size(malloc_zone_t *zone, void *ptr, size_t size) argument 136 zone_destroy(malloc_zone_t *zone) argument 145 zone_good_size(malloc_zone_t *zone, size_t size) argument 154 zone_force_lock(malloc_zone_t *zone) argument 162 zone_force_unlock(malloc_zone_t *zone) argument [all...] |
/external/compiler-rt/test/asan/TestCases/Darwin/ |
H A D | malloc_zone-protected.cc | 15 malloc_zone_t *zone = malloc_create_zone(0, 0); local 16 zone->malloc = pwn; 17 void *v = malloc_zone_malloc(zone, 1);
|
H A D | malloc_set_zone_name-mprotect.cc | 23 // Try to allocate a page-aligned malloc zone. Otherwise the mprotect() call 25 malloc_zone_t *zone = NULL; local 28 zone = malloc_create_zone(0, 0); 29 if (((uintptr_t)zone & (~0xfff)) == (uintptr_t)zone) { 35 printf("Warning: couldn't allocate a page-aligned zone."); 38 // malloc_set_zone_name() calls mprotect(zone, 4096, PROT_READ | PROT_WRITE), 39 // modifies the zone contents and then calls mprotect(zone, 4096, PROT_READ). 40 malloc_set_zone_name(zone, "fooba [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | vzone.cpp | 39 vzone_close(VZone* zone) { argument 40 delete (VTimeZone*)zone; 44 vzone_clone(const VZone *zone) { argument 45 return (VZone*) (((VTimeZone*)zone)->VTimeZone::clone()); 54 vzone_getTZURL(VZone* zone, UChar* & url, int32_t & urlLength) { argument 56 UBool b = ((VTimeZone*)zone)->VTimeZone::getTZURL(s); 65 vzone_setTZURL(VZone* zone, UChar* url, int32_t urlLength) { argument 67 ((VTimeZone*)zone)->VTimeZone::setTZURL(s); 71 vzone_getLastModified(VZone* zone, UDate& lastModified) { argument 72 return ((VTimeZone*)zone) 76 vzone_setLastModified(VZone* zone, UDate lastModified) argument 81 vzone_write(VZone* zone, UChar* & result, int32_t & resultLength, UErrorCode& status) argument 93 vzone_writeFromStart(VZone* zone, UDate start, UChar* & result, int32_t & resultLength, UErrorCode& status) argument 105 vzone_writeSimple(VZone* zone, UDate time, UChar* & result, int32_t & resultLength, UErrorCode& status) argument 117 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, UErrorCode& status) argument 123 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t monthLength, UErrorCode& status) argument 130 vzone_getOffset3(VZone* zone, UDate date, UBool local, int32_t& rawOffset, int32_t& dstOffset, UErrorCode& ec) argument 136 vzone_setRawOffset(VZone* zone, int32_t offsetMillis) argument 141 vzone_getRawOffset(VZone* zone) argument 146 vzone_useDaylightTime(VZone* zone) argument 151 vzone_inDaylightTime(VZone* zone, UDate date, UErrorCode& status) argument 156 vzone_hasSameRules(VZone* zone, const VZone* other) argument 161 vzone_getNextTransition(VZone* zone, UDate base, UBool inclusive, ZTrans* result) argument 166 vzone_getPreviousTransition(VZone* zone, UDate base, UBool inclusive, ZTrans* result) argument 171 vzone_countTransitionRules(VZone* zone, UErrorCode& status) argument 176 vzone_getStaticClassID(VZone* zone) argument 181 vzone_getDynamicClassID(VZone* zone) argument [all...] |
H A D | vzone.h | 38 * Creates a vzone from the given time zone ID. 39 * @param ID The time zone ID, such as America/New_York 41 * @return A vzone object initialized by the time zone ID, 64 vzone_close(VZone* zone); 68 * @param zone the original vzone 72 vzone_clone(const VZone *zone); 88 * @param zone, the vzone to use 94 vzone_getTZURL(VZone* zone, UChar* & url, int32_t & urlLength); 98 * @param zone, the vzone to use 103 vzone_setTZURL(VZone* zone, UCha [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | vzone.cpp | 39 vzone_close(VZone* zone) { argument 40 delete (VTimeZone*)zone; 44 vzone_clone(const VZone *zone) { argument 45 return (VZone*) (((VTimeZone*)zone)->VTimeZone::clone()); 54 vzone_getTZURL(VZone* zone, UChar* & url, int32_t & urlLength) { argument 56 UBool b = ((VTimeZone*)zone)->VTimeZone::getTZURL(s); 65 vzone_setTZURL(VZone* zone, UChar* url, int32_t urlLength) { argument 67 ((VTimeZone*)zone)->VTimeZone::setTZURL(s); 71 vzone_getLastModified(VZone* zone, UDate& lastModified) { argument 72 return ((VTimeZone*)zone) 76 vzone_setLastModified(VZone* zone, UDate lastModified) argument 81 vzone_write(VZone* zone, UChar* & result, int32_t & resultLength, UErrorCode& status) argument 93 vzone_writeFromStart(VZone* zone, UDate start, UChar* & result, int32_t & resultLength, UErrorCode& status) argument 105 vzone_writeSimple(VZone* zone, UDate time, UChar* & result, int32_t & resultLength, UErrorCode& status) argument 117 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, UErrorCode& status) argument 123 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t monthLength, UErrorCode& status) argument 130 vzone_getOffset3(VZone* zone, UDate date, UBool local, int32_t& rawOffset, int32_t& dstOffset, UErrorCode& ec) argument 136 vzone_setRawOffset(VZone* zone, int32_t offsetMillis) argument 141 vzone_getRawOffset(VZone* zone) argument 146 vzone_useDaylightTime(VZone* zone) argument 151 vzone_inDaylightTime(VZone* zone, UDate date, UErrorCode& status) argument 156 vzone_hasSameRules(VZone* zone, const VZone* other) argument 161 vzone_getNextTransition(VZone* zone, UDate base, UBool inclusive, ZTrans* result) argument 166 vzone_getPreviousTransition(VZone* zone, UDate base, UBool inclusive, ZTrans* result) argument 171 vzone_countTransitionRules(VZone* zone, UErrorCode& status) argument 176 vzone_getStaticClassID(VZone* zone) argument 181 vzone_getDynamicClassID(VZone* zone) argument [all...] |
H A D | vzone.h | 38 * Creates a vzone from the given time zone ID. 39 * @param ID The time zone ID, such as America/New_York 41 * @return A vzone object initialized by the time zone ID, 64 vzone_close(VZone* zone); 68 * @param zone the original vzone 72 vzone_clone(const VZone *zone); 88 * @param zone, the vzone to use 94 vzone_getTZURL(VZone* zone, UChar* & url, int32_t & urlLength); 98 * @param zone, the vzone to use 103 vzone_setTZURL(VZone* zone, UCha [all...] |
/external/chromium_org/v8/test/cctest/ |
H A D | test-unique.cc | 146 Zone zone(isolate); 148 UniqueSet<String>* set = new(&zone) UniqueSet<String>(); 151 set->Add(A, &zone); 153 set->Add(A, &zone); 155 set->Add(B, &zone); 157 set->Add(C, &zone); 159 set->Add(C, &zone); 161 set->Add(B, &zone); 163 set->Add(A, &zone); 173 Zone zone(isolat 381 MakeSet(Zone* zone, int which, Unique<T>* elements) argument [all...] |
H A D | test-dataflow.cc | 38 Zone zone(CcTest::i_isolate()); 40 BitVector v(15, &zone); 47 BitVector w(15, &zone); 55 BitVector v(64, &zone); 73 BitVector v(15, &zone); 75 BitVector w(15, &zone); 83 BitVector v(15, &zone); 85 BitVector w(15, &zone); 89 BitVector u(w, &zone); 98 BitVector v(35, &zone); [all...] |
/external/chromium_org/v8/src/ |
H A D | zone.h | 92 // Report zone excess when allocation exceeds this limit. 95 // The number of bytes allocated in this zone so far. 100 // the zone. 132 INLINE(void* operator new(size_t size, Zone* zone)); 141 // Zone::DeleteAll() to delete all zone objects in one go. 143 void operator delete(void* pointer, Zone* zone) { UNREACHABLE(); } argument 151 explicit ZoneScope(Zone* zone) : zone_(zone) { } argument 154 Zone* zone() { return zone_; } function in struct:v8::internal::ZoneScope 165 explicit ZoneAllocationPolicy(Zone* zone) argument 168 Zone* zone() { return zone_; } function in struct:v8::internal::ZoneAllocationPolicy 184 ZoneList(int capacity, Zone* zone) argument 190 ZoneList(const ZoneList<T>& other, Zone* zone) argument 198 INLINE(void Add(const T& element, Zone* zone)) argument 201 INLINE(void AddAll(const List<T, ZoneAllocationPolicy>& other, Zone* zone)) argument 204 INLINE(void AddAll(const Vector<T>& other, Zone* zone)) argument 207 INLINE(void InsertAt(int index, const T& element, Zone* zone)) argument 211 AddBlock(T value, int count, Zone* zone) argument 215 INLINE(void Allocate(int length, Zone* zone)) argument 218 INLINE(void Initialize(int capacity, Zone* zone)) argument 224 operator delete(void* pointer, Zone* zone) argument 234 ZoneSplayTree(Zone* zone) argument 241 operator delete(void* pointer, Zone* zone) argument [all...] |
H A D | zone-containers.h | 12 #include "src/zone-allocator.h" 18 // that uses a zone allocator. 23 explicit ZoneVector(Zone* zone) argument 24 : std::vector<T, zone_allocator<T> >(zone_allocator<T>(zone)) {} 28 ZoneVector(int size, T def, Zone* zone) argument 29 : std::vector<T, zone_allocator<T> >(size, def, zone_allocator<T>(zone)) { 34 // that uses a zone allocator. 38 explicit ZoneDeque(Zone* zone) argument 39 : std::deque<T, zone_allocator<T> >(zone_allocator<T>(zone)) {} 43 // that uses a zone allocato 48 ZoneQueue(Zone* zone) argument [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/pshinter/ |
H A D | pshglob.c | 157 PSH_Blue_Zone zones, zone; local 161 /* read blue zone entry, and select target top/bottom zone */ 183 zone = zones; 184 for ( ; count > 0; count--, zone++ ) 186 if ( reference < zone->org_ref ) 189 if ( reference == zone->org_ref ) 191 FT_Int delta0 = zone->org_delta; 199 zone->org_delta = delta; 204 zone 274 PSH_Blue_Zone zone = top_table->zones; local 297 PSH_Blue_Zone zone = bot_table->zones; local 328 PSH_Blue_Zone zone; local 439 PSH_Blue_Zone zone; local 564 PSH_Blue_Zone zone; local [all...] |
/external/chromium_org/v8/src/compiler/arm/ |
H A D | linkage-arm.cc | 11 #include "src/zone.h" 38 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { argument 39 return LH::GetJSCallDescriptor(zone, parameter_count); 45 Operator::Properties properties, Zone* zone) { 46 return LH::GetRuntimeCallDescriptor(zone, function, parameter_count, 53 CallDescriptor::Flags flags, Zone* zone) { 54 return LH::GetStubCallDescriptor(zone, descriptor, stack_parameter_count, 59 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, argument 61 return LH::GetSimplifiedCDescriptor(zone, sig); 43 GetRuntimeCallDescriptor( Runtime::FunctionId function, int parameter_count, Operator::Properties properties, Zone* zone) argument 51 GetStubCallDescriptor( CallInterfaceDescriptor descriptor, int stack_parameter_count, CallDescriptor::Flags flags, Zone* zone) argument
|
/external/chromium_org/v8/src/compiler/arm64/ |
H A D | linkage-arm64.cc | 11 #include "src/zone.h" 38 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { argument 39 return LH::GetJSCallDescriptor(zone, parameter_count); 45 Operator::Properties properties, Zone* zone) { 46 return LH::GetRuntimeCallDescriptor(zone, function, parameter_count, 53 CallDescriptor::Flags flags, Zone* zone) { 54 return LH::GetStubCallDescriptor(zone, descriptor, stack_parameter_count, 59 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, argument 61 return LH::GetSimplifiedCDescriptor(zone, sig); 43 GetRuntimeCallDescriptor( Runtime::FunctionId function, int parameter_count, Operator::Properties properties, Zone* zone) argument 51 GetStubCallDescriptor( CallInterfaceDescriptor descriptor, int stack_parameter_count, CallDescriptor::Flags flags, Zone* zone) argument
|
/external/chromium_org/v8/src/compiler/ia32/ |
H A D | linkage-ia32.cc | 11 #include "src/zone.h" 33 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { argument 34 return LH::GetJSCallDescriptor(zone, parameter_count); 40 Operator::Properties properties, Zone* zone) { 41 return LH::GetRuntimeCallDescriptor(zone, function, parameter_count, 48 CallDescriptor::Flags flags, Zone* zone) { 49 return LH::GetStubCallDescriptor(zone, descriptor, stack_parameter_count, 54 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, argument 56 return LH::GetSimplifiedCDescriptor(zone, sig); 38 GetRuntimeCallDescriptor( Runtime::FunctionId function, int parameter_count, Operator::Properties properties, Zone* zone) argument 46 GetStubCallDescriptor( CallInterfaceDescriptor descriptor, int stack_parameter_count, CallDescriptor::Flags flags, Zone* zone) argument
|
/external/chromium_org/v8/test/cctest/compiler/ |
H A D | graph-builder-tester.cc | 14 MachineCallHelper::MachineCallHelper(Zone* zone, MachineSignature* machine_sig) argument 15 : CallHelper(zone->isolate(), machine_sig), 26 parameters_ = graph_->zone()->NewArray<Node*>(param_count); 37 Zone* zone = graph_->zone(); local 38 CompilationInfo info(zone->isolate(), zone); 40 Linkage::GetSimplifiedCDescriptor(zone, machine_sig_));
|
/external/chromium_org/third_party/freetype/src/cff/ |
H A D | cf2blues.c | 190 blues->zone[blues->count].csBottomEdge = 192 blues->zone[blues->count].csTopEdge = 195 zoneHeight = blues->zone[blues->count].csTopEdge - 196 blues->zone[blues->count].csBottomEdge; 200 FT_TRACE4(( "cf2_blues_init: ignoring negative zone height\n" )); 201 continue; /* reject this zone */ 211 /* adjust both edges of top zone upward by twice darkening amount */ 214 blues->zone[blues->count].csTopEdge += 2 * font->darkenY; 215 blues->zone[blues->count].csBottomEdge += 2 * font->darkenY; 218 /* first `BlueValue' is bottom zone; other [all...] |
/external/freetype/src/cff/ |
H A D | cf2blues.c | 192 blues->zone[blues->count].csBottomEdge = 194 blues->zone[blues->count].csTopEdge = 197 zoneHeight = blues->zone[blues->count].csTopEdge - 198 blues->zone[blues->count].csBottomEdge; 202 FT_TRACE4(( "cf2_blues_init: ignoring negative zone height\n" )); 203 continue; /* reject this zone */ 213 /* adjust both edges of top zone upward by twice darkening amount */ 216 blues->zone[blues->count].csTopEdge += 2 * font->darkenY; 217 blues->zone[blues->count].csBottomEdge += 2 * font->darkenY; 220 /* first `BlueValue' is bottom zone; other [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/ |
H A D | cf2blues.c | 190 blues->zone[blues->count].csBottomEdge = 192 blues->zone[blues->count].csTopEdge = 195 zoneHeight = blues->zone[blues->count].csTopEdge - 196 blues->zone[blues->count].csBottomEdge; 200 FT_TRACE4(( "cf2_blues_init: ignoring negative zone height\n" )); 201 continue; /* reject this zone */ 211 /* adjust both edges of top zone upward by twice darkening amount */ 214 blues->zone[blues->count].csTopEdge += 2 * font->darkenY; 215 blues->zone[blues->count].csBottomEdge += 2 * font->darkenY; 218 /* first `BlueValue' is bottom zone; other [all...] |
/external/chromium_org/v8/src/compiler/ |
H A D | generic-graph.h | 19 explicit GenericGraphBase(Zone* zone) : zone_(zone), next_node_id_(0) {} argument 21 Zone* zone() const { return zone_; } function in class:v8::internal::compiler::GenericGraphBase 34 explicit GenericGraph(Zone* zone) argument 35 : GenericGraphBase(zone), start_(NULL), end_(NULL) {}
|
/external/chromium_org/third_party/freetype/src/pshinter/ |
H A D | pshglob.c | 157 PSH_Blue_Zone zones, zone; local 161 /* read blue zone entry, and select target top/bottom zone */ 183 zone = zones; 184 for ( ; count > 0; count--, zone++ ) 186 if ( reference < zone->org_ref ) 189 if ( reference == zone->org_ref ) 191 FT_Int delta0 = zone->org_delta; 199 zone->org_delta = delta; 204 zone 274 PSH_Blue_Zone zone = top_table->zones; local 297 PSH_Blue_Zone zone = bot_table->zones; local 320 PSH_Blue_Zone zone; local 431 PSH_Blue_Zone zone; local 556 PSH_Blue_Zone zone; local [all...] |
/external/freetype/src/pshinter/ |
H A D | pshglob.c | 157 PSH_Blue_Zone zones, zone; local 161 /* read blue zone entry, and select target top/bottom zone */ 183 zone = zones; 184 for ( ; count > 0; count--, zone++ ) 186 if ( reference < zone->org_ref ) 189 if ( reference == zone->org_ref ) 191 FT_Int delta0 = zone->org_delta; 199 zone->org_delta = delta; 204 zone 274 PSH_Blue_Zone zone = top_table->zones; local 297 PSH_Blue_Zone zone = bot_table->zones; local 320 PSH_Blue_Zone zone; local 431 PSH_Blue_Zone zone; local 556 PSH_Blue_Zone zone; local [all...] |
/external/chromium_org/third_party/icu/source/samples/datefmt/answers/ |
H A D | main_2.cpp | 16 * TimeZone::createTimeZone() will return a GMT zone object. In order 17 * to detect this error, we check the ID of the returned zone against 22 TimeZone* zone = TimeZone::createTimeZone(id); local 23 if (zone->getID(str) != id) { 24 delete zone; 27 printf(") returned zone with ID "); 32 return zone; 38 TimeZone *zone; local 62 zone = createZone("GMT"); // Create a GMT zone [all...] |
H A D | main_3.cpp | 16 * TimeZone::createTimeZone() will return a GMT zone object. In order 17 * to detect this error, we check the ID of the returned zone against 22 TimeZone* zone = TimeZone::createTimeZone(id); local 23 if (zone->getID(str) != id) { 24 delete zone; 27 printf(") returned zone with ID "); 32 return zone; 38 TimeZone *zone; local 62 zone = createZone("GMT"); // Create a GMT zone [all...] |
/external/chromium_org/third_party/icu/source/samples/datefmt/ |
H A D | main.cpp | 16 * TimeZone::createTimeZone() will return a GMT zone object. In order 17 * to detect this error, we check the ID of the returned zone against 22 TimeZone* zone = TimeZone::createTimeZone(id); local 23 if (zone->getID(str) != id) { 24 delete zone; 27 printf(") returned zone with ID "); 32 return zone; 38 TimeZone *zone; local 62 zone = createZone("GMT"); // Create a GMT zone [all...] |