HomeSort by relevance Sort by last modified time
    Searched full:alloc (Results 201 - 225 of 3588) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/mesa3d/src/gallium/drivers/nouveau/
nouveau_mm.c 162 struct nouveau_mm_allocation *alloc; local
191 alloc = MALLOC_STRUCT(nouveau_mm_allocation);
192 if (!alloc)
202 alloc->next = NULL;
203 alloc->offset = *offset;
204 alloc->priv = (void *)slab;
206 return alloc;
210 nouveau_mm_free(struct nouveau_mm_allocation *alloc)
212 struct mm_slab *slab = (struct mm_slab *)alloc->priv;
215 mm_slab_free(slab, alloc->offset >> slab->order)
    [all...]
  /external/clang/test/Analysis/
NSString.m 35 extern CFStringRef CFStringCreateWithFormat(CFAllocatorRef alloc, CFDictionaryRef formatOptions, CFStringRef format, ...);
61 + (id)alloc;
139 NSString* s = [[NSString alloc] init];
140 NSMutableArray* a = [[NSMutableArray alloc] initWithCapacity:2];
148 NSString* s = [[NSString alloc] init];
156 if (!s) s = [[NSString alloc] init];
176 NSString *string = [[NSString alloc] init];
200 NSString *str = [[NSString alloc] init];
205 NSString *s = [[NSString alloc] init]; // expected-warning{{leak}}
211 NSString *s = [[[NSString alloc] init] autorelease]; // expected-warning{{leak}
    [all...]
retain-release-region-store.m 33 extern CFStringRef CFStringCreateWithCString(CFAllocatorRef alloc, const char *cStr, CFStringEncoding encoding);
55 + (id)alloc;
163 [[NSNumber alloc] initWithInt:1], // no-warning
164 [[NSNumber alloc] initWithInt:2], // no-warning
165 [[NSNumber alloc] initWithInt:3], // no-warning
166 [[NSNumber alloc] initWithInt:4], // no-warning
167 [[NSNumber alloc] initWithInt:5] // no-warning
176 [[NSNumber alloc] initWithInt:1], // expected-warning{{leak}}
177 [[NSNumber alloc] initWithInt:2], // expected-warning{{leak}}
178 [[NSNumber alloc] initWithInt:3], // expected-warning{{leak}
    [all...]
  /external/linux-tools-perf/util/
strbuf.h 36 * XXX: do _not_ assume that the area that is yours is of size ->alloc - 1
37 * even if it's true in the current implementation. Alloc is somehow a
45 size_t alloc; member in struct:strbuf
59 return sb->alloc ? sb->alloc - sb->len - 1 : 0;
65 if (!sb->alloc)
67 assert(len < sb->alloc);
  /external/chromium_org/third_party/libjingle/source/talk/app/webrtc/objctests/
RTCPeerConnectionTest.mm 84 [[RTCVideoRenderer alloc] initWithDelegate:nil];
92 RTCMediaConstraints *constraints = [[RTCMediaConstraints alloc] init];
98 RTCPeerConnectionFactory *factory = [[RTCPeerConnectionFactory alloc] init];
101 [[RTCICEServer alloc] initWithURI:[NSURL URLWithString:stunURL]
106 RTCMediaConstraints *constraints = [[RTCMediaConstraints alloc] init];
108 [[RTCPeerConnectionSyncObserver alloc] init];
115 [[RTCPeerConnectionSyncObserver alloc] init];
137 [[RTCSessionDescriptionSyncObserver alloc] init];
146 sdpObserver = [[RTCSessionDescriptionSyncObserver alloc] init];
162 sdpObserver = [[RTCSessionDescriptionSyncObserver alloc] init]
    [all...]
  /external/chromium_org/third_party/lzma_sdk/
7zIn.c 22 void SzCoderInfo_Free(CSzCoderInfo *p, ISzAlloc *alloc)
24 Buf_Free(&p->Props, alloc);
42 void SzFolder_Free(CSzFolder *p, ISzAlloc *alloc)
47 SzCoderInfo_Free(&p->Coders[i], alloc);
48 IAlloc_Free(alloc, p->Coders);
49 IAlloc_Free(alloc, p->BindPairs);
50 IAlloc_Free(alloc, p->PackStreams);
51 IAlloc_Free(alloc, p->UnpackSizes);
116 void SzAr_Free(CSzAr *p, ISzAlloc *alloc)
121 SzFolder_Free(&p->Folders[i], alloc);
    [all...]
  /external/lzma/C/
7zIn.c 22 void SzCoderInfo_Free(CSzCoderInfo *p, ISzAlloc *alloc)
24 Buf_Free(&p->Props, alloc);
42 void SzFolder_Free(CSzFolder *p, ISzAlloc *alloc)
47 SzCoderInfo_Free(&p->Coders[i], alloc);
48 IAlloc_Free(alloc, p->Coders);
49 IAlloc_Free(alloc, p->BindPairs);
50 IAlloc_Free(alloc, p->PackStreams);
51 IAlloc_Free(alloc, p->UnpackSizes);
116 void SzAr_Free(CSzAr *p, ISzAlloc *alloc)
121 SzFolder_Free(&p->Folders[i], alloc);
    [all...]
Lzma2Enc.c 61 ISzAlloc *alloc, ISzAlloc *allocBig);
63 UInt32 keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig);
250 ISzAlloc *alloc; member in struct:__anon22575
272 mainEncoder->outBuf = (Byte *)IAlloc_Alloc(mainEncoder->alloc, LZMA2_CHUNK_SIZE_COMPRESSED_MAX);
278 mainEncoder->alloc, mainEncoder->allocBig));
327 mainEncoder->alloc, mainEncoder->allocBig));
367 CLzma2EncHandle Lzma2Enc_Create(ISzAlloc *alloc, ISzAlloc *allocBig)
369 CLzma2Enc *p = (CLzma2Enc *)alloc->Alloc(alloc, sizeof(CLzma2Enc));
    [all...]
  /external/valgrind/main/massif/tests/
