Searched refs:from_value (Results 1 - 8 of 8) sorted by relevance

/external/clang/bindings/python/tests/cindex/
H A Dtest_token_kind.py24 TokenKind.from_value(-1)
34 """Ensure registered values can be obtained from from_value()."""
35 t = TokenKind.from_value(3)
/external/chromium_org/chrome/browser/prefs/
H A Dpref_model_associator.cc363 base::Value* PrefModelAssociator::MergeListValues(const base::Value& from_value, argument
365 if (from_value.GetType() == base::Value::TYPE_NULL)
368 return from_value.DeepCopy();
370 DCHECK(from_value.GetType() == base::Value::TYPE_LIST);
373 static_cast<const base::ListValue&>(from_value);
387 const base::Value& from_value,
389 if (from_value.GetType() == base::Value::TYPE_NULL)
392 return from_value.DeepCopy();
394 DCHECK_EQ(from_value.GetType(), base::Value::TYPE_DICTIONARY);
397 static_cast<const base::DictionaryValue&>(from_value);
386 MergeDictionaryValues( const base::Value& from_value, const base::Value& to_value) argument
404 const base::Value* from_value = &it.value(); local
[all...]
H A Dpref_model_associator.h132 const base::Value& from_value, const base::Value& to_value);
133 static base::Value* MergeDictionaryValues(const base::Value& from_value,
/external/chromium_org/chrome/browser/extensions/api/permissions/
H A Dpermissions_api_helpers_unittest.cc68 scoped_refptr<PermissionSet> from_value; local
72 from_value = UnpackPermissionSet(permissions_object, true, &error);
75 EXPECT_EQ(*permission_set.get(), *from_value.get());
/external/llvm/bindings/python/llvm/tests/
H A Dtest_core.py25 e = enum_cls.from_value(enum_value)
/external/llvm/bindings/python/llvm/
H A Dcore.py50 def from_value(cls, value): member in class:LLVMEnumeration
417 return OpCode.from_value(lib.LLVMGetInstructionOpcode(self))
/external/chromium_org/v8/src/
H A Dheap-snapshot-generator.cc388 void* from_value = entries_map_.Remove(from, ComputePointerHash(from)); local
389 if (from_value == NULL) {
413 static_cast<int>(reinterpret_cast<intptr_t>(from_value));
426 to_entry->value = from_value;
428 return from_value != NULL;
/external/clang/bindings/python/clang/
H A Dcindex.py475 def from_value(value): member in class:TokenKind
2715 return TokenKind.from_value(conf.lib.clang_getTokenKind(self))

Completed in 1123 milliseconds