Home | History | Annotate | Download | only in renderer

Lines Matching refs:argv

44 int main(int argc, char *argv[])
57 if (!strcmp(argv[i], "-windowid")) {
58 if (++i >= argc || sscanf(argv[i],"%d", &iWindowId) != 1) {
59 printUsage(argv[0]);
62 else if (!strncmp(argv[i], "-x", 2)) {
63 if (++i >= argc || sscanf(argv[i],"%d", &winX) != 1) {
64 printUsage(argv[0]);
67 else if (!strncmp(argv[i], "-y", 2)) {
68 if (++i >= argc || sscanf(argv[i],"%d", &winY) != 1) {
69 printUsage(argv[0]);
72 else if (!strncmp(argv[i], "-width", 6)) {
73 if (++i >= argc || sscanf(argv[i],"%d", &winWidth) != 1) {
74 printUsage(argv[0]);
77 else if (!strncmp(argv[i], "-height", 7)) {
78 if (++i >= argc || sscanf(argv[i],"%d", &winHeight) != 1) {
79 printUsage(argv[0]);
87 printUsage(argv[0]);