Home
last modified time | relevance | path

Searched refs:IsLegalChar (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/llvm/tools/llvm-cxxfilt/
Dllvm-cxxfilt.cpp111 function_ref<bool(char)> IsLegalChar) { in SplitStringDelims() argument
116 auto Start = std::find_if(Head, Source.end(), IsLegalChar); in SplitStringDelims()
122 Start = std::find_if(Start, Source.end(), IsLegalChar); in SplitStringDelims()
123 auto End = std::find_if_not(Start, Source.end(), IsLegalChar); in SplitStringDelims()
124 auto DEnd = std::find_if(End, Source.end(), IsLegalChar); in SplitStringDelims()
/external/tensorflow/tensorflow/compiler/mlir/utils/
Dname_utils.cc30 bool IsLegalChar(char c, bool first_char) { in IsLegalChar() function
50 if (!IsLegalChar(name[0], /*first_char=*/true)) name[0] = '.'; in LegalizeNodeName()
53 if (!IsLegalChar(c, /*first_char=*/false)) c = '.'; in LegalizeNodeName()