Searched refs:MINI_STR (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg.c | 558 #define MINI_STR(l, s, m, n) strncmp(l, s, MAX(MIN(sizeof (s) - 1, m), n)) macro 567 if (MINI_STR(line, "create ", word_end, 2) == 0) in CPL_MATCH_FN() 570 if (MINI_STR(line, "destroy ", word_end, 1) == 0) in CPL_MATCH_FN() 573 if (MINI_STR(line, "export ", word_end, 3) == 0) in CPL_MATCH_FN() 576 if (MINI_STR(line, "list ", word_end, 1) == 0) in CPL_MATCH_FN() 579 if (MINI_STR(line, "select ", word_end, 1) == 0) in CPL_MATCH_FN() 589 if (MINI_STR(line, "create ", word_end, 2) == 0) in CPL_MATCH_FN() 592 if (MINI_STR(line, "destroy ", word_end, 1) == 0) in CPL_MATCH_FN() 595 if (MINI_STR(line, "export ", word_end, 3) == 0) in CPL_MATCH_FN() 598 if (MINI_STR(line, "list ", word_end, 1) == 0) in CPL_MATCH_FN() [all …]
|