Searched refs:fatal (Results 1 – 12 of 12) sorted by relevance
/system/core/logwrapper/ |
D | logwrapper.c | 29 void fatal(const char *msg) { in fatal() function 36 fatal( in usage() 145 fatal("Cannot create parent ptty\n"); in main() 150 fatal("Problem with /dev/ptmx\n"); in main() 155 fatal("Failed to fork\n"); in main() 159 fatal("Problem with child ptty\n"); in main()
|
/system/core/liblinenoise/ |
D | linenoise.c | 119 if (!isatty(STDIN_FILENO)) goto fatal; in enableRawMode() 124 if (tcgetattr(fd,&orig_termios) == -1) goto fatal; in enableRawMode() 142 if (tcsetattr(fd,TCSADRAIN,&raw) < 0) goto fatal; in enableRawMode() 146 fatal: in enableRawMode()
|
/system/core/libnetutils/ |
D | packet.c | 40 int fatal(); 48 return fatal("socket(PF_PACKET)"); in open_raw_socket() 59 return fatal("Cannot bind raw socket to interface"); in open_raw_socket()
|
D | dhcpclient.c | 81 int fatal(const char *reason) in fatal() function 425 return fatal("cannot obtain interface address"); in dhcp_init_ifc() 428 return fatal("cannot obtain interface index"); in dhcp_init_ifc() 488 return fatal("poll failed"); in dhcp_init_ifc()
|
/system/extras/latencytop/ |
D | latencytop.c | 45 …tency_entry *read_thread_stats(struct latency_entry *list, int erase, int pid, int tid, int fatal); 231 …ency_entry *read_thread_stats(struct latency_entry *list, int erase, int pid, int tid, int fatal) { in read_thread_stats() argument 241 if (fatal) { in read_thread_stats() 255 if (fatal) { in read_thread_stats()
|
/system/core/adb/ |
D | sockets.c | 369 if(s == 0) fatal("cannot allocate socket"); in create_local_socket() 485 if(s == 0) fatal("cannot allocate socket"); in create_remote_socket() 506 fatal("destination oversized"); in connect_to_remote() 764 if(s == 0) fatal("cannot allocate socket"); in create_smart_socket()
|
D | fdevent.c | 35 static void fatal(const char *fn, const char *fmt, ...) in fatal() function 45 #define FATAL(x...) fatal(__FUNCTION__, x)
|
D | adb.h | 234 void fatal(const char *fmt, ...);
|
D | sysdeps_win32.c | 9 extern void fatal(const char *fmt, ...); 11 #define assert(cond) do { if (!(cond)) fatal( "assertion failed '%s' on %s:%ld\n", #cond, __FILE__… 572 fatal( "adb: could not initialize Winsock\n" ); in _init_winsock() 1244 #define FATAL(x...) fatal(__FUNCTION__, x) 1306 fatal( "could not allocate event hook\n" ); in event_hook_alloc()
|
D | adb.c | 44 void fatal(const char *fmt, ...) in fatal() function 134 if(p == 0) fatal("failed to allocate an apacket"); in get_apacket() 588 fatal("cannot allocate listener"); in install_listener()
|
D | services.c | 254 if(sti == 0) fatal("cannot allocate stinfo"); in create_service_thread()
|
D | transport.c | 450 if(tracker == 0) fatal("cannot allocate device tracker"); in create_device_tracker()
|