Searched defs:heap (Results 1 - 25 of 61) sorted by relevance

123

/external/webkit/Source/JavaScriptCore/runtime/
H A DGCActivityCallback.h75 inline PassOwnPtr<DefaultGCActivityCallback> DefaultGCActivityCallback::create(Heap* heap) argument
77 return adoptPtr(new DefaultGCActivityCallback(heap));
H A DGCActivityCallbackCF.cpp60 Heap* heap = static_cast<Heap*>(info); local
61 APIEntryShim shim(heap->globalData());
62 heap->collectAllGarbage();
66 DefaultGCActivityCallback::DefaultGCActivityCallback(Heap* heap) argument
68 commonConstructor(heap, CFRunLoopGetCurrent());
71 DefaultGCActivityCallback::DefaultGCActivityCallback(Heap* heap, CFRunLoopRef runLoop) argument
73 commonConstructor(heap, runLoop);
85 void DefaultGCActivityCallback::commonConstructor(Heap* heap, CFRunLoopRef runLoop) argument
90 d->context.info = heap;
H A DJSCell.h335 inline Heap* Heap::heap(JSValue v) function in class:JSC::Heap
339 return heap(v.asCell());
342 inline Heap* Heap::heap(JSCell* c) function in class:JSC::Heap
344 return MarkedSpace::heap(c);
402 return globalData->heap.allocate(size);
407 return exec->heap()->allocate(size);
/external/webkit/Source/JavaScriptCore/heap/
H A DConservativeRoots.h64 inline ConservativeRoots::ConservativeRoots(Heap* heap) argument
65 : m_heap(heap)
H A DMarkedSpace.h52 static Heap* heap(JSCell*);
120 inline Heap* MarkedSpace::heap(JSCell* cell) function in class:JSC::MarkedSpace
122 return MarkedBlock::blockFor(cell)->heap();
H A DMachineStackMarker.cpp152 MachineThreads::MachineThreads(Heap* heap) argument
153 : m_heap(heap)
479 // and since this is a shared heap, they are real locks.
H A DMarkedBlock.h50 Heap* heap() const;
122 inline Heap* MarkedBlock::heap() const function in class:JSC::MarkedBlock
/external/grub/stage2/
H A Dcmdline.c121 enter_cmdline (char *heap, int forever) argument
138 *heap = 0;
143 if (get_cmdline (PACKAGE "> ", heap, 2048, 0, 1))
147 if (! heap[0])
151 builtin = find_command (heap);
171 arg = skip_to (1, heap);
183 run_script (char *script, char *heap) argument
218 grub_memmove (heap, old_entry, (int) cur_entry - (int) old_entry);
219 if (! *heap)
228 grub_memmove (heap, "boo
[all...]
H A Dstage2.c240 char *heap, int entryno)
525 ((int) heap) - ((int) cur_entry));
530 heap += 2;
541 ((int) heap) - ((int) ptr));
542 heap -= (((int) ptr) - ((int) cur_entry));
636 new_heap = heap;
644 new_heap = heap + NEW_HEAPSIZE + 1;
662 run_menu (heap, NULL, new_num_entries, new_heap, 0);
668 new_heap = heap + NEW_HEAPSIZE + 1;
692 (int) heap
239 run_menu(char *menu_entries, char *config_entries, int num_entries, char *heap, int entryno) argument
[all...]
/external/bzip2/
H A Dhuffman.c36 zz = z; tmp = heap[zz]; \
37 while (weight[tmp] < weight[heap[zz >> 1]]) { \
38 heap[zz] = heap[zz >> 1]; \
41 heap[zz] = tmp; \
47 zz = z; tmp = heap[zz]; \
52 weight[heap[yy+1]] < weight[heap[yy]]) \
54 if (weight[tmp] < weight[heap[yy]]) break; \
55 heap[z
75 Int32 heap [ BZ_MAX_ALPHA_SIZE + 2 ]; local
[all...]
/external/v8/src/
H A Dcode-stubs.cc40 Heap* heap = Isolate::Current()->heap(); local
41 int index = heap->code_stubs()->FindEntry(GetKey());
43 *code_out = Code::cast(heap->code_stubs()->ValueAt(index));
92 Heap* heap = isolate->heap(); local
105 // Copy the generated code into a heap object.
118 Handle<NumberDictionary>(heap->code_stubs()),
121 heap->public_set_code_stubs(*dict);
126 ASSERT(!NeedsImmovableCode() || heap
137 Heap* heap = masm.isolate()->heap(); local
[all...]
H A Ddisassembler.cc118 Heap* heap = HEAP; local
260 Object* obj = heap->code_stubs()->SlowReverseLookup(code);
261 if (obj != heap->undefined_value()) {
H A Dmark-compact.h36 // Callback function, returns whether an object is alive. The heap size
71 // heap.
111 typedef MaybeObject* (*AllocationFunction)(Heap* heap,
123 typedef void (*EncodingFunction)(Heap* heap,
151 // True if the last full GC performed heap compaction.
190 inline Heap* heap() const { return heap_; } function in class:v8::internal::MarkCompactCollector
232 // Finishes GC, performs heap verification if enabled.
238 // Before: The heap has been prepared for garbage collection by
275 // Mark the heap roots and all objects reachable from them.
295 // or overflowed in the heap
[all...]
H A Dobjects-debug.cc593 Heap* heap = HEAP; local
595 if (e->get(i) == heap->the_hole_value()) holes++;
H A Dstring-stream.cc380 Heap* heap = HEAP; local
383 if (element != heap->the_hole_value()) {
453 Heap* heap = isolate->heap(); local
454 if (!f->IsHeapObject() || !heap->Contains(HeapObject::cast(f))) {
459 !heap->Contains(map) ||
468 heap->Contains(HeapObject::cast(perhaps_context)) &&
471 if (!heap->Contains(context)) {
472 Add("(Function context is outside heap)\n");
513 Add("/* warning: 'function' was not a heap objec
536 Heap* heap = HEAP; local
[all...]
/external/v8/test/cctest/
H A Dtest-spaces.cc68 // Initialized Page has heap pointer, normally set by memory_allocator.
124 Heap* heap = isolate->heap(); local
125 CHECK(heap->ConfigureHeapDefault());
127 CHECK(memory_allocator->Setup(heap->MaxReserved(),
128 heap->MaxExecutableSize()));
131 OldSpace faked_space(heap,
132 heap->MaxReserved(),
190 Heap* heap = isolate->heap(); local
223 Heap* heap = isolate->heap(); local
[all...]
/external/skia/src/core/
H A DSkPictureFlat.cpp11 SkFlatData* SkFlatData::Alloc(SkChunkAlloc* heap, int32_t size, int index) { argument
12 SkFlatData* result = (SkFlatData*) heap->allocThrow(size + sizeof(SkFlatData));
18 SkFlatBitmap* SkFlatBitmap::Flatten(SkChunkAlloc* heap, const SkBitmap& bitmap, argument
25 SkFlatBitmap* result = (SkFlatBitmap*) INHERITED::Alloc(heap, size, index);
30 SkFlatMatrix* SkFlatMatrix::Flatten(SkChunkAlloc* heap, const SkMatrix& matrix, int index) { argument
32 SkFlatMatrix* result = (SkFlatMatrix*) INHERITED::Alloc(heap, size, index);
84 SkFlatPaint* SkFlatPaint::Flatten(SkChunkAlloc* heap, const SkPaint& paint, argument
93 SkFlatPaint* result = (SkFlatPaint*) INHERITED::Alloc(heap, size, index);
209 SkFlatRegion* SkFlatRegion::Flatten(SkChunkAlloc* heap, const SkRegion& region, int index) { argument
211 SkFlatRegion* result = (SkFlatRegion*) INHERITED::Alloc(heap, siz
[all...]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dshortest-path.h281 vector<StateId> heap; local
291 heap.push_back(final);
293 while (!heap.empty()) {
294 pop_heap(heap.begin(), heap.end(), compare);
295 StateId state = heap.back();
297 heap.pop_back();
317 heap.push_back(next);
318 push_heap(heap.begin(), heap
[all...]
/external/v8/src/arm/
H A Dassembler-arm-inl.h221 void RelocInfo::Visit(Heap* heap) { argument
224 StaticVisitor::VisitPointer(heap, target_object_address());
226 StaticVisitor::VisitCodeTarget(heap, this);
228 StaticVisitor::VisitGlobalPropertyCell(heap, this);
232 } else if (heap->isolate()->debug()->has_break_points() &&
237 StaticVisitor::VisitDebugTarget(heap, this);
H A Dlithium-codegen-arm.h71 Heap* heap() const { return isolate()->heap(); } function in class:v8::internal::BASE_EMBEDDED
/external/v8/src/mips/
H A Dassembler-mips-inl.h145 // which can be de-referenced during heap iteration.
285 void RelocInfo::Visit(Heap* heap) { argument
288 StaticVisitor::VisitPointer(heap, target_object_address());
294 } else if (heap->isolate()->debug()->has_break_points() &&
/external/v8/src/x64/
H A Dassembler-x64-inl.h390 void RelocInfo::Visit(Heap* heap) { argument
393 StaticVisitor::VisitPointer(heap, target_object_address());
396 StaticVisitor::VisitCodeTarget(heap, this);
398 StaticVisitor::VisitGlobalPropertyCell(heap, this);
403 } else if (heap->isolate()->debug()->has_break_points() &&
408 StaticVisitor::VisitDebugTarget(heap, this);
/external/webkit/Source/JavaScriptCore/interpreter/
H A DCallFrame.h74 Heap* heap() { return &globalData().heap; } function in class:JSC::ExecState
/external/v8/src/ia32/
H A Dassembler-ia32-inl.h222 void RelocInfo::Visit(Heap* heap) { argument
225 StaticVisitor::VisitPointer(heap, target_object_address());
228 StaticVisitor::VisitCodeTarget(heap, this);
230 StaticVisitor::VisitGlobalPropertyCell(heap, this);
235 } else if (heap->isolate()->debug()->has_break_points() &&
240 StaticVisitor::VisitDebugTarget(heap, this);
303 ASSERT(!isolate()->heap()->InNewSpace(obj));
H A Dlithium-codegen-ia32.h74 Heap* heap() const { return isolate()->heap(); } function in class:v8::internal::BASE_EMBEDDED

Completed in 384 milliseconds

123