Home
last modified time | relevance | path

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

12

/external/libchrome/base/
Dvalues.cc444 bool Value::GetAsBoolean(bool* out_value) const { in GetAsBoolean()
445 if (out_value && is_bool()) { in GetAsBoolean()
446 *out_value = bool_value_; in GetAsBoolean()
452 bool Value::GetAsInteger(int* out_value) const { in GetAsInteger()
453 if (out_value && is_int()) { in GetAsInteger()
454 *out_value = int_value_; in GetAsInteger()
460 bool Value::GetAsDouble(double* out_value) const { in GetAsDouble()
461 if (out_value && is_double()) { in GetAsDouble()
462 *out_value = double_value_; in GetAsDouble()
464 } else if (out_value && is_int()) { in GetAsDouble()
[all …]
Dvalues.h309 bool GetAsBoolean(bool* out_value) const;
311 bool GetAsInteger(int* out_value) const;
313 bool GetAsDouble(double* out_value) const;
315 bool GetAsString(std::string* out_value) const;
316 bool GetAsString(string16* out_value) const;
317 bool GetAsString(const Value** out_value) const;
318 bool GetAsString(StringPiece* out_value) const;
321 bool GetAsList(ListValue** out_value);
322 bool GetAsList(const ListValue** out_value) const;
324 bool GetAsDictionary(DictionaryValue** out_value);
[all …]
Dpickle_unittest.cc568 int out_value; in TEST() local
569 EXPECT_TRUE(iter.ReadInt(&out_value)); in TEST()
570 EXPECT_EQ(42, out_value); in TEST()
/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()
51 const base::ListValue** out_value) { in FromValue() argument
52 return in_value.GetAsList(out_value); in FromValue()
[all …]
Dvalue_conversion.cc23 std::unique_ptr<base::ListValue>* out_value) { in FromValue() argument
27 *out_value = list->CreateDeepCopy(); in FromValue()
32 std::unique_ptr<base::DictionaryValue>* out_value) { in FromValue() argument
36 *out_value = dict->CreateDeepCopy(); in FromValue()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_msaa.c84 unsigned sample_index, float *out_value) in si_get_sample_position() argument
94 out_value[0] = out_value[1] = 0.5; in si_get_sample_position()
99 out_value[0] = (float)(val.idx + 8) / 16.0f; in si_get_sample_position()
101 out_value[1] = (float)(val.idx + 8) / 16.0f; in si_get_sample_position()
106 out_value[0] = (float)(val.idx + 8) / 16.0f; in si_get_sample_position()
108 out_value[1] = (float)(val.idx + 8) / 16.0f; in si_get_sample_position()
114 out_value[0] = (float)(val.idx + 8) / 16.0f; in si_get_sample_position()
116 out_value[1] = (float)(val.idx + 8) / 16.0f; in si_get_sample_position()
122 out_value[0] = (float)(val.idx + 8) / 16.0f; in si_get_sample_position()
124 out_value[1] = (float)(val.idx + 8) / 16.0f; in si_get_sample_position()
/external/mesa3d/src/gallium/drivers/r600/
Dcayman_msaa.c83 unsigned sample_index, float *out_value) in cayman_get_sample_position() argument
92 out_value[0] = out_value[1] = 0.5; in cayman_get_sample_position()
97 out_value[0] = (float)(val.idx + 8) / 16.0f; in cayman_get_sample_position()
99 out_value[1] = (float)(val.idx + 8) / 16.0f; in cayman_get_sample_position()
104 out_value[0] = (float)(val.idx + 8) / 16.0f; in cayman_get_sample_position()
106 out_value[1] = (float)(val.idx + 8) / 16.0f; in cayman_get_sample_position()
112 out_value[0] = (float)(val.idx + 8) / 16.0f; in cayman_get_sample_position()
114 out_value[1] = (float)(val.idx + 8) / 16.0f; in cayman_get_sample_position()
120 out_value[0] = (float)(val.idx + 8) / 16.0f; in cayman_get_sample_position()
122 out_value[1] = (float)(val.idx + 8) / 16.0f; in cayman_get_sample_position()
Dr600_state.c1243 float *out_value) in r600_get_sample_position() argument
1252 out_value[0] = out_value[1] = 0.5; in r600_get_sample_position()
1257 out_value[0] = (float)(val.idx + 8) / 16.0f; in r600_get_sample_position()
1259 out_value[1] = (float)(val.idx + 8) / 16.0f; in r600_get_sample_position()
1264 out_value[0] = (float)(val.idx + 8) / 16.0f; in r600_get_sample_position()
1266 out_value[1] = (float)(val.idx + 8) / 16.0f; in r600_get_sample_position()
1272 out_value[0] = (float)(val.idx + 8) / 16.0f; in r600_get_sample_position()
1274 out_value[1] = (float)(val.idx + 8) / 16.0f; in r600_get_sample_position()
/external/u-boot/drivers/misc/
Drockchip-efuse.c94 u32 out_value; in rockchip_rk3399_efuse_read() local
114 out_value = readl(&efuse->dout); in rockchip_rk3399_efuse_read()
118 memcpy(&bytes[i], &out_value, RK3399_BYTES_PER_FUSE); in rockchip_rk3399_efuse_read()
/external/avb/libavb/
Davb_property_descriptor.c139 uint64_t* out_value) { in avb_property_lookup_uint64() argument
179 if (out_value != NULL) { in avb_property_lookup_uint64()
180 *out_value = parsed_val; in avb_property_lookup_uint64()
Davb_property_descriptor.h100 uint64_t* out_value)
/external/u-boot/lib/libavb/
Davb_property_descriptor.c120 uint64_t* out_value) { in avb_property_lookup_uint64() argument
160 if (out_value != NULL) { in avb_property_lookup_uint64()
161 *out_value = parsed_val; in avb_property_lookup_uint64()
Davb_property_descriptor.h81 uint64_t* out_value)
/external/deqp/external/vulkancts/data/vulkan/vkrunner/example/
Dsqrt.shader_test9 float out_value;
15 out_value = sqrt(in_value);
/external/boringssl/src/crypto/test/
Dfile_test.h151 bool GetAttribute(std::string *out_value, const std::string &key);
186 bool GetInstruction(std::string *out_value, const std::string &key);
Dfile_test.cc255 bool FileTest::GetAttribute(std::string *out_value, const std::string &key) { in GetAttribute() argument
262 *out_value = iter->second; in GetAttribute()
278 bool FileTest::GetInstruction(std::string *out_value, const std::string &key) { in GetInstruction() argument
285 *out_value = iter->second; in GetInstruction()
/external/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c1535 unsigned sample_index, float *out_value) in radv_cayman_get_sample_position() argument
1544 out_value[0] = out_value[1] = 0.5; in radv_cayman_get_sample_position()
1549 out_value[0] = (float)(val.idx + 8) / 16.0f; in radv_cayman_get_sample_position()
1551 out_value[1] = (float)(val.idx + 8) / 16.0f; in radv_cayman_get_sample_position()
1556 out_value[0] = (float)(val.idx + 8) / 16.0f; in radv_cayman_get_sample_position()
1558 out_value[1] = (float)(val.idx + 8) / 16.0f; in radv_cayman_get_sample_position()
1564 out_value[0] = (float)(val.idx + 8) / 16.0f; in radv_cayman_get_sample_position()
1566 out_value[1] = (float)(val.idx + 8) / 16.0f; in radv_cayman_get_sample_position()
1572 out_value[0] = (float)(val.idx + 8) / 16.0f; in radv_cayman_get_sample_position()
1574 out_value[1] = (float)(val.idx + 8) / 16.0f; in radv_cayman_get_sample_position()
/external/u-boot/include/dm/
Dofnode.h214 s32 *out_value) in ofnode_read_s32() argument
216 return ofnode_read_u32(node, propname, (u32 *)out_value); in ofnode_read_s32()
/external/libchrome/mojo/public/interfaces/bindings/tests/
Dtest_data_view.mojom14 Echo(int32 value) => (int32 out_value);
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DCppAssetManager2.java849 short density_override, Ref<Res_value> out_value, in GetResource() argument
866 out_value.set(new Res_value((byte) Res_value.TYPE_REFERENCE, resid)); in GetResource()
876 out_value.set(device_value.copy()); in GetResource()
879 entry.get().dynamic_ref_table.lookupResourceValue(out_value); in GetResource()
1520 public ApkAssetsCookie GetAttribute(int resid, Ref<Res_value> out_value, in GetAttribute() argument
1558 out_value.set(entry.value); in GetAttribute()
/external/v8/src/compiler/
Dcode-assembler.cc315 bool CodeAssembler::ToInt32Constant(Node* node, int32_t& out_value) { in ToInt32Constant() argument
320 out_value = static_cast<int32_t>(m.Value()); in ToInt32Constant()
328 out_value = m.Value(); in ToInt32Constant()
336 bool CodeAssembler::ToInt64Constant(Node* node, int64_t& out_value) { in ToInt64Constant() argument
338 if (m.HasValue()) out_value = m.Value(); in ToInt64Constant()
342 bool CodeAssembler::ToSmiConstant(Node* node, Smi*& out_value) { in ToSmiConstant() argument
351 out_value = Smi::cast(bit_cast<Object*>(value)); in ToSmiConstant()
357 bool CodeAssembler::ToIntPtrConstant(Node* node, intptr_t& out_value) { in ToIntPtrConstant() argument
363 if (m.HasValue()) out_value = m.Value(); in ToIntPtrConstant()
/external/deqp/external/openglcts/modules/gl/
Dgl4cCopyImageTests.cpp123 …hannel(glw::GLenum type, glw::GLuint channel, const glw::GLubyte* pixel, glw::GLdouble& out_value);
1657 void readBaseTypeFromUnsignedChannel(GLuint channel, const GLubyte* pixel, GLdouble& out_value) in readBaseTypeFromUnsignedChannel() argument
1666 out_value = d_value / d_max; in readBaseTypeFromUnsignedChannel()
1678 void readBaseTypeFromSignedChannel(GLuint channel, const GLubyte* pixel, GLdouble& out_value) in readBaseTypeFromSignedChannel() argument
1689 out_value = d_value / d_max; in readBaseTypeFromSignedChannel()
1700 void readBaseTypeFromFloatChannel(GLuint channel, const GLubyte* pixel, GLdouble& out_value) in readBaseTypeFromFloatChannel() argument
1706 out_value = d_value; in readBaseTypeFromFloatChannel()
1717 void readBaseTypeFromHalfFloatChannel(GLuint channel, const GLubyte* pixel, GLdouble& out_value) in readBaseTypeFromHalfFloatChannel() argument
1724 out_value = d_value; in readBaseTypeFromHalfFloatChannel()
1743 void read3Channel(GLuint channel, const GLubyte* pixel, GLdouble& out_value) in read3Channel() argument
[all …]
/external/protobuf/python/google/protobuf/
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/virglrenderer/src/gallium/include/pipe/
Dp_context.h525 float *out_value);
/external/mesa3d/src/gallium/include/pipe/
Dp_context.h725 float *out_value);

12