/external/chromium_org/third_party/zlib/ |
zutil.h | 284 #define ZALLOC(strm, items, size) \ 285 (*((strm)->zalloc))((strm)->opaque, (items), (size))
|
infback.c | 22 strm provides memory allocation functions in zalloc and zfree, or 44 if (strm->zalloc == (alloc_func)0) { 45 strm->zalloc = zcalloc; 49 state = (struct inflate_state FAR *)ZALLOC(strm, 1,
|
inflate.c | 182 if (strm->zalloc == (alloc_func)0) { 183 strm->zalloc = zcalloc; 188 ZALLOC(strm, 1, sizeof(struct inflate_state)); 370 ZALLOC(strm, 1U << state->wbits, [all...] |
gzread.c | 127 state->strm.zalloc = Z_NULL;
|
zlib.h | 97 alloc_func zalloc; /* used to allocate the internal state */ member in struct:z_stream_s 99 voidpf opaque; /* private data object passed to zalloc and zfree */ 135 to zero. The application must initialize zalloc, zfree and opaque before 140 parameter for calls of zalloc and zfree. This can be useful for custom 144 zalloc must return Z_NULL if there is not enough memory for the object. 145 If zlib is used in a multi-threaded application, zalloc and zfree must be 148 On 16-bit systems, the functions zalloc and zfree must be able to allocate 151 returned by zalloc for objects of exactly 65536 bytes *must* have their 209 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ 232 zalloc, zfree and opaque must be initialized before by the caller. I [all...] |
deflate.c | 238 if (strm->zalloc == (alloc_func)0) { 239 strm->zalloc = zcalloc; 266 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state)); 282 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); 283 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos)); 284 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos)); 293 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2); 363 strm->zalloc == (alloc_func)0 || strm->zfree == (free_func)0) { 829 s->class_bitmap = (Bytef*) ZALLOC(strm, s->w_size/4, sizeof(Byte)); [all...] |
gzwrite.c | 34 strm->zalloc = Z_NULL;
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/bench/ |
mem-memset.c | 113 *dst = zalloc(length);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
string.c | 151 char **argv = zalloc(sizeof(*argv) * (argc+1));
|
util.h | 181 static inline void *zalloc(size_t size) function
|
hist.c | 279 struct hist_entry *he = zalloc(sizeof(*he) + callchain_size); 662 periods_a = zalloc(sizeof(periods_a) * nr_members); 663 periods_b = zalloc(sizeof(periods_b) * nr_members);
|
parse-events.c | 199 path = zalloc(sizeof(*path)); 227 struct tracepoint_path *path = zalloc(sizeof(*path)); 1260 term = zalloc(sizeof(*term));
|
annotate.c | 168 ops->locked.ops = zalloc(sizeof(*ops->locked.ops)); 442 /* Check for overflow in zalloc argument */ 447 notes->src = zalloc(sizeof(*notes->src) + symbol_conf.nr_events * sizeof_sym_hist); 548 struct disasm_line *dl = zalloc(sizeof(*dl) + privsize); [all...] |
evsel.c | 173 struct perf_evsel *evsel = zalloc(sizeof(*evsel)); 224 struct perf_evsel *evsel = zalloc(sizeof(*evsel)); 755 evsel->id = zalloc(ncpus * nthreads * sizeof(u64)); 773 evsel->counts = zalloc((sizeof(*evsel->counts) + [all...] |
event.c | 253 union perf_event *event = zalloc((sizeof(event->mmap) + 459 union perf_event *event = zalloc((sizeof(event->mmap) +
|
evlist.c | 44 struct perf_evlist *evlist = zalloc(sizeof(*evlist)); 585 evlist->mmap = zalloc(evlist->nr_mmaps * sizeof(struct perf_mmap));
|
dso.c | 257 cache = zalloc(sizeof(*cache) + DSO__DATA_CACHE_SIZE);
|
/development/ndk/platforms/android-3/include/ |
zlib.h | 94 alloc_func zalloc; /* used to allocate the internal state */ member in struct:z_stream_s 96 voidpf opaque; /* private data object passed to zalloc and zfree */ 131 has dropped to zero. The application must initialize zalloc, zfree and 136 parameter for calls of zalloc and zfree. This can be useful for custom 140 zalloc must return Z_NULL if there is not enough memory for the object. 141 If zlib is used in a multi-threaded application, zalloc and zfree must be 144 On 16-bit systems, the functions zalloc and zfree must be able to allocate 147 pointers returned by zalloc for objects of exactly 65536 bytes *must* 205 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ 223 zalloc, zfree and opaque must be initialized before by the caller [all...] |
/external/chromium_org/sdch/open-vcdiff/src/zlib/ |
zlib.h | 94 alloc_func zalloc; /* used to allocate the internal state */ member in struct:z_stream_s 96 voidpf opaque; /* private data object passed to zalloc and zfree */ 131 has dropped to zero. The application must initialize zalloc, zfree and 136 parameter for calls of zalloc and zfree. This can be useful for custom 140 zalloc must return Z_NULL if there is not enough memory for the object. 141 If zlib is used in a multi-threaded application, zalloc and zfree must be 144 On 16-bit systems, the functions zalloc and zfree must be able to allocate 147 pointers returned by zalloc for objects of exactly 65536 bytes *must* 205 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ 223 zalloc, zfree and opaque must be initialized before by the caller [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
builtin-probe.c | 130 buf = zalloc(len + 1);
|
builtin-sched.c | 245 struct sched_atom *event = zalloc(sizeof(*event)); 312 wakee_event->wait_sem = zalloc(sizeof(*wakee_event->wait_sem)); 342 task = zalloc(sizeof(*task)); 835 struct work_atoms *atoms = zalloc(sizeof(*atoms)); 859 struct work_atom *atom = zalloc(sizeof(*atom)); [all...] |
builtin-kvm.c | 395 event = zalloc(sizeof(*event)); 544 vcpu_record = zalloc(sizeof(*vcpu_record)); 1096 pollfds = zalloc(sizeof(struct pollfd) * (nr_fds + 2)); [all...] |
/bootable/recovery/applypatch/ |
imgdiff.c | 317 strm.zalloc = Z_NULL; 442 strm.zalloc = Z_NULL; 539 strm.zalloc = Z_NULL; [all...] |
/external/chromium_org/third_party/libpng/ |
pngread.c | 160 png_ptr->zstream.zalloc = png_zalloc; 322 png_ptr->zstream.zalloc = png_zalloc; 325 png_ptr->zstream.zalloc = png_zalloc; [all...] |
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/ |
goobsdiff.c | 219 stream.zalloc = (alloc_func)0;
|