Home
last modified time | relevance | path

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

12

/external/libbrillo/brillo/
Dvalue_conversion.h35 inline bool FromValue(const base::Value& in_value, bool* out_value) { in FromValue() argument
36 return in_value.GetAsBoolean(out_value); in FromValue()
39 inline bool FromValue(const base::Value& in_value, int* out_value) { in FromValue() argument
40 return in_value.GetAsInteger(out_value); in FromValue()
43 inline bool FromValue(const base::Value& in_value, double* out_value) { in FromValue() argument
44 return in_value.GetAsDouble(out_value); in FromValue()
47 inline bool FromValue(const base::Value& in_value, std::string* out_value) { in FromValue() argument
48 return in_value.GetAsString(out_value); in FromValue()
51 inline bool FromValue(const base::Value& in_value, in FromValue() argument
53 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_test.cc102 auto in_value = ParseValue("[1, 2, 'foo']"); in TEST() local
103 EXPECT_TRUE(FromValue(*in_value, &list)); in TEST()
109 auto in_value = ParseValue("{'foo':'bar','baz': 1}"); in TEST() local
110 EXPECT_TRUE(FromValue(*in_value, &dict)); in TEST()
/external/libchrome/base/
Dvalues.cc735 Value* DictionaryValue::Set(StringPiece path, std::unique_ptr<Value> in_value) { in Set() argument
737 DCHECK(in_value); in Set()
758 ->SetWithoutPathExpansion(current_path, std::move(in_value)); in Set()
761 Value* DictionaryValue::SetBoolean(StringPiece path, bool in_value) { in SetBoolean() argument
762 return Set(path, std::make_unique<Value>(in_value)); in SetBoolean()
765 Value* DictionaryValue::SetInteger(StringPiece path, int in_value) { in SetInteger() argument
766 return Set(path, std::make_unique<Value>(in_value)); in SetInteger()
769 Value* DictionaryValue::SetDouble(StringPiece path, double in_value) { in SetDouble() argument
770 return Set(path, std::make_unique<Value>(in_value)); in SetDouble()
773 Value* DictionaryValue::SetString(StringPiece path, StringPiece in_value) { in SetString() argument
[all …]
Dvalues.h416 Value* Set(StringPiece path, std::unique_ptr<Value> in_value);
421 Value* SetBoolean(StringPiece path, bool in_value);
423 Value* SetInteger(StringPiece path, int in_value);
425 Value* SetDouble(StringPiece path, double in_value);
427 Value* SetString(StringPiece path, StringPiece in_value);
429 Value* SetString(StringPiece path, const string16& in_value);
432 std::unique_ptr<DictionaryValue> in_value);
434 ListValue* SetList(StringPiece path, std::unique_ptr<ListValue> in_value);
440 std::unique_ptr<Value> in_value);
626 bool Set(size_t index, std::unique_ptr<Value> in_value);
[all …]
Dvalue_conversions.cc35 std::unique_ptr<Value> CreateFilePathValue(const FilePath& in_value) { in CreateFilePathValue() argument
36 return std::make_unique<Value>(in_value.AsUTF8Unsafe()); in CreateFilePathValue()
Dvalue_conversions.h22 const FilePath& in_value);
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/
DItaniumABILanguageRuntime.cpp49 bool ItaniumABILanguageRuntime::CouldHaveDynamicValue(ValueObject &in_value) { in CouldHaveDynamicValue() argument
52 return in_value.GetCompilerType().IsPossibleDynamicType(nullptr, check_cxx, in CouldHaveDynamicValue()
57 ValueObject &in_value, lldb::addr_t original_ptr, in GetTypeInfoFromVTableAddress() argument
84 original_ptr, in_value.GetTypeName().GetCString(), name); in GetTypeInfoFromVTableAddress()
127 original_ptr, in_value.GetTypeName().AsCString(), in GetTypeInfoFromVTableAddress()
143 original_ptr, in_value.GetTypeName().AsCString(), in GetTypeInfoFromVTableAddress()
159 original_ptr, in_value.GetTypeName().AsCString(), in GetTypeInfoFromVTableAddress()
171 original_ptr, in_value.GetTypeName().AsCString()); in GetTypeInfoFromVTableAddress()
186 ValueObject &in_value, lldb::DynamicValueType use_dynamic, in GetDynamicTypeAndAddress() argument
203 if (!CouldHaveDynamicValue(in_value)) in GetDynamicTypeAndAddress()
[all …]
DItaniumABILanguageRuntime.h50 bool GetDynamicTypeAndAddress(ValueObject &in_value,
59 bool CouldHaveDynamicValue(ValueObject &in_value) override;
104 TypeAndOrName GetTypeInfoFromVTableAddress(ValueObject &in_value,
/external/tensorflow/tensorflow/python/kernel_tests/
Dcollective_ops_test.py131 in_value = constant_op.constant([1.])
136 in_value,
144 in_value = constant_op.constant([1.])
152 in_value,
160 in_value,
178 in_value = constant_op.constant([1.])
183 in_value,
191 in_value = constant_op.constant([1.])
199 in_value,
207 in_value,
[all …]
/external/llvm-project/lldb/test/API/functionalities/return-value/
DTestReturnValue.py112 in_value = frame.FindVariable("value")
113 in_float = float(in_value.GetValue())
245 in_value = thread.GetFrameAtIndex(0).FindVariable("value")
247 self.assertTrue(in_value.IsValid())
248 num_in_children = in_value.GetNumChildren()
254 in_child = in_value.GetChildAtIndex(idx)
276 in_child = in_value.GetChildAtIndex(idx)
/external/tensorflow/tensorflow/compiler/tests/
Dlstm.py72 in_value, in_gate, forget_gate, out_gate = array_ops.split(
74 in_value = math_ops.tanh(in_value)
78 c_next = Clip(Clip(forget_gate * c_prev) + Clip(in_gate * in_value))
/external/libchrome/mojo/public/cpp/bindings/tests/
Dstruct_with_traits_impl.cc11 NestedStructWithTraitsImpl::NestedStructWithTraitsImpl(int32_t in_value) in NestedStructWithTraitsImpl() argument
12 : value(in_value) {} in NestedStructWithTraitsImpl()
Dstruct_with_traits_impl.h24 explicit NestedStructWithTraitsImpl(int32_t in_value);
/external/libchrome/base/memory/
Dref_counted.h413 RefCountedData(const T& in_value) : data(in_value) {}
414 RefCountedData(T&& in_value) : data(std::move(in_value)) {}
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCRuntimeV1.cpp48 ValueObject &in_value, lldb::DynamicValueType use_dynamic, in GetDynamicTypeAndAddress() argument
53 if (CouldHaveDynamicValue(in_value)) { in GetDynamicTypeAndAddress()
54 auto class_descriptor(GetClassDescriptor(in_value)); in GetDynamicTypeAndAddress()
57 const addr_t object_ptr = in_value.GetPointerValue(); in GetDynamicTypeAndAddress()
DAppleObjCRuntime.h52 bool CouldHaveDynamicValue(ValueObject &in_value) override;
54 bool GetDynamicTypeAndAddress(ValueObject &in_value,
DAppleObjCRuntimeV2.h50 bool GetDynamicTypeAndAddress(ValueObject &in_value,
73 ClassDescriptorSP GetClassDescriptor(ValueObject &in_value) override;
DAppleObjCRuntime.cpp261 bool AppleObjCRuntime::CouldHaveDynamicValue(ValueObject &in_value) { in CouldHaveDynamicValue() argument
262 return in_value.GetCompilerType().IsPossibleDynamicType( in CouldHaveDynamicValue()
269 ValueObject &in_value, lldb::DynamicValueType use_dynamic, in GetDynamicTypeAndAddress() argument
DAppleObjCRuntimeV1.h94 bool GetDynamicTypeAndAddress(ValueObject &in_value,
/external/llvm-project/lldb/include/lldb/Target/
DLanguageRuntime.h75 virtual bool GetDynamicTypeAndAddress(ValueObject &in_value,
91 virtual bool CouldHaveDynamicValue(ValueObject &in_value) = 0;
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/
DObjCLanguageRuntime.h216 virtual ClassDescriptorSP GetClassDescriptor(ValueObject &in_value);
218 ClassDescriptorSP GetNonKVOClassDescriptor(ValueObject &in_value);
/external/abseil-cpp/absl/strings/
Dnumbers_test.cc251 void VerifySimpleAtoiGood(in_val_type in_value, int_type exp_value) { in VerifySimpleAtoiGood() argument
254 absl::strings_internal::OStringStream(&s) << in_value; in VerifySimpleAtoiGood()
257 << "in_value=" << in_value << " s=" << s << " x=" << x; in VerifySimpleAtoiGood()
265 void VerifySimpleAtoiBad(in_val_type in_value) { in VerifySimpleAtoiBad() argument
266 std::string s = absl::StrCat(in_value); in VerifySimpleAtoiBad()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dnumbers_test.cc252 void VerifySimpleAtoiGood(in_val_type in_value, int_type exp_value) { in VerifySimpleAtoiGood() argument
255 absl::strings_internal::OStringStream(&s) << in_value; in VerifySimpleAtoiGood()
258 << "in_value=" << in_value << " s=" << s << " x=" << x; in VerifySimpleAtoiGood()
266 void VerifySimpleAtoiBad(in_val_type in_value) { in VerifySimpleAtoiBad() argument
267 std::string s = absl::StrCat(in_value); in VerifySimpleAtoiBad()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dnumbers_test.cc251 void VerifySimpleAtoiGood(in_val_type in_value, int_type exp_value) { in VerifySimpleAtoiGood() argument
254 absl::strings_internal::OStringStream(&s) << in_value; in VerifySimpleAtoiGood()
257 << "in_value=" << in_value << " s=" << s << " x=" << x; in VerifySimpleAtoiGood()
265 void VerifySimpleAtoiBad(in_val_type in_value) { in VerifySimpleAtoiBad() argument
266 std::string s = absl::StrCat(in_value); in VerifySimpleAtoiBad()

12