deep-D.post.exp 3 Massif arguments: --stacks=no --time-unit=B --alloc-fn=a1 --alloc-fn=a2 --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 --alloc-fn=main --depth=20 --massif-out-file=massif.out --ign (…)
    [all...]
  /dalvik/vm/
PointerSet.cpp 25 u2 alloc; member in struct:PointerSet
65 pSet->alloc = initialSize;
125 if (pSet->count == pSet->alloc) {
129 if (pSet->alloc == 0)
130 pSet->alloc = 4;
132 pSet->alloc *= 2;
133 LOGVV("expanding %p to %d", pSet, pSet->alloc);
134 newList = (const void**)realloc(pSet->list, pSet->alloc * sizeof(void*));
136 ALOGE("Failed expanding ptr set (alloc=%d)", pSet->alloc);
    [all...]
  /external/clang/test/SemaObjC/
related-result-type-inference.m 8 + (id)alloc;
21 - (id)alloc;
50 __typeof__(([[NSString alloc] init])) *str = (NSString**)0;
52 __typeof__(([[NSString alloc] initWithCString:"blah"])) *str3 = (NSString**)0;
59 __typeof__(([[NSString new] alloc])) *id3 = (id*)0;
64 __typeof__(([[NSString alloc] initAsUnrelated])) *unrelated = (Unrelated**)0;
68 NSArray *arr = [[NSMutableArray alloc] init];
106 + alloc; // expected-note{{overridden method is part of the 'alloc' method family}}
114 + (Unrelated *)alloc { // expected-warning{{method is expected to return an instance of its class type 'D', but is decl (…)
    [all...]
  /device/generic/goldfish/opengl/system/renderControl_enc/
renderControl_enc.cpp 25 ptr = stream->alloc(packetSize);
45 ptr = stream->alloc(packetSize);
68 ptr = stream->alloc(packetSize);
91 ptr = stream->alloc(packetSize);
114 ptr = stream->alloc(packetSize);
135 ptr = stream->alloc(packetSize);
158 ptr = stream->alloc(packetSize);
182 ptr = stream->alloc(packetSize);
201 ptr = stream->alloc(packetSize);
222 ptr = stream->alloc(packetSize)
    [all...]
  /device/generic/goldfish/opengl/system/GLESv1_enc/
gl_enc.cpp 25 ptr = stream->alloc(packetSize);
41 ptr = stream->alloc(packetSize);
59 ptr = stream->alloc(packetSize);
75 ptr = stream->alloc(packetSize);
92 ptr = stream->alloc(packetSize);
110 ptr = stream->alloc(packetSize);
126 ptr = stream->alloc(packetSize);
143 ptr = stream->alloc(packetSize);
160 ptr = stream->alloc(packetSize);
181 ptr = stream->alloc(packetSize)
    [all...]
  /external/chromium_org/chrome/browser/ui/cocoa/
menu_button_unittest.mm 64 [[MenuButton alloc] initWithFrame:frame]);
67 [[ClickHoldButtonCell alloc] initTextCell:@"Testing"]);
73 NSMenu* menu = [[NSMenu alloc] initWithTitle:@""];
117 [[MenuButtonTestDelegate alloc] initWithMenu:menu.get()]);
139 [[MenuButtonTestDelegate alloc] initWithMenu:menu.get()]);
164 [[MenuButtonTestDelegate alloc] initWithMenu:menu.get()]);
about_ipc_controller_unittest.mm 39 AboutIPCController* controller = [[AboutIPCController alloc] init];
50 [[CocoaLogData alloc] initWithLogData:data]);
57 [[CocoaLogData alloc] initWithLogData:data]);
  /external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
