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

1 2 3 4 5 6 7 891011>>

  /external/chromium_org/ui/base/cocoa/controls/
hyperlink_button_cell_unittest.mm 24 [[NSButton alloc] initWithFrame:frame]);
27 [[HyperlinkButtonCell alloc] initTextCell:@"Testing"]);
57 [[HyperlinkButtonCell alloc] init]);
63 [[[NSKeyedUnarchiver alloc] initForReadingWithData:emptyData] autorelease];
64 cell.reset([[HyperlinkButtonCell alloc] initWithCoder:coder]);
  /external/clang/test/Analysis/
NSWindow.m 17 + (id)alloc;
48 NSWindow *window = [[NSWindow alloc]
58 NSWindow *window = [[NSWindow alloc]
70 NSWindow *window = [[NSWindow alloc] // no-warning
85 NSWindow *window = [NSWindow alloc]; // expected-warning{{never read}}
malloc.mm 18 NSData *nsdata = [[NSData alloc] initWithBytesNoCopy:data length:dataLength freeWhenDone:1]; // no-warning
23 Wrapper *nsdata = [[Wrapper alloc] initWithBytesNoCopy:data length:dataLength]; // no-warning
28 NSString *nsstr = [[NSString alloc] initWithBytesNoCopy:data length:dataLength encoding:NSUTF8StringEncoding freeWhenDone:1];
33 NSString *nsstr = [[NSString alloc] initWithCharactersNoCopy:data length:dataLength freeWhenDone:1];
39 NSString *nsstr = [[NSString alloc] initWithBytesNoCopy:data length:dataLength encoding:NSUTF8StringEncoding freeWhenDone:1]; // no-warning
44 NSString *nsstr = [[NSString alloc] initWithCharactersNoCopy:data length:dataLength freeWhenDone:1]; // no-warning
55 NSData *nsdata = [[NSData alloc] initWithBytesNoCopy:data length:dataLength freeWhenDone:0]; // expected-warning{{leak}}
61 NSString *nsstr = [[NSString alloc] initWithBytesNoCopy:data length:dataLength encoding:NSUTF8StringEncoding freeWhenDone:0]; // expected-warning{{leak}}
66 NSString *nsstr = [[NSString alloc] initWithCharactersNoCopy:data length:dataLength freeWhenDone:0]; // expected-warning{{leak}}
270 NSString *string = [[NSString alloc] initWithCharactersNoCopy:characters length:12 freeWhenDone:1]
    [all...]
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/lzma/C/
LzmaEnc.h 52 CLzmaEncHandle LzmaEnc_Create(ISzAlloc *alloc);
53 void LzmaEnc_Destroy(CLzmaEncHandle p, ISzAlloc *alloc, ISzAlloc *allocBig);
57 ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig);
59 int writeEndMark, ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig);
74 ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig);
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:__anon24364
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...]
  /frameworks/support/v8/renderscript/jni/
android_renderscript_RenderScript.cpp 335 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, RsContext con, jint alloc)
337 LOG_API("nAllocationGenerateMipmaps, con(%p), a(%p)", con, (RsAllocation)alloc);
338 rsAllocationGenerateMipmaps(con, (RsAllocation)alloc);
403 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap)
413 rsAllocation2DData(con, (RsAllocation)alloc, 0, 0,
421 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap)
431 rsAllocationCopyToBitmap(con, (RsAllocation)alloc, pixels, GetBitmapSize(_env, jbitmap));
439 nAllocationData1D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jintArray data, int sizeBytes)
442 LOG_API("nAllocation1DData_i, con(%p), adapter(%p), offset(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes);
444 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes)
    [all...]
  /external/chromium/chrome/browser/ui/cocoa/bookmarks/
bookmark_button_cell_unittest.mm 47 scoped_nsobject<NSButton> view([[NSButton alloc] initWithFrame:frame]);
49 [[BookmarkButtonCell alloc] initTextCell:@"Testing"]);
62 scoped_nsobject<NSButton> view([[NSButton alloc] initWithFrame:frame]);
64 [[BookmarkButtonCell alloc] initTextCell:@"Testing"]);
91 [[BookmarkButtonCell alloc] initTextCell:@"Testing"]);
94 [cell setMenu:[[[BookmarkMenu alloc] initWithTitle:@"foo"] autorelease]];
112 [[BookmarkButtonCell alloc] initTextCell:@"Testing"]);
125 [[BookmarkButtonCell alloc] initTextCell:@"Testing"]);
127 button([[ButtonRemembersMouseEnterExit alloc]
152 scoped_nsobject<BookmarkButtonCell> cell([[BookmarkButtonCell alloc] init])
    [all...]
  /external/chromium_org/third_party/mesa/src/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/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/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/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/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/gpu/command_buffer/client/
mapped_memory_unittest.cc 125 void *pointer = chunk_->Alloc(kSize);
137 uint8 *pointer_char = static_cast<uint8*>(chunk_->Alloc(kSize));
167 // Check we can alloc.
170 void* mem1 = manager_->Alloc(kSize, &id1, &offset1);
178 void* mem2 = manager_->Alloc(kSize, &id2, &offset2);
185 void* mem3 = manager_->Alloc(kSize, &id3, &offset3);
196 void* mem4 = manager_->Alloc(kSize / 2, &id4, &offset4);
197 void* mem5 = manager_->Alloc(kSize / 2, &id5, &offset5);
219 pointers[i] = manager_->Alloc(kSize, &id, &offset);
241 void* new_ptr = manager_->Alloc(kSize, &new_id, &new_offset)
    [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()]);
  /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/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

Completed in 1544 milliseconds

1 2 3 4 5 6 7 891011>>