Searched refs:bestKey (Results 1 - 3 of 3) sorted by relevance

/external/srec/portable/src/UNIX/
H A DPANSIFileSystemUNIXImpl.c38 LCHAR* bestKey = NULL; local
62 /* Found a better match -- the new key is a subdirectory of the previous bestKey */
63 bestKey = key;
69 if (bestKey == NULL)
79 CHKLOG(rc, lstrinsert(bestKey, path, 0, len));
84 CHKLOG(rc, lstrinsert(L("X:/"), path, LSTRLEN(bestKey), len));
85 path[LSTRLEN(bestKey)] = driveLetter;
/external/srec/portable/src/
H A DPFileSystem.c279 LCHAR* bestKey = NULL; local
290 if (bestKey == NULL || LSTRLEN(key) > LSTRLEN(bestKey))
292 /* Found a better match -- the new key is a subdirectory of the previous bestKey */
293 bestKey = key;
299 if (bestKey == NULL)
310 CHKLOG(rc, PFileSystemIsAbsolutePath(path + LSTRLEN(bestKey), &isAbsolute));
317 LSTRCAT(relativePath, path + LSTRLEN(bestKey));
H A DPANSIFileSystemImpl.c216 LCHAR* bestKey = NULL; local
229 if (bestKey == NULL || LSTRLEN(key) > LSTRLEN(bestKey))
231 /* Found a better match -- the new key is a subdirectory of the previous bestKey */
232 bestKey = key;
238 if (bestKey == NULL)
253 LSTRCPY(path, path + LSTRLEN(bestKey));

Completed in 67 milliseconds