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

1 2

  /external/webkit/JavaScriptCore/jit/
ExecutableAllocatorWin.cpp 43 ExecutablePool::Allocation ExecutablePool::systemAlloc(size_t n)
45 void* allocation = VirtualAlloc(0, n, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE); local
46 if (!allocation)
48 ExecutablePool::Allocation alloc = {reinterpret_cast<char*>(allocation), n};
52 void ExecutablePool::systemRelease(const ExecutablePool::Allocation& alloc)
ExecutableAllocatorSymbian.cpp 50 ExecutablePool::Allocation ExecutablePool::systemAlloc(size_t n)
56 char* allocation = reinterpret_cast<char*>(codeChunk->Base()); local
57 if (!allocation)
59 ExecutablePool::Allocation alloc = { allocation, n, codeChunk };
63 void ExecutablePool::systemRelease(const ExecutablePool::Allocation& alloc)
ExecutableAllocatorPosix.cpp 45 ExecutablePool::Allocation ExecutablePool::systemAlloc(size_t n)
47 void* allocation = mmap(NULL, n, INITIAL_PROTECTION_FLAGS, MAP_PRIVATE | MAP_ANON, VM_TAG_FOR_EXECUTABLEALLOCATOR_MEMORY, 0); local
48 if (allocation == MAP_FAILED)
50 ExecutablePool::Allocation alloc = { reinterpret_cast<char*>(allocation), n };
54 void ExecutablePool::systemRelease(const ExecutablePool::Allocation& alloc)
ExecutableAllocatorFixedVMPool.cpp 316 // is for a common sized allocation, check this list.
352 // If the allocation exactly fits the chunk we found in the,
427 ExecutablePool::Allocation ExecutablePool::systemAlloc(size_t size)
433 ExecutablePool::Allocation alloc = {reinterpret_cast<char*>(allocator->alloc(size)), size};
437 void ExecutablePool::systemRelease(const ExecutablePool::Allocation& allocation)
442 allocator->free(allocation.pages, allocation.size);
  /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
