Searched refs:lastdot (Results 1 – 8 of 8) 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/rust/crates/grpcio-sys/grpc/third_party/upb/upbc/ |
D | common.cc | 21 size_t lastdot = fname.find_last_of("."); in StripExtension() local 22 if (lastdot == std::string::npos) { in StripExtension() 25 return std::string(fname.substr(0, lastdot)); in StripExtension()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/ |
D | upbc.cc | 22 size_t lastdot = fname.find_last_of("."); in StripExtension() local 23 if (lastdot == std::string::npos) { in StripExtension() 26 return std::string(fname.substr(0, lastdot)); in StripExtension()
|
/external/tensorflow/tensorflow/lite/tools/evaluation/ |
D | utils.cc | 78 size_t lastdot = filename.find_last_of('.'); in GetSortedFileNames() local 79 std::string ext = lastdot != std::string::npos ? filename.substr(lastdot) in GetSortedFileNames()
|
/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 | 943 lastdot = classname.rfind(".") variable 944 mod = __import__(classname[:lastdot], globals(), locals(), [""]) 945 classname = classname[lastdot+1:]
|