Searched refs:pathstr (Results 1 – 5 of 5) sorted by relevance
/external/swiftshader/src/Vulkan/Debug/ |
D | File.cpp | 125 auto pathstr = path; in createPhysical() local 126 auto pos = pathstr.rfind("/"); in createPhysical() 129 auto dir = pathstr.substr(0, pos); in createPhysical() 130 auto name = pathstr.substr(pos + 1); in createPhysical()
|
/external/libpcap/ |
D | pcap-linux.c | 432 char *pathstr; in get_mac80211_phydev() local 438 if (asprintf(&pathstr, "/sys/class/net/%s/phy80211", device) == -1) { in get_mac80211_phydev() 444 bytes_read = readlink(pathstr, phydev_path, phydev_max_pathlen); in get_mac80211_phydev() 451 free(pathstr); in get_mac80211_phydev() 455 errno, "%s: Can't readlink %s", device, pathstr); in get_mac80211_phydev() 456 free(pathstr); in get_mac80211_phydev() 459 free(pathstr); in get_mac80211_phydev() 1550 char *pathstr; in get_if_flags() local 1552 if (asprintf(&pathstr, "/sys/class/net/%s/type", name) == -1) { in get_if_flags() 1559 fh = fopen(pathstr, "r"); in get_if_flags() [all …]
|
/external/python/cpython3/Lib/ |
D | mailcap.py | 49 pathstr = os.environ['MAILCAPS'] 50 mailcaps = pathstr.split(os.pathsep)
|
/external/python/cpython2/Python/ |
D | import.c | 2359 static PyObject *pathstr = NULL; in get_parent() local 2372 if (pathstr == NULL) { in get_parent() 2373 pathstr = PyString_InternFromString("__path__"); in get_parent() 2374 if (pathstr == NULL) in get_parent() 2416 modpath = PyDict_GetItem(globals, pathstr); in get_parent()
|
/external/python/cpython3/Lib/test/ |
D | test_pathlib.py | 261 for pathstr in ('a', 'a/b', 'a/b/c', '/', '/a/b', '/a/b/c'): 262 self._check_str(pathstr, (pathstr,)) 269 for pathstr in ('a', 'a/b', 'a/b/c', '/', '/a/b', '/a/b/c'): 270 self.assertEqual(P(pathstr).as_posix(), pathstr) 286 for pathstr in ('a', 'a/b', 'a/b/c', '/', '/a/b', '/a/b/c'): 287 p = self.cls(pathstr)
|