Searched refs:out_value (Results 1 - 24 of 24) sorted by relevance

/external/libchrome/base/
H A Dvalues.h138 // returned through the |out_value| parameter and true is returned;
139 // otherwise, false is returned and |out_value| is unchanged.
140 bool GetAsBoolean(bool* out_value) const;
141 bool GetAsInteger(int* out_value) const;
142 bool GetAsDouble(double* out_value) const;
143 bool GetAsString(std::string* out_value) const;
144 bool GetAsString(string16* out_value) const;
145 bool GetAsString(const Value** out_value) const;
146 bool GetAsString(StringPiece* out_value) const;
147 bool GetAsBinary(const BinaryValue** out_value) cons
[all...]
H A Dvalues.cc243 bool Value::GetAsBoolean(bool* out_value) const {
244 if (out_value && is_bool()) {
245 *out_value = bool_value_;
251 bool Value::GetAsInteger(int* out_value) const {
252 if (out_value && is_int()) {
253 *out_value = int_value_;
259 bool Value::GetAsDouble(double* out_value) const {
260 if (out_value && is_double()) {
261 *out_value = double_value_;
263 } else if (out_value
311 GetAsList(ListValue** out_value) argument
327 GetAsDictionary(DictionaryValue** out_value) argument
[all...]
H A Dpickle_unittest.cc568 int out_value; local
569 EXPECT_TRUE(iter.ReadInt(&out_value));
570 EXPECT_EQ(42, out_value);
/external/libbrillo/brillo/
H A Dvalue_conversion.h34 inline bool FromValue(const base::Value& in_value, bool* out_value) { argument
35 return in_value.GetAsBoolean(out_value);
38 inline bool FromValue(const base::Value& in_value, int* out_value) { argument
39 return in_value.GetAsInteger(out_value);
42 inline bool FromValue(const base::Value& in_value, double* out_value) { argument
43 return in_value.GetAsDouble(out_value);
46 inline bool FromValue(const base::Value& in_value, std::string* out_value) { argument
47 return in_value.GetAsString(out_value);
51 const base::ListValue** out_value) {
52 return in_value.GetAsList(out_value);
50 FromValue(const base::Value& in_value, const base::ListValue** out_value) argument
55 FromValue(const base::Value& in_value, const base::DictionaryValue** out_value) argument
70 FromValue(const base::Value& in_value, std::vector<T, Alloc>* out_value) argument
86 FromValue(const base::Value& in_value, std::map<std::string, T, Pred, Alloc>* out_value) argument
[all...]
H A Dvalue_conversion.cc23 std::unique_ptr<base::ListValue>* out_value) {
27 out_value->reset(list->DeepCopy());
32 std::unique_ptr<base::DictionaryValue>* out_value) {
36 out_value->reset(dict->DeepCopy());
22 FromValue(const base::Value& in_value, std::unique_ptr<base::ListValue>* out_value) argument
31 FromValue(const base::Value& in_value, std::unique_ptr<base::DictionaryValue>* out_value) argument
/external/mesa3d/src/gallium/drivers/radeon/
H A Dcayman_msaa.c82 unsigned sample_index, float *out_value)
91 out_value[0] = out_value[1] = 0.5;
96 out_value[0] = (float)(val.idx + 8) / 16.0f;
98 out_value[1] = (float)(val.idx + 8) / 16.0f;
103 out_value[0] = (float)(val.idx + 8) / 16.0f;
105 out_value[1] = (float)(val.idx + 8) / 16.0f;
111 out_value[0] = (float)(val.idx + 8) / 16.0f;
113 out_value[1] = (float)(val.idx + 8) / 16.0f;
119 out_value[
81 cayman_get_sample_position(struct pipe_context *ctx, unsigned sample_count, unsigned sample_index, float *out_value) argument
[all...]
H A Dr600_pipe_common.h847 unsigned sample_index, float *out_value);
/external/avb/libavb/
H A Davb_property_descriptor.h94 * returned in |out_value|.
100 uint64_t* out_value)
H A Davb_property_descriptor.c139 uint64_t* out_value) {
179 if (out_value != NULL) {
180 *out_value = parsed_val;
135 avb_property_lookup_uint64(const uint8_t* image_data, size_t image_size, const char* key, size_t key_size, uint64_t* out_value) argument
/external/boringssl/src/crypto/test/
H A Dfile_test.h148 // GetAttribute looks up the attribute with key |key|. It sets |*out_value| to
151 bool GetAttribute(std::string *out_value, const std::string &key);
177 // |*out_value| to the value (empty string if the instruction has no value)
180 bool GetInstruction(std::string *out_value, const std::string &key);
H A Dfile_test.cc255 bool FileTest::GetAttribute(std::string *out_value, const std::string &key) { argument
262 *out_value = iter->second;
278 bool FileTest::GetInstruction(std::string *out_value, const std::string &key) { argument
285 *out_value = iter->second;
/external/libchrome/base/trace_event/
H A Dmemory_allocator_dump_unittest.cc64 const Value* out_value = nullptr; local
71 EXPECT_TRUE(arg->Get("value", &out_value));
72 return out_value ? out_value->CreateDeepCopy() : std::unique_ptr<Value>();
/external/mesa3d/src/amd/vulkan/
H A Dsi_cmd_buffer.c1097 unsigned sample_index, float *out_value)
1106 out_value[0] = out_value[1] = 0.5;
1111 out_value[0] = (float)(val.idx + 8) / 16.0f;
1113 out_value[1] = (float)(val.idx + 8) / 16.0f;
1118 out_value[0] = (float)(val.idx + 8) / 16.0f;
1120 out_value[1] = (float)(val.idx + 8) / 16.0f;
1126 out_value[0] = (float)(val.idx + 8) / 16.0f;
1128 out_value[1] = (float)(val.idx + 8) / 16.0f;
1134 out_value[
1095 radv_cayman_get_sample_position(struct radv_device *device, unsigned sample_count, unsigned sample_index, float *out_value) argument
[all...]
/external/v8/src/compiler/
H A Dcode-assembler.cc211 bool CodeAssembler::ToInt32Constant(Node* node, int32_t& out_value) { argument
216 out_value = static_cast<int32_t>(m.Value());
223 bool CodeAssembler::ToInt64Constant(Node* node, int64_t& out_value) { argument
225 if (m.HasValue()) out_value = m.Value();
229 bool CodeAssembler::ToSmiConstant(Node* node, Smi*& out_value) { argument
237 out_value = Smi::cast(bit_cast<Object*>(m.Value()));
243 bool CodeAssembler::ToIntPtrConstant(Node* node, intptr_t& out_value) { argument
249 if (m.HasValue()) out_value = m.Value();
H A Dcode-assembler.h225 bool ToInt32Constant(Node* node, int32_t& out_value);
226 bool ToInt64Constant(Node* node, int64_t& out_value);
227 bool ToSmiConstant(Node* node, Smi*& out_value);
228 bool ToIntPtrConstant(Node* node, intptr_t& out_value);
/external/mesa3d/src/gallium/drivers/ilo/
H A Dilo_draw.c624 float *out_value)
630 &out_value[0], &out_value[1]);
621 ilo_get_sample_position(struct pipe_context *pipe, unsigned sample_count, unsigned sample_index, float *out_value) argument
/external/deqp/external/openglcts/modules/gl/
H A Dgl4cCopyImageTests.cpp123 static void readChannel(glw::GLenum type, glw::GLuint channel, const glw::GLubyte* pixel, glw::GLdouble& out_value);
1654 * @param out_value Read value
1657 void readBaseTypeFromUnsignedChannel(GLuint channel, const GLubyte* pixel, GLdouble& out_value) argument
1666 out_value = d_value / d_max;
1675 * @param out_value Read value
1678 void readBaseTypeFromSignedChannel(GLuint channel, const GLubyte* pixel, GLdouble& out_value) argument
1689 out_value = d_value / d_max;
1698 * @param out_value Read value
1700 void readBaseTypeFromFloatChannel(GLuint channel, const GLubyte* pixel, GLdouble& out_value) argument
1706 out_value
1717 readBaseTypeFromHalfFloatChannel(GLuint channel, const GLubyte* pixel, GLdouble& out_value) argument
1743 read3Channel(GLuint channel, const GLubyte* pixel, GLdouble& out_value) argument
1804 read4Channel(GLuint channel, const GLubyte* pixel, GLdouble& out_value) argument
1859 read11F_11F_10F_Channel(GLuint channel, const GLubyte* pixel, GLdouble& out_value) argument
[all...]
/external/mesa3d/src/gallium/include/pipe/
H A Dp_context.h666 * \param out_value - return value of 2 floats for x and y position for
672 float *out_value);
/external/protobuf/python/google/protobuf/
H A Dtext_format.py304 out_value = value.encode('utf-8')
306 out_value = value
312 out.write(text_encoding.CEscape(out_value, out_as_utf8))
/external/mesa3d/src/gallium/drivers/r600/
H A Devergreen_state.c1434 float *out_value)
1443 out_value[0] = out_value[1] = 0.5;
1448 out_value[0] = (float)(val.idx + 8) / 16.0f;
1450 out_value[1] = (float)(val.idx + 8) / 16.0f;
1455 out_value[0] = (float)(val.idx + 8) / 16.0f;
1457 out_value[1] = (float)(val.idx + 8) / 16.0f;
1463 out_value[0] = (float)(val.idx + 8) / 16.0f;
1465 out_value[1] = (float)(val.idx + 8) / 16.0f;
1431 evergreen_get_sample_position(struct pipe_context *ctx, unsigned sample_count, unsigned sample_index, float *out_value) argument
H A Dr600_state.c1223 float *out_value)
1232 out_value[0] = out_value[1] = 0.5;
1237 out_value[0] = (float)(val.idx + 8) / 16.0f;
1239 out_value[1] = (float)(val.idx + 8) / 16.0f;
1244 out_value[0] = (float)(val.idx + 8) / 16.0f;
1246 out_value[1] = (float)(val.idx + 8) / 16.0f;
1252 out_value[0] = (float)(val.idx + 8) / 16.0f;
1254 out_value[1] = (float)(val.idx + 8) / 16.0f;
1220 r600_get_sample_position(struct pipe_context *ctx, unsigned sample_count, unsigned sample_index, float *out_value) argument
/external/mesa3d/src/gallium/drivers/ddebug/
H A Ddd_context.c697 float *out_value)
702 out_value);
695 dd_context_get_sample_position(struct pipe_context *_pipe, unsigned sample_count, unsigned sample_index, float *out_value) argument
/external/tensorflow/tensorflow/core/grappler/optimizers/
H A Dconstant_folding_test.cc1170 const Tensor& out_value = tensors[0]; local
1171 EXPECT_EQ(3 * 5, out_value.NumElements());
1173 EXPECT_EQ(3.14f, out_value.flat<float>()(i));
/external/tensorflow/tensorflow/contrib/layers/python/layers/
H A Dlayers_test.py3909 out_value, shape_value = sess.run([output, array_ops.shape(output)])
3913 self.assertTrue(np.all(out_value >= 0), 'Relu should have all values >= 0.')
3937 out_value = sess.run(output)
3940 self.assertTrue(np.all(out_value >= 0), 'Relu should have all values >= 0.')
3982 out_value = sess.run(output)
3984 self.assertAllClose(np.array(expected_outputs), out_value)

Completed in 631 milliseconds