/packages/modules/Virtualization/libs/libfdt/src/ |
D | libfdt.rs | 33 let fdt = fdt.as_mut_ptr().cast(); in create_empty_tree() 45 let fdt = fdt.as_ptr().cast(); in check_full() 72 let fdt = self.as_fdt_slice().as_ptr().cast(); in path_offset_namelen() 75 let path = path.as_ptr().cast(); in path_offset_namelen() 85 let fdt = self.as_fdt_slice().as_ptr().cast(); in node_offset_by_phandle() 99 let fdt = self.as_fdt_slice().as_ptr().cast(); in node_offset_by_compatible() 110 let fdt = self.as_fdt_slice().as_ptr().cast(); in next_node() 129 let fdt = self.as_fdt_slice().as_ptr().cast(); in parent_offset() 142 let fdt = self.as_fdt_slice().as_ptr().cast(); in supernode_atdepth_offset() 159 let fdt = self.as_fdt_slice().as_ptr().cast(); in subnode_offset_namelen() [all …]
|
D | lib.rs | 109 self.0.data.as_ptr().cast() in data_ptr() 798 get_slice_at_ptr(self.as_fdt_slice(), ptr.cast(), len).ok_or(FdtError::Internal) in get_from_ptr() 803 self.buffer.as_ptr().cast() in as_ptr() 807 let p = self.as_ptr().cast::<libfdt_bindgen::fdt_header>(); in header()
|
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_2/ |
D | cast.example.cpp | 7 namespace generated_tests::cast { namespace 54 namespace generated_tests::cast { namespace 135 namespace generated_tests::cast { namespace 182 namespace generated_tests::cast { namespace 263 namespace generated_tests::cast { namespace 310 namespace generated_tests::cast { namespace 391 namespace generated_tests::cast { namespace 438 namespace generated_tests::cast { namespace 519 namespace generated_tests::cast { namespace 566 namespace generated_tests::cast { namespace [all …]
|
/packages/modules/Virtualization/vmbase/src/ |
D | heap.rs | 79 allocate(size, false).map_or(ptr::null_mut(), |p| p.cast::<c_void>().as_ptr()) in malloc() 85 allocate(size, true).map_or(ptr::null_mut(), |p| p.cast::<c_void>().as_ptr()) in calloc() 119 let ptr = ptr.cast::<usize>().as_ptr().offset(-1); in free() 143 let ptr = NonNull::new(ptr)?.cast::<usize>().as_ptr(); in allocate()
|
D | bionic.rs | 100 let buffer = unsafe { slice::from_raw_parts_mut(buffer.cast::<u8>(), length) }; in getentropy() 181 cstr_error(n).as_ptr().cast_mut().cast() in strerror()
|
D | util.rs | 25 unsafe { core::slice::from_raw_parts(original.as_ptr().cast(), len) }
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/validation/types/ |
D | SimpleValue.kt | 26 import kotlin.reflect.cast 37 expected.isInstance(value) -> return Valid(expected.cast(value)) in validate()
|
D | ParceledArray.kt | 27 import kotlin.reflect.cast 56 null -> Valid(value.map { elementType.cast(it) }) in validate()
|
/packages/modules/NeuralNetworks/common/types/operations/src/ |
D | Cast.cpp | 26 namespace cast { namespace 75 NN_DEFINE_VALIDATION_FUNCTION(CAST, cast::validate);
|
/packages/modules/Virtualization/vmbase/src/virtio/ |
D | hal.rs | 95 let src = buffer.cast::<u8>().as_ptr().cast_const(); in share() 108 let dest = buffer.cast::<u8>().as_ptr(); in unshare()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | PreferenceController.java | 280 mPreference = getPreferenceType().cast(preference); in setPreference() 283 getPreferenceType().cast(changedPref), newValue)); in setPreference() 294 return handlePreferenceClicked(getPreferenceType().cast(clickedPref)); in setPreference()
|
/packages/modules/HealthFitness/tests/cts/route/src/android/healthconnect/cts/route/ |
D | ExerciseRouteReadTest.java | 198 .map(ExerciseSessionRecord.class::cast) in getChangelogs_cannotAccessOtherAppRoute() 220 .map(ExerciseSessionRecord.class::cast) in getChangelogs_canAccessOwnRoute() 244 .map(ExerciseSessionRecord.class::cast) in getChangelogs_mixedOwnAndOtherAppSession()
|
D | ExerciseRouteBackgroundReadTest.java | 208 .map(ExerciseSessionRecord.class::cast) in getChangelogs_cannotAccessOtherAppRoute() 231 .map(ExerciseSessionRecord.class::cast) in getChangelogs_canAccessOwnRoute() 256 .map(ExerciseSessionRecord.class::cast) in getChangelogs_mixedOwnAndOtherAppSession()
|
D | ReadExerciseRoutesPermissionTest.java | 198 .map(ExerciseSessionRecord.class::cast) in getChangelogs_canAccessOtherAppRoute() 221 .map(ExerciseSessionRecord.class::cast) in getChangelogs_canAccessOwnRoute() 246 .map(ExerciseSessionRecord.class::cast) in getChangelogs_mixedOwnAndOtherAppSession()
|
D | ExerciseRouteReadAllFeatureOffTest.java | 147 .map(ExerciseSessionRecord.class::cast) in getChangelogs_canNotAccessOtherAppRoute() 170 .map(ExerciseSessionRecord.class::cast) in getChangelogs_canAccessOwnRoute()
|
/packages/modules/NeuralNetworks/common/types/operations/include/ |
D | Cast.h | 24 namespace cast {
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/ |
D | syslog.rs | 8 use num_traits::cast::ToPrimitive;
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | InputConsumer.java | 135 return c.cast(this); in getInputConsumerOfClass()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/ |
D | DelegateInputConsumer.java | 54 return c.cast(this); in getInputConsumerOfClass()
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | Cast.cpp | 28 namespace cast { namespace
|
/packages/services/Car/car-lib/src/com/android/car/internal/util/ |
D | ExceptionUtils.java | 68 throw c.cast(t); in propagateIfInstanceOf()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | DvrItemPresenter.java | 72 dvrItem = itemType.cast(item); in onBindViewHolder()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkePayload.java | 182 payloadList.add(payloadClass.cast(payload)); in getPayloadListForTypeInProvidedList()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/ |
D | TransactionManagerExerciseRoutesTest.java | 112 ExerciseSessionRecordInternal.class::cast)); in readRecordsByIds_doesNotReturnRoutesOfOtherApps() 231 ExerciseSessionRecordInternal.class::cast)); in readRecordsAndPageToken_byFilters_doesNotReturnRoutesOfOtherApps()
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/concurrency/ |
D | FailableResultSyncCallback.java | 103 return expectedClass.cast(failure); in assertFailureReceived()
|