Searched refs:cast (Results 1 – 16 of 16) sorted by relevance
/system/extras/simpleperf/scripts/ |
D | simpleperf_report_lib.py | 35 return ct.cast(p, ct.c_void_p).value is None 382 void_p = ct.cast(feature_data[0].data, ct.c_void_p) 383 arg_count = ct.cast(void_p, ct.POINTER(ct.c_uint32)).contents.value 387 str_len = ct.cast(void_p, ct.POINTER(ct.c_uint32)).contents.value 389 char_p = ct.cast(void_p, ct.POINTER(ct.c_char)) 406 void_p = ct.cast(feature_data[0].data, ct.c_void_p) 407 str_len = ct.cast(void_p, ct.POINTER(ct.c_uint32)).contents.value 409 char_p = ct.cast(void_p, ct.POINTER(ct.c_char))
|
/system/bt/gd/hci/ |
D | class_of_device_pybind11_type_caster.h | 50 static handle cast(bluetooth::hci::ClassOfDevice src, return_value_policy, handle) {
|
D | address_pybind11_type_caster.h | 50 static handle cast(bluetooth::hci::Address src, return_value_policy, handle) {
|
/system/libziparchive/ |
D | Android.bp | 38 // Enable -Wold-style-cast only for non-Windows targets. _islower_l, 40 // libcxx/include/__locale) has an old-style-cast. 44 "-Wold-style-cast",
|
/system/bt/gd/rust/linux/service/src/ |
D | iface_bluetooth_gatt.rs | 16 use num_traits::cast::{FromPrimitive, ToPrimitive};
|
/system/tools/hidl/ |
D | ConstantExpression.cpp | 305 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()
|
D | ConstantExpression.h | 163 T cast() const;
|
/system/tools/hidl/hidl2aidl/ |
D | AidlTranslate.cpp | 310 std::string cast; in simpleTranslation() local 312 cast = "(char) "; in simpleTranslation() 316 out << "out." << field.field->name() << " = " << cast << inputAccess << ";\n"; in simpleTranslation() 320 out << "out.set" << StringHelper::Capitalize(field.fullName) << "(" << cast in simpleTranslation()
|
/system/security/keystore2/system_property/ |
D | lib.rs | 103 let f = &mut *res_p.cast::<&mut dyn FnMut(Option<&CStr>, Option<&CStr>)>(); in read_raw()
|
/system/bt/gd/rust/linux/stack/src/ |
D | bluetooth.rs | 10 use num_traits::cast::ToPrimitive;
|
/system/tools/aidl/ |
D | ast_java.cpp | 171 : lvalue(l), rvalue(r), cast(c) {} in Assignment() 176 if (this->cast) { in Write() 177 to->Write("(%s)", this->cast->c_str()); in Write()
|
D | ast_java.h | 162 std::optional<std::string> cast = std::nullopt; member 166 std::string cast);
|
/system/core/libutils/include/utils/ |
D | StrongPointer.h | 82 static inline sp<T> cast(const sp<U>& other); 298 sp<T> sp<T>::cast(const sp<U>& other) { in cast() function
|
/system/apex/apexd/ |
D | Android.bp | 11 "bugprone-misplaced-widening-cast",
|
/system/chre/build/sys_support/qcom/ |
D | chre.scons | 88 env.Replace(HEXAGONCC_WARN = '-Wall -Wno-cast-align -Wpointer-arith -Wno-missing-braces' \
|
/system/bt/doc/ |
D | style_guide.md | 33 In general, do not cast pointers to integers or vice versa.
|