/external/webkit/Source/JavaScriptCore/heap/ |
H A D | MarkedBlock.cpp | 38 PageAllocationAligned allocation = PageAllocationAligned::allocate(blockSize, blockSize, OSAllocator::JSGCHeapPages); local 39 if (!static_cast<bool>(allocation)) 41 return new (allocation.base()) MarkedBlock(allocation, globalData, cellSize); 51 MarkedBlock::MarkedBlock(const PageAllocationAligned& allocation, JSGlobalData* globalData, size_t cellSize) argument 53 , m_allocation(allocation)
|
/external/webkit/Source/JavaScriptCore/runtime/ |
H A D | RopeImpl.h | 43 void* allocation; local 44 if (tryFastMalloc(sizeof(RopeImpl) + (fiberCount - 1) * sizeof(Fiber)).getValue(allocation)) 45 return adoptRef(new (allocation) RopeImpl(fiberCount));
|
/external/webkit/Source/WebCore/platform/gtk/ |
H A D | GtkPluginWidget.cpp | 62 GtkAllocation allocation = { loc.x(), loc.y(), rect.width(), rect.height() }; local 65 gtk_widget_size_allocate(platformWidget(), &allocation); local
|
H A D | ScrollViewGtk.cpp | 187 GtkAllocation allocation; local 188 gtk_widget_get_allocation(measuredWidget, &allocation); 190 IntSize(allocation.width, allocation.height));
|
H A D | ScrollbarThemeGtk2.cpp | 149 // Themes determine how to draw the button (which button to draw) based on the allocation 150 // of the widget. Where the target rect is in relation to the total widget allocation 163 // Now we want the allocation to be relative to the origin of the painted rect. 165 GtkAllocation allocation; local 166 gtk_widget_get_allocation(widget, &allocation); 167 allocation.x = allocation.y = 0; 168 allocation.width = rect.width(); 169 allocation.height = rect.height(); 172 allocation [all...] |
H A D | WidgetRenderingContext.cpp | 151 // Some widgets also need their allocation adjusted to account for extra space. 153 GtkAllocation allocation; local 154 gtk_widget_get_allocation(widget, &allocation); 155 allocation.x += m_paintRect.x; 156 allocation.y += m_paintRect.y; 157 gtk_widget_set_allocation(widget, &allocation);
|
/external/chromium/chrome/browser/ui/gtk/ |
H A D | fullscreen_exit_bubble_gtk.cc | 87 GtkAllocation* allocation) { 94 g_value_set_int(&value, (allocation->width - bubble_size.width) / 2); 85 OnSetFloatingPosition( GtkWidget* floating_container, GtkAllocation* allocation) argument
|
H A D | gtk_expanded_container_unittest.cc | 78 GtkAllocation allocation = { 0, 0, 50, 100 }; local 79 gtk_widget_size_allocate(expanded_, &allocation); 81 EXPECT_EQ(0, child1->allocation.x); 82 EXPECT_EQ(0, child1->allocation.y); 83 EXPECT_EQ(50, child1->allocation.width); 84 EXPECT_EQ(100, child1->allocation.height); 86 EXPECT_EQ(10, child2->allocation.x); 87 EXPECT_EQ(20, child2->allocation.y); 88 EXPECT_EQ(50, child2->allocation.width); 89 EXPECT_EQ(100, child2->allocation 111 GtkAllocation allocation = { 10, 10, 50, 100 }; local 137 GtkAllocation allocation = { 0, 0, 300, 100 }; local [all...] |
H A D | gtk_chrome_shrinkable_hbox_unittest.cc | 61 // Check if all children's size allocation are inside the |box_|'s boundary. 78 int x = box_->allocation.x + border_width; 79 int width = box_->allocation.width - border_width * 2; 131 GtkAllocation allocation = { 0, 0, 0, 200 }; local 138 allocation.width = width; 140 // cause queue resize, so it's necessary to do another size allocation to 142 gtk_widget_size_allocate(box_, &allocation); 143 gtk_widget_size_allocate(box_, &allocation); 151 allocation.width = width; 154 // allocation t [all...] |
H A D | slide_animator_gtk.cc | 144 GtkAllocation* allocation, 148 child, 0, -allocation->height); 143 OnChildSizeAllocate(GtkWidget* child, GtkAllocation* allocation, SlideAnimatorGtk* slider) argument
|
H A D | tab_contents_container_gtk.cc | 222 GtkFloatingContainer* floating_container, GtkAllocation* allocation, 238 g_value_set_int(&value, allocation->width - requisition.width); 242 int child_y = std::max(allocation->height - requisition.height, 0); 221 OnSetFloatingPosition( GtkFloatingContainer* floating_container, GtkAllocation* allocation, TabContentsContainerGtk* tab_contents_container) argument
|
H A D | gtk_chrome_shrinkable_hbox.cc | 20 GtkAllocation* allocation; member in struct:__anon2469::SizeAllocateData 54 GtkAllocation child_allocation = child->allocation; 73 int overflow = (data->allocation->x + data->border_width + padding - 83 (data->allocation->x + data->allocation->width - data->border_width)); 89 if (child_allocation.width != child->allocation.width) { 110 GtkAllocation* allocation); 174 GtkWidget* widget, GtkAllocation* allocation) { 184 if (widget->allocation.width < allocation 173 gtk_chrome_shrinkable_hbox_size_allocate( GtkWidget* widget, GtkAllocation* allocation) argument [all...] |
H A D | gtk_expanded_container.cc | 22 GtkAllocation* allocation; member in struct:__anon2474::SizeAllocateData 43 child_requisition.width = data->allocation->width - data->border_width * 2; 44 child_requisition.height = data->allocation->height - data->border_width * 2; 70 child_allocation.x += data->allocation->x; 71 child_allocation.y += data->allocation->y; 114 GtkAllocation* allocation); 143 GtkAllocation* allocation) { 144 widget->allocation = *allocation; 148 allocation 142 gtk_expanded_container_size_allocate(GtkWidget* widget, GtkAllocation* allocation) argument [all...] |
H A D | gtk_floating_container.cc | 55 GtkAllocation* allocation); 205 GtkAllocation* allocation) { 206 widget->allocation = *allocation; 210 allocation->x, 211 allocation->y, 212 allocation->width, 213 allocation->height); 216 // Give the same allocation to our GtkBin component. 219 gtk_widget_size_allocate(bin->child, allocation); 204 gtk_floating_container_size_allocate(GtkWidget* widget, GtkAllocation* allocation) argument [all...] |
H A D | first_run_dialog.cc | 70 GtkAllocation* allocation, 79 allocation->width - req.width - gtk_util::kContentAreaSpacing : 85 int y = allocation->height / 2 - req.height / 2; 69 SetWelcomePosition(GtkFloatingContainer* container, GtkAllocation* allocation, GtkWidget* label) argument
|
/external/chromium/chrome/browser/ui/gtk/infobars/ |
H A D | extension_infobar_gtk.cc | 77 GtkAllocation* allocation) { 78 gfx::Size new_size(allocation->width, allocation->height); 76 OnSizeAllocate(GtkWidget* widget, GtkAllocation* allocation) argument
|
/external/clang/test/Sema/ |
H A D | warn-unused-function.c | 52 static void cleanupMalloc(char * const * const allocation) { } argument
|
/external/webkit/Source/JavaScriptCore/jit/ |
H A D | ExecutableAllocator.cpp | 54 PageAllocation allocation = PageAllocation::allocate(size, OSAllocator::JSJITCodePages, EXECUTABLE_POOL_WRITABLE, true); local 55 if (!allocation) 57 return allocation; 60 void ExecutablePool::systemRelease(ExecutablePool::Allocation& allocation) argument 62 allocation.deallocate();
|
H A D | ExecutableAllocator.h | 147 void tryShrink(void* allocation, size_t oldSize, size_t newSize) argument 149 if (static_cast<char*>(allocation) + oldSize != m_freePtr) 151 m_freePtr = static_cast<char*>(allocation) + roundUpAllocationSize(newSize, sizeof(void*)); 365 // Replace allocation pool
|
H A D | ExecutableAllocatorFixedVMPool.cpp | 380 // (2) fully allocated as a single allocation (m_full set) 440 void free(ExecutablePool::Allocation allocation) argument 442 void* pointer = allocation.base(); 443 size_t size = allocation.size(); 521 void ExecutablePool::systemRelease(ExecutablePool::Allocation& allocation) argument 525 allocator->free(allocation);
|
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | BumpPointerAllocator.h | 41 // If allocation fails (out of memory) this method will return null. 90 // Placement operator new, returns the last 'size' bytes of allocation for use as this. 91 void* operator new(size_t size, const PageAllocation& allocation) argument 93 ASSERT(size < allocation.size()); 94 return reinterpret_cast<char*>(reinterpret_cast<intptr_t>(allocation.base()) + allocation.size()) - size; 97 BumpPointerPool(const PageAllocation& allocation) 98 : m_current(allocation.base()) 99 , m_start(allocation.base()) 102 , m_allocation(allocation) [all...] |
/external/webkit/Source/WebKit/gtk/tests/ |
H A D | testhittestresult.c | 125 GtkAllocation allocation = { 0, 0, 50, 50 }; local 132 gtk_widget_size_allocate(GTK_WIDGET(fixture->webView), &allocation);
|
/external/chromium/chrome/browser/renderer_host/ |
H A D | web_cache_manager.cc | 88 // Revise our allocation strategy to account for this new renderer. 116 // it is given a fair cache allocation, but we defer this for a bit in 205 NOTREACHED() << "Unknown cache allocation tactic"; 247 // We succeeded in computing an allocation strategy. 274 // Record the allocation in our strategy. 281 // Inform each render process of its cache allocation. 282 AllocationStrategy::const_iterator allocation = strategy.begin(); local 283 while (allocation != strategy.end()) { 284 RenderProcessHost* host = RenderProcessHost::FromID(allocation->first); 287 size_t capacity = allocation [all...] |
/external/webkit/Source/WebKit2/UIProcess/gtk/ |
H A D | WebViewWidget.cpp | 54 GtkAllocation allocation; local 55 gtk_widget_get_allocation(widget, &allocation); 59 attributes.x = allocation.x; 60 attributes.y = allocation.y; 61 attributes.width = allocation.width; 62 attributes.height = allocation.height; 164 static void webViewSizeAllocate(GtkWidget* widget, GtkAllocation* allocation) argument 167 GTK_WIDGET_CLASS(webViewWidgetParentClass)->size_allocate(widget, allocation); 168 webView->setSize(widget, IntSize(allocation->width, allocation [all...] |
/external/chromium/chrome/browser/tab_contents/ |
H A D | tab_contents_view_gtk.cc | 192 out->SetRect(x + expanded_->allocation.x, y + expanded_->allocation.y, 414 GtkAllocation* allocation) { 415 int width = allocation->width; 416 int height = allocation->height; 433 GtkWidget* floating_container, GtkAllocation* allocation) { 447 int child_x = std::max((allocation->width - requisition.width) / 2, 0); 452 int child_y = std::max((allocation->height - requisition.height) / 2, 0); 413 OnSizeAllocate(GtkWidget* widget, GtkAllocation* allocation) argument 432 OnSetFloatingPosition( GtkWidget* floating_container, GtkAllocation* allocation) argument
|