/external/tcpdump/ |
H A D | print-icmp6.c | 267 int cnt=snprintf(d,4,"0x%02x", local 269 d += cnt;
|
H A D | tcpdump.c | 603 MakeFilename(char *buffer, char *orig_name, int cnt, int max_chars) argument 626 if (cnt == 0 && max_chars == 0) 629 if (snprintf(buffer, PATH_MAX + 1, "%s%0*d", filename, max_chars, cnt) > PATH_MAX) 690 register int cnt, op, i; local 731 cnt = -1; 776 cnt = atoi(optarg); 777 if (cnt <= 0) 1575 status = pcap_loop(pd, cnt, callback, pcap_userdata);
|
/external/valgrind/main/coregrind/m_gdbserver/ |
H A D | remote-utils.c | 777 int putpkt_binary (char *buf, int cnt) argument 788 vg_assert (cnt <= PBUFSIZ); // be tolerant for GDB bug. 796 for (i = 0; i < cnt;) 797 i += try_rle (buf + i, cnt - i, &csum, &p);
|
/external/webp/src/enc/ |
H A D | frame.c | 770 int cnt = max_count; local 781 if (--cnt < 0) { 784 cnt = max_count;
|
/external/bluetooth/bluedroid/bta/hl/ |
H A D | bta_hl_utils.c | 1609 UINT8 i, time_min, cnt=0; local 1618 s_arr[cnt]= i; 1619 cnt++; 1626 APPL_TRACE_DEBUG("bta_hl_compact_mdl_cfg_time cnt=%d ",cnt ); 1630 if (cnt) 1632 bta_hl_sort_cfg_time_idx(app_idx, s_arr, cnt); 1634 for (i=0;i<cnt; i++)
|
/external/bluetooth/bluedroid/stack/gatt/ |
H A D | gatt_utils.c | 2495 UINT8 cnt = 0; local 2502 cnt++; 2505 return cnt;
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
H A D | kernel_proxy.cc | 517 int cnt = 0; local 518 error = handle->Read(buf, nbytes, &cnt); 524 return cnt; 535 int cnt = 0; local 536 error = handle->Write(buf, nbytes, &cnt); 542 return cnt; 570 int cnt = 0; local 571 error = handle->GetDents(static_cast<dirent*>(buf), count, &cnt); 575 return cnt;
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | msgfmt.cpp | 806 MessageFormat::getFormats(int32_t& cnt) const 814 cnt = 0; 836 t->formatAliases[cnt++] = getCachedFormatter(partIndex); 873 int32_t cnt, 878 return format(source, NULL, cnt, appendTo, &ignore, success); 889 int32_t cnt, 894 return temp.format(arguments, NULL, cnt, appendTo, NULL, success); 914 int32_t cnt; local 915 const Formattable* tmpPtr = source.getArray(cnt); 916 return format(tmpPtr, NULL, cnt, appendT 872 format(const Formattable* source, int32_t cnt, UnicodeString& appendTo, FieldPosition& ignore, UErrorCode& success) const argument 887 format( const UnicodeString& pattern, const Formattable* arguments, int32_t cnt, UnicodeString& appendTo, UErrorCode& success) argument 929 getArgFromListByName(const Formattable* arguments, const UnicodeString *argumentNames, int32_t cnt, UnicodeString& name) const argument 942 format(const Formattable* arguments, const UnicodeString *argumentNames, int32_t cnt, UnicodeString& appendTo, FieldPosition* pos, UErrorCode& status) const argument 1002 format(int32_t msgStart, const void *plNumber, const Formattable* arguments, const UnicodeString *argumentNames, int32_t cnt, AppendableWrapper& appendTo, FieldPosition* ignore, UErrorCode& success) const argument 1157 formatComplexSubMessage(int32_t msgStart, const void *plNumber, const Formattable* arguments, const UnicodeString *argumentNames, int32_t cnt, AppendableWrapper& appendTo, UErrorCode& success) const argument 1511 parse(const UnicodeString& source, int32_t& cnt, UErrorCode& success) const argument 1539 int32_t cnt = 0; local [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
H A D | main.c | 444 ** The cnt parameter is the number of slots. If pStart is NULL the 446 ** If pStart is not NULL then it is sz*cnt bytes of memory to use for 449 static int setupLookaside(sqlite3 *db, void *pBuf, int sz, int cnt){ argument 465 if( cnt<0 ) cnt = 0; 466 if( sz==0 || cnt==0 ){ 472 pStart = sqlite3Malloc( sz*cnt ); /* IMP: R-61949-35727 */ 486 for(i=cnt-1; i>=0; i--){ 520 int cnt = va_arg(ap, int); /* IMP: R-04460-53386 */ local 521 rc = setupLookaside(db, pBuf, sz, cnt); [all...] |
H A D | os_win.c | 672 int rc, cnt = 0; local 680 /* SimulateIOError( rc=0; cnt=MX_CLOSE_ATTEMPT; ); */ 681 }while( rc==0 && ++cnt < MX_CLOSE_ATTEMPT && (Sleep(100), 1) ); 686 int cnt = 0; local 690 && cnt++ < WINCE_DELETION_ATTEMPTS 1011 int cnt = 3; local 1012 while( cnt-->0 && (res = LockFile(pFile->h, PENDING_BYTE, 0, 1, 0))==0 ){ 1016 OSTRACE(("could not get a PENDING lock. cnt=%d\n", cnt)); 2272 int cnt local 2613 DWORD cnt = GetTickCount(); local [all...] |
H A D | shell.c | 403 int cnt; /* Number of records displayed so far */ member in struct:callback_data 664 if( p->cnt++>0 ) fprintf(p->out,"\n"); 673 if( p->cnt++==0 ){ 727 if( p->cnt++==0 && p->showHeader ){ 748 if( p->cnt++==0 && p->showHeader ){ 768 if( p->cnt++==0 && p->showHeader ){ 784 if( p->cnt++==0 && p->showHeader ){ 798 p->cnt++; 1095 pArg->cnt = 0; 1538 data.cnt [all...] |
H A D | vdbe.c | 3696 int cnt; /* Counter to limit the number of searches */ local 3798 cnt = 0; 3802 && (++cnt<100)){ 3805 if( cnt<5 ){ 5894 pOp->cnt++;
|
H A D | vdbeaux.c | 172 pOp->cnt = 0; 1524 p->aOp[i].cnt = 0; 1928 int cnt = 0; local 1933 cnt++; 1938 assert( cnt==db->activeVdbeCnt ); 2343 p->aOp[i].cnt, 2345 p->aOp[i].cnt>0 ? p->aOp[i].cycles/p->aOp[i].cnt : 0
|
H A D | wal.c | 778 WALTRACE(("WAL%p: acquire EXCLUSIVE-%s cnt=%d %s\n", pWal, 787 WALTRACE(("WAL%p: release EXCLUSIVE-%s cnt=%d\n", pWal, 1962 ** The caller must set the cnt parameter to the number of prior calls to 1994 static int walTryBeginRead(Wal *pWal, int *pChanged, int useWal, int cnt){ argument 2020 if( cnt>5 ){ 2022 if( cnt>100 ){ 2026 if( cnt>=10 ) nDelay = (cnt-9)*238; /* Max delay 21ms. Total delay 996ms */ 2183 int cnt = 0; /* Number of TryBeginRead attempts */ local 2186 rc = walTryBeginRead(pWal, pChanged, 0, ++cnt); 2503 int cnt; local 2576 { int cnt; for(cnt=0, p=pList; p; p=p->pDirty, cnt++){} local [all...] |
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
H A D | sctp_asconf.c | 606 unsigned int asconf_limit, cnt; local 703 cnt = 0; 735 (cnt < SCTP_BASE_SYSCTL(sctp_hb_maxburst)), error); 736 cnt++; 2036 if (asc->cnt == cnt_invalid) 2050 if (asc->cnt == cnt_invalid) 2059 if (asc->cnt == cnt_invalid) 2129 if (asc->cnt == cnt_invalid) 2188 if (asc->cnt == cnt_invalid) 2199 if (asc->cnt [all...] |
H A D | sctp_input.c | 3221 int cnt = 1; local 3224 cnt = (pkt_cnt - net->lost_cnt); 3225 net->ecn_ce_pkt_cnt += cnt; 3233 stcb->asoc.cc_functions.sctp_cwnd_update_after_ecn_echo(stcb, net, 1, cnt); 3475 SCTP_PRINTF("**Local Audit finds cnt:%d asoc cnt:%d\n",
|
H A D | sctp_usrreq.c | 1915 int cnt = 0; local 1940 cnt += sizeof(struct sockaddr_in6); 1942 cnt += sizeof(struct sockaddr_in); 1947 cnt += sizeof(struct sockaddr_in6); 1952 cnt += sizeof(struct sockaddr_conn); 1968 cnt += sizeof(struct sockaddr_in6); 1970 cnt += sizeof(struct sockaddr_in); 1975 cnt += sizeof(struct sockaddr_in6); 1980 cnt += sizeof(struct sockaddr_conn); 1988 return (cnt); 1994 int cnt = 0; local 2505 uint32_t *value, cnt; local 5343 int cnt; local [all...] |
/external/chromium_org/third_party/usrsctp/usrsctplib/ |
H A D | user_socket.c | 616 int cnt; local 626 cnt = iov->iov_len; 627 if (cnt == 0) { 632 if (cnt > n) 633 cnt = n; 639 error = copyout(cp, iov->iov_base, cnt); 641 error = copyin(iov->iov_base, cp, cnt); 648 bcopy(cp, iov->iov_base, cnt); 650 bcopy(iov->iov_base, cp, cnt); 653 iov->iov_base = (char *)iov->iov_base + cnt; 2520 int i, ret, cnt, *aa; local 2609 int cnt; local 2685 int cnt; local [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | MemRegion.h | 452 AllocaRegion(const Expr *ex, unsigned cnt, const MemRegion *superRegion) argument 453 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) {}
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | MemRegion.cpp | 279 const Expr *Ex, unsigned cnt, 283 ID.AddInteger(cnt); 1021 MemRegionManager::getAllocaRegion(const Expr *E, unsigned cnt, argument 1025 return getSubRegion<AllocaRegion>(E, cnt, getStackLocalsRegion(STC)); 278 ProfileRegion(llvm::FoldingSetNodeID& ID, const Expr *Ex, unsigned cnt, const MemRegion *superRegion) argument
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator.h | 987 uptr cnt = Min(c->max_count / 2, c->count); local 988 for (uptr i = 0; i < cnt; i++) { 992 b->count = cnt; 993 c->count -= cnt;
|
/external/elfutils/0.153/src/ |
H A D | ldlex.c | 1637 { int cnt = 1 ; variable 1639 while (cnt < ldleng - 1) 1640 ldlval.num |= attrib_convert (ldtext[cnt++]);
|
H A D | nm.c | 769 size_t cnt = 1; local 774 assert (elf_ndxscn (scn) == cnt++); 818 for (cnt = 1; cnt < nsyms; ++cnt) 821 if (GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_SECTION) 825 const char *symstr = sym_name (ebl->elf, strndx, syms[cnt].sym.st_name, 855 if (syms[cnt].sym.st_shndx == SHN_UNDEF) 860 digits, syms[cnt].sym.st_value); 862 digits, syms[cnt] [all...] |
H A D | strip.c | 432 size_t cnt; local 532 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt) 535 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &phdr_mem); 537 || unlikely (gelf_update_phdr (newelf, cnt, phdr) == 0)) 556 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt) 559 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | msgfmt.cpp | 806 MessageFormat::getFormats(int32_t& cnt) const 814 cnt = 0; 836 t->formatAliases[cnt++] = getCachedFormatter(partIndex); 873 int32_t cnt, 878 return format(source, NULL, cnt, appendTo, &ignore, success); 889 int32_t cnt, 894 return temp.format(arguments, NULL, cnt, appendTo, NULL, success); 914 int32_t cnt; local 915 const Formattable* tmpPtr = source.getArray(cnt); 916 return format(tmpPtr, NULL, cnt, appendT 872 format(const Formattable* source, int32_t cnt, UnicodeString& appendTo, FieldPosition& ignore, UErrorCode& success) const argument 887 format( const UnicodeString& pattern, const Formattable* arguments, int32_t cnt, UnicodeString& appendTo, UErrorCode& success) argument 929 getArgFromListByName(const Formattable* arguments, const UnicodeString *argumentNames, int32_t cnt, UnicodeString& name) const argument 942 format(const Formattable* arguments, const UnicodeString *argumentNames, int32_t cnt, UnicodeString& appendTo, FieldPosition* pos, UErrorCode& status) const argument 1002 format(int32_t msgStart, const void *plNumber, const Formattable* arguments, const UnicodeString *argumentNames, int32_t cnt, AppendableWrapper& appendTo, FieldPosition* ignore, UErrorCode& success) const argument 1157 formatComplexSubMessage(int32_t msgStart, const void *plNumber, const Formattable* arguments, const UnicodeString *argumentNames, int32_t cnt, AppendableWrapper& appendTo, UErrorCode& success) const argument 1511 parse(const UnicodeString& source, int32_t& cnt, UErrorCode& success) const argument 1539 int32_t cnt = 0; local [all...] |