Home | History | Annotate | Download | only in nexus

Lines Matching full:buffer

24 char *SupplicantState::toString(int val, char *buffer, int max) {
26 strncpy(buffer, "UNKNOWN", max);
28 strncpy(buffer, "DISCONNECTED", max);
30 strncpy(buffer, "INACTIVE", max);
32 strncpy(buffer, "SCANNING", max);
34 strncpy(buffer, "ASSOCIATING", max);
36 strncpy(buffer, "ASSOCIATED", max);
38 strncpy(buffer, "FOURWAY_HANDSHAKE", max);
40 strncpy(buffer, "GROUP_HANDSHAKE", max);
42 strncpy(buffer, "COMPLETED", max);
44 strncpy(buffer, "IDLE", max);
46 strncpy(buffer, "(internal error)", max);
48 return buffer;