Home
last modified time | relevance | path

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

/device/samsung/manta/libsensors/
DSensorBase.cpp115 char thisname[IIO_MAX_NAME_LENGTH]; in findTypeByName() local
137 if (fscanf(nameFile, "%s", thisname) == 1) { in findTypeByName()
138 if (strcmp(name, thisname) == 0) { in findTypeByName()
/device/htc/flounder/sensor_hub/libsensors/
DCwMcuSensor.cpp113 char thisname[IIO_MAX_NAME_LENGTH]; in find_type_by_name() local
119 if (nameLen >= sizeof(thisname) - 1) { in find_type_by_name()
153 size = read(fd, thisname, sizeof(thisname) - 1); in find_type_by_name()
158 thisname[size] = '\0'; in find_type_by_name()
159 if (strncmp(name, thisname, nameLen)) { in find_type_by_name()
163 if (!thisname[nameLen] || isspace(thisname[nameLen])) { in find_type_by_name()