Home
last modified time | relevance | path

Searched refs:fv (Results 1 – 25 of 336) sorted by relevance

12345678910>>...14

/external/python/absl-py/absl/flags/tests/
D_flagvalues_test.py41 fv = _flagvalues.FlagValues()
42 _defines.DEFINE_boolean('nothing', None, '', flag_values=fv)
43 fv(('./program', arg))
44 self.assertIs(expected, fv.nothing)
47 fv = _flagvalues.FlagValues()
48 _defines.DEFINE_boolean('nothing', None, '', flag_values=fv)
50 fv(('./program', arg))
57 fv = _flagvalues.FlagValues()
58 _defines.DEFINE_boolean('nothing', None, '', flag_values=fv)
59 with mock.patch.object(fv['nothing'].parser, 'parse') as mock_parse:
[all …]
Dflags_helpxml_test.py92 self.fv = flags.FlagValues()
96 flag_obj = self.fv[flag_name]
103 flags.DEFINE_integer('index', 17, 'An integer flag', flag_values=self.fv)
117 self.fv['index'].value = 20
124 flag_values=self.fv)
142 flag_values=self.fv)
156 'A test string flag.', flag_values=self.fv)
172 flag_values=self.fv)
188 'Compiler version to use.', flag_values=self.fv)
209 'Compiler version to use.', flag_values=self.fv)
[all …]
Dflags_test.py1291 fv = flags.FlagValues()
1293 flags.DEFINE_string('name', False, 'help', flag_values=fv)
1295 flags.DEFINE_string('name2', 0, 'help', flag_values=fv)
1298 fv = flags.FlagValues()
1300 flags.DEFINE_integer('name', 1e2, 'help', flag_values=fv)
1302 flags.DEFINE_integer('name', [], 'help', flag_values=fv)
1304 flags.DEFINE_integer('name', False, 'help', flag_values=fv)
1307 fv = flags.FlagValues()
1309 flags.DEFINE_float('name', False, 'help', flag_values=fv)
1312 fv = flags.FlagValues()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dspv.shaderBallotAMD.comp14 vec3 fv;
27 fv = minInvocationsAMD(fv);
37 fv = maxInvocationsAMD(fv);
47 fv = addInvocationsAMD(fv);
57 fv = minInvocationsNonUniformAMD(fv);
67 fv = maxInvocationsNonUniformAMD(fv);
77 fv = addInvocationsNonUniformAMD(fv);
87 fv = minInvocationsInclusiveScanAMD(fv);
97 fv = maxInvocationsInclusiveScanAMD(fv);
107 fv = addInvocationsInclusiveScanAMD(fv);
[all …]
/external/deqp-deps/glslang/Test/
Dspv.shaderBallotAMD.comp14 vec3 fv;
27 fv = minInvocationsAMD(fv);
37 fv = maxInvocationsAMD(fv);
47 fv = addInvocationsAMD(fv);
57 fv = minInvocationsNonUniformAMD(fv);
67 fv = maxInvocationsNonUniformAMD(fv);
77 fv = addInvocationsNonUniformAMD(fv);
87 fv = minInvocationsInclusiveScanAMD(fv);
97 fv = maxInvocationsInclusiveScanAMD(fv);
107 fv = addInvocationsInclusiveScanAMD(fv);
[all …]
/external/webrtc/api/
Dfunction_view_unittest.cc22 int CallWith33(rtc::FunctionView<int(int)> fv) { in CallWith33() argument
23 return fv ? fv(33) : -1; in CallWith33()
43 rtc::FunctionView<int(int)> fv(f); in TEST() local
44 EXPECT_TRUE(fv); in TEST()
45 EXPECT_EQ(18, fv(17)); in TEST()
51 rtc::FunctionView<int()> fv(f); in TEST() local
52 EXPECT_TRUE(fv); in TEST()
54 EXPECT_EQ(15, fv()); in TEST()
56 EXPECT_EQ(17, fv()); in TEST()
60 rtc::FunctionView<int(int)> fv(Add33); in TEST() local
[all …]
/external/ow2-asm/asm/src/main/java/org/objectweb/asm/
DFieldVisitor.java46 protected FieldVisitor fv; field in FieldVisitor
80 this.fv = fieldVisitor; in FieldVisitor()
89 return fv; in getDelegate()
101 if (fv != null) { in visitAnnotation()
102 return fv.visitAnnotation(descriptor, visible); in visitAnnotation()
125 if (fv != null) { in visitTypeAnnotation()
126 return fv.visitTypeAnnotation(typeRef, typePath, descriptor, visible); in visitTypeAnnotation()
137 if (fv != null) { in visitAttribute()
138 fv.visitAttribute(attribute); in visitAttribute()
147 if (fv != null) { in visitEnd()
[all …]
/external/rust/crates/plotters/src/coord/ranged1d/combinators/
Dlogarithmic.rs163 let fv = value.as_f64() - self.zero_point; in value_to_f64() localVariable
165 -fv in value_to_f64()
167 fv in value_to_f64()
171 fn f64_to_value(&self, fv: f64) -> V { in f64_to_value()
172 let fv = if self.negative { -fv } else { fv }; in f64_to_value() localVariable
173 V::from_f64(fv + self.zero_point) in f64_to_value()
176 fn is_inf(&self, fv: f64) -> bool { in is_inf()
177 let fv = if self.negative { -fv } else { fv }; in is_inf() localVariable
178 let a = V::from_f64(fv + self.zero_point); in is_inf()
190 let fv = self.value_to_f64(value); in map() localVariable
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DFormattedValueTest.java152 public static void checkFormattedValue(String message, FormattedValue fv, String expectedString, in checkFormattedValue() argument
154 checkFormattedValue(message, fv, expectedString, expectedFieldPositions, false); in checkFormattedValue()
157 public static void checkFormattedValue(String message, FormattedValue fv, String expectedString, in checkFormattedValue() argument
160 int stringLength = fv.toString().length(); in checkFormattedValue()
167 String baseMessage = message + ": " + fv.toString() + ": "; in checkFormattedValue()
170 assertEquals(baseMessage + " string", expectedString, fv.toString()); in checkFormattedValue()
171 assertCharSequenceEquals(expectedString, fv); in checkFormattedValue()
174 AttributedCharacterIterator fpi = fv.toCharacterIterator(); in checkFormattedValue()
219 assertTrue(baseMessage + i, fv.nextPosition(cfpos)); in checkFormattedValue()
230 boolean afterLoopResult = fv.nextPosition(cfpos); in checkFormattedValue()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DFormattedValueTest.java149 public static void checkFormattedValue(String message, FormattedValue fv, String expectedString, in checkFormattedValue() argument
151 checkFormattedValue(message, fv, expectedString, expectedFieldPositions, false); in checkFormattedValue()
154 public static void checkFormattedValue(String message, FormattedValue fv, String expectedString, in checkFormattedValue() argument
157 int stringLength = fv.toString().length(); in checkFormattedValue()
164 String baseMessage = message + ": " + fv.toString() + ": "; in checkFormattedValue()
167 assertEquals(baseMessage + " string", expectedString, fv.toString()); in checkFormattedValue()
168 assertCharSequenceEquals(expectedString, fv); in checkFormattedValue()
171 AttributedCharacterIterator fpi = fv.toCharacterIterator(); in checkFormattedValue()
216 assertTrue(baseMessage + i, fv.nextPosition(cfpos)); in checkFormattedValue()
227 boolean afterLoopResult = fv.nextPosition(cfpos); in checkFormattedValue()
[all …]
/external/icu/icu4c/source/test/intltest/
Dformattedvaluetest.cpp169 const FormattedValue& fv, in checkFormattedValue() argument
181 checkMixedFormattedValue(message, fv, expectedString, converted.getAlias(), length); in checkFormattedValue()
202 const FormattedValue& fv, in checkMixedFormattedValue() argument
207 UnicodeString baseMessage = UnicodeString(message) + u": " + fv.toString(status) + u": "; in checkMixedFormattedValue()
210 assertEquals(baseMessage + u"string", expectedString, fv.toString(status)); in checkMixedFormattedValue()
211 assertEquals(baseMessage + u"temp string", expectedString, fv.toTempString(status)); in checkMixedFormattedValue()
214 UnicodeString readOnlyAlias = fv.toTempString(status); in checkMixedFormattedValue()
224 fv.nextPosition(cfpos, status)); in checkMixedFormattedValue()
238 UBool afterLoopResult = fv.nextPosition(cfpos, status); in checkMixedFormattedValue()
240 afterLoopResult = fv.nextPosition(cfpos, status); in checkMixedFormattedValue()
[all …]
/external/cronet/third_party/icu/source/test/intltest/
Dformattedvaluetest.cpp169 const FormattedValue& fv, in checkFormattedValue() argument
181 checkMixedFormattedValue(message, fv, expectedString, converted.getAlias(), length); in checkFormattedValue()
202 const FormattedValue& fv, in checkMixedFormattedValue() argument
207 UnicodeString baseMessage = UnicodeString(message) + u": " + fv.toString(status) + u": "; in checkMixedFormattedValue()
210 assertEquals(baseMessage + u"string", expectedString, fv.toString(status)); in checkMixedFormattedValue()
211 assertEquals(baseMessage + u"temp string", expectedString, fv.toTempString(status)); in checkMixedFormattedValue()
214 UnicodeString readOnlyAlias = fv.toTempString(status); in checkMixedFormattedValue()
224 fv.nextPosition(cfpos, status)); in checkMixedFormattedValue()
238 UBool afterLoopResult = fv.nextPosition(cfpos, status); in checkMixedFormattedValue()
240 afterLoopResult = fv.nextPosition(cfpos, status); in checkMixedFormattedValue()
[all …]
/external/clang/test/SemaCXX/
Dcomplex-overload.cpp4 void test_foo_1(float fv, double dv, float _Complex fc, double _Complex dc) { in test_foo_1() argument
5 char *cp1 = foo(fv); in test_foo_1()
14 void test_foo_2(float fv, double dv, float _Complex fc, double _Complex dc) { in test_foo_2() argument
15 char *cp1 = foo(fv); in test_foo_2()
23 void test_foo_3(float fv, double dv, float _Complex fc, double _Complex dc) { in test_foo_3() argument
24 char *cp1 = foo(fv); in test_foo_3()
Doverload-call.cpp9 void test_f(int iv, float fv) { in test_f() argument
10 float* fp = f(fv); in test_f()
20 void test_g(int iv, float fv) { in test_g() argument
21 int* ip1 = g(iv, fv, 0); in test_g()
23 double* dp1 = g(iv, fv, fv); in test_g()
25 char* cp2 = g(0, 0, 0, iv, fv); in test_g()
27 double* dp2 = g(0, fv, 1.5); // expected-error {{call to 'g' is ambiguous}} in test_g()
33 void test_h(float fv, unsigned char cv) { in test_h() argument
34 double* dp = h(fv); in test_h()
/external/clang/test/Sema/
Doverloadable-complex.c4 void test_foo_1(float fv, double dv, float _Complex fc, double _Complex dc) { in test_foo_1() argument
5 char *cp1 = foo(fv); in test_foo_1()
14 void test_foo_2(float fv, double dv, float _Complex fc, double _Complex dc) { in test_foo_2() argument
15 char *cp1 = foo(fv); in test_foo_2()
23 void test_foo_3(float fv, double dv, float _Complex fc, double _Complex dc) { in test_foo_3() argument
24 char *cp1 = foo(fv); in test_foo_3()
/external/cronet/third_party/icu/source/test/cintltst/
Duformattedvaluetst.c192 const UFormattedValue* fv, in checkFormattedValueString() argument
196 const UChar* actualString = ufmtval_getString(fv, &length, ec); in checkFormattedValueString()
211 const UFormattedValue* fv, in checkFormattedValue() argument
218 checkFormattedValueString(message, fv, expectedString, &ec); in checkFormattedValue()
224 while (ufmtval_nextPosition(fv, ucfpos, &ec)) { in checkFormattedValue()
237 assertTrue("After loop", !ufmtval_nextPosition(fv, ucfpos, &ec)); in checkFormattedValue()
244 const UFormattedValue* fv, in checkMixedFormattedValue() argument
250 checkFormattedValueString(message, fv, expectedString, &ec); in checkMixedFormattedValue()
256 while (ufmtval_nextPosition(fv, ucfpos, &ec)) { in checkMixedFormattedValue()
269 assertTrue("After loop", !ufmtval_nextPosition(fv, ucfpos, &ec)); in checkMixedFormattedValue()
Dcrelativedateformattest.c467 UFormattedRelativeDateTime* fv = ureldatefmt_openResult(&status); in TestNumericField() local
472 ureldatefmt_formatToResult(reldatefmt, offsets[iOffset], itemPtr->unit, fv, &status); in TestNumericField()
481 …const UChar* ubufget = ufmtval_getString(ureldatefmt_resultAsValue(fv, &status), &ulenget, &status… in TestNumericField()
489 … foundNumeric = ufmtval_nextPosition(ureldatefmt_resultAsValue(fv, &status), cfpos, &status); in TestNumericField()
521 ureldatefmt_closeResult(fv); in TestNumericField()
527 … ureldatefmt_formatNumericToResult(reldatefmt, offsets[iOffset], itemPtr->unit, fv, &status); in TestNumericField()
536 …const UChar* ubufget = ufmtval_getString(ureldatefmt_resultAsValue(fv, &status), &ulenget, &status… in TestNumericField()
544 … foundNumeric = ufmtval_nextPosition(ureldatefmt_resultAsValue(fv, &status), cfpos, &status); in TestNumericField()
573 ureldatefmt_closeResult(fv); in TestNumericField()
663 const UFormattedValue* fv = ureldatefmt_resultAsValue(frdt, &ec); in TestFields() local
[all …]
/external/icu/icu4c/source/test/cintltst/
Duformattedvaluetst.c192 const UFormattedValue* fv, in checkFormattedValueString() argument
196 const UChar* actualString = ufmtval_getString(fv, &length, ec); in checkFormattedValueString()
211 const UFormattedValue* fv, in checkFormattedValue() argument
218 checkFormattedValueString(message, fv, expectedString, &ec); in checkFormattedValue()
224 while (ufmtval_nextPosition(fv, ucfpos, &ec)) { in checkFormattedValue()
237 assertTrue("After loop", !ufmtval_nextPosition(fv, ucfpos, &ec)); in checkFormattedValue()
244 const UFormattedValue* fv, in checkMixedFormattedValue() argument
250 checkFormattedValueString(message, fv, expectedString, &ec); in checkMixedFormattedValue()
256 while (ufmtval_nextPosition(fv, ucfpos, &ec)) { in checkMixedFormattedValue()
269 assertTrue("After loop", !ufmtval_nextPosition(fv, ucfpos, &ec)); in checkMixedFormattedValue()
Dcrelativedateformattest.c467 UFormattedRelativeDateTime* fv = ureldatefmt_openResult(&status); in TestNumericField() local
472 ureldatefmt_formatToResult(reldatefmt, offsets[iOffset], itemPtr->unit, fv, &status); in TestNumericField()
481 …const UChar* ubufget = ufmtval_getString(ureldatefmt_resultAsValue(fv, &status), &ulenget, &status… in TestNumericField()
489 … foundNumeric = ufmtval_nextPosition(ureldatefmt_resultAsValue(fv, &status), cfpos, &status); in TestNumericField()
521 ureldatefmt_closeResult(fv); in TestNumericField()
527 … ureldatefmt_formatNumericToResult(reldatefmt, offsets[iOffset], itemPtr->unit, fv, &status); in TestNumericField()
536 …const UChar* ubufget = ufmtval_getString(ureldatefmt_resultAsValue(fv, &status), &ulenget, &status… in TestNumericField()
544 … foundNumeric = ufmtval_nextPosition(ureldatefmt_resultAsValue(fv, &status), cfpos, &status); in TestNumericField()
573 ureldatefmt_closeResult(fv); in TestNumericField()
663 const UFormattedValue* fv = ureldatefmt_resultAsValue(frdt, &ec); in TestFields() local
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/
DBrentOptimizer.java111 double fv = fx; in localMin() local
127 r = (x - w) * (fx - fv); in localMin()
199 fv = fw; in localMin()
212 fv = fw; in localMin()
215 } else if (fu <= fv || v == x || v == w) { in localMin()
217 fv = fu; in localMin()
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/
DB20128760.input102 .filter(fv -> itemLinkFieldIds.contains(fv.getKey()))
103 .flatMap(fv -> FieldDTO.deserializeStringToListOfStrings(fv.getValue())
105 .map(id -> new ItemKey(fieldsById.get(fv.getKey()).getItemTypeId(), id))));
DB20128760.output96 .filter(fv -> itemLinkFieldIds.contains(fv.getKey()))
98 fv ->
99 FieldDTO.deserializeStringToListOfStrings(fv.getValue()).stream()
103 fieldsById.get(fv.getKey()).getItemTypeId(), id))));
/external/eigen/unsupported/test/
Dopenglsupport.cpp400 VERIFY_UNIFORM(fv, v2f, Vector2f); in openglsupport_test_loop()
401 VERIFY_UNIFORM(fv, v3f, Vector3f); in openglsupport_test_loop()
402 VERIFY_UNIFORM(fv, v4f, Vector4f); in openglsupport_test_loop()
406 VERIFY_UNIFORM(fv, m2f, Matrix2f); in openglsupport_test_loop()
407 VERIFY_UNIFORM(fv, m3f, Matrix3f); in openglsupport_test_loop()
408 VERIFY_UNIFORM(fv, m4f, Matrix4f); in openglsupport_test_loop()
442 VERIFY_UNIFORM(fv, m23f, Matrix23f); in openglsupport_test_loop()
443 VERIFY_UNIFORM(fv, m32f, Matrix32f); in openglsupport_test_loop()
444 VERIFY_UNIFORM(fv, m24f, Matrix24f); in openglsupport_test_loop()
445 VERIFY_UNIFORM(fv, m42f, Matrix42f); in openglsupport_test_loop()
[all …]
/external/vboot_reference/tests/futility/
Dtest_sign_fw_main.sh22 --fv ${TMP}.fw_main \
29 --fv ${TMP}.fw_main
37 --fv ${TMP}.fw_main \
/external/clang/test/OpenMP/
Datomic_capture_codegen.cpp20 float fv, fx; variable
223 dv = fx = fx + fv; in main()
242 {fv = dx; dx = dv - dx;} in main()
484 {fx = fx * ulv; fv = fx;} in main()
548 {cix = fv / cix; civ = cix;} in main()
1004 {fv = float2x.x; float2x.x = ulv - float2x.x;} in main()

12345678910>>...14