gstsbcenc.c 164 "allocation = (string) { \"snr\", \"loudness\" }, "
211 if (enc->allocation != SBC_AM_AUTO) {
213 enum_value = g_enum_get_value(enum_class, enc->allocation);
214 gst_sbc_util_set_structure_string_param(structure, "allocation",
343 if (enc->allocation != SBC_AM_AUTO &&
344 enc->sbc.allocation != enc->allocation)
477 enc->allocation = g_value_get_enum(value);
504 g_value_set_enum(value, enc->allocation);
540 g_param_spec_enum("allocation", "Allocation"
    [all...]
gstsbcutil.h 60 gint gst_sbc_parse_allocation_to_sbc(const gchar *allocation);
  /external/webkit/WebCore/platform/gtk/
GtkPluginWidget.cpp 61 GtkAllocation allocation = { loc.x(), loc.y(), rect.width(), rect.height() }; local
64 gtk_widget_size_allocate(platformWidget(), &allocation); local
ScrollViewGtk.cpp 167 IntSize(measuredWidget->allocation.width,
168 measuredWidget->allocation.height));
ScrollbarGtk.cpp 150 // Don't allow the allocation size to be negative
154 GtkAllocation allocation = { loc.x(), loc.y(), sz.width(), sz.height() }; local
155 gtk_widget_size_allocate(platformWidget(), &allocation); local
  /packages/wallpapers/Basic/src/com/android/wallpaper/nexus/
NexusRS.java 34 import android.renderscript.Allocation;
74 private Allocation mState;
80 private Allocation mCommandAllocation;
86 private Allocation[] mTextures = new Allocation[TEXTURES_COUNT];
178 mState = Allocation.createTyped(mRS, mStateType);
187 mCommandAllocation = Allocation.createTyped(mRS, mCommandType);
203 private Allocation loadTexture(int id, String name) {
204 final Allocation allocation = Allocation.createFromBitmapResource(mRS, mResources local
212 final Allocation allocation = Allocation.createFromBitmap(mRS, b, RGBA_8888(mRS), false); local
    [all...]
  /external/webkit/WebKit/gtk/tests/
testhittestresult.c 103 GtkAllocation allocation = { 0, 0, 50, 50 }; local
110 gtk_widget_size_allocate(GTK_WIDGET(fixture->webView), &allocation);
  /external/bluetooth/bluez/sbc/
sbc.h 55 /* allocation method */
74 uint8_t allocation; member in struct:sbc_struct
sbcenc.c 136 sbc.allocation = snr ? SBC_AM_SNR : SBC_AM_LOUDNESS;
143 "%d subbands, %d bits, allocation method %s, "
146 sbc.allocation == SBC_AM_SNR ? "SNR" : "LOUDNESS",
sbc.c 31 bits allocation/bitpool generation port to the dsp
70 } allocation; member in struct:sbc_frame
174 if (frame->allocation == SNR) {
255 if (frame->allocation == SNR) {
428 frame->allocation = (data[1] >> 1) & 0x01;
788 data[1] |= (frame->allocation & 0x01) << 1;
976 sbc->allocation = priv->frame.allocation;
1042 priv->frame.allocation = sbc->allocation;
    [all...]
  /external/webkit/WebKit/gtk/WebCoreSupport/
ChromeClientGtk.cpp 95 GtkAllocation allocation = GTK_WIDGET(m_webView)->allocation; local
96 return IntRect(allocation.x, allocation.y, allocation.width, allocation.height);
  /packages/wallpapers/Basic/src/com/android/wallpaper/fall/
FallRS.java 25 import android.renderscript.Allocation;
76 private Allocation mState;
77 private Allocation mDropState;
82 private Allocation mUniformAlloc;
247 mState = Allocation.createTyped(mRS, mStateType);
255 mDropState = Allocation.createTyped(mRS, mDropType);
260 final Allocation[] textures = new Allocation[TEXTURES_COUNT];
270 private Allocation loadTexture(int id, String name) {
271 final Allocation allocation = Allocation.createFromBitmapResource(mRS, mResources local
279 final Allocation allocation = Allocation.createFromBitmap(mRS, b, RGBA_8888(mRS), false); local
    [all...]
  /packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/
GalaxyRS.java 24 import android.renderscript.Allocation;
82 private Allocation[] mTextures;
86 private Allocation mState;
87 private Allocation mParticlesBuffer;
196 mState = Allocation.createTyped(mRS, mStateType);
201 mTextures = new Allocation[TEXTURES_COUNT];
203 final Allocation[] textures = mTextures;
214 private Allocation loadTexture(int id, String name) {
215 final Allocation allocation = Allocation.createFromBitmapResource(mRS, mResources local
224 final Allocation allocation = Allocation.createFromBitmap(mRS, b, RGBA_8888(mRS), false); local
    [all...]
  /external/webkit/WebCore/plugins/gtk/
gtk2xtbin.c 271 GtkAllocation allocation = { 0, 0, 200, 200 }; local
282 /* caculate the allocation before realize */
284 allocation.width = w;
285 allocation.height = h;
286 gtk_widget_size_allocate (widget, &allocation);
289 printf("initial allocation %d %d %d %d\n", x, y, w, h);
292 xtbin->width = widget->allocation.width;
293 xtbin->height = widget->allocation.height;
415 GtkAllocation allocation; local
435 allocation.x = xtbin->x
    [all...]
  /packages/wallpapers/Basic/src/com/android/wallpaper/grass/
GrassRS.java 25 import android.renderscript.Allocation;
97 private Allocation[] mTextures;
100 private Allocation mState;
103 private Allocation mBlades;
104 private Allocation mBladesBuffer;
105 private Allocation mBladesIndicies;
245 mState = Allocation.createTyped(mRS, mStateType);
254 mBlades = Allocation.createTyped(mRS, mBladesType);
291 final Allocation buffer = mBladesBuffer;
348 mTextures = new Allocation[TEXTURES_COUNT]
369 final Allocation allocation = Allocation.createTyped(mRS, builder.create()); local
386 final Allocation allocation = Allocation.createFromBitmapResource(mRS, mResources, local
    [all...]
  /dalvik/vm/mterp/x86-atom/
OP_NEW_ARRAY.S 73 * Finish allocation.
88 cmp $$0, %eax # check for allocation failure
  /external/webkit/JavaScriptCore/runtime/
JSString.h 126 void* allocation; local
127 if (tryFastMalloc(sizeof(Rope) + (ropeLength - 1) * sizeof(Fiber)).getValue(allocation))
128 return adoptRef(new (allocation) Rope(ropeLength));
  /external/v8/test/mjsunit/
bit-not.js 67 // Try to test that we can deal with allocation failures in
codegen-coverage.js 39 // This test depends on the fixed order of register allocation. We try to

Completed in 579 milliseconds

1 2