Lines Matching defs:pos
187 const char *pos;
195 pos = strrchr(udev_device->devpath_old, '/');
196 if (pos == NULL)
414 const char *pos;
424 pos = strrchr(udev_device->syspath, '/');
425 if (pos == NULL)
427 udev_device->sysname = strdup(&pos[1]);
679 char *pos;
681 pos = strchr(line, '\n');
682 if (pos == NULL)
684 pos[0] = '\0';
763 char *pos;
786 pos = strrchr(subdir, '/');
787 if (pos == NULL || pos[1] == '\0' || pos < &subdir[2]) {
1068 char *pos;
1070 pos = strrchr(subdir, '/');
1071 if (pos == NULL || pos < &subdir[2])
1073 pos[0] = '\0';