Home
last modified time | relevance | path

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

12

/external/v8/src/ast/
Dast-value-factory.cc58 : string_(string) {} in AstRawStringInternalizationKey()
61 if (string_->is_one_byte_) in IsMatch()
62 return String::cast(other)->IsOneByteEqualTo(string_->literal_bytes_); in IsMatch()
64 Vector<const uint16_t>::cast(string_->literal_bytes_)); in IsMatch()
67 uint32_t Hash() override { return string_->hash() >> Name::kHashShift; } in Hash()
74 if (string_->is_one_byte_) in AsHandle()
76 string_->literal_bytes_, string_->hash()); in AsHandle()
78 Vector<const uint16_t>::cast(string_->literal_bytes_), string_->hash()); in AsHandle()
82 const AstRawString* string_; member in v8::internal::AstRawStringInternalizationKey
87 if (!string_.is_null()) return; in Internalize()
[all …]
Dast-value-factory.h55 DCHECK(!string_.is_null()); in string()
56 return string_; in string()
61 Handle<String> string_;
150 return string_; in AsString()
165 return type_ == STRING && string_ == string; in EqualsString()
179 return string_->string(); in value()
200 explicit AstValue(const AstRawString* s) : type_(STRING) { string_ = s; } in AstValue()
228 const AstRawString* string_; member
/external/icu/icu4c/source/i18n/
Dcoleitr.cpp154 string_ == that.string_ && in operator ==()
175 iter_->resetToOffset(string_.length()); in previous()
231 if (0 < newOffset && newOffset < string_.length()) { in setOffset()
234 UChar c = string_.charAt(offset); in setOffset()
236 (U16_IS_LEAD(c) && !rbc_->isUnsafe(string_.char32At(offset)))) { in setOffset()
277 string_ = source; in setText()
278 const UChar *s = string_.getBuffer(); in setText()
282 newIter = new UTF16CollationIterator(rbc_->data, numeric, s, s, s + string_.length()); in setText()
284 newIter = new FCDUTF16CollationIterator(rbc_->data, numeric, s, s, s + string_.length()); in setText()
303 source.getText(string_); in setText()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCollationElementIterator.java123 … private String string_; // TODO: needed in Java? if so, then add a UCharacterIterator field too? field in CollationElementIterator
372 iter_.resetToOffset(string_.length()); in previous()
449 if (0 < newOffset && newOffset < string_.length()) { in setOffset()
452 char c = string_.charAt(offset); in setOffset()
454 … (Character.isHighSurrogate(c) && !rbc_.isUnsafe(string_.codePointAt(offset)))) { in setOffset()
491 string_ = source; // TODO: do we need to remember the source string in a field? in setText()
495 newIter = new UTF16CollationIterator(rbc_.data, numeric, string_, 0); in setText()
497 newIter = new FCDUTF16CollationIterator(rbc_.data, numeric, string_, 0); in setText()
513 string_ = source.getText(); // TODO: do we need to remember the source string in a field? in setText()
555 string_ = src.getText(); // TODO: do we need to remember the source string in a field? in setText()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollationElementIterator.java123 … private String string_; // TODO: needed in Java? if so, then add a UCharacterIterator field too? field in CollationElementIterator
383 iter_.resetToOffset(string_.length()); in previous()
463 if (0 < newOffset && newOffset < string_.length()) { in setOffset()
466 char c = string_.charAt(offset); in setOffset()
468 … (Character.isHighSurrogate(c) && !rbc_.isUnsafe(string_.codePointAt(offset)))) { in setOffset()
506 string_ = source; // TODO: do we need to remember the source string in a field? in setText()
510 newIter = new UTF16CollationIterator(rbc_.data, numeric, string_, 0); in setText()
512 newIter = new FCDUTF16CollationIterator(rbc_.data, numeric, string_, 0); in setText()
529 string_ = source.getText(); // TODO: do we need to remember the source string in a field? in setText()
572 string_ = src.getText(); // TODO: do we need to remember the source string in a field? in setText()
[all …]
/external/libchrome/base/json/
Djson_parser.cc291 string_(NULL) { in StringBuilder()
297 string_(NULL) { in StringBuilder()
301 std::swap(other->string_, string_); in Swap()
307 delete string_; in ~StringBuilder()
314 if (string_) in Append()
315 string_->push_back(c); in Append()
321 DCHECK(string_); in AppendString()
322 string_->append(str); in AppendString()
326 if (string_) in Convert()
328 string_ = new std::string(pos_, length_); in Convert()
[all …]
Djson_parser.h137 std::string* string_; variable
/external/libweave/third_party/chromium/base/json/
Djson_parser.cc286 string_(NULL) { in StringBuilder()
292 string_(NULL) { in StringBuilder()
296 std::swap(other->string_, string_); in Swap()
302 delete string_; in ~StringBuilder()
309 if (string_) in Append()
310 string_->push_back(c); in Append()
316 DCHECK(string_); in AppendString()
317 string_->append(str); in AppendString()
321 if (string_) in Convert()
323 string_ = new std::string(pos_, length_); in Convert()
[all …]
Djson_parser.h137 std::string* string_; variable
/external/jsoncpp/src/lib_json/
Djson_value.cpp242 value_.string_ = 0; in Value()
292 value_.string_ = duplicateStringValue(value); in Value()
297 value_.string_ = in Value()
303 value_.string_ = in Value()
309 value_.string_ = const_cast<char*>(value.c_str()); in Value()
315 value_.string_ = duplicateStringValue(value, value.length()); in Value()
341 if (other.value_.string_) { in Value()
342 value_.string_ = duplicateStringValue(other.value_.string_); in Value()
345 value_.string_ = 0; in Value()
385 releaseStringValue(value_.string_); in ~Value()
[all …]
/external/conscrypt/src/compat/native/
DScopedUtfChars.h34 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { in ScopedUtfChars()
45 env_->ReleaseStringUTFChars(string_, utf_chars_); in ~ScopedUtfChars()
63 jstring string_; variable
/external/conscrypt/src/openjdk/native/
DScopedUtfChars.h34 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { in ScopedUtfChars()
45 env_->ReleaseStringUTFChars(string_, utf_chars_); in ~ScopedUtfChars()
63 jstring string_; variable
/external/libchrome/base/strings/
Dnullable_string16.h22 : string_(string), is_null_(is_null) { in NullableString16()
25 const string16& string() const { return string_; } in string()
29 string16 string_;
/external/webrtc/talk/app/webrtc/
Dstatstypes.cc245 value_.string_ = new std::string(value); in Value()
272 delete value_.string_; in ~Value()
306 return *value_.string_ == *other.value_.string_; in Equals()
317 return (type_ == kString && value_.string_->compare(value) == 0) || in operator ==()
323 return value_.string_->compare(value) == 0; in operator ==()
373 return *value_.string_; in string_val()
613 return *value_.string_; in ToString()
Dstatstypes.h319 std::string* string_; member
/external/libchrome/base/test/
Dtrace_event_analyzer.cc197 string_(arg_name), in Query()
208 string_(query.string_), in Query()
415 *str = string_; in GetAsString()
464 *num = (the_event->HasStringArg(string_) ? 1.0 : 0.0); in GetMemberValueAsDouble()
468 *num = (the_event->HasNumberArg(string_) ? 1.0 : 0.0); in GetMemberValueAsDouble()
474 the_event->arg_numbers.find(string_); in GetMemberValueAsDouble()
519 the_event->arg_strings.find(string_); in GetMemberValueAsString()
535 string_(str), in Query()
/external/autotest/client/site_tests/platform_UdevVars/
Dplatform_UdevVars.py15 def natural_key(string_): argument
21 return [int(s) if s.isdigit() else s for s in re.split(r'(\d+)', string_)]
/external/v8/src/
Dstring-builder.h345 : NoExtend<DestChar>(string, 0), string_(string) { in NoExtendString()
350 Handle<SeqString> string = Handle<SeqString>::cast(string_); in Finalize()
353 string_ = Handle<String>(); in Finalize()
358 Handle<String> string_;
Dobjects-inl.h541 : string_(string), hash_field_(0), seed_(seed) { } in SequentialStringKey()
544 hash_field_ = StringHasher::HashSequentialString<Char>(string_.start(), in Hash()
545 string_.length(), in Hash()
558 Vector<const Char> string_; variable
570 return String::cast(string)->IsOneByteEqualTo(string_); in IsMatch()
580 : string_(string), from_(from), length_(length) { in SeqOneByteSubStringKey()
581 DCHECK(string_->IsSeqOneByteString()); in SeqOneByteSubStringKey()
586 DCHECK(from_ + length_ <= string_->length()); in Hash()
587 const uint8_t* chars = string_->GetChars() + from_; in Hash()
589 chars, length_, string_->GetHeap()->HashSeed()); in Hash()
[all …]
/external/v8/src/parsing/
Dtoken.cc20 const char* const Token::string_[NUM_TOKENS] = { member in v8::internal::Token
Dtoken.h304 return string_[tok]; in String()
316 static const char* const string_[NUM_TOKENS]; variable
Dscanner-character-streams.cc134 : string_(data), length_(end_position), bookmark_(kNoBookmark) { in GenericStringUtf16CharacterStream()
171 String::WriteToFlat<uc16>(*string_, buffer_, static_cast<int>(from_pos), in FillBuffer()
Dscanner-character-streams.h60 Handle<String> string_; variable
/external/icu/icu4c/source/i18n/unicode/
Dcoleitr.h375 UnicodeString string_; variable
/external/google-breakpad/src/testing/include/gmock/
Dgmock-matchers.h942 : string_(str), expect_eq_(expect_eq), case_sensitive_(case_sensitive) {} in StrEqualityMatcher()
956 const bool eq = case_sensitive_ ? s == string_ : in MatchAndExplain()
957 CaseInsensitiveStringEquals(s, string_); in MatchAndExplain()
976 UniversalPrint(string_, os); in DescribeToHelper()
979 const StringType string_; variable

12