Home
last modified time | relevance | path

Searched refs:currArgumentIndex (Results 1 – 1 of 1) sorted by relevance

/device/google/contexthub/util/sensortest/
Dsensortest.cpp95 int currArgumentIndex = 1; in parseArguments() local
101 while (currArgumentIndex < argc) { in parseArguments()
102 if (!strcmp(argv[currArgumentIndex], "-h")) { in parseArguments()
104 } else if (!strcmp(argv[currArgumentIndex], "-l")) { in parseArguments()
106 currArgumentIndex++; in parseArguments()
107 } else if (!strcmp(argv[currArgumentIndex], "-e")) { in parseArguments()
108 if (currArgumentIndex + 2 >= argc) { in parseArguments()
113 if ((sensorIndex = findSensorTypeInSensorList(atoi(argv[currArgumentIndex+1]))) < 0) { in parseArguments()
114 printf ("No sensor found with type \"%d\"\n", atoi(argv[currArgumentIndex+1])); in parseArguments()
118 existingSensorConfigIndex = findSensorTypeInConfigList(atoi(argv[currArgumentIndex+1])); in parseArguments()
[all …]