Lines Matching defs:sizeof
300 struct evsel_script *es = zalloc(sizeof(*es));
619 for_each_set_bit(r, (unsigned long *) &mask, sizeof(mask) * 8) {
664 strftime(date, sizeof(date), DEFAULT_TOD_FMT, <ime);
773 tod_scnprintf(script, tstr, sizeof(tstr), sample->time);
799 timestamp__scnprintf_usec(t, sample_time, sizeof(sample_time));
834 memset(&alf, 0, sizeof(alf));
835 memset(&alt, 0, sizeof(alt));
879 memset(&alf, 0, sizeof(alf));
880 memset(&alt, 0, sizeof(alt));
925 memset(&alf, 0, sizeof(alf));
926 memset(&alt, 0, sizeof(alt));
989 memset(&al, 0, sizeof(al));
1068 memset(&al, 0, sizeof(al));
1105 memset(&al, 0, sizeof(al));
2556 struct script_spec *s = malloc(sizeof(*s) + strlen(spec) + 1);
2858 struct script_desc *s = zalloc(sizeof(*s));
2928 while (fgets(line, sizeof(line), fp)) {
3056 while (fgets(line, sizeof(line), fp)) {
3241 char **__argv = malloc(sizeof(const char *) * argc);
3248 memcpy(__argv, argv, sizeof(const char *) * argc);
3715 __argv = malloc((argc + 6) * sizeof(const char *));
3741 __argv = malloc((argc + 4) * sizeof(const char *));
3779 __argv = malloc((argc + 2) * sizeof(const char *));