Lines Matching defs:strPos1
122 char *strPos1 = NULL, *strPos2 = NULL;
125 if ((strPos1 = strstr(pDevPath, "/usb")) != NULL)
127 sscanf(strPos1, "/usb%s", buf);
132 if((strPos1 = strstr(pDevPath, "/usb1/1-")) != NULL)
133 sscanf(strPos1, "/usb1/1-%s", buf);
134 else if((strPos1 = strstr(pDevPath, "/usb3/3-")) != NULL)
135 sscanf(strPos1, "/usb3/3-%s", buf);
137 if ((strPos1 = strstr(pDevPath, "/host")) != NULL)
139 sscanf(strPos1, "/host%s", buf);
157 char *strPos1 = NULL, *strPos2 = NULL;
162 if ((strPos1 = strstr(pTarget, "/tmp/mnt/usb")) != NULL) {
163 sscanf(strPos1, "/tmp/mnt/usb%s", buf);
228 char *strPos1 = NULL, *strPos2 = NULL;
248 if ((strPos1 = strstr(buf, patt)) != NULL) {