HomeSort by relevance Sort by last modified time
    Searched refs:allocation (Results 1 - 25 of 153) sorted by null

1 2 3 4 5 6 7

  /external/chromium/chrome/browser/ui/gtk/
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.height)
111 GtkAllocation allocation = { 10, 10, 50, 100 }; local
137 GtkAllocation allocation = { 0, 0, 300, 100 }; local
    [all...]
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 to emulate the queue resize
    [all...]
gtk_expanded_container.cc 22 GtkAllocation* allocation; member in struct:__anon3229::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->x
    [all...]
gtk_chrome_shrinkable_hbox.cc 20 GtkAllocation* allocation; member in struct:__anon3224::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->width |
    [all...]
custom_button.h 168 return gfx::Rect(widget_->allocation.x,
169 widget_->allocation.y,
170 widget_->allocation.width,
171 widget_->allocation.height);
174 int width() const { return widget_->allocation.width; }
175 int height() const { return widget_->allocation.height; }
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);
    [all...]
menu_bar_helper.cc 30 motion->x < menu->allocation.width &&
31 motion->y < menu->allocation.height) {
134 if (x >= 0 && y >= 0 && x < button->allocation.width &&
135 y < button->allocation.height) {
slide_animator_gtk.h 96 GtkAllocation* allocation,
gtk_custom_menu_item.cc 208 int x = first_button->allocation.x;
209 int y = first_button->allocation.y;
210 int width = last_button->allocation.width + last_button->allocation.x -
211 first_button->allocation.x;
212 int height = last_button->allocation.height;
218 &current_button->allocation, hbox, "button",
253 gtk_bin_get_child(GTK_BIN(current_button))->allocation;
261 current_button->allocation.x +
262 current_button->allocation.width - half_offset)
    [all...]
  /external/webkit/Source/JavaScriptCore/jit/
ExecutableAllocator.cpp 52 ExecutablePool::Allocation ExecutablePool::systemAlloc(size_t size)
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)
62 allocation.deallocate();
  /external/webkit/Source/JavaScriptCore/wtf/
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)
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/JavaScriptCore/heap/
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)
53 , m_allocation(allocation)
  /external/valgrind/main/memcheck/tests/
origin4-many.stderr.exp 3 Uninitialised value was created by a heap allocation
9 Uninitialised value was created by a heap allocation
15 Uninitialised value was created by a heap allocation
21 Uninitialised value was created by a heap allocation
27 Uninitialised value was created by a heap allocation
33 Uninitialised value was created by a heap allocation
39 Uninitialised value was created by a heap allocation
45 Uninitialised value was created by a heap allocation
51 Uninitialised value was created by a heap allocation
origin1-yes.stderr.exp 5 Uninitialised value was created by a stack allocation
12 Uninitialised value was created by a stack allocation
19 Uninitialised value was created by a stack allocation
26 Uninitialised value was created by a heap allocation
34 Uninitialised value was created by a heap allocation
42 Uninitialised value was created by a heap allocation
  /external/chromium/chrome/browser/ui/gtk/infobars/
extension_infobar_gtk.cc 77 GtkAllocation* allocation) {
78 gfx::Size new_size(allocation->width, allocation->height);
  /external/webkit/Source/JavaScriptCore/runtime/
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/
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.height = totalAllocation
    [all...]
ScrollViewGtk.cpp 187 GtkAllocation allocation; local
188 gtk_widget_get_allocation(measuredWidget, &allocation);
190 IntSize(allocation.width, allocation.height));
  /external/valgrind/main/massif/tests/
basic2.post.exp 39 00.00% (0B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
45 98.04% (3,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
52 98.04% (7,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
59 98.04% (10,800B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
66 98.04% (14,400B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
73 98.04% (11,200B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
80 98.04% (8,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
87 98.04% (4,800B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
94 98.04% (1,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
  /external/bluetooth/bluez/audio/
gstsbcutil.c 80 * Selects one allocation mode from the ones on the list
278 gint gst_sbc_parse_allocation_to_sbc(const gchar *allocation)
280 if (g_ascii_strcasecmp(allocation, "loudness") == 0)
282 else if (g_ascii_strcasecmp(allocation, "snr") == 0)
295 allocation_str = gst_sbc_parse_allocation_from_sbc(sbc->allocation);
306 "allocation", G_TYPE_STRING, allocation_str,
328 const gchar *allocation = NULL; local
400 if (!gst_structure_has_field(structure, "allocation")) {
402 *error_message = g_strdup("no allocation");
405 value = gst_structure_get_value(structure, "allocation");
487 const gchar *allocation; local
    [all...]
gstsbcenc.h 56 gint allocation; member in struct:_GstSbcEnc
  /external/clang/test/Sema/
warn-unused-function.c 52 static void cleanupMalloc(char * const * const allocation) { }
  /external/srtp/crypto/kernel/
alloc.c 4 * memory allocation and deallocation
48 /* the debug module for memory allocation */
77 debug_print(mod_alloc, "allocation failed (asked for %d bytes)\n", size);
102 debug_print(mod_alloc, "allocation failed (asked for %d bytes)\n", size);
115 #else /* we need to define our own memory allocation routines */
117 #error no memory allocation defined yet
  /external/webkit/Source/WebKit/gtk/tests/
testatk.c 238 GtkAllocation allocation = { 0, 0, 800, 600 }; local
239 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
341 GtkAllocation allocation = { 0, 0, 800, 600 }; local
342 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
388 GtkAllocation allocation = { 0, 0, 800, 600 }; local
389 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
489 GtkAllocation allocation = { 0, 0, 800, 600 }; local
490 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
575 GtkAllocation allocation = { 0, 0, 800, 600 }; local
576 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
600 GtkAllocation allocation = { 0, 0, 800, 600 }; local
601 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
625 GtkAllocation allocation = { 0, 0, 800, 600 }; local
626 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
650 GtkAllocation allocation = { 0, 0, 800, 600 }; local
651 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
677 GtkAllocation allocation = { 0, 0, 800, 600 }; local
678 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
704 GtkAllocation allocation = { 0, 0, 800, 600 }; local
705 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
738 GtkAllocation allocation = { 0, 0, 800, 600 }; local
739 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
773 GtkAllocation allocation = { 0, 0, 800, 600 }; local
774 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
808 GtkAllocation allocation = { 0, 0, 800, 600 }; local
809 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
831 GtkAllocation allocation = { 0, 0, 800, 600 }; local
832 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
965 GtkAllocation allocation = { 0, 0, 800, 600 }; local
966 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
1075 GtkAllocation allocation = { 0, 0, 800, 600 }; local
1076 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
1232 GtkAllocation allocation = { 0, 0, 800, 600 }; local
1233 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
1348 GtkAllocation allocation = { 0, 0, 800, 600 }; local
1349 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
1386 GtkAllocation allocation = { 0, 0, 800, 600 }; local
1387 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
1438 GtkAllocation allocation = { 0, 0, 800, 600 }; local
1439 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
1533 GtkAllocation allocation = { 0, 0, 800, 600 }; local
1534 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
1624 GtkAllocation allocation = { 0, 0, 800, 600 }; local
1625 gtk_widget_size_allocate(GTK_WIDGET(webView), &allocation); local
    [all...]
  /external/chromium/chrome/browser/automation/
testing_automation_provider_gtk.cc 46 *bounds = gfx::Rect(widget->allocation.width, widget->allocation.height);

Completed in 1156 milliseconds

1 2 3 4 5 6 7