Searched defs:buflen (Results 1 - 5 of 5) sorted by relevance
/system/core/nexus/ |
H A D | SupplicantListener.cpp | 46 size_t buflen = sizeof(buf); local 48 size_t nread = buflen - 1; 58 strncpy(buf, WPA_EVENT_TERMINATING " - signal 0 received", buflen-1); 59 buf[buflen-1] = '\0';
|
/system/core/toolbox/ |
H A D | notify.c | 107 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/netd/ |
H A D | SoftapController.cpp | 59 int SoftapController::setCommand(char *iface, const char *fname, unsigned buflen) { argument 107 if ((buflen == 0) && (*mBuf != 0)) 110 wrq.u.data.length = buflen;
|
/system/core/liblinenoise/ |
H A D | linenoise.c | 214 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 D | commandline.c | 355 static void format_host_command(char* buffer, size_t buflen, const char* command, transport_type ttype, const char* serial) argument 358 snprintf(buffer, buflen, "host-serial:%s:%s", serial, command); 366 snprintf(buffer, buflen, "%s:%s", prefix, command);
|
Completed in 115 milliseconds