Home
last modified time | relevance | path

Searched refs:Err (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/libs/binder/rust/tests/
Dndk_rust_interop.rs40 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()
Dserialization.rs56 return Err(StatusCode::FAILED_TRANSACTION);
73 return Err(StatusCode::FAILED_TRANSACTION);
326 _ => return Err(StatusCode::UNKNOWN_TRANSACTION), in on_transact()
329 assert_eq!(parcel.read::<i32>(), Err(StatusCode::NOT_ENOUGH_DATA)); in on_transact()
Dintegration.rs44 return Err(""); in main()
69 Err("Unexpected exit after join_thread_pool") in main()
103 _ => Err(StatusCode::UNKNOWN_TRANSACTION), in try_from()
545 assert_eq!(weak.upgrade(), Err(StatusCode::DEAD_OBJECT)); in weak_binder_upgrade_dead()
/frameworks/compile/slang/
Dllvm-rs-as.cpp131 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/
Dparcel.rs122 let len: i32 = slice.len().try_into().or(Err(StatusCode::BAD_VALUE))?; in write_slice_size()
231 return Err(StatusCode::UNEXPECTED_NULL); in resize_out_vec()
361 assert_eq!(parcel.read::<bool>(), Err(StatusCode::NOT_ENOUGH_DATA)); in test_read_write()
362 assert_eq!(parcel.read::<i8>(), Err(StatusCode::NOT_ENOUGH_DATA)); in test_read_write()
363 assert_eq!(parcel.read::<u16>(), Err(StatusCode::NOT_ENOUGH_DATA)); in test_read_write()
364 assert_eq!(parcel.read::<i32>(), Err(StatusCode::NOT_ENOUGH_DATA)); in test_read_write()
365 assert_eq!(parcel.read::<u32>(), Err(StatusCode::NOT_ENOUGH_DATA)); in test_read_write()
366 assert_eq!(parcel.read::<i64>(), Err(StatusCode::NOT_ENOUGH_DATA)); in test_read_write()
367 assert_eq!(parcel.read::<u64>(), Err(StatusCode::NOT_ENOUGH_DATA)); in test_read_write()
368 assert_eq!(parcel.read::<f32>(), Err(StatusCode::NOT_ENOUGH_DATA)); in test_read_write()
[all …]
Dnative.rs263 Err(e) => e as i32, in on_transact()
340 return Err(StatusCode::BAD_TYPE); in try_from()
350 return Err(StatusCode::UNEXPECTED_NULL); in try_from()
Derror.rs42 e => Err(e), in status_result()
335 Err(status) in from()
Dproxy.rs409 .unwrap_or(Err(StatusCode::UNEXPECTED_NULL)) in deserialize()
662 None => Err(StatusCode::NAME_NOT_FOUND), in get_interface()
Dbinder.rs770 Err($crate::StatusCode::UNEXPECTED_NULL) => {
830 Err($crate::StatusCode::BAD_TYPE.into())
/frameworks/native/vulkan/libvulkan/
Ddriver_gen.cpp37 … 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 …]
Ddebug_report.h124 void Err(ObjectType object, const char* format, ...) const in Err() function
Dapi_gen.cpp58 …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 …]
Dapi.cpp673 logger_.Err(VK_NULL_HANDLE, "Failed to find layer %s", name); in LoadLayer()
944 logger_.Err(VK_NULL_HANDLE, in ValidateExtensions()
982 logger_.Err(physical_dev, in ValidateExtensions()
/frameworks/compile/libbcc/tools/bcc_strip_attr/
Dbcc_strip_attr.cpp99 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/libs/binder/rust/src/parcel/
Dparcelable.rs59 slice.len().try_into().or(Err(StatusCode::BAD_VALUE))?, in serialize_array()
151 Err(code) => return code as status_t, in deserialize_element()
295 .or(Err(StatusCode::BAD_VALUE))?,
415 slice.len().try_into().or(Err(StatusCode::BAD_VALUE))?, in serialize_array()
446 slice.len().try_into().or(Err(StatusCode::BAD_VALUE))?, in serialize_array()
482 .or(Err(StatusCode::BAD_VALUE))?, in serialize_option()
535 String::from_utf8(s).or(Err(StatusCode::BAD_VALUE)) in deserialize()
547 .unwrap_or(Err(StatusCode::UNEXPECTED_NULL)) in deserialize()
585 .unwrap_or(Err(StatusCode::UNEXPECTED_NULL)) in deserialize()
Dfile_descriptor.rs123 .unwrap_or(Err(StatusCode::UNEXPECTED_NULL)) in deserialize()