Searched refs:cnt (Results 151 - 175 of 677) sorted by relevance

1234567891011>>

/macosx-10.10/libpcap-48/libpcap/
H A Dpcap-enet.c52 readloop(int cnt, int if_fd, struct bpf_program *fp, printfunc printit) argument
84 if (cnt >= 0 && --cnt < 0)
97 if (cnt >= 0 && --cnt < 0)
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Quartz-2.5.1/PyObjCTest/
H A Dtest_cgdirectdisplay.py64 v, ids, cnt = CGGetDisplaysWithPoint((0, 0), 10, None, None)
66 self.assertIsInstance(cnt, (int, long))
67 self.assertTrue(cnt)
68 self.assertEqual(len(ids), cnt)
73 v, ids, cnt = CGGetDisplaysWithRect(((0, 0), (400, 500)),
76 self.assertIsInstance(cnt, (int, long))
77 self.assertTrue(cnt)
78 self.assertEqual(len(ids), cnt)
84 v, ids, cnt = CGGetDisplaysWithOpenGLDisplayMask(0xff,
87 self.assertIsInstance(cnt, (in
[all...]
/macosx-10.10/ruby-106/ruby/ext/tk/sample/tkextlib/blt/
H A Dcalendar.rb80 cnt = 1
85 while cnt <= numDays
87 Tk::BLT::Tile::Label.new(cal, :text=>cnt){
89 :relief=>:sunken) if cnt == today.day
92 cnt += 1
/macosx-10.10/AppleRAID-4.0.6/
H A DAppleRAIDMirrorSet.cpp356 UInt32 cnt; local
368 for (cnt = 0; cnt < arMemberCount; cnt++) {
371 if (arMembers[cnt] == 0) continue;
374 if (arMembers[cnt]->getMemberState() == kAppleRAIDMemberStateRebuilding) {
377 assert(storageRequest->srRequestByteCounts[cnt] == 0);
381 if (storageRequest->srRequestStatus[cnt] != kIOReturnSuccess ||
382 storageRequest->srRequestByteCounts[cnt] != storageRequest->srByteCount) {
385 arMembers[cnt]
[all...]
/macosx-10.10/BerkeleyDB-21/db/rep/
H A Drep_region.c305 size_t cnt; local
326 &cnt)) != 0 || cnt != sizeof(u_int32_t))
349 size_t cnt; local
358 &cnt)) != 0 || ((ret = __os_fsync(env, fhp)) != 0))
380 size_t cnt; local
401 &cnt)) < 0 || cnt == 0)
424 size_t cnt; local
433 &cnt)) !
[all...]
/macosx-10.10/misc_cmds-33/tsort/
H A Dtsort.c313 int cnt, i; local
322 for (cnt = 0, n = graph; n != NULL; n = next) {
326 ++cnt;
329 } while (graph != NULL && cnt);
340 for (cnt = 0, n = graph; n != NULL; n = n->n_next)
341 ++cnt;
342 cycle_buf = malloc((u_int)sizeof(NODE *) * cnt);
343 longest_cycle = malloc((u_int)sizeof(NODE *) * cnt);
349 if ((cnt = find_cycle(n, n, 0, 0)) != 0) {
352 for (i = 0; i < cnt;
[all...]
/macosx-10.10/shell_cmds-179/id/
H A Did.c278 int cnt, ngroups; local
342 for (lastgid = -1, cnt = 0; cnt < ngroups; ++cnt) {
343 if (lastgid == (gid = groups[cnt]))
389 int cnt, id, lastid, ngroups; local
419 for (lastid = -1, cnt = 0; cnt < ngroups; ++cnt) {
420 if (lastid == (id = groups[cnt]))
[all...]
/macosx-10.10/Heimdal-398.1.2/appl/telnet/libtelnet/
H A Dencrypt.c510 encrypt_support(unsigned char *typelist, int cnt) argument
520 while (cnt-- > 0) {
550 encrypt_is(unsigned char *data, int cnt) argument
555 if (--cnt < 0)
578 ret = (*ep->is)(data, cnt);
580 printf("(*ep->is)(%p, %d) returned %s(%d)\n", data, cnt,
594 encrypt_reply(unsigned char *data, int cnt) argument
599 if (--cnt < 0)
620 ret = (*ep->reply)(data, cnt);
623 data, cnt,
642 encrypt_start(unsigned char *data, int cnt) argument
720 encrypt_request_start(unsigned char *data, int cnt) argument
968 encrypt_gen_printsub(unsigned char *data, size_t cnt, unsigned char *buf, size_t buflen) argument
989 encrypt_printsub(unsigned char *data, size_t cnt, unsigned char *buf, size_t buflen) argument
[all...]
/macosx-10.10/libtelnet-13/
H A Dencrypt.c488 encrypt_support(unsigned char *typelist, int cnt) argument
498 while (cnt-- > 0) {
528 encrypt_is(unsigned char *data, int cnt) argument
533 if (--cnt < 0)
556 ret = (*ep->is)(data, cnt);
558 printf("(*ep->is)(%p, %d) returned %s(%d)\n", data, cnt,
572 encrypt_reply(unsigned char *data, int cnt) argument
577 if (--cnt < 0)
598 ret = (*ep->reply)(data, cnt);
601 data, cnt,
928 encrypt_gen_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument
948 encrypt_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument
[all...]
H A Dkerberos5.c386 kerberos5_is(ap, data, cnt)
389 int cnt;
405 if (cnt-- < 1)
410 auth.length = cnt;
578 inbuf.length = cnt;
630 kerberos5_reply(ap, data, cnt)
633 int cnt;
640 if (cnt-- < 1)
644 if (cnt > 0) {
646 cnt, dat
[all...]
/macosx-10.10/zsh-61/zsh/Src/Zle/
H A Dzle_utils.c447 size_t cnt = mbrtowc(outptr, inptr, ll, &mbs); local
450 if (cnt == MB_INCOMPLETE || cnt == MB_INVALID) {
453 cnt = 1;
461 if (cnt == MB_INCOMPLETE || cnt == MB_INVALID)
465 if (cnt == 0) {
470 cnt = 1;
471 } else if (cnt > (size_t)ll) {
480 cnt
794 shiftchars(int to, int cnt) argument
1267 size_t cnt = eol ? MB_INVALID : mbrtowc(&c, p, ulen, &mbs); local
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/libedit/src/
H A Dkey.c487 node_lookup(EditLine *el, const Char *str, key_node_t *ptr, size_t cnt) argument
496 (void) node_enum(el, ptr, cnt);
502 used = ct_visual_char(el->el_key.buf + cnt,
503 KEY_BUFSIZ - cnt, ptr->ch);
509 used + cnt));
513 el->el_key.buf[cnt + used ] = '"';
514 el->el_key.buf[cnt + used + 1] = '\0';
526 cnt));
538 node_enum(EditLine *el, key_node_t *ptr, size_t cnt) argument
542 if (cnt >
[all...]
/macosx-10.10/bind9-45.101/bind9/bin/pkcs11/win32/
H A Dwin32.c36 int cnt; local
46 for (cnt = 0; cnt < sizeof(buf) - 1; cnt++)
48 ReadFile(h, buf + cnt, 1, &cc, NULL);
49 if (buf[cnt] == '\r')
57 buf[cnt] = '\0';
/macosx-10.10/remote_cmds-47/rpc_yppasswdd.tproj/
H A Dyppasswdd_mkpw.c204 ssize_t cnt; local
216 cnt = read(pfd, p, resid);
217 if (cnt < 0)
219 p += cnt;
220 resid -= cnt;
234 cnt = subst(p, ':', '\0');
235 if (cnt != 9) {
/macosx-10.10/Heimdal-398.1.2/appl/rcp/
H A Dutil.c161 if (bp->cnt >= size)
167 bp->cnt = 0;
173 bp->cnt = size;
/macosx-10.10/bind9-45.101/bind9/lib/dns/
H A Dhmac_link.c244 int cnt = 0; local
255 priv.elements[cnt].tag = TAG_HMACMD5_KEY;
256 priv.elements[cnt].length = bytes;
257 priv.elements[cnt++].data = hkey->key;
261 priv.elements[cnt].tag = TAG_HMACMD5_BITS;
262 priv.elements[cnt].data = buf;
263 priv.elements[cnt++].length = 2;
265 priv.nelements = cnt;
520 int cnt = 0; local
531 priv.elements[cnt]
798 int cnt = 0; local
1076 int cnt = 0; local
1354 int cnt = 0; local
1632 int cnt = 0; local
[all...]
/macosx-10.10/bind9-45.101/bind9/lib/tests/
H A Dt_api.c691 int cnt; local
694 cnt = 0;
696 while ((p = strtok(line, "\t")) && (cnt < T_MAXTOKS)) {
699 ++cnt;
702 return(cnt);
707 int cnt; local
710 cnt = 1;
715 printf("\t%d\t%s\n", cnt, pts->func_name);
717 ++cnt;
731 int cnt; local
[all...]
/macosx-10.10/libstdcxx-104.1/include/c++/4.2.1/ext/pb_ds/detail/ov_tree_map_/
H A Derase_fn_imps.hpp154 _GLIBCXX_DEBUG_ONLY(size_type cnt = 0;)
160 _GLIBCXX_DEBUG_ONLY(++cnt;)
161 _GLIBCXX_DEBUG_ASSERT(cnt != m_size);
/macosx-10.10/remote_cmds-47/rcp.tproj/
H A Dutil.c142 if (bp->cnt >= size)
145 bp->cnt = 0;
149 bp->cnt = size;
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/textutil/
H A Dadjust.tcl145 for {set cnt 0} {$cnt < $numWords} {incr cnt} {
147 set w [lindex $words $cnt]
189 set x [lreplace $words $cnt $cnt "$w4"]
190 set words [linsert $x $cnt "$w3-"]
191 set w [lindex $words $cnt]
208 set x [lreplace $words $cnt $cnt
[all...]
/macosx-10.10/tcpdump-61/tcpdump/
H A Dprint-l2tp.c610 u_int cnt = 0; /* total octets consumed */ local
650 cnt += 2;
656 cnt += 2;
664 cnt += 2;
668 cnt += 2;
674 cnt += 2;
678 cnt += 2;
685 cnt += (2 + pad);
695 if (length < cnt) {
704 if (length - cnt
[all...]
/macosx-10.10/vim-55/src/
H A Dos_vms.c412 int i, cnt = 0; local
435 cnt = decc$to_vms(decc$translate_vms(vms_fixfilename(buf)), vms_wproc, 1, 0);
437 if (cnt > 0)
438 cnt = vms_match_num;
440 if (cnt < 1)
443 for (i = 0; i < cnt; i++)
482 int i,cnt = 0; local
485 cnt = decc$to_vms(decc$translate_vms(vms_fixfilename(path)), vms_wproc, 1, 0);
487 if (cnt > 0)
488 cnt
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/libtommath/demo/
H A Ddemo.c58 int i, n, err, cnt, ix, old_kara_m, old_kara_s; local
213 mp_prime_is_prime(&a, 8, &cnt);
214 if (cnt != MP_YES) {
254 for (cnt = 3; cnt <= 128; ++cnt) {
257 mp_2expt(&a, cnt);
258 mp_sub_d(&a, 2, &a); /* a = 2**cnt - 2 */
261 printf("\nTesting %4d bits", cnt);
270 mp_rand(&b, (cnt / DIGIT_BI
[all...]
/macosx-10.10/libedit-40/src/
H A Dkeymacro.c491 node_lookup(EditLine *el, const Char *str, keymacro_node_t *ptr, size_t cnt) argument
500 (void) node_enum(el, ptr, cnt);
506 used = ct_visual_char(el->el_keymacro.buf + cnt,
507 KEY_BUFSIZ - cnt, ptr->ch);
513 (size_t)used + cnt));
517 size_t px = cnt + (size_t)used;
531 cnt));
543 node_enum(EditLine *el, keymacro_node_t *ptr, size_t cnt) argument
547 if (cnt >= KEY_BUFSIZ - 5) { /* buffer too small */
548 el->el_keymacro.buf[++cnt]
[all...]
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/sgi/
H A Dsgi.c161 #define getpix(p) (--(p)->cnt>=0 ? *(p)->ptr++ : ifilbuf(p))
162 #define putpix(p,x) (--(p)->cnt>=0 \
190 Short cnt; member in struct:__anon13217
424 image->cnt = 0;
527 image->cnt = getrow(image,image->base,image->y,image->z);
529 if (--image->cnt < 0) {
530 if (image->cnt == -1) {
536 image->cnt = 0;
583 image->cnt = image->xsize-1;
708 if(--(image)->cnt>
743 img_setrowsize(IMAGE *image, int cnt, int y, int z) argument
801 img_rle_compact(unsigned short *expbuf, int ibpp, unsigned short *rlebuf, int obpp, int cnt) argument
910 register int cnt; local
1034 register short cnt; local
[all...]

Completed in 395 milliseconds

1234567891011>>