/third_party/node/src/ |
D | string_search.h | 94 : pattern_(pattern), start_(0) { in StringSearch() 99 size_t pattern_length = pattern_.length(); in StringSearch() 173 Vector pattern_; variable 296 CHECK_EQ(1, pattern_.length()); in SingleCharSearch() 297 return FindFirstCharacter(pattern_, subject, index); in SingleCharSearch() 309 CHECK_GT(pattern_.length(), 1); in LinearSearch() 310 const size_t n = subject.length() - pattern_.length(); in LinearSearch() 312 i = FindFirstCharacter(pattern_, subject, i); in LinearSearch() 318 for (size_t j = 1; j < pattern_.length(); j++) { in LinearSearch() 319 if (pattern_[j] != subject[i + j]) { in LinearSearch() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | StringSearch.java | 135 private Pattern pattern_; field in StringSearch 195 pattern_ = new Pattern(pattern); in StringSearch() 322 textIter_ = new CollationElementIterator(pattern_.text_, collator); in setCollator() 323 utilIter_ = new CollationElementIterator(pattern_.text_, collator); in setCollator() 334 return pattern_.text_; in getPattern() 350 pattern_.text_ = pattern; in setPattern() 471 if (pattern_.CELength_ == 0) { in handleNext() 520 if (pattern_.CELength_ == 0) { in handlePrevious() 691 int patternlength = pattern_.text_.length(); in initializePatternCETable() 695 coleiter = new CollationElementIterator(pattern_.text_, collator_); in initializePatternCETable() [all …]
|
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | StringSearch.java | 135 private Pattern pattern_; field in StringSearch 196 pattern_ = new Pattern(pattern); in StringSearch() 329 textIter_ = new CollationElementIterator(pattern_.text_, collator); in setCollator() 330 utilIter_ = new CollationElementIterator(pattern_.text_, collator); in setCollator() 342 return pattern_.text_; in getPattern() 359 pattern_.text_ = pattern; in setPattern() 487 if (pattern_.CELength_ == 0) { in handleNext() 537 if (pattern_.CELength_ == 0) { in handlePrevious() 708 int patternlength = pattern_.text_.length(); in initializePatternCETable() 712 coleiter = new CollationElementIterator(pattern_.text_, collator_); in initializePatternCETable() [all …]
|
/third_party/node/deps/v8/src/strings/ |
D | string-search.h | 60 pattern_(pattern), in StringSearch() 63 if (!IsOneByteString(pattern_)) { in StringSearch() 68 int pattern_length = pattern_.length(); in StringSearch() 177 base::Vector<const PatternChar> pattern_; variable 238 DCHECK_EQ(1, search->pattern_.length()); in SingleCharSearch() 239 PatternChar pattern_first_char = search->pattern_[0]; in SingleCharSearch() 245 return FindFirstCharacter(search->pattern_, subject, index); in SingleCharSearch() 271 base::Vector<const PatternChar> pattern = search->pattern_; in LinearSearch() 299 base::Vector<const PatternChar> pattern = search->pattern_; in BoyerMooreSearch() 346 int pattern_length = pattern_.length(); in PopulateBoyerMooreTable() [all …]
|
/third_party/gn/src/base/files/ |
D | file_enumerator_posix.cc | 86 pattern_(pattern), in FileEnumerator() 154 pattern_.clear(); in Next() 166 return pattern_.empty() || in IsPatternMatched() 167 !fnmatch(pattern_.c_str(), path.value().c_str(), FNM_NOESCAPE); in IsPatternMatched()
|
D | file_enumerator_win.cc | 90 pattern_(!pattern.empty() ? pattern : u"*"), in FileEnumerator() 122 BuildSearchFilter(folder_search_policy_, root_path_, pattern_); in Next() 147 pattern_ = u"*"; in Next() 187 return PathMatchSpec(ToWCharT(&src.value()), ToWCharT(&pattern_)) == TRUE; in IsPatternMatched()
|
D | file_enumerator.h | 158 FilePath::StringType pattern_; variable
|
/third_party/node/deps/googletest/src/ |
D | gtest-port.cc | 698 pattern_ = regex; in Init() 938 return re.is_valid_ && MatchRegexAnywhere(re.pattern_.c_str(), str); in PartialMatch() 944 pattern_.clear(); in Init() 947 pattern_ = regex; in Init() 958 full_pattern_.reserve(pattern_.size() + 2); in Init() 960 if (pattern_.empty() || pattern_.front() != '^') { in Init() 964 full_pattern_.append(pattern_); in Init() 966 if (pattern_.empty() || pattern_.back() != '$') { in Init()
|
/third_party/gn/src/gn/ |
D | bundle_file_rule.cc | 37 : target_(bundle_data_target), sources_(sources), pattern_(pattern) { in BundleFileRule() 53 for (const auto& subrange : pattern_.ranges()) { in ApplyPatternToSource()
|
D | bundle_file_rule.h | 53 SubstitutionPattern pattern_; variable
|
/third_party/mesa3d/src/gtest/src/ |
D | gtest-port.cc | 715 free(const_cast<char*>(pattern_)); in ~RE() 737 pattern_ = posix::StrDup(regex); in Init() 963 free(const_cast<char*>(pattern_)); in ~RE() 975 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch() 980 pattern_ = full_pattern_ = nullptr; in Init() 982 pattern_ = posix::StrDup(regex); in Init()
|
/third_party/googletest/googletest/src/ |
D | gtest-port.cc | 671 free(const_cast<char*>(pattern_)); in ~RE() 693 pattern_ = posix::StrDup(regex); in Init() 924 free(const_cast<char*>(pattern_)); in ~RE() 936 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch() 941 pattern_ = full_pattern_ = nullptr; in Init() 943 pattern_ = posix::StrDup(regex); in Init()
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | phonenumbermatcher.cc | 268 scoped_ptr<const RegExp> pattern_; member in i18n::phonenumbers::PhoneNumberMatcherRegExps 321 pattern_(regexp_factory_for_pattern_->CreateRegExp(StrCat( in PhoneNumberMatcherRegExps() 678 reg_exps_->pattern_->FindAndConsume(text.get(), &candidate)) { in Find()
|
D | phonemetadata.pb.cc | 138 pattern_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); in NumberFormat() 140 …pattern_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal… in NumberFormat() 164 pattern_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); in SharedCtor() 179 pattern_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); in SharedDtor() 210 pattern_.ClearNonDefaultToEmpty(); in Clear() 495 …pattern_.Swap(&other->pattern_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),… in InternalSwap()
|
D | phonemetadata.pb.h | 323 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pattern_; 1449 …pattern_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena(… in clear_pattern() 1465 return pattern_.Get(); in _internal_pattern() 1469 …pattern_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetAren… in _internal_set_pattern() 1473 pattern_.SetLite( in set_pattern() 1480 …pattern_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(… in set_pattern() 1487 pattern_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( in set_pattern() 1493 …return pattern_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetAren… in _internal_mutable_pattern() 1501 …return pattern_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(… in release_pattern() 1509 pattern_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), pattern, in set_allocated_pattern()
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | Phonemetadata.java | 80 private String pattern_ = ""; field in Phonemetadata.NumberFormat 82 public String getPattern() { return pattern_; } in getPattern() 85 pattern_ = value; in setPattern() 162 objectOutput.writeUTF(pattern_); in writeExternal()
|
/third_party/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-port.h | 887 const char* pattern() const { return pattern_; } in pattern() 905 const char* pattern_; variable
|
/third_party/googletest/googletest/include/gtest/internal/ |
D | gtest-port.h | 926 const char* pattern() const { return pattern_; } in pattern() 944 const char* pattern_; variable
|
/third_party/node/deps/googletest/include/gtest/internal/ |
D | gtest-port.h | 981 const char* pattern() const { return pattern_.c_str(); } in pattern() 999 std::string pattern_; variable
|
/third_party/node/deps/v8/src/ast/ |
D | ast.h | 1064 Handle<String> pattern() const { return pattern_->string(); } in pattern() 1065 const AstRawString* raw_pattern() const { return pattern_; } in raw_pattern() 1075 pattern_(pattern) {} in RegExpLiteral() 1078 const AstRawString* const pattern_; variable
|
/third_party/cef/tools/distrib/gtest/ |
D | gtest-all.cc | 11048 free(const_cast<char*>(pattern_)); in ~RE() 11070 pattern_ = posix::StrDup(regex); in Init() 11296 free(const_cast<char*>(pattern_)); in ~RE() 11308 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch() 11313 pattern_ = full_pattern_ = nullptr; in Init() 11315 pattern_ = posix::StrDup(regex); in Init()
|
D | gtest.h | 1160 const char* pattern() const { return pattern_; } in pattern() 1178 const char* pattern_; variable
|
/third_party/libabigail/src/ |
D | abg-ir.cc | 25263 function_decl_sptr pattern_; member in abigail::ir::function_tdecl::priv 25271 : pattern_(pattern), binding_(bind) in priv() 25342 priv_->pattern_ = p; in set_pattern() 25352 {return priv_->pattern_;} in get_pattern() 25444 class_decl_sptr pattern_; member in abigail::ir::class_tdecl::priv 25452 : pattern_(pattern) in priv() 25512 priv_->pattern_ = p; in set_pattern() 25522 {return priv_->pattern_;} in get_pattern()
|