/external/libtextclassifier/util/strings/ |
split.cc | 17 #include "util/strings/split.h" 22 std::vector<StringPiece> Split(const StringPiece &text, char delim) {
|
/external/tensorflow/tensorflow/contrib/lite/testing/ |
split.h | 36 std::vector<T> Split(const string& s, const string& delimiter); 39 inline std::vector<string> Split(const string& s, const string& delimiter) { 48 inline std::vector<int> Split(const string& s, const string& delimiter) { 57 inline std::vector<int64_t> Split(const string& s, const string& delimiter) { 66 inline std::vector<float> Split(const string& s, const string& delimiter) { 75 inline std::vector<uint8_t> Split(const string& s, const string& delimiter) {
|
/external/tensorflow/tensorflow/core/kernels/ |
split_lib.h | 35 struct Split { 43 struct Split<Eigen::ThreadPoolDevice, T> { 53 struct Split<Eigen::SyclDevice, T> {
|
string_split_op.cc | 31 std::vector<string> Split(const string& str, const string& delimiter, 35 return str_util::Split(str, delimiter, str_util::SkipEmpty()); 37 return str_util::Split(str, delimiter); 78 // Empty delimiter means split the input character by character. 88 std::vector<string> parts = Split(input_vec(i), delimiter, skip_empty_);
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_swizzle.h | 51 * Determine how to split access to the masked channels of the 54 void (*Split)(struct rc_src_register reg, unsigned int mask, struct rc_swizzle_split * split);
|
/external/libbrillo/brillo/strings/ |
string_utils.h | 22 BRILLO_EXPORT std::vector<std::string> Split(const std::string& str, 27 inline std::vector<std::string> Split(const std::string& str, 29 return Split(str, delimiter, true, true); 32 inline std::vector<std::string> Split(const std::string& str, 35 return Split(str, delimiter, trim_whitespaces, true); 60 // Always trims the white spaces in the split parts.
|
string_utils.cc | 17 std::vector<std::string> Split(const std::string& str,
|
/external/llvm/lib/Support/ |
DeltaAlgorithm.cpp | 28 void DeltaAlgorithm::Split(const changeset_ty &S, changesetlist_ty &Res) { 62 Split(*it, SplitSets); 78 Split(*it, Sets); 111 Split(Changes, Sets);
|
Regex.cpp | 116 std::pair<StringRef, StringRef> Split = Repl.split('\\'); 119 Res += Split.first; 122 if (Split.second.empty()) { 123 if (Repl.size() != Split.first.size() && 130 Repl = Split.second;
|
/external/llvm/lib/TableGen/ |
StringMatcher.cpp | 57 std::pair<StringRef, StringRef> Split = Code.split('\n'); 58 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n"; 60 Code = Split.second; 62 Split = Code.split('\n'); 63 OS << Indent << Split.first << "\n"; 64 Code = Split.second;
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
DeltaAlgorithm.cpp | 28 void DeltaAlgorithm::Split(const changeset_ty &S, changesetlist_ty &Res) { 62 Split(*it, SplitSets); 78 Split(*it, Sets); 111 Split(Changes, Sets);
|
Regex.cpp | 112 std::pair<StringRef, StringRef> Split = Repl.split('\\'); 115 Res += Split.first; 118 if (Split.second.empty()) { 119 if (Repl.size() != Split.first.size() && 126 Repl = Split.second;
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
StringMatcher.cpp | 57 std::pair<StringRef, StringRef> Split = Code.split('\n'); 58 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n"; 60 Code = Split.second; 62 Split = Code.split('\n'); 63 OS << Indent << Split.first << "\n"; 64 Code = Split.second;
|
/external/tensorflow/tensorflow/core/lib/strings/ |
str_util.h | 127 // Split strings using any of the supplied delimiters. For example: 128 // Split("a,b.c,d", ".,") would return {"a", "b", "c", "d"}. 129 std::vector<string> Split(StringPiece text, StringPiece delims); 132 std::vector<string> Split(StringPiece text, StringPiece delims, Predicate p); 134 // Split "text" at "delim" characters, and parse each component as 181 inline std::vector<string> Split(StringPiece text, StringPiece delims) { 182 return Split(text, delims, AllowEmpty()); 186 std::vector<string> Split(StringPiece text, StringPiece delims, Predicate p) { 203 inline std::vector<string> Split(StringPiece text, char delim) { 204 return Split(text, StringPiece(&delim, 1)) [all...] |
/prebuilts/go/darwin-x86/src/path/ |
path.go | 142 // Split splits path immediately following the final slash, 144 // If there is no slash in path, Split returns an empty dir and 147 func Split(path string) (dir, file string) { 206 // After dropping the final element using Split, the path is Cleaned and trailing 213 dir, _ := Split(path)
|
/prebuilts/go/linux-x86/src/path/ |
path.go | 142 // Split splits path immediately following the final slash, 144 // If there is no slash in path, Split returns an empty dir and 147 func Split(path string) (dir, file string) { 206 // After dropping the final element using Split, the path is Cleaned and trailing 213 dir, _ := Split(path)
|
/system/core/base/ |
strings.cpp | 31 std::vector<std::string> Split(const std::string& s,
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
Regex.cpp | 128 std::pair<StringRef, StringRef> Split = Repl.split('\\'); 131 Res += Split.first; 134 if (Split.second.empty()) { 135 if (Repl.size() != Split.first.size() && 142 Repl = Split.second;
|
/external/tensorflow/tensorflow/core/framework/ |
tensor_util.cc | 109 Status Split(const Tensor& tensor, const gtl::ArraySlice<int64>& sizes, 112 return errors::InvalidArgument("Cannot split a zero-dimensional tensor"); 132 Tensor* split = &(*result)[result->size() - 1]; local 137 StringPiece to_data = split->tensor_data(); 155 Tensor& split = (*result)[result->size() - 1]; local 157 const_cast<char*>(split.tensor_data().data())); 159 CHECK_LE(offset + split.NumElements(), tensor.NumElements()); 160 for (int i = 0; i < split.NumElements(); ++i) { 164 offset += split.NumElements();
|
/art/cmdline/ |
token_range.h | 116 static TokenRange Split(const std::string& string, std::initializer_list<char> separators) {
|
/build/soong/androidmk/parser/ |
make_strings.go | 123 func (ms *MakeString) Split(sep string) []*MakeString { 136 split := splitAnyN(s, sep, n) 138 if len(split) > n { 141 n -= len(split) 144 curMs.appendString(split[0]) 146 for _, r := range split[1:] {
|
/external/llvm/lib/MC/ |
SubtargetFeature.cpp | 56 /// Split - Splits a string of comma separated items in to a vector of strings. 58 static void Split(std::vector<std::string> &V, StringRef S) { 60 S.split(Tmp, ',', -1, false /* KeepEmpty */); 123 Split(Features, Initial);
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/Frontend/ |
CommandLineSourceLoc.h | 78 std::pair<StringRef, StringRef> Split = RangeSplit.second.rsplit(':'); 79 if (Split.first.getAsInteger(10, EndLine) || 80 Split.second.getAsInteger(10, EndColumn)) {
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/Frontend/ |
CommandLineSourceLoc.h | 78 std::pair<StringRef, StringRef> Split = RangeSplit.second.rsplit(':'); 79 if (Split.first.getAsInteger(10, EndLine) || 80 Split.second.getAsInteger(10, EndColumn)) {
|
/prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/Frontend/ |
CommandLineSourceLoc.h | 78 std::pair<StringRef, StringRef> Split = RangeSplit.second.rsplit(':'); 79 if (Split.first.getAsInteger(10, EndLine) || 80 Split.second.getAsInteger(10, EndColumn)) {
|