Home | History | Annotate | Download | only in dumpstate

Lines Matching full:sizeof

61         memset(cmdline, 0, sizeof(cmdline));
65 read(fd, cmdline, sizeof(cmdline));
79 memset(buffer, 0, sizeof(buffer));
87 if (read(fd, buffer, sizeof(buffer)) < 0) {
118 strftime(stamp, sizeof(stamp), "%Y-%m-%d %H:%M:%S", localtime(&mtime));
126 int ret = read(fd, buffer, sizeof(buffer));
160 for (arg = 1; arg < sizeof(args) / sizeof(args[0]); ++arg) {
203 if (num_props < sizeof(props) / sizeof(props[0])) {
205 snprintf(buf, sizeof(buf), "[%s]: [%s]\n", key, name);
219 qsort(&props, num_props, sizeof(props[0]), compare_prop);
242 socklen_t alen = sizeof(addr);
304 snprintf(level, sizeof(level), "-%d", gzip_level);
328 strlcpy(anr_traces_path, traces_path, sizeof(anr_traces_path));
329 strlcat(anr_traces_path, ".anr", sizeof(anr_traces_path));
337 strlcpy(anr_traces_dir, traces_path, sizeof(anr_traces_dir));
385 snprintf(path, sizeof(path), "/proc/%d/exe", pid);
386 size_t len = readlink(path, data, sizeof(data) - 1);
390 snprintf(path, sizeof(path), "/proc/%d/cmdline", pid);
392 len = read(fd, data, sizeof(data) - 1);
411 read(ifd, &ie, sizeof(ie));
421 strlcpy(dump_traces_path, traces_path, sizeof(dump_traces_path));
422 strlcat(dump_traces_path, ".bugreport", sizeof(dump_traces_path));