Home
last modified time | relevance | path

Searched refs:cast (Results 1 – 13 of 13) sorted by relevance

/system/extras/simpleperf/scripts/
Dsimpleperf_report_lib.py36 return ct.cast(p, ct.c_void_p).value is None
363 void_p = ct.cast(feature_data[0].data, ct.c_void_p)
364 arg_count = ct.cast(void_p, ct.POINTER(ct.c_uint32)).contents.value
368 str_len = ct.cast(void_p, ct.POINTER(ct.c_uint32)).contents.value
370 char_p = ct.cast(void_p, ct.POINTER(ct.c_char))
387 void_p = ct.cast(feature_data[0].data, ct.c_void_p)
388 str_len = ct.cast(void_p, ct.POINTER(ct.c_uint32)).contents.value
390 char_p = ct.cast(void_p, ct.POINTER(ct.c_char))
/system/bt/gd/hci/
Daddress_pybind11_type_caster.h50 static handle cast(bluetooth::hci::Address src, return_value_policy, handle) {
Dclass_of_device_pybind11_type_caster.h50 static handle cast(bluetooth::hci::ClassOfDevice src, return_value_policy, handle) {
/system/libziparchive/
DAndroid.bp33 // Enable -Wold-style-cast only for non-Windows targets. _islower_l,
35 // libcxx/include/__locale) has an old-style-cast.
39 "-Wold-style-cast",
/system/tools/hidl/
DConstantExpression.cpp305 int64_t numBits = mRval->cast<int64_t>(); in evaluate()
461 literal = this->cast<bool>() ? "true" : "false"; in javaValue()
482 #define CASE_STR(__type__) return std::to_string(this->cast<__type__>()); in rawValue()
488 T ConstantExpression::cast() const { in cast() function in android::ConstantExpression
509 return this->cast<size_t>(); in castSizeT()
DConstantExpression.h163 T cast() const;
/system/tools/aidl/
Dast_java.cpp168 : lvalue(l), rvalue(r), cast(c) {} in Assignment()
173 if (this->cast) { in Write()
174 to->Write("(%s)", this->cast->c_str()); in Write()
Dast_java.h162 std::optional<std::string> cast = std::nullopt; member
166 std::string cast);
Daidl_const_expressions.cpp209 T AidlConstantValue::cast() const { in cast() function in AidlConstantValue
799 int64_t numBits = right_val_->cast<int64_t>(); in evaluate()
Daidl_language.h435 T cast() const;
/system/apex/apexd/
DAndroid.bp7 "bugprone-misplaced-widening-cast",
/system/chre/build/sys_support/qcom/
Dchre.scons88 env.Replace(HEXAGONCC_WARN = '-Wall -Wno-cast-align -Wpointer-arith -Wno-missing-braces' \
/system/bt/doc/
Dstyle_guide.md33 In general, do not cast pointers to integers or vice versa.