Searched refs:lastdot (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Python/ |
D | importdl.c | 25 char *lastdot, *shortname, *packagecontext, *oldcontext; in _PyImport_LoadDynamicModule() local 32 lastdot = strrchr(name, '.'); in _PyImport_LoadDynamicModule() 33 if (lastdot == NULL) { in _PyImport_LoadDynamicModule() 39 shortname = lastdot+1; in _PyImport_LoadDynamicModule()
|
D | import.c | 2436 char *lastdot = strrchr(start, '.'); in get_parent() local 2439 if (lastdot == NULL && level > 0) { in get_parent() 2444 if (lastdot == NULL) { in get_parent() 2453 len = lastdot - start; in get_parent()
|
/external/python/cpython3/Python/ |
D | importdl.c | 40 Py_ssize_t name_len, lastdot; in get_encoded_name() local 45 lastdot = PyUnicode_FindChar(name, '.', 0, name_len, -1); in get_encoded_name() 46 if (lastdot < -1) { in get_encoded_name() 48 } else if (lastdot >= 0) { in get_encoded_name() 49 tmp = PyUnicode_Substring(name, lastdot + 1, name_len); in get_encoded_name()
|
/external/python/cpython2/Lib/ |
D | smtpd.py | 529 lastdot = classname.rfind(".") variable 530 mod = __import__(classname[:lastdot], globals(), locals(), [""]) 531 classname = classname[lastdot+1:]
|
/external/python/cpython3/Lib/ |
D | smtpd.py | 941 lastdot = classname.rfind(".") variable 942 mod = __import__(classname[:lastdot], globals(), locals(), [""]) 943 classname = classname[lastdot+1:]
|