HomeSort by relevance Sort by last modified time
    Searched refs:npos (Results 251 - 275 of 985) sorted by null

<<11121314151617181920>>

  /external/webrtc/webrtc/base/
stringutils.cc 98 while ((pos = s->find(search, pos, search_len)) != std::string::npos) {
126 if (first == std::string::npos || last == std::string::npos) {
  /external/libvpx/libvpx/test/
test_libvpx.cc 33 if (filter.find('-') == std::string::npos) filter += '-';
  /external/llvm/include/llvm/ADT/
SmallString.h 145 /// \return - The index of the first occurrence of \p C, or npos if not
153 /// \returns The index of the first occurrence of \p Str, or npos if not
161 /// \returns The index of the last occurrence of \p C, or npos if not
163 size_t rfind(char C, size_t From = StringRef::npos) const {
169 /// \returns The index of the last occurrence of \p Str, or npos if not
175 /// Find the first character in the string that is \p C, or npos if not
181 /// Find the first character in the string that is in \p Chars, or npos if
189 /// Find the first character in the string that is not \p C or npos if not
196 /// \p Chars, or npos if not found.
203 /// Find the last character in the string that is \p C, or npos if no
    [all...]
  /external/llvm/include/llvm/Support/
TypeName.h 54 assert(AnglePos != StringRef::npos && "Unable to find the closing '>'!");
  /external/llvm/tools/llvm-cov/
CoverageFilters.cpp 22 return FuncName.find(Name) != StringRef::npos;
  /external/regex-re2/re2/
stringpiece.h 122 static const size_type npos; member in class:re2::StringPiece
143 int rfind(const StringPiece& s, size_type pos = npos) const;
144 int rfind(char c, size_type pos = npos) const;
146 StringPiece substr(size_type pos, size_type n = npos) const;
  /external/swiftshader/third_party/LLVM/lib/Target/Mips/
MipsSubtarget.cpp 52 if (TT.find("linux") == std::string::npos)
  /system/extras/simpleperf/
cmd_stat_test.cpp 110 ASSERT_NE(s.npos, pos);
112 ASSERT_NE(s.npos, pos);
115 ASSERT_NE(s.npos, s.find("instructions", pos));
134 while((pos = s.find(subs, pos)) != s.npos) {
event_type.cpp 100 if (comm_pos != std::string::npos) {
104 if (c != ' ' && modifier_characters.find(c) == std::string::npos) {
127 if (modifier.find_first_of("ukh") != std::string::npos) {
132 if (modifier.find_first_of("GH") != std::string::npos) {
  /system/update_engine/payload_generator/
mapfile_filesystem.cc 98 while ((delim = line.rfind(' ', last_delim - 1)) != string::npos) {
103 if (dash == string::npos && base::StringToUint64(blocks, &block_start)) {
105 } else if (dash != string::npos &&
135 if (last_delim == string::npos)
  /external/libcxx/test/std/strings/basic.string/string.capacity/
resize_size.pass.cpp 66 test(S(), S::npos, S("not going to happen")); member in class:S
86 test(S(), S::npos, S("not going to happen")); member in class:S
resize_size_char.pass.cpp 66 test(S(), S::npos, 'a', S("not going to happen")); member in class:S
86 test(S(), S::npos, 'a', S("not going to happen")); member in class:S
  /external/llvm/utils/FileCheck/
FileCheck.cpp 145 /// returns the position that is matched or npos if there is no match. If
180 /// \return offset of the closing sequence within Str, or npos if it was not
210 (PatternStr.size() < 2 || (PatternStr.find("{{") == StringRef::npos &&
211 PatternStr.find("[[") == StringRef::npos))) {
233 if (End == StringRef::npos) {
265 if (End == StringRef::npos) {
291 if (NameEnd != StringRef::npos) {
316 if (NameEnd == StringRef::npos) {
403 /// returns the position that is matched or npos if there is no match. If
434 return StringRef::npos;
    [all...]
  /external/protobuf/src/google/protobuf/stubs/
stringpiece.h 354 static const size_type npos; member in class:google::protobuf::StringPiece
377 stringpiece_ssize_type rfind(StringPiece s, size_type pos = npos) const;
378 stringpiece_ssize_type rfind(char c, size_type pos = npos) const;
388 size_type pos = npos) const;
389 stringpiece_ssize_type find_last_of(char c, size_type pos = npos) const {
393 size_type pos = npos) const;
394 stringpiece_ssize_type find_last_not_of(char c, size_type pos = npos) const;
396 StringPiece substr(size_type pos, size_type n = npos) const;
  /external/swiftshader/third_party/LLVM/lib/Support/
StringExtras.cpp 21 /// the offset of s2 in s1 or npos if s2 cannot be found.
25 return StringRef::npos;
29 return StringRef::npos;
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.capacity/
reserve.pass.cpp 82 test(s, S::npos);
113 test(s, S::npos);
resize_size_char.pass.cpp 56 test(S(), S::npos, 'a', S("not going to happen")); member in class:S
76 test(S(), S::npos, 'a', S("not going to happen")); member in class:S
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/strings/basic.string/string.capacity/
reserve.pass.cpp 84 test(s, S::npos);
115 test(s, S::npos);
resize_size_char.pass.cpp 58 test(S(), S::npos, 'a', S("not going to happen")); member in class:S
78 test(S(), S::npos, 'a', S("not going to happen")); member in class:S
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/
stringpiece.h 354 static const size_type npos; member in class:google::protobuf::StringPiece
377 stringpiece_ssize_type rfind(StringPiece s, size_type pos = npos) const;
378 stringpiece_ssize_type rfind(char c, size_type pos = npos) const;
388 size_type pos = npos) const;
389 stringpiece_ssize_type find_last_of(char c, size_type pos = npos) const {
393 size_type pos = npos) const;
394 stringpiece_ssize_type find_last_not_of(char c, size_type pos = npos) const;
396 StringPiece substr(size_type pos, size_type n = npos) const;
  /system/core/liblog/tests/
log_radio_test.cpp 100 for (size_t pos = 0; (pos = buf.find(content, pos)) != std::string::npos;
105 (pos = buf.find(content_false, pos)) != std::string::npos; ++pos) {
log_system_test.cpp 100 for (size_t pos = 0; (pos = buf.find(content, pos)) != std::string::npos;
105 (pos = buf.find(content_false, pos)) != std::string::npos; ++pos) {
  /test/vts/drivers/libprofiling/
VtsProfilingConfigureMain.cpp 41 if (n == std::string::npos || fqInstanceName.size() == n+1) continue;
45 n+1, std::string::npos);
  /art/compiler/utils/arm/
assembler_arm_test.h 102 if (cond_index != std::string::npos) {
110 if (imm1_index != std::string::npos) {
121 if (imm2_index != std::string::npos) {
133 while ((reg1_index = base3.find(Base::REG1_TOKEN)) != std::string::npos) {
142 while ((reg2_index = base4.find(Base::REG2_TOKEN)) != std::string::npos) {
193 if (cond_index != std::string::npos) {
203 if (imm1_index != std::string::npos) {
213 if (imm2_index != std::string::npos) {
225 while ((reg1_index = after_reg1.find(Base::REG1_TOKEN)) != std::string::npos) {
234 while ((reg2_index = after_reg2.find(Base::REG2_TOKEN)) != std::string::npos) {
    [all...]
  /art/runtime/arch/arm/
instruction_set_features_arm.cc 154 if (line.find("Features") != std::string::npos) {
156 if (line.find("idivt") != std::string::npos) {
159 CHECK_NE(line.find("idiva"), std::string::npos);
162 if (line.find("lpae") != std::string::npos) {
166 if (line.find("architecture") != std::string::npos
167 && line.find(": 8") != std::string::npos) {

Completed in 484 milliseconds

<<11121314151617181920>>