Home
last modified time | relevance | path

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

12345678910>>...35

/external/jemalloc/src/
Dzone.c16 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/icu/icu4c/source/i18n/
Dvzone.cpp39 vzone_close(VZone* zone) { in vzone_close() argument
40 delete (VTimeZone*)zone; in vzone_close()
44 vzone_clone(const VZone *zone) { in vzone_clone() argument
45 return (VZone*) (((VTimeZone*)zone)->VTimeZone::clone()); in vzone_clone()
54 vzone_getTZURL(VZone* zone, UChar* & url, int32_t & urlLength) { in vzone_getTZURL() argument
56 UBool b = ((VTimeZone*)zone)->VTimeZone::getTZURL(s); in vzone_getTZURL()
65 vzone_setTZURL(VZone* zone, UChar* url, int32_t urlLength) { in vzone_setTZURL() argument
67 ((VTimeZone*)zone)->VTimeZone::setTZURL(s); in vzone_setTZURL()
71 vzone_getLastModified(VZone* zone, UDate& lastModified) { in vzone_getLastModified() argument
72 return ((VTimeZone*)zone)->VTimeZone::getLastModified(lastModified); in vzone_getLastModified()
[all …]
Dvzone.h64 vzone_close(VZone* zone);
72 vzone_clone(const VZone *zone);
94 vzone_getTZURL(VZone* zone, UChar* & url, int32_t & urlLength);
103 vzone_setTZURL(VZone* zone, UChar* url, int32_t urlLength);
115 vzone_getLastModified(VZone* zone, UDate& lastModified);
123 vzone_setLastModified(VZone* zone, UDate lastModified);
133 vzone_write(VZone* zone, UChar* & result, int32_t & resultLength, UErrorCode& status);
145 vzone_writeFromStart(VZone* zone, UDate start, UChar* & result, int32_t & resultLength, UErrorCode&…
161 vzone_writeSimple(VZone* zone, UDate time, UChar* & result, int32_t & resultLength, UErrorCode& sta…
188 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day,
[all …]
/external/v8/test/cctest/
Dtest-unique.cc146 Zone zone(isolate); in TEST() local
148 UniqueSet<String>* set = new(&zone) UniqueSet<String>(); in TEST()
151 set->Add(A, &zone); in TEST()
153 set->Add(A, &zone); in TEST()
155 set->Add(B, &zone); in TEST()
157 set->Add(C, &zone); in TEST()
159 set->Add(C, &zone); in TEST()
161 set->Add(B, &zone); in TEST()
163 set->Add(A, &zone); in TEST()
173 Zone zone(isolate); in TEST() local
[all …]
Dtest-dataflow.cc38 Zone zone(CcTest::i_isolate()); in TEST() local
40 BitVector v(15, &zone); in TEST()
47 BitVector w(15, &zone); in TEST()
55 BitVector v(64, &zone); in TEST()
73 BitVector v(15, &zone); in TEST()
75 BitVector w(15, &zone); in TEST()
83 BitVector v(15, &zone); in TEST()
85 BitVector w(15, &zone); in TEST()
89 BitVector u(w, &zone); in TEST()
98 BitVector v(35, &zone); in TEST()
[all …]
Dtest-regexp.cc89 Zone zone(CcTest::i_isolate()); in CheckParse() local
93 &reader, false, &result, &zone); in CheckParse()
99 Zone zone(CcTest::i_isolate()); in CheckParseEq() local
103 &reader, false, &result, &zone)); in CheckParseEq()
107 result.tree->Print(os, &zone); in CheckParseEq()
114 Zone zone(CcTest::i_isolate()); in CheckSimple() local
118 &reader, false, &result, &zone)); in CheckSimple()
132 Zone zone(CcTest::i_isolate()); in CheckMinMaxMatch() local
136 &reader, false, &result, &zone)); in CheckMinMaxMatch()
405 Zone zone(CcTest::i_isolate()); in ExpectError() local
[all …]
/external/freetype/src/pshinter/
Dpshglob.c157 PSH_Blue_Zone zones, zone; in psh_blues_set_zones_0() local
183 zone = zones; in psh_blues_set_zones_0()
184 for ( ; count > 0; count--, zone++ ) in psh_blues_set_zones_0()
186 if ( reference < zone->org_ref ) in psh_blues_set_zones_0()
189 if ( reference == zone->org_ref ) in psh_blues_set_zones_0()
191 FT_Int delta0 = zone->org_delta; in psh_blues_set_zones_0()
199 zone->org_delta = delta; in psh_blues_set_zones_0()
204 zone->org_delta = delta; in psh_blues_set_zones_0()
211 zone[count] = zone[count-1]; in psh_blues_set_zones_0()
213 zone->org_ref = reference; in psh_blues_set_zones_0()
[all …]
/external/pdfium/third_party/freetype/src/pshinter/
Dpshglob.c157 PSH_Blue_Zone zones, zone; in psh_blues_set_zones_0() local
183 zone = zones; in psh_blues_set_zones_0()
184 for ( ; count > 0; count--, zone++ ) in psh_blues_set_zones_0()
186 if ( reference < zone->org_ref ) in psh_blues_set_zones_0()
189 if ( reference == zone->org_ref ) in psh_blues_set_zones_0()
191 FT_Int delta0 = zone->org_delta; in psh_blues_set_zones_0()
199 zone->org_delta = delta; in psh_blues_set_zones_0()
204 zone->org_delta = delta; in psh_blues_set_zones_0()
211 zone[count] = zone[count-1]; in psh_blues_set_zones_0()
213 zone->org_ref = reference; in psh_blues_set_zones_0()
[all …]
/external/v8/src/compiler/
Dtyper.cc17 Typer::Typer(Zone* zone) : zone_(zone) { in Typer() argument
18 Type* number = Type::Number(zone); in Typer()
19 Type* signed32 = Type::Signed32(zone); in Typer()
20 Type* unsigned32 = Type::Unsigned32(zone); in Typer()
21 Type* integral32 = Type::Integral32(zone); in Typer()
22 Type* object = Type::Object(zone); in Typer()
23 Type* undefined = Type::Undefined(zone); in Typer()
24 number_fun0_ = Type::Function(number, zone); in Typer()
25 number_fun1_ = Type::Function(number, number, zone); in Typer()
26 number_fun2_ = Type::Function(number, number, number, zone); in Typer()
[all …]
Dcommon-operator.cc90 CommonOperatorBuilder::CommonOperatorBuilder(Zone* zone) in CommonOperatorBuilder() argument
91 : impl_(kImpl.Get()), zone_(zone) {} in CommonOperatorBuilder()
105 return new (zone()) ControlOperator(IrOpcode::kStart, Operator::kFoldable, 0, in SHARED_OP_LIST()
111 return new (zone()) ControlOperator(IrOpcode::kMerge, Operator::kFoldable, 0, in Merge()
117 return new (zone()) ControlOperator(IrOpcode::kLoop, Operator::kFoldable, 0, in Loop()
123 return new (zone()) Operator1<int>(IrOpcode::kParameter, Operator::kPure, 1, in Parameter()
129 return new (zone()) Operator1<int32_t>( in Int32Constant()
135 return new (zone()) Operator1<int64_t>( in Int64Constant()
141 return new (zone()) in Float32Constant()
148 return new (zone()) in Float64Constant()
[all …]
Dinstruction-selector-unittest.h38 : RawMachineAssembler(new (test->zone()) Graph(test->zone()), in StreamBuilder()
39 MakeMachineSignature(test->zone(), return_type)), in StreamBuilder()
44 new (test->zone()) Graph(test->zone()), in StreamBuilder()
45 MakeMachineSignature(test->zone(), return_type, parameter0_type)), in StreamBuilder()
50 new (test->zone()) Graph(test->zone()), in StreamBuilder()
51 MakeMachineSignature(test->zone(), return_type, parameter0_type, in StreamBuilder()
58 new (test->zone()) Graph(test->zone()), in StreamBuilder()
59 MakeMachineSignature(test->zone(), return_type, parameter0_type, in StreamBuilder()
76 MachineSignature* MakeMachineSignature(Zone* zone, in MakeMachineSignature() argument
78 MachineSignature::Builder builder(zone, 1, 0); in MakeMachineSignature()
[all …]
/external/v8/src/
Dzone.h132 INLINE(void* operator new(size_t size, Zone* zone));
143 void operator delete(void* pointer, Zone* zone) { UNREACHABLE(); } in delete() argument
151 explicit ZoneScope(Zone* zone) : zone_(zone) { } in ZoneScope()
154 Zone* zone() { return zone_; } in zone() function
165 explicit ZoneAllocationPolicy(Zone* zone) : zone_(zone) { } in ZoneAllocationPolicy()
168 Zone* zone() { return zone_; } in zone() function
184 ZoneList(int capacity, Zone* zone) in ZoneList() argument
185 : List<T, ZoneAllocationPolicy>(capacity, ZoneAllocationPolicy(zone)) { } in ZoneList()
187 INLINE(void* operator new(size_t size, Zone* zone));
190 ZoneList(const ZoneList<T>& other, Zone* zone) in ZoneList() argument
[all …]
Deffects.h39 static Effect Unknown(Zone* zone) { in Unknown()
40 return Effect(Bounds::Unbounded(zone), POSSIBLE); in Unknown()
43 static Effect Forget(Zone* zone) { in Forget()
44 return Effect(Bounds::Unbounded(zone), DEFINITE); in Forget()
48 static Effect Seq(Effect e1, Effect e2, Zone* zone) { in Seq()
50 return Effect(Bounds::Either(e1.bounds, e2.bounds, zone), e1.modality); in Seq()
54 static Effect Alt(Effect e1, Effect e2, Zone* zone) { in Alt()
56 Bounds::Either(e1.bounds, e2.bounds, zone), in Alt()
81 explicit EffectsMixin(Zone* zone) : Base(zone) {} in EffectsMixin() argument
86 ? locator.value() : Effect::Unknown(Base::zone()); in Lookup()
[all …]
Dhydrogen-removable-simulates.cc14 explicit State(Zone* zone) in State() argument
15 : zone_(zone), mergelist_(2, zone), first_(true), mode_(NORMAL) { } in State()
17 State* Process(HInstruction* instr, Zone* zone) { in Process() argument
83 Zone* zone) { in Merge() argument
85 ? pred_state->Copy(succ_block, pred_block, zone) in Merge()
86 : succ_state->Merge(succ_block, pred_state, pred_block, zone); in Merge()
89 static State* Finish(State* state, HBasicBlock* block, Zone* zone) { in Finish() argument
130 State* Copy(HBasicBlock* succ_block, HBasicBlock* pred_block, Zone* zone) { in Copy() argument
131 State* copy = new(zone) State(*this); in Copy()
143 Zone* zone) { in Merge() argument
[all …]
Dscopes.cc27 VariableMap::VariableMap(Zone* zone) in VariableMap() argument
28 : ZoneHashMap(ZoneHashMap::PointersMatch, 8, ZoneAllocationPolicy(zone)), in VariableMap()
29 zone_(zone) {} in VariableMap()
43 true, ZoneAllocationPolicy(zone())); in Declare()
47 p->value = new (zone()) in Declare()
71 AstValueFactory* ast_value_factory, Zone* zone) in Scope() argument
72 : isolate_(zone->isolate()), in Scope()
73 inner_scopes_(4, zone), in Scope()
74 variables_(zone), in Scope()
75 internals_(4, zone), in Scope()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTimeZoneAdapter.java39 private TimeZone zone; field in TimeZoneAdapter
53 return zone; in unwrap()
59 public TimeZoneAdapter(TimeZone zone) { in TimeZoneAdapter() argument
60 this.zone = zone; in TimeZoneAdapter()
61 super.setID(zone.getID()); in TimeZoneAdapter()
69 zone.setID(ID); in setID()
77 zone.hasSameRules(((TimeZoneAdapter)other).zone); in hasSameRules()
85 return zone.getOffset(era, year, month, day, dayOfWeek, millis); in getOffset()
92 return zone.getRawOffset(); in getRawOffset()
99 zone.setRawOffset(offsetMillis); in setRawOffset()
[all …]
/external/freetype/src/cff/
Dcf2blues.c192 blues->zone[blues->count].csBottomEdge = in cf2_blues_init()
194 blues->zone[blues->count].csTopEdge = in cf2_blues_init()
197 zoneHeight = blues->zone[blues->count].csTopEdge - in cf2_blues_init()
198 blues->zone[blues->count].csBottomEdge; in cf2_blues_init()
216 blues->zone[blues->count].csTopEdge += 2 * font->darkenY; in cf2_blues_init()
217 blues->zone[blues->count].csBottomEdge += 2 * font->darkenY; in cf2_blues_init()
223 blues->zone[blues->count].bottomZone = in cf2_blues_init()
225 blues->zone[blues->count].csFlatEdge = in cf2_blues_init()
226 blues->zone[blues->count].csTopEdge; in cf2_blues_init()
230 blues->zone[blues->count].bottomZone = in cf2_blues_init()
[all …]
/external/pdfium/third_party/freetype/src/cff/
Dcf2blues.c192 blues->zone[blues->count].csBottomEdge = in cf2_blues_init()
194 blues->zone[blues->count].csTopEdge = in cf2_blues_init()
197 zoneHeight = blues->zone[blues->count].csTopEdge - in cf2_blues_init()
198 blues->zone[blues->count].csBottomEdge; in cf2_blues_init()
216 blues->zone[blues->count].csTopEdge += 2 * font->darkenY; in cf2_blues_init()
217 blues->zone[blues->count].csBottomEdge += 2 * font->darkenY; in cf2_blues_init()
223 blues->zone[blues->count].bottomZone = in cf2_blues_init()
225 blues->zone[blues->count].csFlatEdge = in cf2_blues_init()
226 blues->zone[blues->count].csTopEdge; in cf2_blues_init()
230 blues->zone[blues->count].bottomZone = in cf2_blues_init()
[all …]
/external/v8/test/cctest/compiler/
Dtest-node-cache.cc19 Node** pos = cache.Find(graph.zone(), i); in TEST()
22 Node** npos = cache.Find(graph.zone(), i); in TEST()
32 CommonOperatorBuilder common(graph.zone()); in TEST()
41 *cache.Find(graph.zone(), k) = nodes[i] = node; in TEST()
46 CHECK_EQ(nodes[i], *cache.Find(graph.zone(), k)); in TEST()
55 Node** nodes = graph.zone()->NewArray<Node*>(kSize); in TEST()
56 CommonOperatorBuilder common(graph.zone()); in TEST()
61 *cache.Find(graph.zone(), v) = nodes[i]; in TEST()
67 Node** pos = cache.Find(graph.zone(), v); in TEST()
82 Node** pos = cache.Find(graph.zone(), i); in TEST()
[all …]
/external/zlib/src/test/
Dinfcover.c75 struct mem_zone *zone = mem; in mem_alloc() local
79 if (zone == NULL || (zone->limit && zone->total + len > zone->limit)) in mem_alloc()
99 item->next = zone->first; in mem_alloc()
100 zone->first = item; in mem_alloc()
103 zone->total += item->size; in mem_alloc()
104 if (zone->total > zone->highwater) in mem_alloc()
105 zone->highwater = zone->total; in mem_alloc()
115 struct mem_zone *zone = mem; in mem_free() local
118 if (zone == NULL) { in mem_free()
125 next = zone->first; in mem_free()
[all …]
/external/v8/src/arm64/
Dlithium-arm64.cc358 return new(zone()) LUnallocated(LUnallocated::FIXED_REGISTER, in ToUnallocated()
364 return new(zone()) LUnallocated(LUnallocated::FIXED_DOUBLE_REGISTER, in ToUnallocated()
391 return Use(value, new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER)); in UseRegister()
396 return Use(value, new(zone()) LUnallocated(LUnallocated::WRITABLE_REGISTER)); in UseRegisterAndClobber()
402 new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER, in UseRegisterAtStart()
425 : Use(value, new(zone()) LUnallocated(LUnallocated::ANY)); in UseAny()
440 new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER)); in DefineAsRegister()
447 new(zone()) LUnallocated(LUnallocated::FIXED_SLOT, index)); in DefineAsSpilled()
454 new(zone()) LUnallocated(LUnallocated::SAME_AS_FIRST_INPUT)); in DefineSameAsFirst()
499 instr->set_pointer_map(new(zone()) LPointerMap(zone())); in AssignPointerMap()
[all …]
/external/v8/src/mips/
Dlithium-mips.cc165 return new(zone()) LDebugBreak(); in DoDebugBreak()
399 return LDoubleStackSlot::Create(index, zone()); in GetNextSpillSlot()
402 return LStackSlot::Create(index, zone()); in GetNextSpillSlot()
409 chunk_ = new(zone()) LPlatformChunk(info(), graph()); in Build()
434 return new(zone()) LUnallocated(LUnallocated::FIXED_REGISTER, in ToUnallocated()
440 return new(zone()) LUnallocated(LUnallocated::FIXED_DOUBLE_REGISTER, in ToUnallocated()
456 return Use(value, new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER)); in UseRegister()
462 new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER, in UseRegisterAtStart()
468 return Use(value, new(zone()) LUnallocated(LUnallocated::WRITABLE_REGISTER)); in UseTempRegister()
473 return Use(value, new(zone()) LUnallocated(LUnallocated::NONE)); in Use()
[all …]
/external/v8/src/mips64/
Dlithium-mips64.cc165 return new(zone()) LDebugBreak(); in DoDebugBreak()
399 return LDoubleStackSlot::Create(index, zone()); in GetNextSpillSlot()
402 return LStackSlot::Create(index, zone()); in GetNextSpillSlot()
409 chunk_ = new(zone()) LPlatformChunk(info(), graph()); in Build()
434 return new(zone()) LUnallocated(LUnallocated::FIXED_REGISTER, in ToUnallocated()
440 return new(zone()) LUnallocated(LUnallocated::FIXED_DOUBLE_REGISTER, in ToUnallocated()
456 return Use(value, new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER)); in UseRegister()
462 new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER, in UseRegisterAtStart()
468 return Use(value, new(zone()) LUnallocated(LUnallocated::WRITABLE_REGISTER)); in UseTempRegister()
473 return Use(value, new(zone()) LUnallocated(LUnallocated::NONE)); in Use()
[all …]
/external/compiler-rt/lib/asan/
Dasan_malloc_mac.cc89 INTERCEPTOR(void, malloc_set_zone_name, malloc_zone_t *zone, const char *name) { in INTERCEPTOR() argument
94 if (name && zone->introspect == asan_zone.introspect) { in INTERCEPTOR()
101 REAL(malloc_set_zone_name)(zone, name); in INTERCEPTOR()
159 size_t __asan_mz_size(malloc_zone_t* zone, const void* ptr) { in __asan_mz_size() argument
165 void *__asan_mz_malloc(malloc_zone_t *zone, uptr size) { in __asan_mz_malloc() argument
176 void *__asan_mz_calloc(malloc_zone_t *zone, size_t nmemb, size_t size) { in __asan_mz_calloc() argument
194 void *__asan_mz_valloc(malloc_zone_t *zone, size_t size) { in __asan_mz_valloc() argument
223 void __asan_mz_free(malloc_zone_t *zone, void *ptr) { in __asan_mz_free() argument
224 free_common(zone, ptr); in __asan_mz_free()
229 void *__asan_mz_realloc(malloc_zone_t *zone, void *ptr, size_t size) { in __asan_mz_realloc() argument
[all …]
/external/v8/src/arm/
Dlithium-arm.cc392 return LDoubleStackSlot::Create(index, zone()); in GetNextSpillSlot()
395 return LStackSlot::Create(index, zone()); in GetNextSpillSlot()
402 chunk_ = new(zone()) LPlatformChunk(info(), graph()); in Build()
427 return new(zone()) LUnallocated(LUnallocated::FIXED_REGISTER, in ToUnallocated()
433 return new(zone()) LUnallocated(LUnallocated::FIXED_DOUBLE_REGISTER, in ToUnallocated()
449 return Use(value, new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER)); in UseRegister()
455 new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER, in UseRegisterAtStart()
461 return Use(value, new(zone()) LUnallocated(LUnallocated::WRITABLE_REGISTER)); in UseTempRegister()
466 return Use(value, new(zone()) LUnallocated(LUnallocated::NONE)); in Use()
471 return Use(value, new(zone()) LUnallocated(LUnallocated::NONE, in UseAtStart()
[all …]

12345678910>>...35