Home
last modified time | relevance | path

Searched refs:mem_limit (Results 1 – 7 of 7) sorted by relevance

/external/webp/src/utils/
Dutils.c72 static size_t mem_limit = 0; variable
105 mem_limit = atoi(malloc_limit_str); in Increment()
110 (void)mem_limit; in Increment()
179 if (mem_limit > 0) { in CheckSizeArgumentsOverflow()
182 new_total_mem > mem_limit) { in CheckSizeArgumentsOverflow()
/external/zlib/src/test/
Dinfcover.c176 local void mem_limit(z_stream *strm, size_t limit) in mem_limit() function
326 mem_limit(&strm, 1); in inf()
329 mem_limit(&strm, 0); in inf()
421 mem_limit(&strm, 1); in cover_wrap()
424 mem_limit(&strm, 0); in cover_wrap()
428 mem_limit(&strm, (sizeof(struct inflate_state) << 1) + 256); in cover_wrap()
439 mem_limit(&strm, 0); in cover_wrap()
/external/tensorflow/tensorflow/core/common_runtime/
Dring_gatherer_test.cc142 Bytes mem_limit(4 << 20); in Init() local
150 sess_opts, dev_name, mem_limit, dev_locality, cpu_allocator())); in Init()
Dring_reducer_test.cc164 Bytes mem_limit(4 << 20); in Init() local
172 sess_opts, dev_name, mem_limit, dev_locality, cpu_allocator())); in Init()
Dhierarchical_tree_broadcaster_test.cc224 Bytes mem_limit(4 << 20); in Init() local
232 sess_opts, dev_name, mem_limit, dev_locality, cpu_allocator())); in Init()
/external/protobuf/php/ext/google/protobuf/
Dupb.c1914 assert(a->mem_limit >= a->mem_ptr); in seeded_alloc()
1916 if (oldsize == 0 && size <= (size_t)(a->mem_limit - a->mem_ptr)) { in seeded_alloc()
1927 if (chptr >= a->mem_base && chptr < a->mem_limit) { in seeded_alloc()
1929 assert(chptr + oldsize <= a->mem_limit); in seeded_alloc()
1943 a->mem_limit = (char*)mem + len; in upb_seededalloc_init()
Dupb.h5290 char *mem_limit;