Home
last modified time | relevance | path

Searched refs:MAX_USER_HANDLES (Results 1 – 6 of 6) sorted by relevance

/trusty/user/base/lib/tipc/test/include/app/ipc_unittest/
Dcommon.h21 #define MAX_USER_HANDLES IPC_MAX_HANDLES macro
/trusty/user/base/lib/tipc/test/main/
Dmain.c134 rc = wait(handle_base + MAX_USER_HANDLES, &event, timeout); in TEST()
137 rc = wait(handle_base + MAX_USER_HANDLES + 1, &event, timeout); in TEST()
144 for (unsigned int i = first_free_handle_index; i < MAX_USER_HANDLES; i++) { in TEST()
170 rc = close(handle_base + MAX_USER_HANDLES); in TEST()
173 rc = close(handle_base + MAX_USER_HANDLES + 1); in TEST()
180 for (unsigned int i = first_free_handle_index; i < MAX_USER_HANDLES; i++) { in TEST()
206 rc = set_cookie(handle_base + MAX_USER_HANDLES, (void*)0x2BEEF); in TEST()
209 rc = set_cookie(handle_base + MAX_USER_HANDLES + 1, (void*)0x2BEEF); in TEST()
216 for (unsigned int i = first_free_handle_index; i < MAX_USER_HANDLES; i++) { in TEST()
242 rc = dup(handle_base + MAX_USER_HANDLES); in TEST()
[all …]
/trusty/user/base/lib/tipc/rust/
Drules.mk43 MAX_USER_HANDLES \
/trusty/user/base/lib/tipc/rust/src/
Dhandle.rs481 pub const MAX_USER_HANDLES: i32 = sys::MAX_USER_HANDLES as i32; constant
530 Handle(USER_BASE_HANDLE + MAX_USER_HANDLES).wait(timeout).err(), in wait_negative()
536 Handle(USER_BASE_HANDLE + MAX_USER_HANDLES + 1).wait(timeout).err(), in wait_negative()
548 for i in first_free_handle_index()..MAX_USER_HANDLES { in wait_negative()
Dservice.rs1191 use crate::handle::test::{first_free_handle_index, MAX_USER_HANDLES};
1296 for i in first_free_handle_index()..MAX_USER_HANDLES - 1 { in port_create()
1311 let path = format!("{}.port.{}{}", SRV_PATH_BASE, "test", MAX_USER_HANDLES - 1); in port_create()
1326 let path = format!("{}.port.{}{}", SRV_PATH_BASE, "test", MAX_USER_HANDLES); in port_create()
1339 for i in first_free_handle_index()..MAX_USER_HANDLES { in wait_on_port()
/trusty/user/base/lib/tipc/test/srv/
Dsrv.c404 for (unsigned int i = FIRST_FREE_HANDLE; i < MAX_USER_HANDLES; i++) { in connect_handle_port()