HomeSort by: relevance | last modified time | path
    Searched refs:COUNTOF (Results 1 - 25 of 26) sorted by relevancy

1 2

  /src/external/bsd/ntp/dist/libntp/
modetoa.c 29 if (mode >= COUNTOF(modestrings)) {
lib_strbuf.c 50 for (u = 0; u < COUNTOF(lib_stringbuf); u++) {
69 lib_nextbuf = (1 + mybuf) % COUNTOF(lib_stringbuf);
netof.c 34 next_netofbuf = (next_netofbuf + 1) % COUNTOF(netofbuf);
statestr.c 413 COUNTOF(peer_st_bits));
423 COUNTOF(res_match_bits));
433 COUNTOF(res_access_bits));
443 return decode_bitflags(st, " ", k_st_bits, COUNTOF(k_st_bits));
  /src/external/bsd/ntp/dist/sntp/tests/
sntptest.c 31 optionProcess(&sntpOptions, COUNTOF(opts), opts);
  /src/external/bsd/ntp/dist/ntpd/
keyword-gen.c 370 qsort(ntp_keywords, COUNTOF(ntp_keywords),
381 for (i = 0; i < COUNTOF(ntp_keywords); i++) {
383 if (1 > token || token >= COUNTOF(sst)) {
387 (int)COUNTOF(sst),
399 (int)COUNTOF(ntp_keywords),
401 (int)COUNTOF(sst) - 1);
563 while (my_state < COUNTOF(sst)
565 if (my_state >= COUNTOF(sst)) {
570 (int)COUNTOF(sst));
637 for (i = 0; i < COUNTOF(ntp_keywords); i++)
    [all...]
ntp_scanner.c 88 if (i < COUNTOF(keyword_text)) {
758 if (i >= COUNTOF(yytext))
772 if (i >= COUNTOF(yytext))
ntp_control.c 849 for (i = 0; i < COUNTOF(ctl_traps); i++)
1384 else if (sys_peer->refclktype < COUNTOF(clocktypes))
1439 for (i = 0; i < COUNTOF(ctl_traps); i++) {
2527 COUNTOF(str));
2539 COUNTOF(str));
2741 if (p->ttl > 0 && p->ttl < COUNTOF(sys_ttl))
3281 if (n + 1 >= COUNTOF(a_st)) {
3326 INSIST(v->code < COUNTOF(wants));
3331 for (i = 1; i < COUNTOF(wants); i++)
3803 remaining = COUNTOF(sent)
    [all...]
refclock_msfees.c 995 ees->second < COUNTOF(deltas))
999 char text[16 * COUNTOF(deltas)];
1002 for (i = 0; i < COUNTOF(deltas); i++) {
1003 snprintf(cptr, sizeof(text) / COUNTOF(deltas),
ntp_peer.c 142 for (i = COUNTOF(init_peer_alloc) - 1; i >= 0; i--)
144 total_peer_structs = COUNTOF(init_peer_alloc);
145 peer_free_count = COUNTOF(init_peer_alloc);
ntp_restrict.c 37 for (x = 0; x < (int)COUNTOF((dst)->s6_addr); x++) { \
ntp_config.c 3119 DEBUG_INSIST((size_t)pao < COUNTOF(psl));
3649 if (i < COUNTOF(sys_phone) - 1) {
3655 (COUNTOF(sys_phone) - 1), sn->s);
3738 if (i < COUNTOF(sys_ttl))
3743 COUNTOF(sys_ttl), curr_ttl->i);
5508 for (; prop_index < COUNTOF(keywords); prop_index++)
ntpd.c 1426 for (i = 0; i < COUNTOF(scmp_sc); i++) {
ntp_request.c 2260 for (i = 0, tr = ctl_traps; it && i < COUNTOF(ctl_traps); i++, tr++) {
  /src/external/bsd/ntp/dist/tests/libntp/
timespecops.c 634 for (i = 0; i < COUNTOF(fdata); ++i) {
652 for (i = 0; i < COUNTOF(fdata); ++i) {
670 for (i = 0; i < COUNTOF(fdata); ++i) {
716 for (i = 0; i < COUNTOF(fdata); ++i) {
735 for (i = 0; i < COUNTOF(fdata); ++i) {
792 for (i = 0; i < COUNTOF(data); ++i) {
timevalops.c 635 for (i = 0; i < COUNTOF(fdata); ++i) {
654 for (i = 0; i < COUNTOF(fdata); ++i) {
673 for (i = 0; i < COUNTOF(fdata); ++i) {
719 for (i = 0; i < COUNTOF(fdata); ++i) {
738 for (i = 0; i < COUNTOF(fdata); ++i) {
795 for (i = 0; i < COUNTOF(data); ++i) {
clocktime.c 232 whichprime = abs(yday) % COUNTOF(prime_incs);
  /src/external/bsd/ntp/dist/util/
ntptime.c 251 for (c = 0; c < COUNTOF(times); c++) {
262 for (c = 1; c < COUNTOF(times); c++)
464 if ((size_t)s < COUNTOF(timex_states))
ntp-keygen.c 366 hostbuf[COUNTOF(hostbuf) - 1] = '\0';
  /src/external/bsd/ntp/dist/include/
ntp_types.h 70 * COUNTOF(array) - size of array in elements
72 #define COUNTOF(arr) (sizeof(arr) / sizeof((arr)[0]))
  /src/external/bsd/ntp/dist/ntpdc/
ntpdc_ops.c 706 qitemlim = min(pcmd->nargs, COUNTOF(plist));
782 qitemlim = min(pcmd->nargs, COUNTOF(plist));
1508 qitemlim = min(pcmd->nargs, COUNTOF(plist));
2176 qitemlim = min(pcmd->nargs, COUNTOF(plist));
2670 qitemlim = min(pcmd->nargs, COUNTOF(clist));
2853 qitemlim = min(pcmd->nargs, COUNTOF(clist));
ntpdc.c 1977 for (i = 0, ilim = COUNTOF(pbuf) - 1;
  /src/external/bsd/ntp/dist/ntpq/
ntpq.c 2243 b < COUNTOF(buf) - 1)
2381 words < COUNTOF(list))
2385 if (words < COUNTOF(list))
2943 for (i = 0, ilim = COUNTOF(pbuf) - 1;
3405 for (n = 0; n < COUNTOF(cookedvars); n++)
3620 for (i = 0; i < COUNTOF(tstflagnames); i++) {
ntpq-subs.c 999 int ind[COUNTOF(assids)];
1014 for (a = 0; a < COUNTOF(assids); a++) {
1020 for (a = 0; a < COUNTOF(assids); a++)
3238 n < COUNTOF(mru_sort_keywords);
3243 if (n < COUNTOF(mru_sort_keywords))
3669 const int qdata_chars = COUNTOF(qdata) - 1;
3789 for (n = 0; n < COUNTOF(suf); n++) {
3819 for (n = 0; n < COUNTOF(suf); n++) {
  /src/external/bsd/ntp/dist/sntp/
main.c 716 (unsigned)COUNTOF(fam_listheads)));
719 for (idx = 0; idx < COUNTOF(fam_listheads); idx++) {

Completed in 91 milliseconds

1 2