Searched refs:pathlen (Results 1 – 7 of 7) sorted by relevance
327 pathlen = len(path)328 while index < pathlen:332 pathlen = len(path)338 index = pathlen - 1345 pathlen = len(path)350 index = pathlen - 1363 pathlen = len(path)373 index = pathlen - 1
332 pathlen = len(path)333 while index < pathlen:337 pathlen = len(path)343 index = pathlen - 1350 pathlen = len(path)355 index = pathlen - 1368 pathlen = len(path)378 index = pathlen - 1
362 pathlen = len(path)363 while index < pathlen:367 pathlen = len(path)373 index = pathlen - 1380 pathlen = len(path)385 index = pathlen - 1398 pathlen = len(path)408 index = pathlen - 1
1400 IsUNCRootA(char *path, int pathlen) in IsUNCRootA() argument1406 if (pathlen < 5 || !ISSLASH(path[0]) || !ISSLASH(path[1])) in IsUNCRootA()1409 for (i = 2; i < pathlen ; i++) in IsUNCRootA()1411 if (i == 2 || i == pathlen) in IsUNCRootA()1415 for (i = share; i < pathlen; i++) in IsUNCRootA()1417 return (i != share && (i == pathlen || i == pathlen-1)); in IsUNCRootA()1423 IsUNCRootW(Py_UNICODE *path, int pathlen) in IsUNCRootW() argument1429 if (pathlen < 5 || !ISSLASH(path[0]) || !ISSLASH(path[1])) in IsUNCRootW()1432 for (i = 2; i < pathlen ; i++) in IsUNCRootW()1434 if (i == 2 || i == pathlen) in IsUNCRootW()[all …]
3314 Py_ssize_t pathlen; in NullImporter_init() local3323 pathlen = strlen(path); in NullImporter_init()3324 if (pathlen == 0) { in NullImporter_init()
3193 Py_ssize_t pathlen; in find_module() local3202 pathlen = strlen(path); in find_module()3203 if (pathlen == 0) { in find_module()