Home | History | Annotate | Download | only in src

Lines Matching defs:size

49 /* when started using this argument followed by the allocation size,
50 * performs malloc(size) and prints out the address */
66 auto size = readlink("/proc/self/exe", path, sizeof(path));
67 ASSERT_TRUE(size > 0 && size < PATH_MAX);
68 path[size] = '\0';
113 for (auto size : allocSizes) {
114 ALOGV("running %zu iterations for allocation size %zu",
115 iterations, size);
122 GetAddress(size, address);
128 log2(static_cast<double>(addresses.size())));
130 ALOGV("%zu bits of entropy for allocation size %zu (minimum %zu)",
131 entropy, size, minEntropyBits);
133 "insufficient entropy for malloc(%zu)", size);
154 size_t size;
156 if (!android::base::ParseUint(argv[2], &size)) {
160 printf("%p", malloc(size));