Home
last modified time | relevance | path

Searched refs:todrop (Results 1 – 4 of 4) sorted by relevance

/external/qemu/slirp/
Dtcp_input.c243 int todrop, acked, ourfinisacked, needoutput = 0; in tcp_input() local
804 todrop = ti->ti_len - tp->rcv_wnd; in tcp_input()
805 m_adj(m, -todrop); in tcp_input()
809 STAT(tcpstat.tcps_rcvbyteafterwin += todrop); in tcp_input()
851 todrop = tp->rcv_nxt - ti->ti_seq; in tcp_input()
852 if (todrop > 0) { in tcp_input()
860 todrop--; in tcp_input()
865 if (todrop > ti->ti_len in tcp_input()
866 || (todrop == ti->ti_len && (tiflags & TH_FIN) == 0)) { in tcp_input()
879 todrop = ti->ti_len; in tcp_input()
[all …]
/external/qemu/slirp-android/
Dtcp_input.c243 int todrop, acked, ourfinisacked, needoutput = 0; in tcp_input() local
810 todrop = ti->ti_len - tp->rcv_wnd; in tcp_input()
811 m_adj(m, -todrop); in tcp_input()
815 STAT(tcpstat.tcps_rcvbyteafterwin += todrop); in tcp_input()
857 todrop = tp->rcv_nxt - ti->ti_seq; in tcp_input()
858 if (todrop > 0) { in tcp_input()
866 todrop--; in tcp_input()
871 if (todrop > ti->ti_len in tcp_input()
872 || (todrop == ti->ti_len && (tiflags & TH_FIN) == 0)) { in tcp_input()
885 todrop = ti->ti_len; in tcp_input()
[all …]
/external/chromium_org/third_party/icu/source/i18n/
DdecNumber.c3084 Int todrop=ideal-a->exponent; /* most that can be dropped */ in uprv_decNumberSquareRoot() local
3085 if (todrop<0) status|=DEC_Rounded; /* ideally would add 0s */ in uprv_decNumberSquareRoot()
3090 if (todrop>maxdrop && set->clamp) { /* apply clamping */ in uprv_decNumberSquareRoot()
3091 todrop=maxdrop; in uprv_decNumberSquareRoot()
3094 if (dropped<todrop) { /* clamp to those available */ in uprv_decNumberSquareRoot()
3095 todrop=dropped; in uprv_decNumberSquareRoot()
3098 if (todrop>0) { /* have some to drop */ in uprv_decNumberSquareRoot()
3099 decShiftToLeast(a->lsu, D2U(a->digits), todrop); in uprv_decNumberSquareRoot()
3100 a->exponent+=todrop; /* maintain numerical value */ in uprv_decNumberSquareRoot()
3101 a->digits-=todrop; /* new length */ in uprv_decNumberSquareRoot()
/external/icu/icu4c/source/i18n/
DdecNumber.c3105 Int todrop=ideal-a->exponent; /* most that can be dropped */ in uprv_decNumberSquareRoot() local
3106 if (todrop<0) status|=DEC_Rounded; /* ideally would add 0s */ in uprv_decNumberSquareRoot()
3111 if (todrop>maxdrop && set->clamp) { /* apply clamping */ in uprv_decNumberSquareRoot()
3112 todrop=maxdrop; in uprv_decNumberSquareRoot()
3115 if (dropped<todrop) { /* clamp to those available */ in uprv_decNumberSquareRoot()
3116 todrop=dropped; in uprv_decNumberSquareRoot()
3119 if (todrop>0) { /* have some to drop */ in uprv_decNumberSquareRoot()
3120 decShiftToLeast(a->lsu, D2U(a->digits), todrop); in uprv_decNumberSquareRoot()
3121 a->exponent+=todrop; /* maintain numerical value */ in uprv_decNumberSquareRoot()
3122 a->digits-=todrop; /* new length */ in uprv_decNumberSquareRoot()