Home
last modified time | relevance | path

Searched refs:fvalue (Results 1 – 25 of 28) sorted by relevance

12

/external/openssh/openbsd-compat/
Dbsd-snprintf.c177 LDOUBLE fvalue, int min, int max, int flags);
184 LDOUBLE fvalue; in dopr() local
389 fvalue = va_arg (args, LDOUBLE); in dopr()
391 fvalue = va_arg (args, double); in dopr()
392 if (fmtfp(buffer, &currlen, maxlen, fvalue, in dopr()
400 fvalue = va_arg (args, LDOUBLE); in dopr()
402 fvalue = va_arg (args, double); in dopr()
403 if (fmtfp(buffer, &currlen, maxlen, fvalue, in dopr()
411 fvalue = va_arg (args, LDOUBLE); in dopr()
413 fvalue = va_arg (args, double); in dopr()
[all …]
/external/nanopb-c/tests/encode_unittests/
Dencode_unittests.c150 float fvalue; in main() local
154 fvalue = 0.0f; in main()
155 TEST(WRITES(pb_enc_fixed32(&s, NULL, &fvalue), "\x00\x00\x00\x00")) in main()
156 fvalue = 99.0f; in main()
157 TEST(WRITES(pb_enc_fixed32(&s, NULL, &fvalue), "\x00\x00\xc6\x42")) in main()
158 fvalue = -12345678.0f; in main()
159 TEST(WRITES(pb_enc_fixed32(&s, NULL, &fvalue), "\x4e\x61\x3c\xcb")) in main()
/external/grpc-grpc/third_party/nanopb/tests/encode_unittests/
Dencode_unittests.c150 float fvalue; in main() local
154 fvalue = 0.0f; in main()
155 TEST(WRITES(pb_enc_fixed32(&s, NULL, &fvalue), "\x00\x00\x00\x00")) in main()
156 fvalue = 99.0f; in main()
157 TEST(WRITES(pb_enc_fixed32(&s, NULL, &fvalue), "\x00\x00\xc6\x42")) in main()
158 fvalue = -12345678.0f; in main()
159 TEST(WRITES(pb_enc_fixed32(&s, NULL, &fvalue), "\x4e\x61\x3c\xcb")) in main()
/external/mesa3d/src/compiler/glsl/
Ds_expression.h83 virtual float fvalue() = 0;
96 float fvalue() { return float(this->val); } in fvalue() function
110 float fvalue() { return this->val; } in fvalue() function
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dmetal_arguments.cc236 for (auto& fvalue : args->float_values_) { in ScalarArgumentsToStructWithScalarFields() local
237 auto& new_val = float_values_[fvalue.first]; in ScalarArgumentsToStructWithScalarFields()
238 new_val.value = fvalue.second.value; in ScalarArgumentsToStructWithScalarFields()
239 new_val.active = fvalue.second.active; in ScalarArgumentsToStructWithScalarFields()
240 if (fvalue.second.active) { in ScalarArgumentsToStructWithScalarFields()
243 struct_desc += " float " + fvalue.first + ";\n"; in ScalarArgumentsToStructWithScalarFields()
244 ReplaceAllWords(kArgsPrefix + fvalue.first, "U." + fvalue.first, code); in ScalarArgumentsToStructWithScalarFields()
302 for (auto& fvalue : args->float_values_) { in ScalarArgumentsToStructWithVec4Fields() local
303 auto& new_val = float_values_[fvalue.first]; in ScalarArgumentsToStructWithVec4Fields()
304 new_val.value = fvalue.second.value; in ScalarArgumentsToStructWithVec4Fields()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dcl_arguments.cc399 for (const auto& fvalue : float_values_) { in CopyScalarValues() local
400 args->float_values_[fvalue.first].value = fvalue.second.value; in CopyScalarValues()
411 for (const auto& fvalue : args.float_values_) { in CopyArguments() local
412 auto& new_val = float_values_[fvalue.first]; in CopyArguments()
413 new_val.value = fvalue.second.value; in CopyArguments()
414 new_val.active = fvalue.second.active; in CopyArguments()
415 if (fvalue.second.active) { in CopyArguments()
455 for (const auto& fvalue : float_values_) { in RenameArgumentsInCode() local
456 if (fvalue.second.active) { in RenameArgumentsInCode()
457 std::string index = std::to_string(fvalue.second.offset / 4); in RenameArgumentsInCode()
[all …]
/external/iproute2/netem/
Dmaketable.c139 double findex, fvalue; in inverttable() local
147 fvalue = (double)table[i]/(double)cumulative; in inverttable()
148 inverseindex = (int)rint(fvalue*inversesize); in inverttable()
/external/python/cpython2/Lib/
Dmailcap.py111 fvalue = ""
114 fvalue = field[i+1:].strip()
119 fields[fkey] = fvalue
/external/python/cpython3/Lib/
Dmailcap.py132 fvalue = ""
135 fvalue = field[i+1:].strip()
140 fields[fkey] = fvalue
/external/scapy/scapy/
Dpacket.py885 for fvalue in fvalue_gen:
886 if isinstance(fvalue, Packet):
887 ret = fvalue.haslayer(cls)
924 for fvalue in fvalue_gen:
925 if isinstance(fvalue, Packet):
927 ret = fvalue.getlayer(cls, nb=nb, _track=track,
1011 fvalue = self.getfieldval(f.name)
1012 … if isinstance(fvalue, Packet) or (f.islist and f.holds_packets and isinstance(fvalue, list)):
1014 fvalue_gen = SetGen(fvalue,_iterpacket=0)
1015 for fvalue in fvalue_gen:
[all …]
/external/scapy/scapy/layers/tls/
Dextensions.py97 fvalue = self.getfieldval(f.name)
100 reprval = f.i2repr(self,fvalue)
110 fvalue = self.getfieldval(f.name)
112 reprval = f.i2repr(self,fvalue)
/external/python/cpython2/Modules/
Dclmodule.c388 float fvalue; in do_get() local
401 fvalue = CL_TypeIsFloat(value); in do_get()
402 return PyFloat_FromDouble(fvalue); in do_get()
424 float fvalue; in clm_SetParam() local
430 if (!PyArg_Parse(args, "(if)", &paramID, &fvalue)) { in clm_SetParam()
436 value = CL_TypeIsInt(fvalue); in clm_SetParam()
439 fvalue = value; in clm_SetParam()
440 value = CL_TypeIsInt(fvalue); in clm_SetParam()
828 float fvalue; in do_set() local
833 if (!PyArg_ParseTuple(args, "iif", &scheme, &paramID, &fvalue)) { in do_set()
[all …]
/external/libtextclassifier/abseil-cpp/absl/numeric/
Dint128_test.cc627 TypeParam fvalue = std::ldexp(static_cast<TypeParam>(value), i); in TYPED_TEST() local
628 EXPECT_DOUBLE_EQ(fvalue, static_cast<TypeParam>(absl::int128(fvalue))); in TYPED_TEST()
629 EXPECT_DOUBLE_EQ(-fvalue, static_cast<TypeParam>(-absl::int128(fvalue))); in TYPED_TEST()
630 EXPECT_DOUBLE_EQ(-fvalue, static_cast<TypeParam>(absl::int128(-fvalue))); in TYPED_TEST()
631 EXPECT_DOUBLE_EQ(fvalue, static_cast<TypeParam>(-absl::int128(-fvalue))); in TYPED_TEST()
/external/webrtc/third_party/abseil-cpp/absl/numeric/
Dint128_test.cc627 TypeParam fvalue = std::ldexp(static_cast<TypeParam>(value), i); in TYPED_TEST() local
628 EXPECT_DOUBLE_EQ(fvalue, static_cast<TypeParam>(absl::int128(fvalue))); in TYPED_TEST()
629 EXPECT_DOUBLE_EQ(-fvalue, static_cast<TypeParam>(-absl::int128(fvalue))); in TYPED_TEST()
630 EXPECT_DOUBLE_EQ(-fvalue, static_cast<TypeParam>(absl::int128(-fvalue))); in TYPED_TEST()
631 EXPECT_DOUBLE_EQ(fvalue, static_cast<TypeParam>(-absl::int128(-fvalue))); in TYPED_TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/numeric/
Dint128_test.cc627 TypeParam fvalue = std::ldexp(static_cast<TypeParam>(value), i); in TYPED_TEST() local
628 EXPECT_DOUBLE_EQ(fvalue, static_cast<TypeParam>(absl::int128(fvalue))); in TYPED_TEST()
629 EXPECT_DOUBLE_EQ(-fvalue, static_cast<TypeParam>(-absl::int128(fvalue))); in TYPED_TEST()
630 EXPECT_DOUBLE_EQ(-fvalue, static_cast<TypeParam>(absl::int128(-fvalue))); in TYPED_TEST()
631 EXPECT_DOUBLE_EQ(fvalue, static_cast<TypeParam>(-absl::int128(-fvalue))); in TYPED_TEST()
/external/abseil-cpp/absl/numeric/
Dint128_test.cc627 TypeParam fvalue = std::ldexp(static_cast<TypeParam>(value), i); in TYPED_TEST() local
628 EXPECT_DOUBLE_EQ(fvalue, static_cast<TypeParam>(absl::int128(fvalue))); in TYPED_TEST()
629 EXPECT_DOUBLE_EQ(-fvalue, static_cast<TypeParam>(-absl::int128(fvalue))); in TYPED_TEST()
630 EXPECT_DOUBLE_EQ(-fvalue, static_cast<TypeParam>(absl::int128(-fvalue))); in TYPED_TEST()
631 EXPECT_DOUBLE_EQ(fvalue, static_cast<TypeParam>(-absl::int128(-fvalue))); in TYPED_TEST()
/external/openscreen/third_party/abseil/src/absl/numeric/
Dint128_test.cc627 TypeParam fvalue = std::ldexp(static_cast<TypeParam>(value), i); in TYPED_TEST() local
628 EXPECT_DOUBLE_EQ(fvalue, static_cast<TypeParam>(absl::int128(fvalue))); in TYPED_TEST()
629 EXPECT_DOUBLE_EQ(-fvalue, static_cast<TypeParam>(-absl::int128(fvalue))); in TYPED_TEST()
630 EXPECT_DOUBLE_EQ(-fvalue, static_cast<TypeParam>(absl::int128(-fvalue))); in TYPED_TEST()
631 EXPECT_DOUBLE_EQ(fvalue, static_cast<TypeParam>(-absl::int128(-fvalue))); in TYPED_TEST()
/external/angle/third_party/abseil-cpp/absl/numeric/
Dint128_test.cc632 TypeParam fvalue = std::ldexp(static_cast<TypeParam>(value), i); in TYPED_TEST() local
633 EXPECT_DOUBLE_EQ(fvalue, static_cast<TypeParam>(absl::int128(fvalue))); in TYPED_TEST()
634 EXPECT_DOUBLE_EQ(-fvalue, static_cast<TypeParam>(-absl::int128(fvalue))); in TYPED_TEST()
635 EXPECT_DOUBLE_EQ(-fvalue, static_cast<TypeParam>(absl::int128(-fvalue))); in TYPED_TEST()
636 EXPECT_DOUBLE_EQ(fvalue, static_cast<TypeParam>(-absl::int128(-fvalue))); in TYPED_TEST()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_tss.c341 #define EMIT_TS_FLOAT(svga, unit, fvalue, token) \ argument
343 unsigned val = fui(fvalue); \
Dsvga_state_rss.c57 #define EMIT_RS_FLOAT(svga, fvalue, token) \ argument
59 unsigned value = fui(fvalue); \
/external/lua/src/
Dlobject.h580 #define fvalue(o) check_exp(ttislcf(o), val_(o).f) macro
Dltable.c189 return fvalue(k1) == fvalueraw(keyval(n2)); in equalkey()
Dlapi.c416 if (ttislcf(o)) return fvalue(o); in lua_tocfunction()
454 case LUA_VLCF: return cast_voidp(cast_sizet(fvalue(o))); in lua_topointer()
Dlvm.c584 case LUA_VLCF: return fvalue(t1) == fvalue(t2); in luaV_equalobj()
Dldo.c465 f = fvalue(s2v(func)); in luaD_call()

12