Searched refs:resp (Results 1 – 2 of 2) sorted by relevance
/system/core/fastboot/ |
D | engine.c | 95 int (*func)(Action *a, int status, char *resp); 179 static int cb_default(Action *a, int status, char *resp) in cb_default() argument 182 fprintf(stderr,"FAILED (%s)\n", resp); in cb_default() 439 static int cb_check(Action *a, int status, char *resp, int invert) in cb_check() argument 447 fprintf(stderr,"FAILED (%s)\n", resp); in cb_check() 461 yes = match(resp, value, count); in cb_check() 472 fprintf(stderr,"Device %s is '%s'.\n", a->cmd + 7, resp); in cb_check() 482 static int cb_require(Action *a, int status, char *resp) in cb_require() argument 484 return cb_check(a, status, resp, 0); in cb_require() 487 static int cb_reject(Action *a, int status, char *resp) in cb_reject() argument [all …]
|
/system/core/adb/ |
D | services.c | 529 char resp[4096]; in connect_service() local 539 snprintf(resp, sizeof(resp), "%04x%s",(unsigned)strlen(buf), buf); in connect_service() 540 writex(fd, resp, strlen(resp)); in connect_service()
|