Home
last modified time | relevance | path

Searched refs:presult (Results 1 – 18 of 18) sorted by relevance

/third_party/gn/src/base/numerics/
Dchecked_math_impl.h70 Promotion presult = {};
73 presult = static_cast<Promotion>(x) + static_cast<Promotion>(y);
76 static_cast<Promotion>(y), &presult);
78 *result = static_cast<V>(presult);
79 return is_valid && IsValueInRangeForNumericType<V>(presult);
130 Promotion presult = {};
133 presult = static_cast<Promotion>(x) - static_cast<Promotion>(y);
136 static_cast<Promotion>(y), &presult);
138 *result = static_cast<V>(presult);
139 return is_valid && IsValueInRangeForNumericType<V>(presult);
[all …]
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/
Dchecked_math_impl.h79 Promotion presult = {};
83 presult = static_cast<Promotion>(x) + static_cast<Promotion>(y);
88 CheckedAddImpl(static_cast<Promotion>(x), static_cast<Promotion>(y), &presult);
90 if (!is_valid || !IsValueInRangeForNumericType<V>(presult))
92 *result = static_cast<V>(presult);
148 Promotion presult = {};
152 presult = static_cast<Promotion>(x) - static_cast<Promotion>(y);
157 CheckedSubImpl(static_cast<Promotion>(x), static_cast<Promotion>(y), &presult);
159 if (!is_valid || !IsValueInRangeForNumericType<V>(presult))
161 *result = static_cast<V>(presult);
[all …]
Dsafe_math_arm_impl.h40 Promotion presult; in Do() local
42 presult = static_cast<Promotion>(x) * static_cast<Promotion>(y); in Do()
43 if (!IsValueInRangeForNumericType<V>(presult)) in Do()
45 *result = static_cast<V>(presult); in Do()
/third_party/mesa3d/src/gallium/frontends/nine/
Dquery9.c210 union pipe_query_result presult; in NineQuery9_GetData() local
245 wait_query_result, &presult); in NineQuery9_GetData()
254 nresult.b = presult.b; in NineQuery9_GetData()
257 nresult.dw = presult.u64; in NineQuery9_GetData()
260 nresult.u64 = presult.u64; in NineQuery9_GetData()
263 nresult.b = presult.timestamp_disjoint.disjoint; in NineQuery9_GetData()
278 presult.pipeline_statistics.c_invocations; in NineQuery9_GetData()
280 presult.pipeline_statistics.c_primitives; in NineQuery9_GetData()
/third_party/boost/libs/metaparse/example/constexpr_parser/
Dmain.cpp156 struct presult struct
161 constexpr presult(int v, int r) : value(v), remaining_from(r) {} in presult() argument
163 constexpr presult incr() const { return presult(value + 1, remaining_from); } in incr() argument
167 constexpr presult parse_cs(const const_list<char, N>& s, int from) in parse_cs()
171 (s.at(from) == C ? parse_cs<C, N>(s, from + 1).incr() : presult(0, from)) : in parse_cs()
172 presult(0, from); in parse_cs()
260 static constexpr presult impl() in impl()
/third_party/boost/boost/math/distributions/
Dhyperexponential.hpp84 …es(char const* function, std::vector<RealT> const& probabilities, RealT* presult, PolicyT const& p… in check_probabilities() argument
95 *presult = policies::raise_domain_error<RealT>(function, in check_probabilities()
110 *presult = policies::raise_domain_error<RealT>(function, in check_probabilities()
121 bool check_rates(char const* function, std::vector<RealT> const& rates, RealT* presult, PolicyT con… in check_rates() argument
129 *presult = policies::raise_domain_error<RealT>(function, in check_rates()
140 …tor<RealT> const& probabilities, std::vector<RealT> const& rates, RealT* presult, PolicyT const& p… in check_dist() argument
145 *presult = policies::raise_domain_error<RealT>(function, in check_dist()
152 return check_probabilities(function, probabilities, presult, pol) in check_dist()
153 && check_rates(function, rates, presult, pol); in check_dist()
157 bool check_x(char const* function, RealT x, RealT* presult, PolicyT const& pol) in check_x() argument
[all …]
Dexponential.hpp32 inline bool verify_lambda(const char* function, RealType l, RealType* presult, const Policy& pol) in verify_lambda() argument
36 *presult = policies::raise_domain_error<RealType>( in verify_lambda()
45 inline bool verify_exp_x(const char* function, RealType x, RealType* presult, const Policy& pol) in verify_exp_x() argument
49 *presult = policies::raise_domain_error<RealType>( in verify_exp_x()
Drayleigh.hpp29 …inline bool verify_sigma(const char* function, RealType sigma, RealType* presult, const Policy& po… in verify_sigma() argument
33 *presult = policies::raise_domain_error<RealType>( in verify_sigma()
42 …inline bool verify_rayleigh_x(const char* function, RealType x, RealType* presult, const Policy& p… in verify_rayleigh_x() argument
46 *presult = policies::raise_domain_error<RealType>( in verify_rayleigh_x()
Dextreme_value.hpp38 inline bool verify_scale_b(const char* function, RealType b, RealType* presult, const Policy& pol) in verify_scale_b() argument
42 *presult = policies::raise_domain_error<RealType>( in verify_scale_b()
/third_party/python/Doc/c-api/
Diter.rst64 .. c:function:: PySendResult PyIter_Send(PyObject *iter, PyObject *arg, PyObject **presult)
68 - ``PYGEN_RETURN`` if iterator returns. Return value is returned via *presult*.
69 - ``PYGEN_NEXT`` if iterator yields. Yielded value is returned via *presult*.
70 - ``PYGEN_ERROR`` if iterator has raised and exception. *presult* is set to ``NULL``.
/third_party/boost/libs/regex/src/
Dicu.cpp53 scoped_array< ::uint8_t> presult(new ::uint8_t[len+1]); in do_transform() local
55 … len = pcoll->getSortKey(&*t.begin(), static_cast< ::int32_t>(t.size()), presult.get(), len+1); in do_transform()
57 …len = pcoll->getSortKey(static_cast<UChar const*>(0), static_cast< ::int32_t>(0), presult.get(), l… in do_transform()
58 if((0 == presult[len-1]) && (len > 1)) in do_transform()
61 return string_type(presult.get(), presult.get()+len); in do_transform()
64 ::uint8_t const* ia = presult.get(); in do_transform()
65 ::uint8_t const* ib = presult.get()+len; in do_transform()
/third_party/toybox/toys/pending/
Ddhcp.c945 static uint32_t get_option_serverid (uint8_t *opt, dhcpc_result_t *presult) in get_option_serverid() argument
954 presult->serverid.s_addr = state->serverid.s_addr; in get_option_serverid()
955 presult->serverid.s_addr = ntohl(presult->serverid.s_addr); in get_option_serverid()
970 static uint8_t get_option_lease(uint8_t *opt, dhcpc_result_t *presult) in get_option_lease() argument
979 presult->lease_time = var; in get_option_lease()
1056 static uint8_t dhcpc_parseoptions(dhcpc_result_t *presult, uint8_t *optptr) in dhcpc_parseoptions() argument
1190 if ((overloaded == 1) || (overloaded == 3)) dhcpc_parseoptions(presult, optptr); in dhcpc_parseoptions()
1191 if ((overloaded == 2) || (overloaded == 3)) dhcpc_parseoptions(presult, optptr); in dhcpc_parseoptions()
1196 static uint8_t dhcpc_parsemsg(dhcpc_result_t *presult) in dhcpc_parsemsg() argument
1201 memcpy(&presult->ipaddr.s_addr, &state->pdhcp.yiaddr, 4); in dhcpc_parsemsg()
[all …]
/third_party/python/Objects/
Dgenobject.c140 gen_send_ex2(PyGenObject *gen, PyObject *arg, PyObject **presult, in gen_send_ex2() argument
147 *presult = NULL; in gen_send_ex2()
184 *presult = Py_None; in gen_send_ex2()
185 Py_INCREF(*presult); in gen_send_ex2()
227 *presult = result; in gen_send_ex2()
265 *presult = result; in gen_send_ex2()
/third_party/python/Lib/test/test_asyncio/
Dtest_locks.py534 presult = False
537 return presult
559 presult = True
/third_party/python/Modules/_ctypes/
D_ctypes_test.c315 EXPORT(void) _testfunc_v(int a, int b, int *presult) in _testfunc_v() argument
317 *presult = a + b; in _testfunc_v()
/third_party/python/Doc/data/
Drefcounts.dat1085 PyIter_Send:PyObject**:presult:+1:
/third_party/skia/third_party/externals/expat/expat/tests/
Druntests.c3742 get_feature(enum XML_FeatureEnum feature_id, long *presult) { in get_feature() argument
3749 *presult = feature->value; in get_feature()
/third_party/expat/tests/
Druntests.c3742 get_feature(enum XML_FeatureEnum feature_id, long *presult) { in get_feature() argument
3749 *presult = feature->value; in get_feature()