Home
last modified time | relevance | path

Searched refs:true_value (Results 1 – 25 of 72) sorted by relevance

123

/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
Dtest_utils.py223 true_value = true_parameters[param]
225 param, true_value, evaled_value)
227 for transformed_param, true_value in true_transformed_params.items():
231 transformed_param, true_value, trained_value)
232 test_case.assertAllClose(true_value, trained_value,
250 true_value = true_parameters[param]
251 test_case.assertAllClose(true_value, evaled_value,
/external/python/cpython2/Lib/ctypes/test/
Dtest_wintypes.py11 for true_value in (1, 32767, 32768, 65535, 65537):
12 true = POINTER(c_int16)(c_int16(true_value))
20 vb.value = true_value
/external/python/cpython3/Lib/ctypes/test/
Dtest_wintypes.py11 for true_value in (1, 32767, 32768, 65535, 65537):
12 true = POINTER(c_int16)(c_int16(true_value))
20 vb.value = true_value
/external/toolchain-utils/cros_utils/
Dmisc.py502 true_value='yes', argument
517 true_value, false_value = true_value.lower(), false_value.lower()
518 true_text, false_text = true_value, false_value
519 if true_value == false_value:
521 'true_value and false_value must differ: got %r' % true_value)
548 if true_value.startswith(response):
/external/clang/test/Parser/
Daltivec-csk-bool.c10 true_value = 1 enumerator
13 #define true true_value
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
Dcalc.rb85 tests.each do |expression, true_value|
88 parser_value.should == true_value
/external/tensorflow/tensorflow/contrib/bayesflow/python/kernel_tests/
Dhalton_sequence_test.py113 true_value = 1.0 / math_ops.reduce_prod(powers + 1.0)
116 self.assertAllClose(integral.eval(), true_value.eval(), rtol=0.02)
127 self.assertAllClose(integral_leaped.eval(), true_value.eval(), rtol=0.001)
/external/v8/src/crankshaft/
Dhydrogen-osr.cc33 HValue* true_value = graph->GetConstantTrue(); in BuildOsrLoopEntry() local
34 HBranch* test = builder_->New<HBranch>(true_value, ToBooleanHint::kNone, in BuildOsrLoopEntry()
/external/v8/src/
Dcode-stub-assembler.h258 Node* SelectConstant(Node* condition, Node* true_value, Node* false_value,
261 Node* SelectInt32Constant(Node* condition, int true_value, int false_value);
262 Node* SelectIntPtrConstant(Node* condition, int true_value, int false_value);
264 Node* SelectTaggedConstant(Node* condition, Node* true_value,
266 Node* SelectSmiConstant(Node* condition, Smi* true_value, Smi* false_value);
267 Node* SelectSmiConstant(Node* condition, int true_value, Smi* false_value) { in SelectSmiConstant() argument
268 return SelectSmiConstant(condition, Smi::FromInt(true_value), false_value); in SelectSmiConstant()
270 Node* SelectSmiConstant(Node* condition, Smi* true_value, int false_value) { in SelectSmiConstant() argument
271 return SelectSmiConstant(condition, true_value, Smi::FromInt(false_value)); in SelectSmiConstant()
273 Node* SelectSmiConstant(Node* condition, int true_value, int false_value) { in SelectSmiConstant() argument
[all …]
/external/python/cpython2/Lib/test/
Dtest_peepholer.py189 def f(cond, true_value, false_value): argument
190 return true_value if cond else false_value
/external/libchrome/base/
Dvalues_unittest.cc39 Value true_value(true); in TEST() local
40 EXPECT_EQ(Value::Type::BOOLEAN, true_value.type()); in TEST()
41 EXPECT_TRUE(true_value.GetBool()); in TEST()
122 Value true_value(true); in TEST() local
123 Value copied_true_value(true_value); in TEST()
124 EXPECT_EQ(true_value.type(), copied_true_value.type()); in TEST()
125 EXPECT_EQ(true_value.GetBool(), copied_true_value.GetBool()); in TEST()
134 blank = true_value; in TEST()
135 EXPECT_EQ(true_value.type(), blank.type()); in TEST()
136 EXPECT_EQ(true_value.GetBool(), blank.GetBool()); in TEST()
[all …]
/external/autotest/server/site_tests/provision_CheetsUpdate/
Dpush_to_device.py482 def boolean_prompt(prompt, default=True, true_value='yes', false_value='no', argument
496 true_value, false_value = true_value.lower(), false_value.lower()
497 true_text, false_text = true_value, false_value
498 if true_value == false_value:
500 % true_value)
527 if true_value.startswith(response):
/external/python/cpython3/Lib/test/
Dtest_peepholer.py244 def f(cond, true_value, false_value): argument
245 return true_value if cond else false_value
/external/clang/test/PCH/
Dcxx_exprs.cpp33 static_assert(true_value, "true_value is true");
Dcxx_exprs.h26 const bool true_value = true; variable
/external/v8/src/runtime/
Druntime-array.cc401 return isolate->heap()->true_value(); in RUNTIME_FUNCTION()
405 return isolate->heap()->true_value(); in RUNTIME_FUNCTION()
409 return isolate->heap()->true_value(); in RUNTIME_FUNCTION()
535 return isolate->heap()->true_value(); in RUNTIME_FUNCTION()
Druntime-strings.cc642 return isolate->heap()->true_value(); in RUNTIME_FUNCTION()
661 return isolate->heap()->true_value(); in RUNTIME_FUNCTION()
678 return isolate->heap()->true_value(); in RUNTIME_FUNCTION()
697 return isolate->heap()->true_value(); in RUNTIME_FUNCTION()
Druntime-liveedit.cc302 return heap->true_value(); in RUNTIME_FUNCTION()
/external/v8/src/compiler/
Dsimplified-operator-reducer.cc46 if (m.Is(factory()->true_value())) return ReplaceBoolean(false); in Reduce()
152 if (m.Is(factory()->true_value())) { in Reduce()
Djs-graph.cc111 return CACHED(kTrueConstant, HeapConstant(factory()->true_value())); in TrueConstant()
Dtyped-optimization.cc25 true_type_(Type::HeapConstant(factory()->true_value(), graph()->zone())), in TypedOptimization()
/external/v8/src/full-codegen/ia32/
Dfull-codegen-ia32.cc530 __ mov(result_register(), isolate()->factory()->true_value()); in Plug()
544 __ push(Immediate(isolate()->factory()->true_value())); in Plug()
561 ? isolate()->factory()->true_value() in Plug()
570 ? isolate()->factory()->true_value() in Plug()
681 __ cmp(eax, isolate()->factory()->true_value()); in PrepareForBailoutBeforeSplit()
868 __ cmp(eax, isolate()->factory()->true_value()); in VisitSwitchStatement()
2234 __ mov(eax, isolate()->factory()->true_value()); in VisitUnaryOperation()
2236 __ Push(isolate()->factory()->true_value()); in VisitUnaryOperation()
2504 __ cmp(eax, isolate()->factory()->true_value()); in EmitLiteralCompareTypeof()
2567 __ cmp(eax, isolate()->factory()->true_value()); in VisitCompareOperation()
[all …]
/external/v8/src/full-codegen/x87/
Dfull-codegen-x87.cc525 __ mov(result_register(), isolate()->factory()->true_value()); in Plug()
539 __ push(Immediate(isolate()->factory()->true_value())); in Plug()
556 ? isolate()->factory()->true_value() in Plug()
565 ? isolate()->factory()->true_value() in Plug()
676 __ cmp(eax, isolate()->factory()->true_value()); in PrepareForBailoutBeforeSplit()
858 __ cmp(eax, isolate()->factory()->true_value()); in VisitSwitchStatement()
2224 __ mov(eax, isolate()->factory()->true_value()); in VisitUnaryOperation()
2226 __ Push(isolate()->factory()->true_value()); in VisitUnaryOperation()
2494 __ cmp(eax, isolate()->factory()->true_value()); in EmitLiteralCompareTypeof()
2557 __ cmp(eax, isolate()->factory()->true_value()); in VisitCompareOperation()
[all …]
/external/v8/src/interpreter/
Dinterpreter.cc443 Node* true_value = __ HeapConstant(isolate_->factory()->true_value()); in DoLdaTrue() local
444 __ SetAccumulator(true_value); in DoLdaTrue()
2048 Node* true_value = __ BooleanConstant(true); in DoToBooleanLogicalNot() local
2058 result.Bind(true_value); in DoToBooleanLogicalNot()
2074 Node* true_value = __ BooleanConstant(true); in DoLogicalNot() local
2076 __ Branch(__ WordEqual(value, true_value), &if_true, &if_false); in DoLogicalNot()
2088 result.Bind(true_value); in DoLogicalNot()
2515 Node* true_value = __ BooleanConstant(true); in DoJumpIfTrue() local
2518 __ JumpIfWordEqual(accumulator, true_value, relative_jump); in DoJumpIfTrue()
2530 Node* true_value = __ BooleanConstant(true); in DoJumpIfTrueConstant() local
[all …]
/external/v8/src/ast/
Dast-value-factory.cc233 set_value(isolate->factory()->true_value()); in Internalize()

123