Searched refs:last_dot (Results 1 – 8 of 8) sorted by relevance
/external/libchrome/base/files/ |
D | file_path.cc | 122 const StringType::size_type last_dot = FinalExtensionSeparatorPosition(path); in ExtensionSeparatorPosition() local 125 if (last_dot == StringType::npos || last_dot == 0U) in ExtensionSeparatorPosition() 126 return last_dot; in ExtensionSeparatorPosition() 129 path.rfind(FilePath::kExtensionSeparator, last_dot - 1); in ExtensionSeparatorPosition() 131 path.find_last_of(FilePath::kSeparators, last_dot - 1, in ExtensionSeparatorPosition() 137 return last_dot; in ExtensionSeparatorPosition() 146 StringType extension(path, last_dot + 1); in ExtensionSeparatorPosition() 149 if ((last_dot - penultimate_dot) <= 5U && in ExtensionSeparatorPosition() 150 (last_dot - penultimate_dot) > 1U) { in ExtensionSeparatorPosition() 156 return last_dot; in ExtensionSeparatorPosition()
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | oauth_client_test.cc | 129 int last_dot = assertion.rfind('.'); in TEST() local 130 string header_dot_claim(assertion.substr(0, last_dot)); in TEST() 131 string signature_encoded(assertion.substr(last_dot + 1)); in TEST()
|
/external/grpc-grpc/test/cpp/util/ |
D | proto_file_parser.cc | 174 size_t last_dot = formatted_method_name.find_last_of('.'); in GetFormattedMethodName() local 175 if (last_dot != grpc::string::npos) { in GetFormattedMethodName() 176 formatted_method_name[last_dot] = '/'; in GetFormattedMethodName()
|
/external/puffin/src/ |
D | main.cc | 98 auto last_dot = file_name.find_last_of("."); in LocateDeflatesBasedOnFileType() local 99 if (last_dot == string::npos) { in LocateDeflatesBasedOnFileType() 103 auto extension = file_name.substr(last_dot + 1); in LocateDeflatesBasedOnFileType()
|
/external/grpc-grpc/test/core/security/ |
D | jwt_verifier_test.cc | 521 char* last_dot = strrchr(jwt, '.'); in corrupt_jwt_sig() local 522 GPR_ASSERT(last_dot != nullptr); in corrupt_jwt_sig() 525 sig = grpc_base64_decode(last_dot + 1, 1); in corrupt_jwt_sig() 532 memcpy(last_dot + 1, bad_b64_sig, strlen(bad_b64_sig)); in corrupt_jwt_sig()
|
/external/blktrace/iowatcher/ |
D | main.c | 529 char *last_dot = strrchr(s, '.'); in set_blktrace_outfile() local 531 if (last_dot) { in set_blktrace_outfile() 532 if (strcmp(last_dot, ".dump") == 0) in set_blktrace_outfile() 533 *last_dot = '\0'; in set_blktrace_outfile() 1071 char *last_dot = strrchr(output_filename, '.'); in encode_movie() local 1073 if (last_dot && in encode_movie() 1074 (!strncmp(last_dot, ".ogg", 4) || !strncmp(last_dot, ".ogv", 4))) { in encode_movie()
|
/external/python/cpython3/Python/ |
D | import.c | 1481 Py_ssize_t last_dot; in resolve_name() local 1578 last_dot = PyUnicode_GET_LENGTH(package); in resolve_name() 1579 if (last_dot == 0) { in resolve_name() 1586 last_dot = PyUnicode_FindChar(package, '.', 0, last_dot, -1); in resolve_name() 1587 if (last_dot == -2) { in resolve_name() 1590 else if (last_dot == -1) { in resolve_name() 1598 base = PyUnicode_Substring(package, 0, last_dot); in resolve_name()
|
D | sysmodule.c | 128 const char *last_dot = strrchr(envar, '.'); in sys_breakpointhook() local 132 if (last_dot == NULL) { in sys_breakpointhook() 137 else if (last_dot != envar) { in sys_breakpointhook() 139 modulepath = PyUnicode_FromStringAndSize(envar, last_dot - envar); in sys_breakpointhook() 140 attrname = last_dot + 1; in sys_breakpointhook()
|