Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Dvalue_conversion.h34 inline bool FromValue(const base::Value& in_value, bool* out_value) { in FromValue() argument
35 return in_value.GetAsBoolean(out_value); in FromValue()
38 inline bool FromValue(const base::Value& in_value, int* out_value) { in FromValue() argument
39 return in_value.GetAsInteger(out_value); in FromValue()
42 inline bool FromValue(const base::Value& in_value, double* out_value) { in FromValue() argument
43 return in_value.GetAsDouble(out_value); in FromValue()
46 inline bool FromValue(const base::Value& in_value, std::string* out_value) { in FromValue() argument
47 return in_value.GetAsString(out_value); in FromValue()
50 inline bool FromValue(const base::Value& in_value, in FromValue() argument
52 return in_value.GetAsList(out_value); in FromValue()
[all …]
Dvalue_conversion.cc22 bool FromValue(const base::Value& in_value, in FromValue() argument
25 if (!in_value.GetAsList(&list)) in FromValue()
31 bool FromValue(const base::Value& in_value, in FromValue() argument
34 if (!in_value.GetAsDictionary(&dict)) in FromValue()
Dvalue_conversion_unittest.cc103 auto in_value = ParseValue("[1, 2, 'foo']"); in TEST() local
104 EXPECT_TRUE(FromValue(*in_value, &list)); in TEST()
110 auto in_value = ParseValue("{'foo':'bar','baz': 1}"); in TEST() local
111 EXPECT_TRUE(FromValue(*in_value, &dict)); in TEST()
/external/libchrome/base/
Dvalues.cc176 FundamentalValue::FundamentalValue(bool in_value) in FundamentalValue() argument
177 : Value(TYPE_BOOLEAN), boolean_value_(in_value) { in FundamentalValue()
180 FundamentalValue::FundamentalValue(int in_value) in FundamentalValue() argument
181 : Value(TYPE_INTEGER), integer_value_(in_value) { in FundamentalValue()
184 FundamentalValue::FundamentalValue(double in_value) in FundamentalValue() argument
185 : Value(TYPE_DOUBLE), double_value_(in_value) { in FundamentalValue()
258 StringValue::StringValue(const std::string& in_value) in StringValue() argument
260 value_(in_value) { in StringValue()
261 DCHECK(IsStringUTF8(in_value)); in StringValue()
264 StringValue::StringValue(const string16& in_value) in StringValue() argument
[all …]
Dvalues.h127 explicit FundamentalValue(bool in_value);
128 explicit FundamentalValue(int in_value);
129 explicit FundamentalValue(double in_value);
152 explicit StringValue(const std::string& in_value);
155 explicit StringValue(const string16& in_value);
242 void Set(const std::string& path, scoped_ptr<Value> in_value);
244 void Set(const std::string& path, Value* in_value);
248 void SetBoolean(const std::string& path, bool in_value);
249 void SetInteger(const std::string& path, int in_value);
250 void SetDouble(const std::string& path, double in_value);
[all …]
/external/libweave/third_party/chromium/base/
Dvalues.cc172 FundamentalValue::FundamentalValue(bool in_value) in FundamentalValue() argument
173 : Value(TYPE_BOOLEAN), boolean_value_(in_value) { in FundamentalValue()
176 FundamentalValue::FundamentalValue(int in_value) in FundamentalValue() argument
177 : Value(TYPE_INTEGER), integer_value_(in_value) { in FundamentalValue()
180 FundamentalValue::FundamentalValue(double in_value) in FundamentalValue() argument
181 : Value(TYPE_DOUBLE), double_value_(in_value) { in FundamentalValue()
254 StringValue::StringValue(const std::string& in_value) in StringValue() argument
256 value_(in_value) { in StringValue()
257 DCHECK(IsStringUTF8(in_value)); in StringValue()
384 void DictionaryValue::Set(const std::string& path, scoped_ptr<Value> in_value) { in Set() argument
[all …]
Dvalues.h125 explicit FundamentalValue(bool in_value);
126 explicit FundamentalValue(int in_value);
127 explicit FundamentalValue(double in_value);
150 explicit StringValue(const std::string& in_value);
236 void Set(const std::string& path, scoped_ptr<Value> in_value);
238 void Set(const std::string& path, Value* in_value);
242 void SetBoolean(const std::string& path, bool in_value);
243 void SetInteger(const std::string& path, int in_value);
244 void SetDouble(const std::string& path, double in_value);
245 void SetString(const std::string& path, const std::string& in_value);
[all …]
/external/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/
DItaniumABILanguageRuntime.cpp38 ItaniumABILanguageRuntime::CouldHaveDynamicValue (ValueObject &in_value) in CouldHaveDynamicValue() argument
42 return in_value.GetClangType().IsPossibleDynamicType (NULL, check_cxx, check_objc); in CouldHaveDynamicValue()
46 ItaniumABILanguageRuntime::GetDynamicTypeAndAddress (ValueObject &in_value, in GetDynamicTypeAndAddress() argument
62 if (CouldHaveDynamicValue (in_value)) in GetDynamicTypeAndAddress()
66 lldb::addr_t original_ptr = in_value.GetPointerValue(&address_type); in GetDynamicTypeAndAddress()
70 ExecutionContext exe_ctx (in_value.GetExecutionContextRef()); in GetDynamicTypeAndAddress()
115 in_value.GetTypeName().GetCString(), in GetDynamicTypeAndAddress()
160 in_value.GetTypeName().AsCString(), in GetDynamicTypeAndAddress()
179 in_value.GetTypeName().AsCString(), in GetDynamicTypeAndAddress()
196 in_value.GetTypeName().AsCString(), in GetDynamicTypeAndAddress()
[all …]
DItaniumABILanguageRuntime.h35 GetDynamicTypeAndAddress (ValueObject &in_value,
41 CouldHaveDynamicValue (ValueObject &in_value);
/external/lldb/test/functionalities/return-value/
DTestReturnValue.py48 in_value = thread.GetFrameAtIndex(0).FindVariable ("value")
50 self.assertTrue (in_value.IsValid())
51 num_in_children = in_value.GetNumChildren()
57 in_child = in_value.GetChildAtIndex (idx)
79 in_child = in_value.GetChildAtIndex(idx)
171 in_value = frame.FindVariable ("value")
172 in_float = float (in_value.GetValue())
/external/lldb/include/lldb/Target/
DLanguageRuntime.h49 GetDynamicTypeAndAddress (ValueObject &in_value,
57 CouldHaveDynamicValue (ValueObject &in_value) = 0;
DObjCLanguageRuntime.h256 GetClassDescriptor (ValueObject& in_value);
259 GetNonKVOClassDescriptor (ValueObject& in_value);
DProcess.h3404 IsPossibleDynamicValue (ValueObject& in_value);
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCRuntime.h41 CouldHaveDynamicValue (ValueObject &in_value);
44 GetDynamicTypeAndAddress (ValueObject &in_value,
DAppleObjCRuntimeV1.cpp50 AppleObjCRuntimeV1::GetDynamicTypeAndAddress (ValueObject &in_value, in GetDynamicTypeAndAddress() argument
56 if (CouldHaveDynamicValue(in_value)) in GetDynamicTypeAndAddress()
58 auto class_descriptor(GetClassDescriptor(in_value)); in GetDynamicTypeAndAddress()
61 const addr_t object_ptr = in_value.GetPointerValue(); in GetDynamicTypeAndAddress()
DAppleObjCRuntime.cpp223 AppleObjCRuntime::CouldHaveDynamicValue (ValueObject &in_value) in CouldHaveDynamicValue() argument
225 return in_value.GetClangType().IsPossibleDynamicType (NULL, in CouldHaveDynamicValue()
231 AppleObjCRuntime::GetDynamicTypeAndAddress (ValueObject &in_value, in GetDynamicTypeAndAddress() argument
DAppleObjCRuntimeV2.h37 GetDynamicTypeAndAddress (ValueObject &in_value,
97 GetClassDescriptor (ValueObject& in_value);
DAppleObjCRuntimeV1.h97 GetDynamicTypeAndAddress (ValueObject &in_value,
DAppleObjCRuntimeV2.cpp362 AppleObjCRuntimeV2::GetDynamicTypeAndAddress (ValueObject &in_value, in GetDynamicTypeAndAddress() argument
368 assert (in_value.GetProcessSP().get() == m_process); in GetDynamicTypeAndAddress()
374 if (CouldHaveDynamicValue (in_value)) in GetDynamicTypeAndAddress()
377 ClassDescriptorSP objc_class_sp (GetNonKVOClassDescriptor (in_value)); in GetDynamicTypeAndAddress()
380 const addr_t object_ptr = in_value.GetPointerValue(); in GetDynamicTypeAndAddress()
/external/libweave/third_party/chromium/base/memory/
Dref_counted.h194 RefCountedData(const T& in_value) : data(in_value) {}
/external/libchrome/base/memory/
Dref_counted.h207 RefCountedData(const T& in_value) : data(in_value) {}
/external/lldb/source/Target/
DProcess.cpp1963 Process::IsPossibleDynamicValue (ValueObject& in_value) in IsPossibleDynamicValue() argument
1965 if (in_value.IsDynamic()) in IsPossibleDynamicValue()
1967 LanguageType known_type = in_value.GetObjectRuntimeLanguage(); in IsPossibleDynamicValue()
1972 return runtime ? runtime->CouldHaveDynamicValue(in_value) : false; in IsPossibleDynamicValue()
1976 if (cpp_runtime && cpp_runtime->CouldHaveDynamicValue(in_value)) in IsPossibleDynamicValue()
1980 return objc_runtime ? objc_runtime->CouldHaveDynamicValue(in_value) : false; in IsPossibleDynamicValue()
/external/lldb/source/API/
DSBValue.cpp226 GetLockedSP(ValueImpl &in_value) in GetLockedSP() argument
228 return in_value.GetSP(m_stop_locker, m_api_locker, m_lock_error); in GetLockedSP()
/external/tinyxml/
Dtinyxml.h848 TiXmlElement (const char * in_value);
/external/sfntly/cpp/src/test/tinyxml/
Dtinyxml.h944 TiXmlElement (const char * in_value);