/ndk/sources/host-tools/sed-4.2.1/sed/ |
execute.c | 92 size_t alloc; /* Allocated space for active. */ 217 if (inactive > lb->alloc * 2) 220 lb->alloc += lb->active - lb->text; 224 if (lb->alloc > len) 228 lb->alloc *= 2; 229 if (lb->alloc < len) 230 lb->alloc = len; 231 if (lb->alloc < INITIAL_BUFFER_SIZE) 232 lb->alloc = INITIAL_BUFFER_SIZE; 234 lb->text = REALLOC(lb->text, inactive + lb->alloc, char) 91 size_t alloc; \/* Allocated space for active. *\/ member in struct:line [all...] |
/external/webkit/Source/WebCore/platform/mac/ |
PopupMenuMac.mm | 65 m_popup = [[NSPopUpButtonCell alloc] initTextCell:@"" pullsDown:!client()->shouldPopOver()]; 91 NSMutableDictionary* attributes = [[NSMutableDictionary alloc] init]; 107 RetainPtr<NSNumber> writingDirectionValue(AdoptNS, [[NSNumber alloc] initWithInteger:writingDirection + NSTextWritingDirectionOverride]); 108 RetainPtr<NSArray> writingDirectionArray(AdoptNS, [[NSArray alloc] initWithObjects:writingDirectionValue.get(), nil]); 116 NSAttributedString *string = [[NSAttributedString alloc] initWithString:client()->itemText(i) attributes:attributes]; 188 RetainPtr<NSView> dummyView(AdoptNS, [[NSView alloc] initWithFrame:r]);
|
SearchPopupMenuMac.mm | 57 NSMutableArray* items = [[NSMutableArray alloc] initWithCapacity:size];
|
/external/webkit/Source/WebKit2/WebProcess/Downloads/mac/ |
DownloadMac.mm | 109 hostOnlyURLString.adoptNS([[NSString alloc] initWithFormat:@"%@://%@:%d", scheme, host, [port intValue]]); 111 hostOnlyURLString.adoptNS([[NSString alloc] initWithFormat:@"%@://%@", scheme, host]); 113 RetainPtr<NSURL> hostOnlyURL = [[NSURL alloc] initWithString:hostOnlyURLString.get()]; 125 m_delegate.adoptNS([[WKDownloadAsDelegate alloc] initWithDownload:this]); 126 m_nsURLDownload.adoptNS([[NSURLDownload alloc] initWithRequest:m_request.nsURLRequest() delegate:m_delegate.get()]); 142 m_delegate.adoptNS([[WKDownloadAsDelegate alloc] initWithDownload:this]);
|
/dalvik/vm/ |
Dvm.mk | 113 alloc/Alloc.cpp \ 114 alloc/CardTable.cpp \ 115 alloc/HeapBitmap.cpp.arm \ 116 alloc/HeapDebug.cpp \ 117 alloc/Heap.cpp.arm \ 118 alloc/DdmHeap.cpp \ 119 alloc/Verify.cpp \ 120 alloc/Visit.cpp \ 199 alloc/Copying.cpp.ar [all...] |
/external/valgrind/main/massif/tests/ |
big-alloc.post.exp | 2 Command: ./big-alloc 48 99.96% (94,371,840B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 49 ->99.96% (94,371,840B) 0x........: main (big-alloc.c:12)
|
ignoring.post.exp | 40 99.22% (1,024B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 48 98.46% (512B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 61 98.46% (512B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 87 97.96% (768B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 102 97.96% (768B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 117 97.96% (768B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 132 97.96% (768B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 147 97.96% (768B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 163 97.96% (768B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 183 97.96% (768B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc [all...] |
peak2.post.exp | 42 86.32% (1,616B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 54 89.33% (3,216B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 66 90.39% (4,816B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 78 90.93% (6,416B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 90 91.26% (8,016B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 102 91.48% (9,616B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 114 91.63% (11,216B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 126 91.75% (12,816B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 138 91.85% (14,416B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 150 91.92% (16,016B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc [all...] |
/external/webkit/Tools/DumpRenderTree/chromium/ |
WebThemeEngineDRTMac.mm | 66 alwaysActiveWindow = [[self alloc] initWithActiveControls:YES]; 73 alwaysInactiveWindow = [[self alloc] initWithActiveControls:NO]; 153 NSScroller* scroller = [[NSScroller alloc] initWithFrame:NSMakeRect(rect.x, rect.y, rect.width, rect.height)];
|
LayoutTestHelper.mm | 95 NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
|
/sdk/emulator/opengl/host/libs/Translator/EGL/ |
MacNative.m | 75 return [[NSOpenGLPixelFormat alloc] initWithAttributes:attrib_lists[i]]; 85 return [[EmuGLContext alloc] initWithFormat:frmt shareContext:share]; 138 return [[NSOpenGLPixelBuffer alloc] initWithTextureTarget:target
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/output1/ |
TreeRewriteParser.m | 81 return [[[TreeRewriteParser_rule_return alloc] init] retain]; 114 return [[[TreeRewriteParser_subrule_return alloc] init] retain]; 153 [ANTLRBaseRecognizer setTokenNames:[[[NSArray alloc] initWithObjects:@"<invalid>", @"<EOR>", @"<DOWN>", @"<UP>", 159 return [[TreeRewriteParser alloc] initWithTokenStream:aStream];
|
/external/clang/test/SemaTemplate/ |
constructor-template.cpp | 39 A alloc; member in struct:Outer 41 explicit Outer(const A& a) : alloc(a) { }
|
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/ |
SDL_QuartzWM.m | 45 pool = [ [ NSAutoreleasePool alloc ] init ]; 52 imgrep = [ [ [ NSBitmapImageRep alloc ] initWithBitmapDataPlanes: NULL pixelsWide: w pixelsHigh: h bitsPerSample: 1 samplesPerPixel: 2 hasAlpha: YES isPlanar: YES colorSpaceName: NSDeviceWhiteColorSpace bytesPerRow: (w+7)/8 bitsPerPixel: 0 ] autorelease ]; 63 img = [ [ [ NSImage alloc ] initWithSize: NSMakeSize(w, h) ] autorelease ]; 77 cursor->nscursor = [ [ NSCursor alloc ] initWithImage: img hotSpot: NSMakePoint(hot_x, hot_y) ]; 269 string = [ [ NSString alloc ] initWithUTF8String:title ]; 274 string = [ [ NSString alloc ] initWithUTF8String:icon ]; 423 pool = [ [ NSAutoreleasePool alloc ] init ]; 425 imgrep = [ [ [ NSBitmapImageRep alloc ] initWithBitmapDataPlanes: NULL pixelsWide: icon->w pixelsHigh: icon->h bitsPerSample: 8 samplesPerPixel: 4 hasAlpha: YES isPlanar: NO colorSpaceName: NSDeviceRGBColorSpace bytesPerRow: 4*icon->w bitsPerPixel: 32 ] autorelease ]; 471 img = [ [ [ NSImage alloc ] initWithSize: NSMakeSize(icon->w, icon->h) ] autorelease ];
|
/external/srtp/crypto/include/ |
cipher.h | 140 cipher_alloc_func_t alloc; member in struct:cipher_type_t 168 #define cipher_type_alloc(ct, c, klen) ((ct)->alloc((c), (klen)))
|
/external/valgrind/main/memcheck/tests/ |
dw4.stderr.exp | 4 Address 0x........ is 4 bytes inside a block of size 32 alloc'd
|
malloc1.stderr.exp | 12 Address 0x........ is 1 bytes before a block of size 10 alloc'd
|
/external/webkit/Source/WebKit/mac/Misc/ |
WebNSNotificationCenterExtras.m | 45 NSMutableDictionary *info = [[NSMutableDictionary alloc] initWithCapacity:3];
|
/external/webkit/Source/WebKit/mac/Storage/ |
WebStorageTrackerClient.mm | 63 RetainPtr<WebSecurityOrigin> webSecurityOrigin(AdoptNS, [[WebSecurityOrigin alloc] _initWithWebCoreSecurityOrigin:origin.get()]);
|
/external/webkit/Source/WebKit/mac/WebView/ |
WebNavigationData.mm | 60 _private = [[WebNavigationDataPrivate alloc] init];
|
WebTextIterator.mm | 73 _private = [[WebTextIteratorPrivate alloc] init];
|
/external/webkit/Source/WebKit2/UIProcess/API/mac/ |
FindIndicatorWindow.mm | 151 m_findIndicatorWindow.adoptNS([[NSWindow alloc] initWithContentRect:windowContentRect 160 RetainPtr<WebFindIndicatorView> findIndicatorView(AdoptNS, [[WebFindIndicatorView alloc] _initWithFindIndicator:m_findIndicator]); 168 m_bounceAnimation.adoptNS([[WebFindIndicatorWindowAnimation alloc] _initWithFindIndicatorWindow:this 207 m_fadeOutAnimation.adoptNS([[WebFindIndicatorWindowAnimation alloc] _initWithFindIndicatorWindow:this
|
/frameworks/base/graphics/java/android/renderscript/ |
Mesh.java | 362 Allocation alloc = null; local 365 alloc = Allocation.createTyped(mRS, entry.t, mUsage); 367 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); 369 vertexBuffers[ct] = alloc; 370 vtx[ct] = alloc.getID(mRS); 374 Allocation alloc = null; local 377 alloc = Allocation.createTyped(mRS, entry.t, mUsage); 379 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); 381 int allocID = (alloc == null) ? 0 : alloc.getID(mRS) [all...] |
/external/webkit/Source/WebCore/accessibility/mac/ |
AccessibilityObjectWrapper.mm | 623 NSMutableAttributedString* attrString = [[NSMutableAttributedString alloc] init]; 680 static NSArray* actionElementActions = [[NSArray alloc] initWithObjects: NSAccessibilityPressAction, NSAccessibilityShowMenuAction, nil]; 681 static NSArray* defaultElementActions = [[NSArray alloc] initWithObjects: NSAccessibilityShowMenuAction, nil]; 682 static NSArray* menuElementActions = [[NSArray alloc] initWithObjects: NSAccessibilityCancelAction, NSAccessibilityPressAction, nil]; 683 static NSArray* sliderActions = [[NSArray alloc] initWithObjects: NSAccessibilityIncrementAction, NSAccessibilityDecrementAction, nil]; 780 attributes = [[NSArray alloc] initWithObjects: NSAccessibilityRoleAttribute, 805 commonMenuAttrs = [[NSArray alloc] initWithObjects: NSAccessibilityRoleAttribute, 815 tempArray = [[NSMutableArray alloc] initWithArray:attributes]; 818 anchorAttrs = [[NSArray alloc] initWithArray:tempArray]; 822 tempArray = [[NSMutableArray alloc] initWithArray:attributes] [all...] |
/external/webkit/Tools/DumpRenderTree/mac/ |
DumpRenderTree.mm | 294 WebView *webView = [[WebView alloc] initWithFrame:rect frameName:nil groupName:@"org.webkit.DumpRenderTree"]; 316 DumpRenderTreeWindow *window = [[DumpRenderTreeWindow alloc] initWithContentRect:windowRect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:YES]; 359 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 360 WebView *webView = [[WebView alloc] initWithFrame:NSZeroRect frameName:@"" groupName:@""]; 494 [[NSURLCache alloc] initWithMemoryCapacity:1024 * 1024 553 gNavigationController = [[NavigationController alloc] init]; 554 frameLoadDelegate = [[FrameLoadDelegate alloc] init]; 555 uiDelegate = [[UIDelegate alloc] init]; 556 editingDelegate = [[EditingDelegate alloc] init]; 557 resourceLoadDelegate = [[ResourceLoadDelegate alloc] init] [all...] |