Searched refs:mem_limit (Results 1 – 7 of 7) sorted by relevance
/external/webp/src/utils/ |
D | utils.c | 72 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/ |
D | infcover.c | 176 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/ |
D | ring_gatherer_test.cc | 142 Bytes mem_limit(4 << 20); in Init() local 150 sess_opts, dev_name, mem_limit, dev_locality, cpu_allocator())); in Init()
|
D | ring_reducer_test.cc | 164 Bytes mem_limit(4 << 20); in Init() local 172 sess_opts, dev_name, mem_limit, dev_locality, cpu_allocator())); in Init()
|
D | hierarchical_tree_broadcaster_test.cc | 224 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/ |
D | upb.c | 1914 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()
|
D | upb.h | 5290 char *mem_limit;
|