Home
last modified time | relevance | path

Searched refs:in_value (Results 1 – 16 of 16) 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.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 …]
/external/tensorflow/tensorflow/compiler/tests/
Dlstm.py69 in_value, in_gate, forget_gate, out_gate = array_ops.split(
71 in_value = math_ops.tanh(in_value)
75 c_next = Clip(Clip(forget_gate * c_prev) + Clip(in_gate * 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/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/v8/tools/clang/value_cleanup/tests/
Dvalues.h37 void Append(std::unique_ptr<Value> in_value);
39 bool AppendIfNotPresent(std::unique_ptr<Value> in_value);
/external/deqp/external/vulkancts/data/vulkan/vkrunner/example/
Dsqrt.shader_test5 float in_value;
15 out_value = sqrt(in_value);
/external/deqp-deps/SPIRV-Tools/source/comp/
Dhuffman_codec.h50 Node(const Val& in_value, uint32_t in_left, uint32_t in_right) in Node()
51 : value(in_value), left(in_left), right(in_right) {} in Node()
/external/swiftshader/third_party/SPIRV-Tools/source/comp/
Dhuffman_codec.h50 Node(const Val& in_value, uint32_t in_left, uint32_t in_right) in Node()
51 : value(in_value), left(in_left), right(in_right) {} in Node()
/external/tensorflow/tensorflow/lite/kernels/
Dconv.cc132 const float in_value = input_data[i * cols + j]; in TransposeFloatTensor() local
133 output_data[j * rows + i] = in_value; in TransposeFloatTensor()
/external/tinyxml/
Dtinyxml.h848 TiXmlElement (const char * in_value);
/external/sfntly/cpp/src/test/tinyxml/
Dtinyxml.h944 TiXmlElement (const char * in_value);