Home
last modified time | relevance | path

Searched refs:GetType (Results 1 – 25 of 149) sorted by relevance

123456

/external/chromium/chrome/browser/sync/glue/
Dpreference_model_associator.cc78 } else if (!new_value->IsType(pref->GetType())) { in InitPrefNodeAndAssociate()
80 << " is of type " << new_value->GetType() in InitPrefNodeAndAssociate()
81 << " which doesn't match pref type " << pref->GetType(); in InitPrefNodeAndAssociate()
261 if (from_value.GetType() == Value::TYPE_NULL) in MergeListValues()
263 if (to_value.GetType() == Value::TYPE_NULL) in MergeListValues()
266 DCHECK(from_value.GetType() == Value::TYPE_LIST); in MergeListValues()
267 DCHECK(to_value.GetType() == Value::TYPE_LIST); in MergeListValues()
283 if (from_value.GetType() == Value::TYPE_NULL) in MergeDictionaryValues()
285 if (to_value.GetType() == Value::TYPE_NULL) in MergeDictionaryValues()
288 DCHECK(from_value.GetType() == Value::TYPE_DICTIONARY); in MergeDictionaryValues()
[all …]
/external/chromium/chrome/browser/prefs/
Dpref_service.cc430 const Value::ValueType type = default_store_->GetType(pref_name); in FindPreference()
456 if (value->GetType() != Value::TYPE_DICTIONARY) { in GetDictionary()
472 if (value->GetType() != Value::TYPE_LIST) { in GetList()
500 Value::ValueType orig_type = default_value->GetType(); in RegisterPreference()
528 if (pref->GetType() != value.GetType()) { in Set()
530 << " of type " << pref->GetType() in Set()
531 << " to value of type " << value.GetType(); in Set()
599 if (pref->GetType() != type) { in GetMutableUserPref()
636 if (pref->GetType() != new_value->GetType()) { in SetUserPrefValue()
638 << " of type " << pref->GetType() in SetUserPrefValue()
[all …]
Ddefault_pref_store.cc16 Value::ValueType DefaultPrefStore::GetType(const std::string& key) const { in GetType() function in DefaultPrefStore
18 return GetValue(key, &value) == READ_OK ? value->GetType() in GetType()
Doverlay_persistent_pref_store_unittest.cc128 ASSERT_TRUE(modify->GetType() == Value::TYPE_DICTIONARY); in TEST_F()
135 ASSERT_TRUE(original_in_underlay->GetType() == Value::TYPE_DICTIONARY); in TEST_F()
141 ASSERT_TRUE(modified->GetType() == Value::TYPE_DICTIONARY); in TEST_F()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DCommonTreeNodeStream.cs161 return TreeAdaptor.GetType(o) == CharStreamConstants.EndOfFile; in IsEndOfFile()
165 return TreeAdaptor.GetType(LT(i)); in LA()
209 int type = TreeAdaptor.GetType(o); in ToTokenTypeString()
215 type = TreeAdaptor.GetType(o); in ToTokenTypeString()
DTreeWizard.cs226 int ttype = adaptor.GetType(t); in IndexCore()
284 tpattern.GetType() == typeof(WildcardTreePattern)) { in Find()
320 if (adaptor.GetType(t) == ttype) { in VisitCore()
368 tpattern.GetType() == typeof(WildcardTreePattern)) { in Visit()
421 if (tpattern.GetType() != typeof(WildcardTreePattern)) { in ParseCore()
422 if (adaptor.GetType(t1) != tpattern.Type) { in ParseCore()
507 if (adaptor.GetType(t1) != adaptor.GetType(t2)) { in EqualsCore()
DBufferedTreeNodeStream.cs385 return adaptor.GetType(LT(i)); in LA()
478 buf.Append(adaptor.GetType(t)); in ToTokenTypeString()
520 if (adaptor.GetType(stop) == TokenTypes.Up) { in ToString()
522 } else if (adaptor.GetType(stop) == TokenTypes.EndOfFile) { in ToString()
542 text = " " + adaptor.GetType(t).ToString(); in ToString()
551 text2 = " " + adaptor.GetType(stop).ToString(); in ToString()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DCommonTreeNodeStream.cs186 return TreeAdaptor.GetType(o) == CharStreamConstants.EndOfFile; in IsEndOfFile()
191 return TreeAdaptor.GetType( LT( i ) ); in LA()
242 int type = TreeAdaptor.GetType( o ); in ToTokenTypeString()
249 type = TreeAdaptor.GetType( o ); in ToTokenTypeString()
DTreeWizard.cs256 int ttype = adaptor.GetType( t ); in IndexCore()
325 tpattern.GetType() == typeof( WildcardTreePattern ) ) in Find()
368 if ( adaptor.GetType( t ) == ttype ) in VisitCore()
423 tpattern.GetType() == typeof( WildcardTreePattern ) ) in Visit()
481 if ( tpattern.GetType() != typeof( WildcardTreePattern ) ) in ParseCore()
483 if ( adaptor.GetType( t1 ) != tpattern.Type ) in ParseCore()
579 if ( adaptor.GetType( t1 ) != adaptor.GetType( t2 ) ) in EqualsCore()
DBufferedTreeNodeStream.cs455 return adaptor.GetType( LT( i ) ); in LA()
569 buf.Append( adaptor.GetType( t ) ); in ToTokenTypeString()
618 if ( adaptor.GetType( stop ) == TokenTypes.Up ) in ToString()
622 else if ( adaptor.GetType( stop ) == TokenTypes.EndOfFile ) in ToString()
647 text = " " + adaptor.GetType( t ).ToString(); in ToString()
657 text2 = " " + adaptor.GetType( stop ).ToString(); in ToString()
/external/chromium/chrome/browser/bookmarks/
Dbookmark_codec.cc119 if (value.GetType() != Value::TYPE_DICTIONARY) in DecodeHelper()
130 if (checksum_value->GetType() != Value::TYPE_STRING) in DecodeHelper()
141 if (roots->GetType() != Value::TYPE_DICTIONARY) in DecodeHelper()
148 root_folder_value->GetType() != Value::TYPE_DICTIONARY || in DecodeHelper()
150 other_folder_value->GetType() != Value::TYPE_DICTIONARY) in DecodeHelper()
176 if (child_value->GetType() != Value::TYPE_DICTIONARY) in DecodeChildren()
262 if (child_values->GetType() != Value::TYPE_LIST) in DecodeNode()
Dbookmark_html_writer.cc106 bookmarks_->GetType() != Value::TYPE_DICTIONARY || in RunImpl()
109 roots->GetType() != Value::TYPE_DICTIONARY) { in RunImpl()
119 root_folder_value->GetType() != Value::TYPE_DICTIONARY || in RunImpl()
122 other_folder_value->GetType() != Value::TYPE_DICTIONARY) { in RunImpl()
285 child_values->GetType() != Value::TYPE_LIST) { in WriteNode()
323 child_value->GetType() != Value::TYPE_DICTIONARY) { in WriteNode()
Dbookmark_codec_unittest.cc64 ASSERT_EQ(Value::TYPE_DICTIONARY, value->GetType()); in GetBookmarksBarChildValue()
69 ASSERT_EQ(Value::TYPE_DICTIONARY, roots->GetType()); in GetBookmarksBarChildValue()
75 ASSERT_EQ(Value::TYPE_DICTIONARY, bb_value->GetType()); in GetBookmarksBarChildValue()
81 ASSERT_EQ(Value::TYPE_LIST, bb_children_value->GetType()); in GetBookmarksBarChildValue()
86 ASSERT_EQ(Value::TYPE_DICTIONARY, child_value->GetType()); in GetBookmarksBarChildValue()
/external/chromium/base/
Dvalues.cc18 switch (node->GetType()) { in CopyWithoutEmptyChildren()
186 switch (GetType()) { in DeepCopy()
203 if (other->GetType() != GetType()) in Equals()
206 switch (GetType()) { in Equals()
258 if (other->GetType() != GetType()) in Equals()
296 if (other->GetType() != GetType()) in Equals()
662 if (other->GetType() != GetType()) in Equals()
877 if (other->GetType() != GetType()) in Equals()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DTraceDebugEventListener.cs68 int type = adaptor.GetType(t); in ConsumeNode()
75 int type = adaptor.GetType(t); in LT()
91 int type = adaptor.GetType(t); in CreateNode()
DDebugEventSocketProxy.cs223 buf.Append(e.GetType().Name); in RecognitionException()
262 int type = adaptor.GetType(t); in LT()
273 int type = adaptor.GetType(t); in SerializeNode()
320 int type = adaptor.GetType(t); in CreateNode()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DTraceDebugEventListener.cs77 int type = adaptor.GetType( t ); in ConsumeNode()
85 int type = adaptor.GetType( t ); in LT()
103 int type = adaptor.GetType( t ); in CreateNode()
DDebugEventSocketProxy.cs257 buf.Append( e.GetType().Name ); in RecognitionException()
301 int type = adaptor.GetType( t ); in LT()
313 int type = adaptor.GetType( t ); in SerializeNode()
364 int type = adaptor.GetType( t ); in CreateNode()
DDebugTreeNodeStream.cs145 int type = adaptor.GetType( node ); in LT()
155 int type = adaptor.GetType( node ); in LA()
/external/chromium/chrome/browser/task_manager/
Dtask_manager_resource_providers.h44 virtual Type GetType() const OVERRIDE;
90 virtual Type GetType() const OVERRIDE;
149 virtual Type GetType() const OVERRIDE;
273 virtual Type GetType() const OVERRIDE;
361 virtual Type GetType() const OVERRIDE;
436 virtual Type GetType() const OVERRIDE;
501 virtual Type GetType() const OVERRIDE;
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message_field.cc62 (GetType(descriptor) == FieldDescriptor::TYPE_GROUP) ? in SetMessageVariables()
153 if (GetType(descriptor_) == FieldDescriptor::TYPE_GROUP) { in GenerateParsingCode()
299 if (GetType(descriptor_) == FieldDescriptor::TYPE_GROUP) { in GenerateParsingCode()
Djava_helpers.cc61 if (GetType(field) == FieldDescriptor::TYPE_GROUP) { in FieldName()
182 FieldDescriptor::Type GetType(const FieldDescriptor* field) { in GetType() function
187 switch (GetType(field)) { in GetJavaType()
302 if (GetType(field) == FieldDescriptor::TYPE_BYTES) { in DefaultValue()
Djava_primitive_field.cc96 switch (GetType(field)) { in GetCapitalizedType()
169 WireFormat::TagSize(descriptor->number(), GetType(descriptor))); in SetPrimitiveVariables()
178 int fixed_size = FixedSize(GetType(descriptor)); in SetPrimitiveVariables()
422 if (FixedSize(GetType(descriptor_)) == -1) { in GenerateSerializedSizeCode()
/external/v8/include/
Dv8-profiler.h228 Type GetType() const;
264 Type GetType() const;
329 Type GetType() const;
/external/chromium/chrome/common/
Djson_schema_validator.cc27 CHECK(false) << "Unexpected value type: " << value->GetType(); in GetNumberValue()
93 switch (value->GetType()) { in GetJSONSchemaType()
117 CHECK(false) << "Unexpected value type: " << value->GetType(); in GetJSONSchemaType()
263 switch (choice->GetType()) { in ValidateEnum()
281 CHECK(false) << "Unexpected type in enum: " << choice->GetType(); in ValidateEnum()
392 if (item_value && item_value->GetType() != Value::TYPE_NULL) { in ValidateTuple()

123456