/frameworks/native/libs/binder/rust/binder_tokio/ |
D | lib.rs | 52 Ok(Err(err)) => Err(err), in get_interface() 53 Err(e) if e.is_panic() => std::panic::resume_unwind(e.into_panic()), in get_interface() 54 Err(e) if e.is_cancelled() => Err(StatusCode::FAILED_TRANSACTION), in get_interface() 55 Err(_) => Err(StatusCode::UNKNOWN_ERROR), in get_interface() 76 Ok(Err(err)) => Err(err), in wait_for_interface() 77 Err(e) if e.is_panic() => std::panic::resume_unwind(e.into_panic()), in wait_for_interface() 78 Err(e) if e.is_cancelled() => Err(StatusCode::FAILED_TRANSACTION), in wait_for_interface() 79 Err(_) => Err(StatusCode::UNKNOWN_ERROR), in wait_for_interface() 115 Err(e) if e.is_panic() => std::panic::resume_unwind(e.into_panic()), in spawn() 116 Err(e) if e.is_cancelled() => Err(StatusCode::FAILED_TRANSACTION.into()), in spawn() [all …]
|
/frameworks/native/libs/binder/rust/tests/ |
D | ndk_rust_interop.rs | 40 Err(e) => { in rust_call_ndk() 53 Err(e) => return e.into(), in rust_call_ndk() 60 Err(e) if e == StatusCode::BAD_TYPE => {} in rust_call_ndk() 61 Err(e) => { in rust_call_ndk() 95 Err(e) => e as c_int, in rust_start_service()
|
D | serialization.rs | 57 return Err(StatusCode::FAILED_TRANSACTION); 74 return Err(StatusCode::FAILED_TRANSACTION); 327 _ => return Err(StatusCode::UNKNOWN_TRANSACTION), in on_transact() 330 assert_eq!(parcel.read::<i32>(), Err(StatusCode::NOT_ENOUGH_DATA)); in on_transact()
|
D | integration.rs | 49 return Err(""); in main() 72 Err("Unexpected exit after join_thread_pool") in main() 119 _ => Err(StatusCode::UNKNOWN_TRANSACTION), in try_from() 893 assert_eq!(weak.upgrade(), Err(StatusCode::DEAD_OBJECT)); in weak_binder_upgrade_dead() 951 Err(err) => assert_eq!(err, binder::StatusCode::BAD_VALUE), in binder_parcel_mixup()
|
/frameworks/compile/slang/ |
D | llvm-rs-as.cpp | 131 SMDiagnostic Err; in main() local 132 std::unique_ptr<Module> M(parseAssemblyFile(InputFilename, Err, Context)); in main() 134 Err.print(argv[0], errs()); in main() 139 std::string Err; in main() local 140 raw_string_ostream stream(Err); in main() 144 errs() << Err; in main()
|
/frameworks/native/libs/binder/rust/src/ |
D | parcel.rs | 236 let len: i32 = slice.len().try_into().or(Err(StatusCode::BAD_VALUE))?; in write_slice_size() 500 return Err(StatusCode::BAD_VALUE); in sized_read() 506 return Err(StatusCode::NOT_ENOUGH_DATA); in sized_read() 536 return Err(StatusCode::UNEXPECTED_NULL); in resize_out_vec() 736 assert_eq!(parcel.read::<bool>(), Err(StatusCode::NOT_ENOUGH_DATA)); in test_read_write() 737 assert_eq!(parcel.read::<i8>(), Err(StatusCode::NOT_ENOUGH_DATA)); in test_read_write() 738 assert_eq!(parcel.read::<u16>(), Err(StatusCode::NOT_ENOUGH_DATA)); in test_read_write() 739 assert_eq!(parcel.read::<i32>(), Err(StatusCode::NOT_ENOUGH_DATA)); in test_read_write() 740 assert_eq!(parcel.read::<u32>(), Err(StatusCode::NOT_ENOUGH_DATA)); in test_read_write() 741 assert_eq!(parcel.read::<i64>(), Err(StatusCode::NOT_ENOUGH_DATA)); in test_read_write() [all …]
|
D | native.rs | 288 Err(e) => e as i32, in on_transact() 350 Err(e) => e as status_t, in on_dump() 401 return Err(StatusCode::BAD_TYPE); in try_from() 411 return Err(StatusCode::UNEXPECTED_NULL); in try_from()
|
D | proxy.rs | 437 .unwrap_or(Err(StatusCode::UNEXPECTED_NULL)) in deserialize() 782 None => Err(StatusCode::NAME_NOT_FOUND), in get_interface() 792 None => Err(StatusCode::NAME_NOT_FOUND), in wait_for_interface() 798 let interface = CString::new(interface).or(Err(StatusCode::UNEXPECTED_NULL))?; in is_declared() 828 let interface = CString::new(interface).or(Err(StatusCode::UNEXPECTED_NULL))?; in get_declared_instances()
|
D | error.rs | 42 e => Err(e), in status_result() 335 Err(status) in from()
|
D | binder.rs | 136 _ => Err(StatusCode::BAD_VALUE) in try_from() 905 Err($crate::StatusCode::UNEXPECTED_NULL) => { 969 Err($crate::StatusCode::BAD_TYPE.into()) 1038 Err($crate::StatusCode::BAD_TYPE.into())
|
/frameworks/native/libs/binder/rust/src/parcel/ |
D | parcelable_holder.rs | 101 return Err(StatusCode::BAD_VALUE); in set_parcelable() 138 return Err(StatusCode::BAD_VALUE); in get_parcelable() 142 Err(_) => Err(StatusCode::BAD_VALUE), in get_parcelable() 186 Err(StatusCode::UNEXPECTED_NULL) in deserialize() 237 return Err(StatusCode::BAD_VALUE); in read_from_parcel() 244 return Err(StatusCode::BAD_VALUE); in read_from_parcel()
|
D | parcelable.rs | 90 slice.len().try_into().or(Err(StatusCode::BAD_VALUE))?, in serialize_array() 182 Err(code) => return code as status_t, in deserialize_element() 359 .or(Err(StatusCode::BAD_VALUE))?, 479 slice.len().try_into().or(Err(StatusCode::BAD_VALUE))?, in serialize_array() 510 slice.len().try_into().or(Err(StatusCode::BAD_VALUE))?, in serialize_array() 546 .or(Err(StatusCode::BAD_VALUE))?, in serialize_option() 595 String::from_utf8(s).or(Err(StatusCode::BAD_VALUE)) in deserialize() 607 .unwrap_or(Err(StatusCode::UNEXPECTED_NULL)) in deserialize() 645 .unwrap_or(Err(StatusCode::UNEXPECTED_NULL)) in deserialize() 674 .unwrap_or(Err(StatusCode::UNEXPECTED_NULL))?; in deserialize() [all …]
|
D | file_descriptor.rs | 141 .unwrap_or(Err(StatusCode::UNEXPECTED_NULL)) in deserialize()
|
/frameworks/native/vulkan/libvulkan/ |
D | driver_gen.cpp | 37 … Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkCreateSwapchainKHR not executed."); in checkedCreateSwapchainKHR() 46 … Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkDestroySwapchainKHR not executed."); in checkedDestroySwapchainKHR() 54 … Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkGetSwapchainImagesKHR not executed."); in checkedGetSwapchainImagesKHR() 63 … Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkAcquireNextImageKHR not executed."); in checkedAcquireNextImageKHR() 72 Logger(queue).Err(queue, "VK_KHR_swapchain not enabled. vkQueuePresentKHR not executed."); in checkedQueuePresentKHR() 81 Logger(device).Err(device, "VK_VERSION_1_1 not enabled. vkBindImageMemory2 not executed."); in checkedBindImageMemory2() 90 …Logger(device).Err(device, "VK_KHR_bind_memory2 not enabled. vkBindImageMemory2KHR not executed."); in checkedBindImageMemory2KHR() 99 …Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkGetDeviceGroupPresentCapabilitiesKHR n… in checkedGetDeviceGroupPresentCapabilitiesKHR() 108 …Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkGetDeviceGroupSurfacePresentModesKHR n… in checkedGetDeviceGroupSurfacePresentModesKHR() 117 … Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkAcquireNextImage2KHR not executed."); in checkedAcquireNextImage2KHR() [all …]
|
D | debug_report.h | 123 void Err(ObjectType object, const char* format, ...) const in Err() function
|
D | api_gen.cpp | 58 …driver::Logger(instance).Err(instance, "VK_KHR_android_surface not enabled. Exported vkCreateAndro… in disabledCreateAndroidSurfaceKHR() 63 …driver::Logger(instance).Err(instance, "VK_KHR_surface not enabled. Exported vkDestroySurfaceKHR n… in disabledDestroySurfaceKHR() 67 …driver::Logger(physicalDevice).Err(physicalDevice, "VK_KHR_surface not enabled. Exported vkGetPhys… in disabledGetPhysicalDeviceSurfaceSupportKHR() 72 …driver::Logger(physicalDevice).Err(physicalDevice, "VK_KHR_surface not enabled. Exported vkGetPhys… in disabledGetPhysicalDeviceSurfaceCapabilitiesKHR() 77 …driver::Logger(physicalDevice).Err(physicalDevice, "VK_KHR_surface not enabled. Exported vkGetPhys… in disabledGetPhysicalDeviceSurfaceFormatsKHR() 82 …driver::Logger(physicalDevice).Err(physicalDevice, "VK_KHR_surface not enabled. Exported vkGetPhys… in disabledGetPhysicalDeviceSurfacePresentModesKHR() 87 …driver::Logger(device).Err(device, "VK_KHR_swapchain not enabled. Exported vkCreateSwapchainKHR no… in disabledCreateSwapchainKHR() 92 …driver::Logger(device).Err(device, "VK_KHR_swapchain not enabled. Exported vkDestroySwapchainKHR n… in disabledDestroySwapchainKHR() 96 …driver::Logger(device).Err(device, "VK_KHR_swapchain not enabled. Exported vkGetSwapchainImagesKHR… in disabledGetSwapchainImagesKHR() 101 …driver::Logger(device).Err(device, "VK_KHR_swapchain not enabled. Exported vkAcquireNextImageKHR n… in disabledAcquireNextImageKHR() [all …]
|
D | api.cpp | 673 logger_.Err(VK_NULL_HANDLE, "Failed to find layer %s", name); in LoadLayer() 944 logger_.Err(VK_NULL_HANDLE, in ValidateExtensions() 989 logger_.Err(physical_dev, in ValidateExtensions()
|
/frameworks/compile/libbcc/tools/bcc_strip_attr/ |
D | bcc_strip_attr.cpp | 99 SMDiagnostic Err; in LoadFile() local 100 std::unique_ptr<Module> Result = parseIRFile(FN, Err, Context); in LoadFile() 105 Err.print(argv0, errs()); in LoadFile()
|
/frameworks/native/cmds/cmd/fuzzer/ |
D | README.md | 13 3. Err (parameter name: `err`)
|