/external/jemalloc/src/ |
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); [all...] |
/external/chromium_org/v8/src/ |
zone.h | 24 // The Zone supports very fast allocation of small chunks of 26 // the Zone supports deallocating all chunks in one fast 27 // operation. The Zone is used to hold temporary data structures like 30 // Note: There is no need to initialize the Zone; the first time an 37 class Zone { 39 explicit Zone(Isolate* isolate); 40 ~Zone(); 41 // Allocate 'size' bytes of memory in the Zone; expands the Zone by 52 // Deletes all objects and free all memory allocated in the Zone. Keeps on 154 Zone* zone() { return zone_; } function in struct:v8::internal::ZoneScope 168 Zone* zone() { return zone_; } function in struct:v8::internal::ZoneAllocationPolicy [all...] |
zone-inl.h | 8 #include "src/zone.h" 27 bool Zone::excess_allocation() { 32 void Zone::adjust_segment_bytes_allocated(int delta) { 41 // in the destructor. For a zone-allocated tree, nodes will be 42 // freed by the Zone. 47 void* ZoneObject::operator new(size_t size, Zone* zone) { 48 return zone->New(static_cast<int>(size)); 58 void* ZoneList<T>::operator new(size_t size, Zone* zone) { [all...] |
hydrogen-infer-representation.h | 18 worklist_(8, zone()), 19 in_worklist_(graph->GetMaximumValueID(), zone()) { }
|
zone-containers.h | 12 #include "src/zone-allocator.h" 18 // that uses a zone allocator. 23 explicit ZoneVector(Zone* zone) 24 : std::vector<T, zone_allocator<T> >(zone_allocator<T>(zone)) {} 28 ZoneVector(int size, T def, Zone* zone) 29 : std::vector<T, zone_allocator<T> >(size, def, zone_allocator<T>(zone)) { 34 // that uses a zone allocator. 38 explicit ZoneDeque(Zone* zone [all...] |
effects.h | 39 static Effect Unknown(Zone* zone) { 40 return Effect(Bounds::Unbounded(zone), POSSIBLE); 43 static Effect Forget(Zone* zone) { 44 return Effect(Bounds::Unbounded(zone), DEFINITE); 48 static Effect Seq(Effect e1, Effect e2, Zone* zone) { 50 return Effect(Bounds::Either(e1.bounds, e2.bounds, zone), e1.modality); 54 static Effect Alt(Effect e1, Effect e2, Zone* zone) 185 Zone* zone() { return map_->allocator().zone(); } function in class:v8::internal::EffectsBase 255 Zone* zone() { return node_->zone; } function in class:v8::internal::NestedEffectsBase 281 Zone* zone; member in struct:v8::internal::NestedEffectsBase::Node [all...] |
/external/compiler-rt/test/asan/TestCases/Darwin/ |
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);
|
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, "foobar") [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
vzone.cpp | 39 vzone_close(VZone* zone) { 40 delete (VTimeZone*)zone; 44 vzone_clone(const VZone *zone) { 45 return (VZone*) (((VTimeZone*)zone)->VTimeZone::clone()); 54 vzone_getTZURL(VZone* zone, UChar* & url, int32_t & urlLength) { 56 UBool b = ((VTimeZone*)zone)->VTimeZone::getTZURL(s); 65 vzone_setTZURL(VZone* zone, UChar* url, int32_t urlLength) { 67 ((VTimeZone*)zone)->VTimeZone::setTZURL(s); 71 vzone_getLastModified(VZone* zone, UDate& lastModified) { 72 return ((VTimeZone*)zone)->VTimeZone::getLastModified(lastModified) [all...] |
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, UChar* url, int32_t urlLength) [all...] |
/external/icu/icu4c/source/i18n/ |
vzone.cpp | 39 vzone_close(VZone* zone) { 40 delete (VTimeZone*)zone; 44 vzone_clone(const VZone *zone) { 45 return (VZone*) (((VTimeZone*)zone)->VTimeZone::clone()); 54 vzone_getTZURL(VZone* zone, UChar* & url, int32_t & urlLength) { 56 UBool b = ((VTimeZone*)zone)->VTimeZone::getTZURL(s); 65 vzone_setTZURL(VZone* zone, UChar* url, int32_t urlLength) { 67 ((VTimeZone*)zone)->VTimeZone::setTZURL(s); 71 vzone_getLastModified(VZone* zone, UDate& lastModified) { 72 return ((VTimeZone*)zone)->VTimeZone::getLastModified(lastModified) [all...] |
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, UChar* url, int32_t urlLength) [all...] |
/external/chromium_org/v8/test/cctest/ |
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); [all...] |
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); [all...] |
/external/chromium_org/v8/src/compiler/arm/ |
linkage-arm.cc | 11 #include "src/zone.h" 38 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { 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 [all...] |
/external/chromium_org/v8/src/compiler/arm64/ |
linkage-arm64.cc | 11 #include "src/zone.h" 38 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { 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 [all...] |
/external/chromium_org/v8/src/compiler/ia32/ |
linkage-ia32.cc | 11 #include "src/zone.h" 33 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { 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 [all...] |
/external/chromium_org/v8/src/compiler/ |
value-numbering-reducer.h | 16 explicit ValueNumberingReducer(Zone* zone); 22 Zone* zone() const { return zone_; } function in class:v8::internal::compiler::FINAL 29 Zone* zone_;
|
generic-graph.h | 13 class Zone; 19 explicit GenericGraphBase(Zone* zone) : zone_(zone), next_node_id_(0) {} 21 Zone* zone() const { return zone_; } function in class:v8::internal::compiler::GenericGraphBase 27 Zone* zone_; 34 explicit GenericGraph(Zone* zone) 35 : GenericGraphBase(zone), start_(NULL), end_(NULL) { [all...] |
/external/chromium_org/v8/test/cctest/compiler/ |
graph-builder-tester.cc | 14 MachineCallHelper::MachineCallHelper(Zone* zone, MachineSignature* machine_sig) 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_)) [all...] |
/external/chromium_org/third_party/freetype/src/cff/ |
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; others are top * [all...] |
/external/freetype/src/cff/ |
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; others are top * [all...] |
/external/chromium_org/third_party/freetype/src/pshinter/ |
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->org_delta = delta 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/ |
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->org_delta = delta 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/ |
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...] |