Searched refs:final_cmd (Results 1 – 2 of 2) sorted by relevance
/system/netd/ |
D | ndc.c | 68 char *final_cmd = strdup("0 "); in do_cmd() local 69 if (final_cmd == NULL) { in do_cmd() 79 free(final_cmd); in do_cmd() 86 if (asprintf(&cmp, format, final_cmd, argv[i], in do_cmd() 89 free(final_cmd); in do_cmd() 92 free(final_cmd); in do_cmd() 93 final_cmd = cmp; in do_cmd() 96 if (write(sock, final_cmd, strlen(final_cmd) + 1) < 0) { in do_cmd() 98 free(final_cmd); in do_cmd() 101 free(final_cmd); in do_cmd()
|
/system/vold/ |
D | vdc.c | 58 char final_cmd[255] = "0 "; /* 0 is a (now required) sequence number */ in do_cmd() local 70 ret = strlcat(final_cmd, cmp, sizeof(final_cmd)); in do_cmd() 71 if (ret >= sizeof(final_cmd)) in do_cmd() 76 if (write(sock, final_cmd, strlen(final_cmd) + 1) < 0) { in do_cmd()
|