/external/webkit/JavaScriptCore/jit/ |
D | ExecutableAllocatorSymbian.cpp | 59 ExecutablePool::Allocation alloc = { allocation, n, codeChunk }; in systemAlloc() local 60 return alloc; in systemAlloc() 63 void ExecutablePool::systemRelease(const ExecutablePool::Allocation& alloc) in systemRelease() argument 65 alloc.chunk->Close(); in systemRelease() 66 delete alloc.chunk; in systemRelease()
|
D | ExecutableAllocatorPosix.cpp | 50 ExecutablePool::Allocation alloc = { reinterpret_cast<char*>(allocation), n }; in systemAlloc() local 51 return alloc; in systemAlloc() 54 void ExecutablePool::systemRelease(const ExecutablePool::Allocation& alloc) in systemRelease() argument 56 int result = munmap(alloc.pages, alloc.size); in systemRelease()
|
D | ExecutableAllocatorWin.cpp | 48 ExecutablePool::Allocation alloc = {reinterpret_cast<char*>(allocation), n}; in systemAlloc() local 49 return alloc; in systemAlloc() 52 void ExecutablePool::systemRelease(const ExecutablePool::Allocation& alloc) in systemRelease() argument 54 VirtualFree(alloc.pages, 0, MEM_RELEASE); in systemRelease()
|
/external/webkit/WebKit/gtk/tests/ |
D | testatk.c | 215 GtkAllocation alloc = { 0, 0, 800, 600 }; in test_webkit_atk_get_text_at_offset_forms() local 216 gtk_widget_size_allocate(GTK_WIDGET(webView), &alloc); in test_webkit_atk_get_text_at_offset_forms() 246 GtkAllocation alloc = { 0, 0, 800, 600 }; in test_webkit_atk_get_text_at_offset() local 247 gtk_widget_size_allocate(GTK_WIDGET(webView), &alloc); in test_webkit_atk_get_text_at_offset() 277 GtkAllocation alloc = { 0, 0, 800, 600 }; in test_webkit_atk_get_text_at_offset_newlines() local 278 gtk_widget_size_allocate(GTK_WIDGET(webView), &alloc); in test_webkit_atk_get_text_at_offset_newlines() 308 GtkAllocation alloc = { 0, 0, 800, 600 }; in test_webkit_atk_get_text_at_offset_textarea() local 309 gtk_widget_size_allocate(GTK_WIDGET(webView), &alloc); in test_webkit_atk_get_text_at_offset_textarea() 341 GtkAllocation alloc = { 0, 0, 800, 600 }; in test_webkit_atk_get_text_at_offset_text_input() local 342 gtk_widget_size_allocate(GTK_WIDGET(webView), &alloc); in test_webkit_atk_get_text_at_offset_text_input() [all …]
|
/external/bluetooth/glib/gio/xdgmime/ |
D | xdgmimealias.c | 125 int alloc; in _xdg_mime_alias_read_from_file() local 134 alloc = list->n_aliases + 16; in _xdg_mime_alias_read_from_file() 135 list->aliases = realloc (list->aliases, alloc * sizeof (XdgAlias)); in _xdg_mime_alias_read_from_file() 147 if (list->n_aliases == alloc) in _xdg_mime_alias_read_from_file() 149 alloc <<= 1; in _xdg_mime_alias_read_from_file() 151 alloc * sizeof (XdgAlias)); in _xdg_mime_alias_read_from_file()
|
D | xdgmimeicon.c | 124 int alloc; in _xdg_mime_icon_read_from_file() local 133 alloc = list->n_icons + 16; in _xdg_mime_icon_read_from_file() 134 list->icons = realloc (list->icons, alloc * sizeof (XdgIcon)); in _xdg_mime_icon_read_from_file() 146 if (list->n_icons == alloc) in _xdg_mime_icon_read_from_file() 148 alloc <<= 1; in _xdg_mime_icon_read_from_file() 150 alloc * sizeof (XdgIcon)); in _xdg_mime_icon_read_from_file()
|
D | xdgmimeparent.c | 130 int i, alloc; in _xdg_mime_parent_read_from_file() local 140 alloc = list->n_mimes + 16; in _xdg_mime_parent_read_from_file() 141 list->parents = realloc (list->parents, alloc * sizeof (XdgMimeParents)); in _xdg_mime_parent_read_from_file() 165 if (list->n_mimes == alloc) in _xdg_mime_parent_read_from_file() 167 alloc <<= 1; in _xdg_mime_parent_read_from_file() 169 alloc * sizeof (XdgMimeParents)); in _xdg_mime_parent_read_from_file()
|
/external/chromium/base/third_party/xdg_mime/ |
D | xdgmimealias.c | 125 int alloc; in _xdg_mime_alias_read_from_file() local 134 alloc = list->n_aliases + 16; in _xdg_mime_alias_read_from_file() 135 list->aliases = realloc (list->aliases, alloc * sizeof (XdgAlias)); in _xdg_mime_alias_read_from_file() 147 if (list->n_aliases == alloc) in _xdg_mime_alias_read_from_file() 149 alloc <<= 1; in _xdg_mime_alias_read_from_file() 151 alloc * sizeof (XdgAlias)); in _xdg_mime_alias_read_from_file()
|
D | xdgmimeicon.c | 124 int alloc; in _xdg_mime_icon_read_from_file() local 133 alloc = list->n_icons + 16; in _xdg_mime_icon_read_from_file() 134 list->icons = realloc (list->icons, alloc * sizeof (XdgIcon)); in _xdg_mime_icon_read_from_file() 146 if (list->n_icons == alloc) in _xdg_mime_icon_read_from_file() 148 alloc <<= 1; in _xdg_mime_icon_read_from_file() 150 alloc * sizeof (XdgIcon)); in _xdg_mime_icon_read_from_file()
|
D | xdgmimeparent.c | 130 int i, alloc; in _xdg_mime_parent_read_from_file() local 140 alloc = list->n_mimes + 16; in _xdg_mime_parent_read_from_file() 141 list->parents = realloc (list->parents, alloc * sizeof (XdgMimeParents)); in _xdg_mime_parent_read_from_file() 165 if (list->n_mimes == alloc) in _xdg_mime_parent_read_from_file() 167 alloc <<= 1; in _xdg_mime_parent_read_from_file() 169 alloc * sizeof (XdgMimeParents)); in _xdg_mime_parent_read_from_file()
|
/external/dropbear/libtommath/ |
D | bn_mp_grow.c | 25 if (a->alloc < size) { in mp_grow() 45 i = a->alloc; in mp_grow() 46 a->alloc = size; in mp_grow() 47 for (; i < a->alloc; i++) { in mp_grow()
|
/external/bluetooth/glib/glib/ |
D | garray.c | 54 guint alloc; member 90 array->alloc = 0; in g_array_sized_new() 334 if (want_alloc > array->alloc) in g_array_maybe_expand() 342 memset (array->data + array->alloc, 0, want_alloc - array->alloc); in g_array_maybe_expand() 344 array->alloc = want_alloc; in g_array_maybe_expand() 357 guint alloc; member 376 array->alloc = 0; in g_ptr_array_sized_new() 409 if ((array->len + len) > array->alloc) in g_ptr_array_maybe_expand() 411 guint old_alloc = array->alloc; in g_ptr_array_maybe_expand() 412 array->alloc = g_nearest_pow (array->len + len); in g_ptr_array_maybe_expand() [all …]
|
/external/skia/src/ports/ |
D | SkXMLPullParser_expat.cpp | 28 char* dst = (char*)chunk.alloc(len + 1, SkChunkAlloc::kThrow_AllocFailType); in dupstr() 66 SkChunkAlloc& alloc = p->fAlloc; in start_proc() local 68 c->fName = dupstr(alloc, el, strlen(el)); in start_proc() 71 …SkXMLPullParser::AttrInfo* info = (SkXMLPullParser::AttrInfo*)alloc.alloc(n * sizeof(SkXMLPullPars… in start_proc() 78 info[i].fName = dupstr(alloc, attr[0], strlen(attr[0])); in start_proc() 79 info[i].fValue = dupstr(alloc, attr[1], strlen(attr[1])); in start_proc()
|
/external/grub/stage2/ |
D | vstafs.h | 43 struct alloc struct 55 struct alloc fs_freesecs[0]; argument 76 struct alloc blocks[32];
|
/external/webkit/WebKit/mac/WebView/ |
D | WebArchive.mm | 129 _private = [[WebArchivePrivate alloc] init]; 158 _private = [[WebArchivePrivate alloc] init]; 215 _private = [[WebArchivePrivate alloc] init]; 289 …_private->cachedMainResource = [[WebResource alloc] _initWithCoreResource:coreArchive->mainResourc… 309 _private->cachedSubresources = [[NSArray alloc] init]; 312 … NSMutableArray *mutableArray = [[NSMutableArray alloc] initWithCapacity:subresources.size()]; 315 … WebResource *resource = [[WebResource alloc] _initWithCoreResource:subresources[i].get()]; 342 _private->cachedSubframeArchives = [[NSArray alloc] init]; 345 … NSMutableArray *mutableArray = [[NSMutableArray alloc] initWithCapacity:subframeArchives.size()]; 348 …WebArchive *archive = [[WebArchive alloc] _initWithCoreLegacyWebArchive:(LegacyWebArchive *)subfra… [all …]
|
D | WebDataSource.mm | 173 return [[[NSFileWrapper alloc] initWithPath:path] autorelease]; 182 …NSFileWrapper *wrapper = [[[NSFileWrapper alloc] initRegularFileWithContents:[cachedResponse data]… 251 repTypes = [[NSMutableDictionary alloc] init]; 283 …NSString *markupString = [[NSString alloc] initWithData:[mainResource data] encoding:NSUTF8StringE… 351 id newRep = repClass != nil ? [[repClass alloc] init] : nil; 370 _private = [[WebDataSourcePrivate alloc] init]; 480 …return [[[WebArchive alloc] _initWithCoreLegacyWebArchive:LegacyWebArchive::create(core([self webF… 486 return [[[WebResource alloc] _initWithCoreResource:coreResource.release()] autorelease]; 494 … NSMutableArray *subresources = [[NSMutableArray alloc] initWithCapacity:coreSubresources.size()]; 496 WebResource *resource = [[WebResource alloc] _initWithCoreResource:coreSubresources[i]]; [all …]
|
/external/libvpx/vpx/internal/ |
D | vpx_codec_internal.h | 421 struct vpx_codec_cx_pkt pkts[n];} alloc;} 424 (m)->alloc.head.cnt = 0,\ 425 (m)->alloc.head.max = sizeof((m)->alloc.pkts) / sizeof((m)->alloc.pkts[0])
|
/external/clearsilver/cs/ |
D | csparse.c | 565 err = uListAppend(parse->alloc, ibuf); in cs_parse_string() 1925 …intf(stderr, "%s op: %s alloc: %d value: ", where, expand_token_type(arg->op_type, 0), arg->alloc); in expand_arg() 1984 result->alloc = arg2->alloc; in eval_expr_string() 1985 arg2->alloc = 0; in eval_expr_string() 1990 result->alloc = arg1->alloc; in eval_expr_string() 1991 arg1->alloc = 0; in eval_expr_string() 2024 result->alloc = 1; in eval_expr_string() 2137 if (expr->alloc) expr->alloc = 0; in eval_expr() 2170 arg1.alloc = 0; in eval_expr() 2171 arg2.alloc = 0; in eval_expr() [all …]
|
/external/webkit/WebCore/accessibility/mac/ |
D | AccessibilityObjectWrapper.mm | 529 NSMutableAttributedString* attrString = [[NSMutableAttributedString alloc] init]; 585 …static NSArray* actionElementActions = [[NSArray alloc] initWithObjects: NSAccessibilityPressActio… 586 …static NSArray* defaultElementActions = [[NSArray alloc] initWithObjects: NSAccessibilityShowMenuA… 587 …static NSArray* menuElementActions = [[NSArray alloc] initWithObjects: NSAccessibilityCancelAction… 588 …static NSArray* sliderActions = [[NSArray alloc] initWithObjects: NSAccessibilityIncrementAction, … 678 attributes = [[NSArray alloc] initWithObjects: NSAccessibilityRoleAttribute, 703 commonMenuAttrs = [[NSArray alloc] initWithObjects: NSAccessibilityRoleAttribute, 713 tempArray = [[NSMutableArray alloc] initWithArray:attributes]; 716 anchorAttrs = [[NSArray alloc] initWithArray:tempArray]; 720 tempArray = [[NSMutableArray alloc] initWithArray:attributes]; [all …]
|
/external/webkit/WebKit/mac/WebCoreSupport/ |
D | WebChromeClient.mm | 196 NSNumber *x = features.xSet ? [[NSNumber alloc] initWithFloat:features.x] : nil; 197 NSNumber *y = features.ySet ? [[NSNumber alloc] initWithFloat:features.y] : nil; 198 NSNumber *width = features.widthSet ? [[NSNumber alloc] initWithFloat:features.width] : nil; 199 … NSNumber *height = features.heightSet ? [[NSNumber alloc] initWithFloat:features.height] : nil; 200 NSNumber *menuBarVisible = [[NSNumber alloc] initWithBool:features.menuBarVisible]; 201 NSNumber *statusBarVisible = [[NSNumber alloc] initWithBool:features.statusBarVisible]; 202 NSNumber *toolBarVisible = [[NSNumber alloc] initWithBool:features.toolBarVisible]; 203 NSNumber *scrollbarsVisible = [[NSNumber alloc] initWithBool:features.scrollbarsVisible]; 204 NSNumber *resizable = [[NSNumber alloc] initWithBool:features.resizable]; 205 NSNumber *fullscreen = [[NSNumber alloc] initWithBool:features.fullscreen]; [all …]
|
/external/webkit/WebKit/mac/Panels/ |
D | WebPanelAuthenticationHandler.m | 45 sharedHandler = [[self alloc] init]; 53 windowToPanel = [[NSMutableDictionary alloc] init]; 54 challengeToWindow = [[NSMutableDictionary alloc] init]; 55 windowToChallengeQueue = [[NSMutableDictionary alloc] init]; 72 queue = [[NSMutableArray alloc] init]; 124 …WebAuthenticationPanel *panel = [[WebAuthenticationPanel alloc] initWithCallback:self selector:@se…
|
/external/webkit/WebCore/platform/text/mac/ |
D | TextBoundaries.mm | 35 NSString* string = [[NSString alloc] initWithCharactersNoCopy:const_cast<unichar*>(chars) 37 NSAttributedString* attr = [[NSAttributedString alloc] initWithString:string]; 47 NSString* string = [[NSString alloc] initWithCharactersNoCopy:const_cast<unichar*>(chars) 49 NSAttributedString* attr = [[NSAttributedString alloc] initWithString:string];
|
/external/webkit/WebKit/mac/Misc/ |
D | WebNSAttributedStringExtras.mm | 77 …wrapper = [[NSFileWrapper alloc] initRegularFileWithContents:(NSData *)(renderer->cachedImage()->i… 104 attachmentCharString = [[NSString alloc] initWithCharacters:chars length:1]; 124 NSMutableAttributedString *string = [[NSMutableAttributedString alloc] init]; 126 RetainPtr<NSMutableDictionary> attrs(AdoptNS, [[NSMutableDictionary alloc] init]); 140 … NSTextAttachment *attachment = [[NSTextAttachment alloc] initWithFileWrapper:fileWrapper]; 166 …RetainPtr<NSString> substring(AdoptNS, [[NSString alloc] initWithCharactersNoCopy:const_cast<UChar…
|
/external/webkit/WebKitTools/DumpRenderTree/mac/ |
D | DumpRenderTreePasteboard.m | 57 localPasteboards = [[NSMutableDictionary alloc] init]; 61 pasteboard = [[LocalPasteboard alloc] init]; 84 + (id)alloc 91 typesArray = [[NSMutableArray alloc] init]; 92 typesSet = [[NSMutableSet alloc] init]; 93 dataByType = [[NSMutableDictionary alloc] init];
|
/external/webkit/WebKit/mac/Storage/ |
D | WebDatabaseManager.mm | 56 static WebDatabaseManager *sharedManager = [[WebDatabaseManager alloc] init]; 64 NSMutableArray *webOrigins = [[NSMutableArray alloc] initWithCapacity:coreOrigins.size()]; 67 …WebSecurityOrigin *webOrigin = [[WebSecurityOrigin alloc] _initWithWebCoreSecurityOrigin:coreOrigi… 81 NSMutableArray *names = [[NSMutableArray alloc] initWithCapacity:nameVector.size()]; 102 return [[[NSDictionary alloc] initWithObjects:objects forKeys:keys count:3] autorelease];
|