Home
last modified time | relevance | path

Searched refs:string_ (Results 1 – 25 of 44) sorted by relevance

12

/third_party/icu/icu4c/source/i18n/
Dcoleitr.cpp157 string_ == that.string_ && in operator ==()
178 iter_->resetToOffset(string_.length()); in previous()
234 if (0 < newOffset && newOffset < string_.length()) { in setOffset()
237 UChar c = string_.charAt(offset); in setOffset()
239 (U16_IS_LEAD(c) && !rbc_->isUnsafe(string_.char32At(offset)))) { in setOffset()
280 string_ = source; in setText()
281 const UChar *s = string_.getBuffer(); in setText()
285 newIter = new UTF16CollationIterator(rbc_->data, numeric, s, s, s + string_.length()); in setText()
287 newIter = new FCDUTF16CollationIterator(rbc_->data, numeric, s, s, s + string_.length()); in setText()
306 source.getText(string_); in setText()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dcoleitr.cpp157 string_ == that.string_ && in operator ==()
178 iter_->resetToOffset(string_.length()); in previous()
234 if (0 < newOffset && newOffset < string_.length()) { in setOffset()
237 char16_t c = string_.charAt(offset); in setOffset()
239 (U16_IS_LEAD(c) && !rbc_->isUnsafe(string_.char32At(offset)))) { in setOffset()
280 string_ = source; in setText()
281 const char16_t *s = string_.getBuffer(); in setText()
285 newIter = new UTF16CollationIterator(rbc_->data, numeric, s, s, s + string_.length()); in setText()
287 newIter = new FCDUTF16CollationIterator(rbc_->data, numeric, s, s, s + string_.length()); in setText()
306 source.getText(string_); in setText()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dcoleitr.cpp157 string_ == that.string_ && in operator ==()
178 iter_->resetToOffset(string_.length()); in previous()
234 if (0 < newOffset && newOffset < string_.length()) { in setOffset()
237 UChar c = string_.charAt(offset); in setOffset()
239 (U16_IS_LEAD(c) && !rbc_->isUnsafe(string_.char32At(offset)))) { in setOffset()
280 string_ = source; in setText()
281 const UChar *s = string_.getBuffer(); in setText()
285 newIter = new UTF16CollationIterator(rbc_->data, numeric, s, s, s + string_.length()); in setText()
287 newIter = new FCDUTF16CollationIterator(rbc_->data, numeric, s, s, s + string_.length()); in setText()
306 source.getText(string_); in setText()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCollationElementIterator.java125 … private String string_; // TODO: needed in Java? if so, then add a UCharacterIterator field too? field in CollationElementIterator
374 iter_.resetToOffset(string_.length()); in previous()
451 if (0 < newOffset && newOffset < string_.length()) { in setOffset()
454 char c = string_.charAt(offset); in setOffset()
456 … (Character.isHighSurrogate(c) && !rbc_.isUnsafe(string_.codePointAt(offset)))) { in setOffset()
493 string_ = source; // TODO: do we need to remember the source string in a field? in setText()
497 newIter = new UTF16CollationIterator(rbc_.data, numeric, string_, 0); in setText()
499 newIter = new FCDUTF16CollationIterator(rbc_.data, numeric, string_, 0); in setText()
515 string_ = source.getText(); // TODO: do we need to remember the source string in a field? in setText()
557 string_ = src.getText(); // TODO: do we need to remember the source string in a field? in setText()
[all …]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollationElementIterator.java125 … private String string_; // TODO: needed in Java? if so, then add a UCharacterIterator field too? field in CollationElementIterator
385 iter_.resetToOffset(string_.length()); in previous()
465 if (0 < newOffset && newOffset < string_.length()) { in setOffset()
468 char c = string_.charAt(offset); in setOffset()
470 … (Character.isHighSurrogate(c) && !rbc_.isUnsafe(string_.codePointAt(offset)))) { in setOffset()
508 string_ = source; // TODO: do we need to remember the source string in a field? in setText()
512 newIter = new UTF16CollationIterator(rbc_.data, numeric, string_, 0); in setText()
514 newIter = new FCDUTF16CollationIterator(rbc_.data, numeric, string_, 0); in setText()
531 string_ = source.getText(); // TODO: do we need to remember the source string in a field? in setText()
574 string_ = src.getText(); // TODO: do we need to remember the source string in a field? in setText()
[all …]
/third_party/node/deps/v8/src/objects/
Dstring-table.cc348 : StringTableKey(0, string->length()), string_(string) { in InternalizedStringKey()
361 return string_->SlowEquals(string); in IsMatch()
367 string_, &maybe_internalized_map_); in PrepareForInsertion()
384 StringShape shape(*string_); in PrepareForInsertion()
390 string_ = in PrepareForInsertion()
392 string_); in PrepareForInsertion()
396 string_ = in PrepareForInsertion()
398 string_); in PrepareForInsertion()
401 string_ = isolate->factory()->NewInternalizedStringImpl( in PrepareForInsertion()
402 string_, string_->length(), string_->raw_hash_field()); in PrepareForInsertion()
[all …]
Dstring-inl.h418 string_(string),
428 DCHECK_LE(from_ + length(), string_->length());
429 DCHECK_EQ(string_->IsSeqOneByteString(), sizeof(Char) == 1);
430 DCHECK_EQ(string_->IsSeqTwoByteString(), sizeof(Char) == 2);
438 DCHECK(!SharedStringAccessGuardIfNeeded::IsNeeded(*string_)); in IsMatch()
441 base::Vector<const Char>(string_->GetChars(no_gc) + from_, length()), in IsMatch()
451 CopyChars(result->GetChars(no_gc), string_->GetChars(no_gc) + from_, in PrepareForInsertion()
459 CopyChars(result->GetChars(no_gc), string_->GetChars(no_gc) + from_, in PrepareForInsertion()
470 Handle<typename CharTraits<Char>::String> string_;
1432 : string_(string), in SubStringRange()
[all …]
Dcompilation-cache-table.cc216 string_(string), in RegExpKey()
225 return string_->Equals(String::cast(val.get(JSRegExp::kSourceIndex))) && in IsMatch()
229 Handle<String> string_; member in v8::internal::__anona16062f50111::RegExpKey
/third_party/node/deps/v8/src/ast/
Dast-value-factory.h89 return string_; in string()
117 string_ = string; in set_string()
125 Handle<String> string_; member
166 if (string_.is_null()) { in GetString()
167 string_ = Allocate(isolate); in GetString()
169 return string_; in GetString()
182 AstConsString() : string_(), segment_({nullptr, nullptr}) {} in AstConsString()
188 Handle<String> string_; variable
/third_party/node/deps/v8/src/strings/
Dstring-builder-inl.h223 string_ = string; in NoExtend()
231 auto one_byte_string = SeqOneByteString::cast(string_); in ~NoExtend()
235 auto two_byte_string = SeqTwoByteString::cast(string_); in ~NoExtend()
255 String string_; variable
264 : NoExtend<DestChar>(string, 0), string_(string) { in NoExtendString()
269 Handle<SeqString> string = Handle<SeqString>::cast(string_); in Finalize()
272 string_ = Handle<String>(); in Finalize()
277 Handle<String> string_;
/third_party/node/deps/v8/src/compiler/backend/
Dcode-generator.h63 string_(nullptr) {} in DeoptimizationLiteral()
71 : kind_(DeoptimizationLiteralKind::kString), string_(string) {} in DeoptimizationLiteral()
74 const StringConstantBase* string() const { return string_; } in string()
79 bit_cast<intptr_t>(string_) == bit_cast<intptr_t>(other.string_);
98 const StringConstantBase* string_ = nullptr; variable
/third_party/gn/src/base/json/
Djson_parser.cc139 if (point < kExtendedASCIIStart && !string_) { in Append()
145 string_->append(kUnicodeReplacementString); in Append()
147 WriteUnicodeCharacter(point, &*string_); in Append()
153 if (string_) in Convert()
155 string_.emplace(pos_, length_); in Convert()
159 if (string_) in DestructiveAsString()
160 return std::move(*string_); in DestructiveAsString()
/third_party/node/deps/v8/src/torque/ls/
Djson.h61 result.string_ = string; in From()
93 return string_; in ToString()
119 std::string string_; member
/third_party/libphonenumber/cpp/src/phonenumbers/
Dregexp_adapter_re2.cc38 : string_(utf8_input), in RE2RegExpInput()
39 utf8_input_(string_) {} in RE2RegExpInput()
52 const string string_; member in i18n::phonenumbers::RE2RegExpInput
/third_party/node/deps/v8/src/parsing/
Dpreparser.h85 explicit PreParserIdentifier(Type type) : string_(nullptr), type_(type) {} in PreParserIdentifier()
86 const AstRawString* string_; variable
1153 DeclareFunctionNameVar(function_name.string_, function_syntax_kind,
1166 Variable* var = DeclareVariableName(variable_name.string_, mode, scope(),
1186 DeclareVariableName(variable_name.string_, VariableMode::kLet, scope(),
1197 scope->DeclareClassVariable(ast_value_factory(), name.string_,
1224 property_name.string_, scope, GetVariableMode(kind),
1230 property_name.string_);
1460 return x.string_;
1469 return arg.string_;
[all …]
Dpreparser.cc68 symbol.string_ = result; in GetIdentifier()
351 const AstRawString* string = function_name.string_; in ParseFunctionLiteral()
404 return identifier.string_ == other; in IdentifierEquals()
Dtoken.cc18 const char* const Token::string_[NUM_TOKENS] = {TOKEN_LIST(T, T)}; member in v8::internal::Token
Dtoken.h326 return string_[token]; in String()
343 static const char* const string_[NUM_TOKENS]; variable
/third_party/node/tools/inspector_protocol/lib/
Dbase_string_adapter_cc.template159 string_ += s;
163 string_ += c;
167 string_.append(characters, length);
181 return string_;
185 string_.reserve(capacity);
/third_party/node/deps/v8/tools/debug_helper/
Dget-object-properties.cc234 string_.size() * unibrow::Utf16::kMaxExtraUtf8BytesForOneUtf16CodeUnit); in GetString()
237 for (size_t read_index = 0; read_index < string_.size(); ++read_index) { in GetString()
238 uint16_t character = string_[read_index]; in GetString()
409 if (string_.empty()) { in AddEllipsisAndFinish()
412 string_ += u"..."; in AddEllipsisAndFinish()
418 if (string_.size() >= kMaxCharacters) { in AddCharacter()
421 string_.push_back(c); in AddCharacter()
452 std::u16string string_; // Result string. member in v8::internal::debug_helper_internal::ReadStringVisitor
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2706 value_.string_ = 0; in Value()
2747 value_.string_ = duplicateAndPrefixStringValue(value, static_cast<unsigned>(strlen(value))); in Value()
2752 value_.string_ = in Value()
2758 value_.string_ = in Value()
2764 value_.string_ = const_cast<char*>(value.c_str()); in Value()
2770 value_.string_ = duplicateAndPrefixStringValue(value, static_cast<unsigned>(value.length())); in Value()
2793 if (other.value_.string_ && other.allocated_) { in Value()
2796 decodePrefixedString(other.allocated_, other.value_.string_, in Value()
2798 value_.string_ = duplicateAndPrefixStringValue(str, len); in Value()
2801 value_.string_ = other.value_.string_; in Value()
[all …]
/third_party/protobuf/conformance/third_party/jsoncpp/
Djsoncpp.cpp2730 value_.string_ = 0; in Value()
2771 value_.string_ = duplicateAndPrefixStringValue(value, static_cast<unsigned>(strlen(value))); in Value()
2776 value_.string_ = in Value()
2782 value_.string_ = in Value()
2788 value_.string_ = const_cast<char*>(value.c_str()); in Value()
2794 value_.string_ = duplicateAndPrefixStringValue(value, static_cast<unsigned>(value.length())); in Value()
2817 if (other.value_.string_ && other.allocated_) { in Value()
2820 decodePrefixedString(other.allocated_, other.value_.string_, in Value()
2822 value_.string_ = duplicateAndPrefixStringValue(str, len); in Value()
2825 value_.string_ = other.value_.string_; in Value()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2706 value_.string_ = 0; in Value()
2747 value_.string_ = duplicateAndPrefixStringValue(value, static_cast<unsigned>(strlen(value))); in Value()
2752 value_.string_ = in Value()
2758 value_.string_ = in Value()
2764 value_.string_ = const_cast<char*>(value.c_str()); in Value()
2770 value_.string_ = duplicateAndPrefixStringValue(value, static_cast<unsigned>(value.length())); in Value()
2793 if (other.value_.string_ && other.allocated_) { in Value()
2796 decodePrefixedString(other.allocated_, other.value_.string_, in Value()
2798 value_.string_ = duplicateAndPrefixStringValue(str, len); in Value()
2801 value_.string_ = other.value_.string_; in Value()
[all …]
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2706 value_.string_ = 0; in Value()
2747 value_.string_ = duplicateAndPrefixStringValue(value, static_cast<unsigned>(strlen(value))); in Value()
2752 value_.string_ = in Value()
2758 value_.string_ = in Value()
2764 value_.string_ = const_cast<char*>(value.c_str()); in Value()
2770 value_.string_ = duplicateAndPrefixStringValue(value, static_cast<unsigned>(value.length())); in Value()
2793 if (other.value_.string_ && other.allocated_) { in Value()
2796 decodePrefixedString(other.allocated_, other.value_.string_, in Value()
2798 value_.string_ = duplicateAndPrefixStringValue(str, len); in Value()
2801 value_.string_ = other.value_.string_; in Value()
[all …]
/third_party/node/deps/v8/src/snapshot/
Ddeserializer.h298 return string_; in GetHandleForInsertion()
302 Handle<String> string_;

12