Searched refs:sti (Results 1 – 1 of 1) sorted by relevance
39 stinfo* sti = reinterpret_cast<stinfo*>(x); in service_bootstrap_func() local40 sti->func(sti->fd, sti->cookie); in service_bootstrap_func()41 free(sti); in service_bootstrap_func()70 stinfo* sti = reinterpret_cast<stinfo*>(malloc(sizeof(stinfo))); in create_service_thread() local71 if(sti == 0) fatal("cannot allocate stinfo"); in create_service_thread()72 sti->func = func; in create_service_thread()73 sti->cookie = cookie; in create_service_thread()74 sti->fd = s[1]; in create_service_thread()76 if (!adb_thread_create(service_bootstrap_func, sti)) { in create_service_thread()77 free(sti); in create_service_thread()