Searched refs:cnt (Results 1 - 25 of 29) sorted by relevance

12

/bind-9.11.3/bin/tests/names/
H A Dt_names.c97 size_t cnt; local
112 cnt = 0;
113 while (cnt < exp_data_len) {
143 ++cnt;
151 for (cnt = 0; cnt < exp_data_len; ++cnt) {
157 if (cnt == exp_data_len)
162 (unsigned long)cnt, *p, *v);
163 result = (int)cnt
184 unsigned int cnt; local
251 int cnt; local
523 int cnt; local
643 int cnt; local
805 int cnt; local
932 int cnt; local
1041 int cnt; local
1146 int cnt; local
1232 int cnt; local
1293 unsigned int cnt; local
1352 int cnt; local
1414 unsigned int cnt; local
1490 int cnt; local
1583 int cnt; local
1633 int cnt; local
1768 int cnt; local
1900 int cnt; local
2061 int cnt; local
2254 int cnt; local
[all...]
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Dtext_test.c140 size_t cnt; local
143 cnt = 0;
145 RE(atf_text_for_each_word("1 2 3", " ", word_count, &cnt));
147 ATF_REQUIRE(cnt == 3);
150 cnt = 0;
152 RE(atf_text_for_each_word("1 2 3", ".", word_count, &cnt));
154 ATF_REQUIRE(cnt == 1);
157 cnt = 0;
159 RE(atf_text_for_each_word("1 2 3 4 5", " ", word_count, &cnt));
161 ATF_REQUIRE(cnt
[all...]
/bind-9.11.3/lib/dns/
H A Dopenssldsa_link.c636 int cnt = 0; local
656 priv.elements[cnt].tag = TAG_DSA_PRIME;
657 priv.elements[cnt].length = BN_num_bytes(p);
658 BN_bn2bin(p, bufs[cnt]);
659 priv.elements[cnt].data = bufs[cnt];
660 cnt++;
662 priv.elements[cnt].tag = TAG_DSA_SUBPRIME;
663 priv.elements[cnt].length = BN_num_bytes(q);
664 BN_bn2bin(q, bufs[cnt]);
[all...]
H A Dhmac_link.c244 int cnt = 0; local
258 priv.elements[cnt].tag = TAG_HMACMD5_KEY;
259 priv.elements[cnt].length = bytes;
260 priv.elements[cnt++].data = hkey->key;
264 priv.elements[cnt].tag = TAG_HMACMD5_BITS;
265 priv.elements[cnt].data = buf;
266 priv.elements[cnt++].length = 2;
268 priv.nelements = cnt;
552 int cnt = 0; local
566 priv.elements[cnt]
845 int cnt = 0; local
1132 int cnt = 0; local
1419 int cnt = 0; local
1706 int cnt = 0; local
[all...]
H A Dpkcs11dsa_link.c901 int cnt = 0; local
943 priv.elements[cnt].tag = TAG_DSA_PRIME;
944 priv.elements[cnt].length = (unsigned short) prime->ulValueLen;
945 memmove(bufs[cnt], prime->pValue, prime->ulValueLen);
946 priv.elements[cnt].data = bufs[cnt];
947 cnt++;
949 priv.elements[cnt].tag = TAG_DSA_SUBPRIME;
950 priv.elements[cnt].length = (unsigned short) subprime->ulValueLen;
951 memmove(bufs[cnt], subprim
[all...]
H A Dpkcs11eddsa_link.c796 CK_ULONG cnt; local
863 (pk11_ctx->session, &ec->object, (CK_ULONG) 1, &cnt),
866 if (cnt == 0)
868 if (cnt > 1)
1023 CK_ULONG cnt; local
1076 (pk11_ctx->session, &hKey, (CK_ULONG) 1, &cnt),
1079 if (cnt == 0)
1081 if (cnt > 1)
1104 (pk11_ctx->session, &ec->object, (CK_ULONG) 1, &cnt),
1107 if (cnt
[all...]
H A Drpz.c548 dns_rpz_trigger_counter_t *cnt; local
555 cnt = &rpzs->triggers[rpz_num].client_ipv4;
558 cnt = &rpzs->triggers[rpz_num].client_ipv6;
563 cnt = &rpzs->triggers[rpz_num].qname;
569 cnt = &rpzs->triggers[rpz_num].ipv4;
572 cnt = &rpzs->triggers[rpz_num].ipv6;
577 cnt = &rpzs->triggers[rpz_num].nsdname;
583 cnt = &rpzs->triggers[rpz_num].nsipv4;
586 cnt = &rpzs->triggers[rpz_num].nsipv6;
595 if (++*cnt
[all...]
H A Dpkcs11ecdsa_link.c810 CK_ULONG cnt; local
877 (pk11_ctx->session, &ec->object, (CK_ULONG) 1, &cnt),
880 if (cnt == 0)
882 if (cnt > 1)
1037 CK_ULONG cnt; local
1090 (pk11_ctx->session, &hKey, (CK_ULONG) 1, &cnt),
1093 if (cnt == 0)
1095 if (cnt > 1)
1117 (pk11_ctx->session, &ec->object, (CK_ULONG) 1, &cnt),
1120 if (cnt
[all...]
H A Dpkcs11rsa_link.c1710 CK_ULONG cnt; local
1777 (pk11_ctx->session, &rsa->object, (CK_ULONG) 1, &cnt),
1780 if (cnt == 0)
1782 if (cnt > 1)
2064 CK_ULONG cnt; local
2117 (pk11_ctx->session, &hKey, (CK_ULONG) 1, &cnt),
2120 if (cnt == 0)
2122 if (cnt > 1)
2144 (pk11_ctx->session, &rsa->object, (CK_ULONG) 1, &cnt),
2147 if (cnt
[all...]
/bind-9.11.3/bin/tests/
H A Dlwres_test.c37 unsigned int cnt; local
40 cnt = 0;
44 while (cnt < len) {
45 if (cnt % 16 == 0)
47 else if (cnt % 8 == 0)
50 cnt++;
52 if (cnt % 16 == 0)
56 if (cnt % 16 != 0)
/bind-9.11.3/unit/atf-src/tools/
H A Dio.cpp186 ssize_t cnt = ::read(m_handle, m_read_buf, m_bufsize); local
187 ok = (cnt != -1 && cnt != 0);
192 setg(m_read_buf, m_read_buf, m_read_buf + cnt);
213 ssize_t cnt = pptr() - pbase(); local
216 ok = ::write(m_handle, pbase(), cnt) == cnt;
219 pbump(-cnt);
H A Dio_test.cpp62 std::size_t cnt = 0; local
69 cnt++;
71 ATF_REQUIRE_EQ(cnt, length);
H A Datf-run_test.sh63 cnt=1
64 while [ ${cnt} -le ${2} ]; do
65 echo "echo 'ident: tc${cnt}'" >>${1}
66 [ ${cnt} -lt ${2} ] && echo "echo" >>${1}
67 cnt=$((${cnt} + 1))
/bind-9.11.3/lib/tests/
H A Dt_api.c722 int cnt; local
725 cnt = 0;
727 while ((p = strtok(line, "\t")) && (cnt < T_MAXTOKS)) {
730 ++cnt;
733 return(cnt);
738 int cnt; local
741 cnt = 1;
746 printf("\t%d\t%s\n", cnt, pts->func_name);
748 ++cnt;
762 int cnt; local
[all...]
/bind-9.11.3/bin/tests/rbt/
H A Dt_rbt.c446 int cnt; local
473 cnt = t_bustline(p, Tokens);
474 if (cnt == 4) {
605 int cnt; local
616 cnt = 0;
621 if (cnt == 0) {
705 ++cnt;
958 int cnt; local
981 cnt = t_bustline(p, Tokens);
982 if (cnt
1153 int cnt; local
1352 int cnt; local
1560 int cnt; local
1767 int cnt; local
[all...]
/bind-9.11.3/unit/atf-src/atf-c/
H A Dutils.c360 ssize_t cnt; local
367 while ((cnt = read(fd, &ch, sizeof(ch))) == sizeof(ch) &&
372 ATF_REQUIRE(cnt != -1);
374 if (cnt == 0 && atf_dynstr_length(&temp) == 0) {
/bind-9.11.3/bin/tests/master/
H A Dt_master.c132 int cnt; local
155 cnt = t_bustline(p, Tokens);
156 if (cnt == 4) {
/bind-9.11.3/lib/isc/win32/
H A Dpk11_api.c38 int cnt; local
48 for (cnt = 0; cnt < sizeof(buf) - 1; cnt++)
50 ReadFile(h, buf + cnt, 1, &cc, NULL);
51 if (buf[cnt] == '\r')
59 buf[cnt] = '\0';
/bind-9.11.3/lib/isc/
H A Drwlock.c393 isc_int32_t cnt = 0; local
401 if (cnt++ >= max_cnt) {
410 rwl->spins += (cnt - rwl->spins) / 8;
758 isc_int32_t cnt = 0; local
766 if (cnt++ >= max_cnt) {
775 rwl->spins += (cnt - rwl->spins) / 8;
H A Dpk11.c1127 CK_BYTE cnt = obj->attrcnt; local
1129 obj->repr = isc_mem_get(mctx, (cnt + 1) * sizeof(*attr));
1134 memset(obj->repr, 0, (cnt + 1) * sizeof(*attr));
1135 memmove(obj->repr, old, cnt * sizeof(*attr));
1136 attr = obj->repr + cnt;
1140 memset(obj->repr, 0, (cnt + 1) * sizeof(*attr));
1141 isc_mem_put(mctx, obj->repr, (cnt + 1) * sizeof(*attr));
1147 memset(old, 0, cnt * sizeof(*attr));
1148 isc_mem_put(mctx, old, cnt * sizeof(*attr));
H A Dradix.c239 int toff = -1, cnt = 0; local
258 stack[cnt++] = node;
270 stack[cnt++] = node;
272 while (cnt-- > 0) {
273 node = stack[cnt];
/bind-9.11.3/bin/tests/tasks/
H A Dt_tasks.c674 int cnt; local
769 for (cnt = 0; cnt < T3_NEVENTS; ++cnt) {
1461 int cnt; local
1605 for (cnt = 0; cnt < event_cnt; ++cnt)
1606 isc_task_send(task, &eventtab[cnt]);
1609 t_info("%d events queued\n", cnt);
[all...]
/bind-9.11.3/contrib/idn/idnkit-1.0-src/wsock/config/
H A Didnconf.tcl243 set cnt 0
248 incr cnt
251 return $cnt
262 set cnt 0
267 $lb delete $cnt
269 incr cnt
/bind-9.11.3/bin/tests/dst/
H A Dt_dst.c548 int cnt; local
552 cnt = 0;
590 ++cnt;
591 if ((cnt % 16) == 0) {
/bind-9.11.3/contrib/perftcpdns/
H A Dperftcpdns.c539 int cnt = 10; local
549 while (--cnt >= 0) {
845 int cnt = 5; local
855 while (--cnt >= 0) {

Completed in 76 milliseconds

12