Home
last modified time | relevance | path

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

/external/v8/src/
Dast-value-factory.cc57 : string_(string) {} in AstRawStringInternalizationKey()
60 if (string_->is_one_byte_) in IsMatch()
61 return String::cast(other)->IsOneByteEqualTo(string_->literal_bytes_); in IsMatch()
63 Vector<const uint16_t>::cast(string_->literal_bytes_)); in IsMatch()
67 return string_->hash() >> Name::kHashShift; in Hash()
75 if (string_->is_one_byte_) in AsHandle()
77 string_->literal_bytes_, string_->hash()); in AsHandle()
79 Vector<const uint16_t>::cast(string_->literal_bytes_), string_->hash()); in AsHandle()
83 const AstRawString* string_; member in v8::internal::AstRawStringInternalizationKey
88 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_;
151 return string_; in AsString()
166 return type_ == STRING && string_ == string; in EqualsString()
178 return string_->string(); in value()
199 explicit AstValue(const AstRawString* s) : type_(STRING) { string_ = s; } in AstValue()
224 const AstRawString* string_; member
Dtoken.cc19 const char* const Token::string_[NUM_TOKENS] = { member in v8::internal::Token
Dtoken.h278 return string_[tok]; in String()
290 static const char* const string_[NUM_TOKENS]; variable
Dscanner-character-streams.cc131 : string_(data), in GenericStringUtf16CharacterStream()
155 String::WriteToFlat<uc16>(*string_, buffer_, from_pos, from_pos + length); in FillBuffer()
Dscanner-character-streams.h51 Handle<String> string_; variable
Dobjects-inl.h502 : string_(string), hash_field_(0), seed_(seed) { } in SequentialStringKey()
505 hash_field_ = StringHasher::HashSequentialString<Char>(string_.start(), in Hash()
506 string_.length(), in Hash()
519 Vector<const Char> string_; variable
531 return String::cast(string)->IsOneByteEqualTo(string_); in IsMatch()
541 : string_(string), from_(from), length_(length) { in SeqOneByteSubStringKey()
542 DCHECK(string_->IsSeqOneByteString()); in SeqOneByteSubStringKey()
547 DCHECK(from_ + length_ <= string_->length()); in Hash()
548 const uint8_t* chars = string_->GetChars() + from_; in Hash()
550 chars, length_, string_->GetHeap()->HashSeed()); in Hash()
[all …]
Dserialize.cc719 : string_(string), hash_(HashForObject(string)) { in StringTableInsertionKey()
728 return string_->SlowEquals(String::cast(string)); in IsMatch()
739 return handle(string_, isolate); in AsHandle()
742 String* string_; member in v8::internal::StringTableInsertionKey
Dobjects.cc13614 : string_(string), in RegExpKey()
13623 return string_->Equals(String::cast(val->get(JSRegExp::kSourceIndex))) in IsMatch()
13627 uint32_t Hash() OVERRIDE { return RegExpHash(*string_, flags_); } in Hash()
13646 Handle<String> string_; member in v8::internal::RegExpKey
13653 return isolate->factory()->NewOneByteInternalizedString(string_, hash_field_); in AsHandle()
13659 return isolate->factory()->NewTwoByteInternalizedString(string_, hash_field_); in AsHandle()
13666 string_, from_, length_, hash_field_); in AsHandle()
13671 Vector<const uint8_t> chars(string_->GetChars() + from_, length_); in IsMatch()
13680 : string_(string) { } in InternalizedStringKey()
13683 return String::cast(string)->Equals(*string_); in IsMatch()
[all …]
/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/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollationElementIterator.java127 … private String string_; // TODO: needed in Java? if so, then add a UCharacterIterator field too? field in CollationElementIterator
387 iter_.resetToOffset(string_.length()); in previous()
467 if (0 < newOffset && newOffset < string_.length()) { in setOffset()
470 char c = string_.charAt(offset); in setOffset()
472 … (Character.isHighSurrogate(c) && !rbc_.isUnsafe(string_.codePointAt(offset)))) { in setOffset()
510 string_ = source; // TODO: do we need to remember the source string in a field? in setText()
514 newIter = new UTF16CollationIterator(rbc_.data, numeric, string_, 0); in setText()
516 newIter = new FCDUTF16CollationIterator(rbc_.data, numeric, string_, 0); in setText()
533 string_ = source.getText(); // TODO: do we need to remember the source string in a field? in setText()
576 string_ = src.getText(); // TODO: do we need to remember the source string in a field? in setText()
[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/jsoncpp/src/lib_json/
Djson_value.cpp290 value_.string_ = 0; in Value()
381 value_.string_ = duplicateStringValue( value ); in Value()
394 value_.string_ = duplicateStringValue( beginValue, in Value()
407 value_.string_ = duplicateStringValue( value.c_str(), in Value()
420 value_.string_ = const_cast<char *>( value.c_str() ); in Value()
433 value_.string_ = duplicateStringValue( value, value.length() ); in Value()
467 if ( other.value_.string_ ) in Value()
469 value_.string_ = duplicateStringValue( other.value_.string_ ); in Value()
473 value_.string_ = 0; in Value()
516 releaseStringValue( value_.string_ ); in ~Value()
[all …]
/external/jsoncpp/chromium-overrides/src/lib_json/
Djson_value.cpp294 value_.string_ = 0; in Value()
385 value_.string_ = duplicateStringValue( value ); in Value()
398 value_.string_ = duplicateStringValue( beginValue, in Value()
411 value_.string_ = duplicateStringValue( value.c_str(), in Value()
424 value_.string_ = const_cast<char *>( value.c_str() ); in Value()
437 value_.string_ = duplicateStringValue( value, value.length() ); in Value()
471 if ( other.value_.string_ ) in Value()
473 value_.string_ = duplicateStringValue( other.value_.string_ ); in Value()
477 value_.string_ = 0; in Value()
520 releaseStringValue( value_.string_ ); in ~Value()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dcoleitr.h375 UnicodeString string_; variable
/external/jsoncpp/src/test_lib_json/
Dmain.cpp57 Json::Value string_; member
72 , string_( "sometext with space" ) in ValueTest()
166 JSONTEST_ASSERT_PRED( checkMemberCount(string_, 0) ); in JSONTEST_FIXTURE()
291 JSONTEST_ASSERT_PRED( checkIs( string_, checks ) ); in JSONTEST_FIXTURE()
/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
/external/jsoncpp/chromium-overrides/include/json/
Dvalue.h490 char *string_; member
/external/jsoncpp/include/json/
Dvalue.h490 char *string_; member
/external/bison/
DChangeLog-20125402 Add string.h, string_.h, unistd_.h, wchar_.h.