Home
last modified time | relevance | path

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

/system/core/logwrapper/
Dlogwrapper.c28 void fatal(const char *msg) { in fatal() function
35 fatal( in usage()
/system/core/libnetutils/
Dpacket.c41 int fatal();
49 return fatal("socket(PF_PACKET)"); in open_raw_socket()
60 return fatal("Cannot bind raw socket to interface"); in open_raw_socket()
Ddhcpclient.c81 int fatal(const char *reason) in fatal() function
408 return fatal("cannot obtain interface address"); in dhcp_init_ifc()
411 return fatal("cannot obtain interface index"); in dhcp_init_ifc()
471 return fatal("poll failed"); in dhcp_init_ifc()
/system/extras/latencytop/
Dlatencytop.c46 …tency_entry *read_thread_stats(struct latency_entry *list, int erase, int pid, int tid, int fatal);
232 …ency_entry *read_thread_stats(struct latency_entry *list, int erase, int pid, int tid, int fatal) { in read_thread_stats() argument
242 if (fatal) { in read_thread_stats()
256 if (fatal) { in read_thread_stats()
/system/core/adb/
Dsockets.cpp408 if (s == NULL) fatal("cannot allocate socket"); in create_local_socket()
549 if (id == 0) fatal("invalid remote socket id (0)"); in create_remote_socket()
553 if (s == NULL) fatal("cannot allocate socket"); in create_remote_socket()
575 fatal("destination oversized"); in connect_to_remote()
885 if (s == NULL) fatal("cannot allocate socket"); in create_smart_socket()
Dusb_linux_client.cpp244 if (h == nullptr) fatal("couldn't allocate usb_handle"); in usb_adb_init()
473 if (h == nullptr) fatal("couldn't allocate usb_handle"); in usb_ffs_init()
Dadb.h255 void fatal(const char *fmt, ...);
Dadb_main.cpp72 fatal("bad number (%s) in env var %s. Expecting 0..n.\n", cpunum_str, AFFINITY_ENVVAR); in adb_set_affinity()
Dsysdeps_win32.cpp30 extern void fatal(const char *fmt, ...);
79 #define assert(cond) do { if (!(cond)) fatal( "assertion failed '%s' on %s:%ld\n", #cond, __FILE__…
577 fatal( "adb: could not initialize Winsock\n" ); in _init_winsock()
1255 #define FATAL(x...) fatal(__FUNCTION__, x)
1316 fatal( "could not allocate event hook\n" ); in event_hook_alloc()
2202 fatal("ReadConsoleInputA returned 0"); in _get_interesting_input_record_uncached()
2206 fatal("ReadConsoleInputA did not return one input record"); in _get_interesting_input_record_uncached()
2212 fatal("ReadConsoleInputA returned a key event with zero repeat" in _get_interesting_input_record_uncached()
Dadb_listeners.cpp272 fatal("cannot allocate listener"); in install_listener()
Dfdevent.cpp47 static void fatal(const char *fn, const char *fmt, ...) in fatal() function
57 #define FATAL(x...) fatal(__FUNCTION__, x)
Dservices.cpp207 fatal("cannot allocate stinfo"); in create_service_thread()
408 if(sti == 0) fatal("cannot allocate stinfo"); in create_subproc_thread()
Dadb.cpp59 void fatal(const char *fmt, ...) in fatal() function
204 fatal("failed to allocate an apacket"); in get_apacket()
Dtransport.cpp443 if (tracker == nullptr) fatal("cannot allocate device tracker"); in create_device_tracker()
1023 if (t == nullptr) fatal("cannot allocate USB atransport"); in register_usb_transport()
Dusb_linux.cpp592 if (usb == nullptr) fatal("couldn't allocate usb_handle"); in register_device()
Dcommandline.cpp310 if (buf == nullptr) fatal("couldn't allocate buffer for copy_to_file"); in copy_to_file()