Home
last modified time | relevance | path

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

12

/third_party/gn/src/base/
Dvalues.cc425 bool Value::GetAsBoolean(bool* out_value) const { in GetAsBoolean()
426 if (out_value && is_bool()) { in GetAsBoolean()
427 *out_value = bool_value_; in GetAsBoolean()
433 bool Value::GetAsInteger(int* out_value) const { in GetAsInteger()
434 if (out_value && is_int()) { in GetAsInteger()
435 *out_value = int_value_; in GetAsInteger()
441 bool Value::GetAsString(std::string* out_value) const { in GetAsString()
442 if (out_value && is_string()) { in GetAsString()
443 *out_value = string_value_; in GetAsString()
449 bool Value::GetAsString(std::u16string* out_value) const { in GetAsString()
[all …]
Dvalues.h303 bool GetAsBoolean(bool* out_value) const;
305 bool GetAsInteger(int* out_value) const;
307 bool GetAsString(std::string* out_value) const;
308 bool GetAsString(std::u16string* out_value) const;
309 bool GetAsString(const Value** out_value) const;
310 bool GetAsString(std::string_view* out_value) const;
313 bool GetAsList(ListValue** out_value);
314 bool GetAsList(const ListValue** out_value) const;
316 bool GetAsDictionary(DictionaryValue** out_value);
317 bool GetAsDictionary(const DictionaryValue** out_value) const;
[all …]
/third_party/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.c1252 float *out_value) in r600_get_sample_position() argument
1261 out_value[0] = out_value[1] = 0.5; in r600_get_sample_position()
1266 out_value[0] = (float)(val.idx + 8) / 16.0f; in r600_get_sample_position()
1268 out_value[1] = (float)(val.idx + 8) / 16.0f; in r600_get_sample_position()
1273 out_value[0] = (float)(val.idx + 8) / 16.0f; in r600_get_sample_position()
1275 out_value[1] = (float)(val.idx + 8) / 16.0f; in r600_get_sample_position()
1281 out_value[0] = (float)(val.idx + 8) / 16.0f; in r600_get_sample_position()
1283 out_value[1] = (float)(val.idx + 8) / 16.0f; in r600_get_sample_position()
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl-no-opt/asm/frag/
Dscalar-select.spv14.asm.frag18 void spvSelectComposite(out _15 out_value, bool cond, _15 true_val, _15 false_val)
22 out_value = true_val;
26 out_value = false_val;
30 void spvSelectComposite(out float out_value[2], bool cond, float true_val[2], float false_val[2])
34 out_value = true_val;
38 out_value = false_val;
/third_party/mesa3d/src/vulkan/overlay-layer/
Doverlay_params.c116 parse_string(const char *s, char *out_param, char *out_value) in parse_string() argument
128 for (; !is_delimiter(*s); s++, out_value++, i++) in parse_string()
129 *out_value = *s; in parse_string()
131 *(out_value++) = '1'; in parse_string()
132 *out_value = 0; in parse_string()
/third_party/gn/src/base/win/
Dregistry.cc242 LONG RegKey::ReadValueDW(const char16_t* name, DWORD* out_value) const { in ReadValueDW()
243 DCHECK(out_value); in ReadValueDW()
250 *out_value = local_value; in ReadValueDW()
258 LONG RegKey::ReadInt64(const char16_t* name, int64_t* out_value) const { in ReadInt64()
259 DCHECK(out_value); in ReadInt64()
267 *out_value = local_value; in ReadInt64()
275 LONG RegKey::ReadValue(const char16_t* name, std::u16string* out_value) const { in ReadValue()
276 DCHECK(out_value); in ReadValue()
284 *out_value = raw_value; in ReadValue()
295 *out_value = expanded; in ReadValue()
Dregistry.h88 LONG ReadValueDW(const char16_t* name, DWORD* out_value) const;
92 LONG ReadInt64(const char16_t* name, int64_t* out_value) const;
96 LONG ReadValue(const char16_t* name, std::u16string* out_value) const;
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_shader_gs.cpp264 auto out_value = value_factory().src_vec4(instr->src[0], pin_group, src_swz); in store_output() local
273 if (out_value[i + shift]->chan() < 4) { in store_output()
274 ir = new AluInstr(op1_mov, tmp[i + shift], out_value[i + shift], AluInstr::write); in store_output()
291 if ((write_mask & (1 << i)) && (out_value[i]->chan() != i)) { in store_output()
301 if (out_value[i]->chan() < 4) { in store_output()
302 ir = new AluInstr(op1_mov, tmp[i], out_value[i], AluInstr::write); in store_output()
311 …eamout_data[location] = new MemRingOutInstr(cf_mem_ring, MemRingOutInstr::mem_write_ind, out_value, in store_output()
Dsfn_shader_vs.cpp209 RegisterVec4 out_value = m_parent->value_factory().temp_vec4(pin_group, swizzle); in emit_varying_pos() local
218 auto alu = new AluInstr(op1_flt_to_int, out_value[1], clamped, AluInstr::last_write); in emit_varying_pos()
223 value = out_value; in emit_varying_pos()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_msaa.c123 unsigned sample_index, float *out_value) in si_get_sample_position() argument
146 out_value[0] = (GET_SX(sample_locs, sample_index) + 8) / 16.0f; in si_get_sample_position()
147 out_value[1] = (GET_SY(sample_locs, sample_index) + 8) / 16.0f; in si_get_sample_position()
/third_party/node/deps/v8/src/compiler/
Dnode-properties.h133 static bool IsValueIdentity(Node* node, Node** out_value) { in IsValueIdentity() argument
136 *out_value = GetValueInput(node, 0); in IsValueIdentity()
139 *out_value = GetValueInput(node, 1); in IsValueIdentity()
Dcode-assembler.cc332 int32_t* out_value) { in TryToInt32Constant() argument
338 *out_value = static_cast<int32_t>(m.ResolvedValue()); in TryToInt32Constant()
346 *out_value = m.ResolvedValue(); in TryToInt32Constant()
355 int64_t* out_value) { in TryToInt64Constant() argument
357 if (m.HasResolvedValue()) *out_value = m.ResolvedValue(); in TryToInt64Constant()
361 bool CodeAssembler::TryToSmiConstant(TNode<Smi> tnode, Smi* out_value) { in TryToSmiConstant() argument
366 return TryToSmiConstant(ReinterpretCast<IntPtrT>(tnode), out_value); in TryToSmiConstant()
369 bool CodeAssembler::TryToSmiConstant(TNode<IntegralT> node, Smi* out_value) { in TryToSmiConstant() argument
375 *out_value = Smi(static_cast<Address>(value)); in TryToSmiConstant()
381 bool CodeAssembler::TryToIntPtrConstant(TNode<Smi> tnode, intptr_t* out_value) { in TryToIntPtrConstant() argument
[all …]
Dcode-assembler.h570 bool TryToInt32Constant(TNode<IntegralT> node, int32_t* out_value);
571 bool TryToInt64Constant(TNode<IntegralT> node, int64_t* out_value);
572 bool TryToIntPtrConstant(TNode<IntegralT> node, intptr_t* out_value);
573 bool TryToIntPtrConstant(TNode<Smi> tnode, intptr_t* out_value);
574 bool TryToSmiConstant(TNode<IntegralT> node, Smi* out_value);
575 bool TryToSmiConstant(TNode<Smi> node, Smi* out_value);
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_context.c152 float *out_value) in crocus_get_sample_position() argument
179 out_value[0] = u.a.x[sample_index]; in crocus_get_sample_position()
180 out_value[1] = u.a.y[sample_index]; in crocus_get_sample_position()
/third_party/mesa3d/include/android_stub/backtrace/
DBacktrace.h148 virtual bool ReadWord(uint64_t ptr, word_t* out_value) = 0;
196 virtual bool VerifyReadWordArgs(uint64_t ptr, word_t* out_value);
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_context.c142 float *out_value) in iris_get_sample_position() argument
169 out_value[0] = u.a.x[sample_index]; in iris_get_sample_position()
170 out_value[1] = u.a.y[sample_index]; in iris_get_sample_position()
/third_party/mbedtls/tests/suites/
Dmain_test.function68 * \param out_value Pointer to int to hold the integer.
72 int get_expression(int32_t exp_id, int32_t *out_value)
77 (void) out_value;
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_surface.c259 float *out_value) in llvmpipe_get_sample_position() argument
263 out_value[0] = lp_sample_pos_4x[sample_index][0]; in llvmpipe_get_sample_position()
264 out_value[1] = lp_sample_pos_4x[sample_index][1]; in llvmpipe_get_sample_position()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cCopyImageTests.cpp123 …hannel(glw::GLenum type, glw::GLuint channel, const glw::GLubyte* pixel, glw::GLdouble& out_value);
1650 void readBaseTypeFromUnsignedChannel(GLuint channel, const GLubyte* pixel, GLdouble& out_value) in readBaseTypeFromUnsignedChannel() argument
1659 out_value = d_value / d_max; in readBaseTypeFromUnsignedChannel()
1671 void readBaseTypeFromSignedChannel(GLuint channel, const GLubyte* pixel, GLdouble& out_value) in readBaseTypeFromSignedChannel() argument
1682 out_value = d_value / d_max; in readBaseTypeFromSignedChannel()
1693 void readBaseTypeFromFloatChannel(GLuint channel, const GLubyte* pixel, GLdouble& out_value) in readBaseTypeFromFloatChannel() argument
1699 out_value = d_value; in readBaseTypeFromFloatChannel()
1710 void readBaseTypeFromHalfFloatChannel(GLuint channel, const GLubyte* pixel, GLdouble& out_value) in readBaseTypeFromHalfFloatChannel() argument
1717 out_value = d_value; in readBaseTypeFromHalfFloatChannel()
1736 void read3Channel(GLuint channel, const GLubyte* pixel, GLdouble& out_value) in read3Channel() argument
[all …]
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.c1508 float *out_value) in virgl_get_sample_position() argument
1524 out_value[0] = out_value[1] = 0.5f; in virgl_get_sample_position()
1535 out_value[0] = ((bits >> 4) & 0xf) / 16.0f; in virgl_get_sample_position()
1536 out_value[1] = (bits & 0xf) / 16.0f; in virgl_get_sample_position()
1540 index, sample_count, out_value[0], out_value[1]); in virgl_get_sample_position()
/third_party/gn/src/gn/
Dparse_tree.cc234 void ParseNode::AddCommentsJSONNodes(base::Value* out_value) const { in AddCommentsJSONNodes()
240 out_value->SetKey(kJsonBeforeComment, std::move(comment_values)); in AddCommentsJSONNodes()
246 out_value->SetKey(kJsonSuffixComment, std::move(comment_values)); in AddCommentsJSONNodes()
252 out_value->SetKey(kJsonAfterComment, std::move(comment_values)); in AddCommentsJSONNodes()
/third_party/mindspore/patches/
D0016-bugfix-for-argminmax-swish-int8-and-vad-asan.patch201 + int8_t out_value = static_cast<int8_t>(std::max(std::min(quantized, max_value), min_value));
203 + table[index] = out_value;
/third_party/protobuf/python/google/protobuf/
Dtext_format.py614 out_value = value.encode('utf-8')
616 out_value = value
622 out.write(text_encoding.CEscape(out_value, out_as_utf8))
/third_party/mesa3d/src/gallium/include/pipe/
Dp_context.h1013 float *out_value);

12