Lines Matching refs:map_length
422 int map_length = snprintf(buf, size, "%s", kProcSelfMapsHeader);
423 if (map_length < 0 || map_length >= size) return 0;
425 map_length += FillProcSelfMaps(buf + map_length, size - map_length, &dummy);
426 RAW_DCHECK(map_length <= size, "");
427 char* const map_start = buf + size - map_length; // move to end
428 memmove(map_start, buf, map_length);
429 size -= map_length;
451 memmove(buf + bucket_length, map_start, map_length); // close the gap
453 return bucket_length + map_length;