Home
last modified time | relevance | path

Searched refs:last_dot (Results 1 – 12 of 12) sorted by relevance

/third_party/gn/src/base/files/
Dfile_path.cc121 const StringType::size_type last_dot = FinalExtensionSeparatorPosition(path); in ExtensionSeparatorPosition() local
124 if (last_dot == StringType::npos || last_dot == 0U) in ExtensionSeparatorPosition()
125 return last_dot; in ExtensionSeparatorPosition()
128 path.rfind(FilePath::kExtensionSeparator, last_dot - 1); in ExtensionSeparatorPosition()
130 FilePath::kSeparators, last_dot - 1, FilePath::kSeparatorsLength - 1); in ExtensionSeparatorPosition()
135 return last_dot; in ExtensionSeparatorPosition()
144 StringType extension(path, last_dot + 1); in ExtensionSeparatorPosition()
147 if ((last_dot - penultimate_dot) <= 5U && in ExtensionSeparatorPosition()
148 (last_dot - penultimate_dot) > 1U) { in ExtensionSeparatorPosition()
154 return last_dot; in ExtensionSeparatorPosition()
/third_party/gettext/gettext-tools/src/
Dwrite-csharp.c502 const char *last_dot; in write_csharp_code() local
521 last_dot = strrchr (class_name, '.'); in write_csharp_code()
522 if (last_dot != NULL) in write_csharp_code()
525 fwrite (class_name, 1, last_dot - class_name, stream); in write_csharp_code()
527 class_name_last_part = last_dot + 1; in write_csharp_code()
617 if (last_dot != NULL) in write_csharp_code()
Dwrite-java.c767 const char *last_dot; in write_java_code() local
773 last_dot = strrchr (class_name, '.'); in write_java_code()
774 if (last_dot != NULL) in write_java_code()
777 fwrite (class_name, 1, last_dot - class_name, stream); in write_java_code()
778 fprintf (stream, ";\npublic class %s", last_dot + 1); in write_java_code()
/third_party/grpc/test/cpp/util/
Dproto_file_parser.cc173 size_t last_dot = formatted_method_name.find_last_of('.'); in GetFormattedMethodName() local
174 if (last_dot != std::string::npos) { in GetFormattedMethodName()
175 formatted_method_name[last_dot] = '/'; in GetFormattedMethodName()
/third_party/grpc/test/core/security/
Djwt_verifier_test.cc539 char* last_dot = strrchr(jwt, '.'); in corrupt_jwt_sig() local
540 GPR_ASSERT(last_dot != nullptr); in corrupt_jwt_sig()
543 sig = grpc_base64_decode(last_dot + 1, 1); in corrupt_jwt_sig()
550 memcpy(last_dot + 1, bad_b64_sig, strlen(bad_b64_sig)); in corrupt_jwt_sig()
/third_party/python/Python/
Dimport.c1581 Py_ssize_t last_dot; in resolve_name() local
1689 last_dot = PyUnicode_GET_LENGTH(package); in resolve_name()
1690 if (last_dot == 0) { in resolve_name()
1695 last_dot = PyUnicode_FindChar(package, '.', 0, last_dot, -1); in resolve_name()
1696 if (last_dot == -2) { in resolve_name()
1699 else if (last_dot == -1) { in resolve_name()
1707 base = PyUnicode_Substring(package, 0, last_dot); in resolve_name()
Dsysmodule.c530 const char *last_dot = strrchr(envar, '.'); in sys_breakpointhook() local
534 if (last_dot == NULL) { in sys_breakpointhook()
539 else if (last_dot != envar) { in sys_breakpointhook()
541 modulepath = PyUnicode_FromStringAndSize(envar, last_dot - envar); in sys_breakpointhook()
542 attrname = last_dot + 1; in sys_breakpointhook()
/third_party/glib/glib/
Dgstdio.c284 wchar_t *last_dot = wcschr (name, L'.'); in _g_win32_fill_statbuf_from_handle_info() local
285 if (last_dot == NULL) in _g_win32_fill_statbuf_from_handle_info()
287 dot = last_dot; in _g_win32_fill_statbuf_from_handle_info()
288 name = &last_dot[1]; in _g_win32_fill_statbuf_from_handle_info()
Dgutils.c239 const gchar *last_dot = strrchr (program, '.'); in g_find_program_in_path() local
241 if (last_dot == NULL || in g_find_program_in_path()
242 strchr (last_dot, '\\') != NULL || in g_find_program_in_path()
243 strchr (last_dot, '/') != NULL) in g_find_program_in_path()
/third_party/glib/gio/
Dgdbusproxy.c2488 gchar *last_dot; in maybe_split_method_name() local
2491 last_dot = strrchr (p, '.'); in maybe_split_method_name()
2492 *last_dot = '\0'; in maybe_split_method_name()
2495 *out_method_name = last_dot + 1; in maybe_split_method_name()
Dgdesktopappinfo.c1899 gchar *last_dot; in g_desktop_app_info_load_from_keyfile() local
1902 last_dot = strrchr (basename, '.'); in g_desktop_app_info_load_from_keyfile()
1904 if (last_dot && g_str_equal (last_dot, ".desktop")) in g_desktop_app_info_load_from_keyfile()
1906 *last_dot = '\0'; in g_desktop_app_info_load_from_keyfile()
/third_party/protobuf/src/google/protobuf/
Ddescriptor.cc7325 std::string::size_type last_dot = name.find_last_of('.'); in InternalTypeOnceInit() local
7326 if (last_dot != std::string::npos) { in InternalTypeOnceInit()
7327 name = name.substr(0, last_dot) + "." + *default_value_enum_name_; in InternalTypeOnceInit()