Searched refs:buflen (Results 1 - 4 of 4) sorted by relevance

/system/netd/
H A DSoftapController.h34 int setCommand(char *iface, const char *fname, unsigned buflen=0);
/system/core/toolbox/
H A Dnotify.c107 int buflen; local
115 buflen = width - strlen(display_name);
116 read_len = read(ffd, buf, buflen);
118 if(read_len < buflen && buf[read_len-1] != '\n') {
122 if(read_len == buflen) {
/system/core/liblinenoise/
H A Dlinenoise.c214 static int linenoisePrompt(int fd, char *buf, size_t buflen, const char *prompt) { argument
222 buflen--; /* Make sure there is always space for the nulterm */
310 strncpy(buf,history[history_len-1-history_index],buflen);
311 buf[buflen] = '\0';
318 if (len < buflen) {
364 static int linenoiseRaw(char *buf, size_t buflen, const char *prompt) { argument
368 if (buflen == 0) {
373 if (fgets(buf, buflen, stdin) == NULL) return -1;
381 count = linenoisePrompt(fd, buf, buflen, prompt);
/system/core/adb/
H A Dcommandline.c359 static void format_host_command(char* buffer, size_t buflen, const char* command, transport_type ttype, const char* serial) argument
362 snprintf(buffer, buflen, "host-serial:%s:%s", serial, command);
370 snprintf(buffer, buflen, "%s:%s", prefix, command);

Completed in 84 milliseconds