/external/protobuf/src/google/protobuf/stubs/ |
D | substitute.h | 90 : text_(value), size_(strlen(text_)) {} in SubstituteArg() 92 : text_(value.data()), size_(value.size()) {} in SubstituteArg() 96 : text_(NULL), size_(-1) {} in SubstituteArg() 105 : text_(scratch_), size_(1) { scratch_[0] = value; } in SubstituteArg() 107 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 109 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 111 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 113 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 115 : text_(FastLongToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 117 : text_(FastULongToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() [all …]
|
/external/libtextclassifier/utils/utf8/ |
D | unicodetext_test.cc | 27 text_.push_back(0x1C0); in UnicodeTextTest() 28 text_.push_back(0x4E8C); in UnicodeTextTest() 29 text_.push_back(0xD7DB); in UnicodeTextTest() 30 text_.push_back(0x34); in UnicodeTextTest() 31 text_.push_back(0x1D11E); in UnicodeTextTest() 35 UnicodeText text_; member in libtextclassifier3::__anon0150ba3f0111::UnicodeTextTest 102 UnicodeText::const_iterator iter = text_.begin(); in TEST_F() 111 ASSERT_TRUE(iter != text_.end()); in TEST_F() 113 EXPECT_TRUE(iter == text_.end()); in TEST_F() 119 i1 = text_.begin(); in TEST_F() [all …]
|
D | unilib-javaicu.cc | 428 text_(std::move(text)) {} in RegexMatcher() 475 text_.get(), jni_cache_->string_length); in ApproximatelyMatches() 500 text_.get(), jni_cache_->string_code_point_count, last_find_offset_, in UpdateLastFindOffset() 557 text_.get(), jni_cache_->string_code_point_count, last_find_offset_, in Start() 597 text_.get(), jni_cache_->string_code_point_count, last_find_offset_, in End() 675 text_(nullptr, jni_cache ? jni_cache->jvm : nullptr), in BreakIterator() 681 text_ = MakeGlobalRef(jni_cache_->ConvertToJavaString(text).release(), jenv, in BreakIterator() 683 if (!text_) { in BreakIterator() 696 text_.get()); in BreakIterator() 710 text_.get(), jni_cache_->string_code_point_count, last_break_index_, in Next()
|
D | unilib-javaicu.h | 112 GetScopedStringChars(jni_cache_->GetEnv(), text_.get()); in Text() 124 ScopedGlobalRef<jstring> text_; variable 164 ScopedGlobalRef<jstring> text_; variable
|
/external/bsdiff/ |
D | suffix_array_index_unittest.cc | 21 text_.resize(text.size()); in InitSA() 22 std::copy(text.begin(), text.end(), text_.data()); in InitSA() 23 sai_ = CreateSuffixArrayIndex(text_.data(), text_.size()); in InitSA() 33 ASSERT_LT(*out_pos, text_.size()); in SearchPrefix() 34 ASSERT_LE(*out_pos + *out_length, text_.size()); in SearchPrefix() 35 EXPECT_EQ(0, memcmp(text_.data() + *out_pos, pattern.data(), *out_length)); in SearchPrefix() 38 std::vector<uint8_t> text_; member in bsdiff::SuffixArrayIndexTest
|
D | suffix_array_index.cc | 68 const uint8_t* text_{nullptr}; // Owned by the caller. member in bsdiff::SuffixArrayIndex 86 text_ = text; in Init() 90 if (n > 0 && CallDivSufSort(text_, sa_.data(), n) != 0) { in Init() 105 CallSaSearch(text_, n_, target, length, sa_.data(), n_, &suf_left); in SearchPrefix() 121 const uint8_t* prev_suffix = text_ + sa_[suf_left - 1]; in SearchPrefix() 129 const uint8_t* next_suffix = text_ + sa_[suf_left]; in SearchPrefix()
|
/external/image_io/includes/image_io/base/ |
D | message.h | 49 : type_(type), system_errno_(system_errno), text_(text) {} in Message() 55 text_ == rhs.text_; 60 text_ != rhs.text_; 70 const std::string& GetText() const { return text_; } in GetText() 92 std::string text_; variable
|
/external/deqp-deps/SPIRV-Tools/source/ |
D | text_handler.cpp | 188 return spvtools::advance(text_, ¤t_position_); in advance() 194 return spvtools::getWord(text_, next_position, word); in getWord() 198 return spvtools::startsWithOp(text_, ¤t_position_); in startsWithOp() 203 if (spvtools::advance(text_, &pos)) return false; in isStartOfNewInst() 204 if (spvtools::startsWithOp(text_, &pos)) return true; in isStartOfNewInst() 208 if (spvtools::getWord(text_, &pos, &word)) return false; in isStartOfNewInst() 211 if (spvtools::advance(text_, &pos)) return false; in isStartOfNewInst() 212 if (spvtools::getWord(text_, &pos, &word)) return false; in isStartOfNewInst() 215 if (spvtools::advance(text_, &pos)) return false; in isStartOfNewInst() 216 if (spvtools::startsWithOp(text_, &pos)) return true; in isStartOfNewInst() [all …]
|
D | disassemble.cpp | 55 text_(), in Disassembler() 56 out_(print_ ? out_stream() : out_stream(text_)), in Disassembler() 120 std::stringstream text_; // Captures the text, if not printing. member in __anone1d590aa0111::Disassembler 325 size_t length = text_.str().size(); in SaveTextResult() 328 strncpy(str, text_.str().c_str(), length + 1); in SaveTextResult()
|
/external/swiftshader/third_party/SPIRV-Tools/source/ |
D | text_handler.cpp | 188 return spvtools::advance(text_, ¤t_position_); in advance() 194 return spvtools::getWord(text_, next_position, word); in getWord() 198 return spvtools::startsWithOp(text_, ¤t_position_); in startsWithOp() 203 if (spvtools::advance(text_, &pos)) return false; in isStartOfNewInst() 204 if (spvtools::startsWithOp(text_, &pos)) return true; in isStartOfNewInst() 208 if (spvtools::getWord(text_, &pos, &word)) return false; in isStartOfNewInst() 211 if (spvtools::advance(text_, &pos)) return false; in isStartOfNewInst() 212 if (spvtools::getWord(text_, &pos, &word)) return false; in isStartOfNewInst() 215 if (spvtools::advance(text_, &pos)) return false; in isStartOfNewInst() 216 if (spvtools::startsWithOp(text_, &pos)) return true; in isStartOfNewInst() [all …]
|
/external/fonttools/Lib/fontTools/voltLib/ |
D | lexer.py | 27 self.text_ = text 47 text = self.text_ 67 if self.pos_ < self.text_length_ and self.text_[self.pos_] == '"': 90 while p < self.text_length_ and self.text_[p] in valid: 96 while p < self.text_length_ and self.text_[p] not in stop_at:
|
/external/protobuf/src/google/protobuf/compiler/ |
D | importer_unittest.cc | 74 string text_; member in google::protobuf::compiler::__anond30b922c0111::MockErrorCollector 80 strings::SubstituteAndAppend(&text_, "$0:$1:$2: $3\n", in AddError() 133 string error() const { return error_collector_.text_; } in error() 148 EXPECT_EQ("", error_collector_.text_); in TEST_F() 177 EXPECT_EQ("", error_collector_.text_); in TEST_F() 200 error_collector_.text_); in TEST_F() 213 error_collector_.text_); in TEST_F() 233 error_collector_.text_); in TEST_F()
|
/external/webrtc/webrtc/libjingle/xmllite/ |
D | xmlelement.h | 65 text_(text) { in XmlText() 69 text_(t.text_) { in XmlText() 73 text_(cstr, len) { in XmlText() 77 const std::string& Text() const { return text_; } in Text() 88 std::string text_;
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_bootstrap_unittest.cc | 73 string text_; member in google::protobuf::compiler::cpp::__anona48ce04c0111::MockErrorCollector 78 strings::SubstituteAndAppend(&text_, "$0:$1:$2: $3\n", in AddError() 130 EXPECT_EQ("", error_collector.text_); in TEST()
|
/external/fonttools/Lib/fontTools/feaLib/ |
D | lexer.py | 41 self.text_ = text 65 text = self.text_ 150 if self.pos_ < self.text_length_ and self.text_[self.pos_] == '"': 163 while p < self.text_length_ and self.text_[p] in valid: 169 while p < self.text_length_ and self.text_[p] not in stop_at: 179 split = re.split(regexp, self.text_[self.pos_:], maxsplit=1)
|
/external/jdiff/src/jdiff/ |
D | SingleComment.java | 18 public String text_ = null; field in SingleComment 27 text_ = text; in SingleComment()
|
D | DiffOutput.java | 27 public String text_ = null; field in DiffOutput 36 text_ = text; in DiffOutput()
|
D | CommentsHandler.java | 141 if (currComment.text_ == null) in addTextToComments() 142 currComment.text_ = currentText; in addTextToComments() 144 currComment.text_ += currentText; in addTextToComments()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | StringSearch.java | 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() 708 int patternlength = pattern_.text_.length(); in initializePatternCETable() 712 coleiter = new CollationElementIterator(pattern_.text_, collator_); in initializePatternCETable() 715 coleiter.setText(pattern_.text_); in initializePatternCETable() 751 int patternlength = pattern_.text_.length(); in initializePatternPCETable() 755 coleiter = new CollationElementIterator(pattern_.text_, collator_); in initializePatternPCETable() 758 coleiter.setText(pattern_.text_); in initializePatternPCETable() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | StringSearch.java | 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() 691 int patternlength = pattern_.text_.length(); in initializePatternCETable() 695 coleiter = new CollationElementIterator(pattern_.text_, collator_); in initializePatternCETable() 698 coleiter.setText(pattern_.text_); in initializePatternCETable() 734 int patternlength = pattern_.text_.length(); in initializePatternPCETable() 738 coleiter = new CollationElementIterator(pattern_.text_, collator_); in initializePatternPCETable() 741 coleiter.setText(pattern_.text_); in initializePatternPCETable() [all …]
|
D | CharsDictionaryMatcher.java | 25 …public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit,… in matches() argument 26 UCharacterIterator text = UCharacterIterator.getInstance(text_); in matches()
|
D | BytesDictionaryMatcher.java | 46 …public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit,… in matches() argument 47 UCharacterIterator text = UCharacterIterator.getInstance(text_); in matches()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CharsDictionaryMatcher.java | 24 …public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit,… in matches() argument 25 UCharacterIterator text = UCharacterIterator.getInstance(text_); in matches()
|
D | BytesDictionaryMatcher.java | 45 …public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit,… in matches() argument 46 UCharacterIterator text = UCharacterIterator.getInstance(text_); in matches()
|
/external/protobuf/src/google/protobuf/io/ |
D | tokenizer_unittest.cc | 162 string text_; member in google::protobuf::io::__anonaa93ff120111::TestErrorCollector 166 strings::SubstituteAndAppend(&text_, "$0:$1: $2\n", in AddError() 289 EXPECT_TRUE(error_collector.text_.empty()); in TEST_2D() 319 EXPECT_TRUE(error_collector.text_.empty()); in TEST_1D() 472 EXPECT_TRUE(error_collector.text_.empty()); in TEST_2D() 506 EXPECT_TRUE(error_collector.text_.empty()); in TEST_1D() 966 EXPECT_EQ(kErrorCases_case.errors, error_collector.text_); in TEST_2D()
|