Lines Matching +defs:string +defs:properties
37 #include <string.h>
54 static Bool properties = False;
87 const char *string;
122 " --prop or --properties\n"
301 char *string;
600 printf (" %s", mode_flags[f].string);
622 set_name_string (name_t *name, char *string)
625 name->string = string;
654 name->string = old->string;
661 set_name (name_t *name, char *string, name_kind_t valid)
667 if ((valid & name_xid) && sscanf (string, "0x%x", &xid) == 1)
669 else if ((valid & name_index) && sscanf (string, "%d", &idx) == 1)
672 set_name_string (name, string);
674 argerr ("invalid name '%s'\n", string);
683 else if ((kind & name_string)) return printf("name %s", name->string);
707 /* note: this string is leaked */
761 if ((common & name_string) && !strcmp (name->string, output->output.string))
803 if ((common & name_string) && !strcmp (name->string, crtc->crtc.string))
836 if ((name->kind & name_string) && !strcmp (name->string, mode->name))
894 if ((name->kind & name_string) && !strcmp (name->string, mode->name))
1068 warning("Failed to get gamma for output %s\n", output->output.string);
1161 fatal ("output %s cannot use crtc 0x%lx\n", output->output.string,
1183 output->mode.xid, output->output.string);
1201 fatal ("cannot find mode %s\n", output->mode.string);
1206 fatal ("output %s cannot use mode %s\n", output->output.string,
1243 output->output.string,
1269 printf("scaling %s by %lfx%lf\n", output->output.string, sx,
1578 printf (" \"%s\"", crtc->outputs[o]->output.string);
1844 q->output.string);
2082 fb_width, fb_height, output->output.string, w, h, x, y);
2248 fatal ("cannot find crtc for output %s\n", output->output.string);
2542 * Check for properties that need special formatting.
2619 if ((common & name_string) && !strcmp (name->string, p->provider.string))
2799 !strcmp ("--properties", argv[i]))
2802 properties = True;
3172 for (f = 0; mode_flags[f].string; f++)
3173 if (!strcasecmp (mode_flags[f].string, argv[i]))
3176 if (!mode_flags[f].string)
3303 printf ("output name %s\n", m->outputs[m->noutput-1].string);
3388 fatal ("cannot find mode \"%s\"\n", m->name.string);
3394 fatal ("cannot find output \"%s\"\n", m->output.string);
3397 fatal ("cannot find mode \"%s\"\n", m->name.string);
3403 fatal ("cannot find output \"%s\"\n", m->output.string);
3406 fatal ("cannot find mode \"%s\"\n", m->name.string);
3806 if (clone) printf (" %s", clone->output.string);
3845 if (verbose || properties)
4030 printf (" %s", output->output.string);