Searched refs:pathstr (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/ |
D | mailcap.py | 49 pathstr = os.environ['MAILCAPS'] 50 mailcaps = pathstr.split(os.pathsep)
|
/external/libpcap/ |
D | pcap-linux.c | 598 char *pathstr; in get_mac80211_phydev() local 604 if (asprintf(&pathstr, "/sys/class/net/%s/phy80211", device) == -1) { in get_mac80211_phydev() 610 bytes_read = readlink(pathstr, phydev_path, phydev_max_pathlen); in get_mac80211_phydev() 617 free(pathstr); in get_mac80211_phydev() 621 errno, "%s: Can't readlink %s", device, pathstr); in get_mac80211_phydev() 622 free(pathstr); in get_mac80211_phydev() 625 free(pathstr); in get_mac80211_phydev() 2651 char *pathstr; local 2653 if (asprintf(&pathstr, "/sys/class/net/%s/type", name) == -1) { 2660 fh = fopen(pathstr, "r"); [all …]
|
/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)
|
/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()
|