Searched refs:from_value (Results 1 - 10 of 10) 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/chrome/browser/sync/glue/
H A Dpreference_model_associator.cc259 Value* PreferenceModelAssociator::MergeListValues(const Value& from_value, argument
261 if (from_value.GetType() == Value::TYPE_NULL)
264 return from_value.DeepCopy();
266 DCHECK(from_value.GetType() == Value::TYPE_LIST);
268 const ListValue& from_list_value = static_cast<const ListValue&>(from_value);
281 const Value& from_value,
283 if (from_value.GetType() == Value::TYPE_NULL)
286 return from_value.DeepCopy();
288 DCHECK(from_value.GetType() == Value::TYPE_DICTIONARY);
291 static_cast<const DictionaryValue&>(from_value);
280 MergeDictionaryValues( const Value& from_value, const Value& to_value) argument
298 Value* from_value; local
[all...]
H A Dpreference_model_associator.h119 static Value* MergeListValues(const Value& from_value, const Value& to_value);
120 static Value* MergeDictionaryValues(const Value& from_value,
/external/llvm/bindings/python/llvm/tests/
H A Dtest_core.py11 op = OpCode.from_value(1)
/external/chromium_org/chrome/browser/prefs/
H A Dpref_model_associator.cc269 Value* PrefModelAssociator::MergeListValues(const Value& from_value, argument
271 if (from_value.GetType() == Value::TYPE_NULL)
274 return from_value.DeepCopy();
276 DCHECK(from_value.GetType() == Value::TYPE_LIST);
278 const ListValue& from_list_value = static_cast<const ListValue&>(from_value);
291 const Value& from_value,
293 if (from_value.GetType() == Value::TYPE_NULL)
296 return from_value.DeepCopy();
298 DCHECK_EQ(from_value.GetType(), Value::TYPE_DICTIONARY);
301 static_cast<const DictionaryValue&>(from_value);
290 MergeDictionaryValues( const Value& from_value, const Value& to_value) argument
308 const Value* from_value = &it.value(); local
[all...]
H A Dpref_model_associator.h129 const base::Value& from_value, const base::Value& to_value);
130 static base::Value* MergeDictionaryValues(const base::Value& from_value,
/external/llvm/bindings/python/llvm/
H A Dcore.py40 def from_value(value): member in class:OpCode
/external/chromium_org/chrome/browser/extensions/api/permissions/
H A Dpermissions_api_helpers_unittest.cc67 scoped_refptr<PermissionSet> from_value; local
71 from_value = UnpackPermissionSet(permissions_object, true, &error);
74 EXPECT_EQ(*permission_set.get(), *from_value.get());
/external/chromium_org/v8/src/
H A Dheap-snapshot-generator.cc402 void* from_value = entries_map_.Remove(from, ComputePointerHash(from)); local
403 if (from_value == NULL) {
427 static_cast<int>(reinterpret_cast<intptr_t>(from_value));
429 to_entry->value = from_value;
/external/clang/bindings/python/clang/
H A Dcindex.py452 def from_value(value): member in class:TokenKind
2538 return TokenKind.from_value(conf.lib.clang_getTokenKind(self))

Completed in 263 milliseconds