assocdat.c 41 size_t alloc; member in struct:yasm__assoc_data
51 assoc_data->alloc = 2;
52 assoc_data->vector = yasm_xmalloc(assoc_data->alloc *
97 if (assoc_data->size > assoc_data->alloc) {
98 assoc_data->alloc *= 2;
101 assoc_data->alloc * sizeof(assoc_data_item));
  /external/chromium_org/ui/base/cocoa/controls/
hyperlink_button_cell_unittest.mm 25 [[NSButton alloc] initWithFrame:frame]);
28 [[HyperlinkButtonCell alloc] initTextCell:@"Testing"]);
58 [[HyperlinkButtonCell alloc] init]);
64 [[[NSKeyedUnarchiver alloc] initForReadingWithData:emptyData] autorelease];
65 cell.reset([[HyperlinkButtonCell alloc] initWithCoder:coder]);
120 base::scoped_nsobject<HyperlinkButtonCell> cell1([[HyperlinkButtonCell alloc]
  /external/chromium_org/ui/gfx/image/
image_mac.mm 24 NSImage* image = [[NSImage alloc] initWithSize:rect.size];
40 [[NSBitmapImageRep alloc] initWithCGImage:cg_image]);
63 [[NSData alloc] initWithBytes:png->front() length:png->size()]);
65 [[NSBitmapImageRep alloc] initWithData:ns_data]);
82 [[NSColorSpace alloc] initWithCGColorSpace:color_space]);
94 image.reset([[NSImage alloc] initWithSize:image_size]);
  /external/clang/test/ARCMT/
objcmt-subscripting-literals-in-arc.m 12 + (id)alloc;
100 arr = [[NSArray alloc] initWithObjects:str, str, nil];
102 dict = [[NSDictionary alloc] initWithObjectsAndKeys: @"value1", @"key1", @"value2", @"key2", nil];
104 dict = [[NSDictionary alloc] initWithObjects:[[NSArray alloc] initWithObjects:@"1", @"2", nil] forKeys:[NSArray arrayWithObjects:@"A", @"B", nil]];
106 NSNumber *n = [[NSNumber alloc] initWithInt:2];
  /external/valgrind/main/memcheck/tests/
badrw.stderr.exp 3 Address 0x........ is 4 bytes before a block of size 10 alloc'd
9 Address 0x........ is 4 bytes before a block of size 10 alloc'd
15 Address 0x........ is 4 bytes before a block of size 10 alloc'd
21 Address 0x........ is 4 bytes before a block of size 10 alloc'd
27 Address 0x........ is 1 bytes before a block of size 10 alloc'd
33 Address 0x........ is 1 bytes before a block of size 10 alloc'd
badrw.stderr.exp-s390x-mvc 3 Address 0x........ is 4 bytes before a block of size 10 alloc'd
9 Address 0x........ is 4 bytes before a block of size 10 alloc'd
15 Address 0x........ is 4 bytes before a block of size 10 alloc'd
21 Address 0x........ is 4 bytes before a block of size 10 alloc'd
27 Address 0x........ is 1 bytes before a block of size 10 alloc'd
33 Address 0x........ is 1 bytes before a block of size 10 alloc'd
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRRewriteRuleNodeStream.m 16 return [[ANTLRRewriteRuleNodeStream alloc] initWithTreeAdaptor:aTreeAdaptor description:anElementDescription];
21 return [[ANTLRRewriteRuleNodeStream alloc] initWithTreeAdaptor:aTreeAdaptor description:anElementDescription element:anElement];
26 return [[ANTLRRewriteRuleNodeStream alloc] initWithTreeAdaptor:aTreeAdaptor description:anElementDescription elements:theElements];
  /external/chromium_org/chrome/browser/ui/cocoa/autofill/
autofill_header.mm 27 [[AutofillAccountChooser alloc] initWithFrame:NSZeroRect
31 title_.reset([[NSTextField alloc] initWithFrame:NSZeroRect]);
40 [[NSView alloc] initWithFrame:NSZeroRect]);
down_arrow_popup_menu_cell_unittest.mm 21 view_.reset([[NSButton alloc] initWithFrame:frame]);
23 [[DownArrowPopupMenuCell alloc] initTextCell:@"Testing"]);
54 [[NSImage alloc] initWithSize:rect.size]);
layout_view_unittest.mm 19 view_.reset([[LayoutView alloc] initWithFrame:NSZeroRect]);
44 [[NSView alloc] initWithFrame:NSMakeRect(0, 0, 0, 45)]);
46 [[NSView alloc] initWithFrame:NSMakeRect(0, 0, 20, 55)]);

Completed in 909 milliseconds

1 2 3 4 5 6 7 891011>>