/third_party/protobuf/src/google/protobuf/stubs/ |
D | substitute.h | 92 : text_(value), size_(strlen(text_)) {} in SubstituteArg() 94 : text_(value.data()), size_(value.size()) {} in SubstituteArg() 98 : text_(nullptr), size_(-1) {} in SubstituteArg() 107 : text_(scratch_), size_(1) { scratch_[0] = value; } in SubstituteArg() 109 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 111 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 113 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 115 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 117 : text_(FastLongToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 119 : text_(FastULongToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() [all …]
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | unicodestring.cc | 32 text_ = src.text_; in operator =() 38 return equal(text_.begin(), text_.end(), rhs.text_.begin()); in operator ==() 51 for (UnicodeText::const_iterator it = text_.begin(); it != text_.end(); in indexOf() 63 UnicodeText::const_iterator start_it = text_.begin(); in replace() 66 unicode_text.append(text_.begin(), start_it); in replace() 67 unicode_text.append(src.text_); in replace() 69 unicode_text.append(start_it, text_.end()); in replace() 70 text_ = unicode_text; in replace() 76 UnicodeText::const_iterator pos_it = text_.begin(); in setCharAt() 79 unicode_text.append(text_.begin(), pos_it); in setCharAt() [all …]
|
D | unicodestring.h | 37 : text_(UTF8ToUnicodeText(utf8, static_cast<int>(std::strlen(utf8)))), in UnicodeString() 46 : text_(src.text_), cached_index_(-1) {} in UnicodeString() 56 text_.push_back(codepoint); in append() 62 return text_.begin(); in begin() 66 return text_.end(); in end() 74 return text_.size(); in length() 80 text_.clear(); in remove() 92 text_.CopyUTF8(s, static_cast<int>(len)); in setTo() 96 bool UTF8WasValid() const { return text_.UTF8WasValid(); } in UTF8WasValid() 106 out = UnicodeTextToUTF8(text_); in toUTF8String() [all …]
|
D | phonenumbermatcher.cc | 404 text_(text), in PhoneNumberMatcher() 420 text_(text), in PhoneNumberMatcher() 436 number_as_unicode.PointToUTF8(text_.c_str(), text_.size()); in IsInputUtf8() 477 EncodingUtils::BackUpOneUTF8Character(text_.c_str(), in ParseAndVerify() 478 text_.c_str() + offset); in ParseAndVerify() 488 if (lastCharIndex < text_.length()) { in ParseAndVerify() 492 text_.c_str() + lastCharIndex - 1); in ParseAndVerify() 622 text_.substr(offset + candidate.size()))); in ExtractMatch() 675 reg_exps_->regexp_factory_for_pattern_->CreateInput(text_.substr(index))); in Find() 679 int start = static_cast<int>(text_.length() - text->ToString().length() - candidate.length()); in Find()
|
/third_party/flutter/engine/flutter/shell/platform/common/cpp/ |
D | text_input_model.cc | 32 : text_(""), in TextInputModel() 34 selection_base_(text_.begin()), in TextInputModel() 35 selection_extent_(text_.begin()) { in TextInputModel() 67 text_ = std::string(text); in SetEditingState() 68 selection_base_ = text_.begin() + selection_base; in SetEditingState() 69 selection_extent_ = text_.begin() + selection_extent; in SetEditingState() 74 selection_base_ = text_.erase(selection_base_, selection_extent_); in DeleteSelected() 83 selection_extent_ = text_.insert(selection_extent_, c); in AddCharacter() 93 if (selection_base_ != text_.begin()) { in Backspace() 94 selection_base_ = text_.erase(selection_base_ - 1, selection_base_); in Backspace() [all …]
|
/third_party/flutter/txt/src/txt/ |
D | paragraph_builder_txt.cc | 35 runs_.StartRun(paragraph_style_index_, text_.size()); in SetParagraphStyle() 41 runs_.StartRun(style_index, text_.size()); in PushStyle() 49 runs_.StartRun(PeekStyleIndex(), text_.size()); in Pop() 61 text_.insert(text_.end(), text.begin(), text.end()); in AddText() 65 obj_replacement_char_indexes_.insert(text_.size()); in AddPlaceholder() 66 runs_.StartRun(PeekStyleIndex(), text_.size()); in AddPlaceholder() 68 runs_.StartRun(PeekStyleIndex(), text_.size()); in AddPlaceholder() 73 runs_.EndRunIfNeeded(text_.size()); in Build() 76 paragraph->SetText(std::move(text_), std::move(runs_)); in Build()
|
D | paint_record.cc | 35 text_(std::move(text)), in PaintRecord() 53 text_(std::move(text)), in PaintRecord() 69 text_(std::move(text)), in PaintRecord() 79 text_ = std::move(other.text_); in PaintRecord() 91 text_ = std::move(other.text_); in operator =()
|
D | paragraph_txt.cc | 241 text_ = std::move(text); in SetText() 260 for (size_t i = 0; i < text_.size(); ++i) { in ComputeLineBreaks() 262 u_getIntPropertyValue(text_[i], UCHAR_LINE_BREAK)); in ComputeLineBreaks() 267 newline_positions.push_back(text_.size()); in ComputeLineBreaks() 293 memcpy(breaker_.buffer(), text_.data() + block_start, in ComputeLineBreaks() 294 block_size * sizeof(text_[0])); in ComputeLineBreaks() 330 text_[run.start] == objReplacementChar && in ComputeLineBreaks() 367 (hard_break && line_end < text_.size()) ? line_end + 1 : line_end; in ComputeLineBreaks() 371 minikin::isLineEndSpace(text_[line_end_excluding_whitespace - 1])) { in ComputeLineBreaks() 387 if (text_.empty()) in ComputeBidiRuns() [all …]
|
/third_party/flutter/engine/flutter/third_party/txt/src/txt/ |
D | paragraph_builder_txt.cc | 34 runs_.StartRun(paragraph_style_index_, text_.size()); in SetParagraphStyle() 40 runs_.StartRun(style_index, text_.size()); in PushStyle() 48 runs_.StartRun(PeekStyleIndex(), text_.size()); in Pop() 60 text_.insert(text_.end(), text.begin(), text.end()); in AddText() 64 obj_replacement_char_indexes_.insert(text_.size()); in AddPlaceholder() 65 runs_.StartRun(PeekStyleIndex(), text_.size()); in AddPlaceholder() 67 runs_.StartRun(PeekStyleIndex(), text_.size()); in AddPlaceholder() 72 runs_.EndRunIfNeeded(text_.size()); in Build() 75 paragraph->SetText(std::move(text_), std::move(runs_)); in Build()
|
D | paint_record.cc | 35 text_(std::move(text)), in PaintRecord() 53 text_(std::move(text)), in PaintRecord() 69 text_(std::move(text)), in PaintRecord() 79 text_ = std::move(other.text_); in PaintRecord() 91 text_ = std::move(other.text_); in operator =()
|
D | paragraph_txt.cc | 240 text_ = std::move(text); in SetText() 259 for (size_t i = 0; i < text_.size(); ++i) { in ComputeLineBreaks() 261 u_getIntPropertyValue(text_[i], UCHAR_LINE_BREAK)); in ComputeLineBreaks() 266 newline_positions.push_back(text_.size()); in ComputeLineBreaks() 293 memcpy(breaker_.buffer(), text_.data() + block_start, in ComputeLineBreaks() 294 block_size * sizeof(text_[0])); in ComputeLineBreaks() 330 text_[run.start] == objReplacementChar && in ComputeLineBreaks() 367 (hard_break && line_end < text_.size()) ? line_end + 1 : line_end; in ComputeLineBreaks() 371 minikin::isLineEndSpace(text_[line_end_excluding_whitespace - 1])) { in ComputeLineBreaks() 387 if (text_.empty()) in ComputeBidiRuns() [all …]
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/ |
D | text_handler.cpp | 188 return ::advance(text_, ¤t_position_); in advance() 194 return ::getWord(text_, next_position, word); in getWord() 198 return ::startsWithOp(text_, ¤t_position_); in startsWithOp() 203 if (::advance(text_, &pos)) return false; in isStartOfNewInst() 204 if (::startsWithOp(text_, &pos)) return true; in isStartOfNewInst() 208 if (::getWord(text_, &pos, &word)) return false; in isStartOfNewInst() 211 if (::advance(text_, &pos)) return false; in isStartOfNewInst() 212 if (::getWord(text_, &pos, &word)) return false; in isStartOfNewInst() 215 if (::advance(text_, &pos)) return false; in isStartOfNewInst() 216 if (::startsWithOp(text_, &pos)) return true; in isStartOfNewInst() [all …]
|
D | disassemble.cpp | 53 text_(), in Disassembler() 54 out_(print_ ? out_stream() : out_stream(text_)), in Disassembler() 118 std::stringstream text_; // Captures the text, if not printing. member in __anon6c99c1c90111::Disassembler 318 size_t length = text_.str().size(); in SaveTextResult() 321 strncpy(str, text_.str().c_str(), length + 1); in SaveTextResult()
|
/third_party/skia/third_party/externals/spirv-tools/source/ |
D | text_handler.cpp | 189 return spvtools::advance(text_, ¤t_position_); in advance() 195 return spvtools::getWord(text_, next_position, word); in getWord() 199 return spvtools::startsWithOp(text_, ¤t_position_); in startsWithOp() 204 if (spvtools::advance(text_, &pos)) return false; in isStartOfNewInst() 205 if (spvtools::startsWithOp(text_, &pos)) return true; in isStartOfNewInst() 209 if (spvtools::getWord(text_, &pos, &word)) return false; in isStartOfNewInst() 212 if (spvtools::advance(text_, &pos)) return false; in isStartOfNewInst() 213 if (spvtools::getWord(text_, &pos, &word)) return false; in isStartOfNewInst() 216 if (spvtools::advance(text_, &pos)) return false; in isStartOfNewInst() 217 if (spvtools::startsWithOp(text_, &pos)) return true; in isStartOfNewInst() [all …]
|
/third_party/spirv-tools/source/ |
D | text_handler.cpp | 191 return spvtools::advance(text_, ¤t_position_); in advance() 197 return spvtools::getWord(text_, next_position, word); in getWord() 201 return spvtools::startsWithOp(text_, ¤t_position_); in startsWithOp() 206 if (spvtools::advance(text_, &pos)) return false; in isStartOfNewInst() 207 if (spvtools::startsWithOp(text_, &pos)) return true; in isStartOfNewInst() 211 if (spvtools::getWord(text_, &pos, &word)) return false; in isStartOfNewInst() 214 if (spvtools::advance(text_, &pos)) return false; in isStartOfNewInst() 215 if (spvtools::getWord(text_, &pos, &word)) return false; in isStartOfNewInst() 218 if (spvtools::advance(text_, &pos)) return false; in isStartOfNewInst() 219 if (spvtools::startsWithOp(text_, &pos)) return true; in isStartOfNewInst() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
D | text_handler.cpp | 189 return spvtools::advance(text_, ¤t_position_); in advance() 195 return spvtools::getWord(text_, next_position, word); in getWord() 199 return spvtools::startsWithOp(text_, ¤t_position_); in startsWithOp() 204 if (spvtools::advance(text_, &pos)) return false; in isStartOfNewInst() 205 if (spvtools::startsWithOp(text_, &pos)) return true; in isStartOfNewInst() 209 if (spvtools::getWord(text_, &pos, &word)) return false; in isStartOfNewInst() 212 if (spvtools::advance(text_, &pos)) return false; in isStartOfNewInst() 213 if (spvtools::getWord(text_, &pos, &word)) return false; in isStartOfNewInst() 216 if (spvtools::advance(text_, &pos)) return false; in isStartOfNewInst() 217 if (spvtools::startsWithOp(text_, &pos)) return true; in isStartOfNewInst() [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | importer_unittest.cc | 71 std::string text_; member in google::protobuf::compiler::__anonf5e50fd30111::MockErrorCollector 77 strings::SubstituteAndAppend(&text_, "$0:$1:$2: $3\n", filename, line, column, in AddError() 141 EXPECT_EQ("", error_collector_.text_); in TEST_F() 170 EXPECT_EQ("", error_collector_.text_); in TEST_F() 191 EXPECT_EQ("foo.proto:-1:0: File not found.\n", error_collector_.text_); in TEST_F() 204 error_collector_.text_); in TEST_F() 226 error_collector_.text_); in TEST_F() 240 error_collector_.text_); in TEST_F() 257 error_collector_.text_); in TEST_F()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/katex/contrib/ |
D | mhchem.min.js | 1 …text_=(t.text_||"")+e},insert:function(t,e,n){return{type_:n}},"insert+p1":function(t,e,n){return{…
|
D | mhchem.js | 757 buffer.text_ = (buffer.text_ || "") + m; 1975 if (buffer.text_) { 1979 p1: buffer.text_ 2691 buffer.text_ = buffer.text_ || ""; 2693 if (buffer.text_.length > 4) { 2694 var a = buffer.text_.length % 3; 2700 for (var i = buffer.text_.length - 3; i > 0; i -= 3) { 2701 ret.push(buffer.text_.substr(i, 3)); 2707 ret.push(buffer.text_.substr(0, a)); 2710 ret.push(buffer.text_); [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
|
/third_party/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 …]
|
/third_party/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_bootstrap_unittest.cc | 68 string text_; member in google::protobuf::compiler::csharp::__anonfacb190f0111::MockErrorCollector 73 strings::SubstituteAndAppend(&text_, "$0:$1:$2: $3\n", in AddError() 186 EXPECT_EQ("", error_collector.text_); in TEST()
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_bootstrap_unittest.cc | 74 std::string text_; member in google::protobuf::compiler::cpp::__anond747a9d30111::MockErrorCollector 79 strings::SubstituteAndAppend(&text_, "$0:$1:$2: $3\n", filename, line, column, in AddError() 162 EXPECT_EQ("", error_collector.text_); in TEST()
|
/third_party/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()
|