/external/qemu/slirp-android/ |
D | ip_icmp.c | 81 DEBUG_ARG("m_len = %d", m->m_len); in icmp_input() 96 m->m_len -= hlen; in icmp_input() 103 m->m_len += hlen; in icmp_input() 216 DEBUG_ARG("msrc_len = %d", msrc->m_len); in icmp_error() 246 new_m_size=sizeof(struct ip )+ICMP_MINLEN+msrc->m_len+ICMP_MAXDATALEN; in icmp_error() 249 memcpy(m->m_data, msrc->m_data, msrc->m_len); in icmp_error() 250 m->m_len = msrc->m_len; /* copy msrc to m */ in icmp_error() 258 m->m_len -= hlen; in icmp_error() 266 m->m_len=ICMP_MINLEN+s_ip_len; /* 8 bytes ICMP header */ in icmp_error() 286 cpnt=(char *)m->m_data+m->m_len; in icmp_error() [all …]
|
D | mbuf.c | 74 m->m_len = 0; in m_get() 122 if (M_FREEROOM(m) < n->m_len) in m_cat() 125 memcpy(m->m_data+m->m_len, n->m_data, n->m_len); in m_cat() 126 m->m_len += n->m_len; in m_cat() 176 m->m_len -= len; in m_adj() 180 m->m_len -= len; in m_adj() 194 memcpy((n->m_data + n->m_len), (m->m_data + off), len); in m_copy() 195 n->m_len += len; in m_copy()
|
D | tcp_subr.c | 140 m->m_len = sizeof (struct tcpiphdr); in tcp_respond() 149 m->m_len = tlen; in tcp_respond() 790 memcpy(so_rcv->sb_wptr, m->m_data, m->m_len); in tcp_emu() 791 so_rcv->sb_wptr += m->m_len; in tcp_emu() 792 so_rcv->sb_rptr += m->m_len; in tcp_emu() 793 m->m_data[m->m_len] = 0; /* NULL terminate */ in tcp_emu() 819 *(m->m_data+m->m_len) = 0; /* NUL terminate for strstr */ in tcp_emu() 847 m->m_len = bptr - m->m_data; /* Adjust length */ in tcp_emu() 848 m->m_len += snprintf(bptr, m->m_hdr.mh_size - m->m_len, in tcp_emu() 879 m->m_len = bptr - m->m_data; /* Adjust length */ in tcp_emu() [all …]
|
D | sbuf.c | 79 DEBUG_ARG("m->m_len = %d", m->m_len); in sbappend() 82 if (m->m_len <= 0) { in sbappend() 104 ret = slirp_send(so, m->m_data, m->m_len, 0); in sbappend() 114 } else if (ret != m->m_len) { in sbappend() 119 m->m_len -= ret; in sbappend() 136 len = m->m_len; in sbappendsb()
|
D | udp.c | 273 m->m_len -= iphlen; in udp_input() 283 m->m_len += iphlen; in udp_input() 293 m->m_len += iphlen; in udp_input() 327 m->m_len += sizeof(struct udpiphdr); in udp_output2_() 337 ui->ui_len = htons(m->m_len - sizeof(struct ip)); /* + sizeof (struct udphdr)); */ in udp_output2_() 350 if ((ui->ui_sum = cksum(m, /* sizeof (struct udpiphdr) + */ m->m_len)) == 0) in udp_output2_() 353 ((struct ip *)ui)->ip_len = m->m_len; in udp_output2_() 472 if (m->m_len >= sizeof (*cu_head)) { in udp_emu()
|
D | ip_input.c | 83 DEBUG_ARG("m_len = %d", m->m_len); in ip_input() 87 if (m->m_len < sizeof (struct ip)) { in ip_input() 100 if (hlen<sizeof(struct ip ) || hlen>m->m_len) {/* min header length */ in ip_input() 131 if (m->m_len < ip->ip_len) { in ip_input() 157 if (m->m_len > ip->ip_len) in ip_input() 158 m_adj(m, ip->ip_len - m->m_len); in ip_input() 286 m->m_len -= hlen; in ip_reass() 408 m->m_len += (ip->ip_hl << 2); in ip_reass() 713 i = m->m_len - (sizeof (struct ip) + olen); 715 m->m_len -= olen;
|
D | tftp.c | 165 m->m_len = sizeof(struct tftp_t) - 514 + n - in tftp_send_oack() 209 m->m_len = sizeof(struct tftp_t) - 514 + 3 + strlen(msg) - in tftp_send_error() 267 m->m_len = sizeof(struct tftp_t) - (512 - nobytes) - in tftp_send_data() 424 tftp_handle_rrq(tp, m->m_len); in tftp_input() 428 tftp_handle_ack(tp, m->m_len); in tftp_input()
|
D | tcp_output.c | 353 m->m_len = hdrlen; 362 m->m_len += len; 395 m->m_len = hdrlen; 528 m->m_len = hdrlen + len; /* XXX Needed? m_len should be correct */ 532 ((struct ip *)ti)->ip_len = m->m_len;
|
/external/qemu/slirp/ |
D | ip_icmp.c | 80 DEBUG_ARG("m_len = %d", m->m_len); in icmp_input() 95 m->m_len -= hlen; in icmp_input() 102 m->m_len += hlen; in icmp_input() 214 DEBUG_ARG("msrc_len = %d", msrc->m_len); in icmp_error() 244 new_m_size=sizeof(struct ip )+ICMP_MINLEN+msrc->m_len+ICMP_MAXDATALEN; in icmp_error() 247 memcpy(m->m_data, msrc->m_data, msrc->m_len); in icmp_error() 248 m->m_len = msrc->m_len; /* copy msrc to m */ in icmp_error() 256 m->m_len -= hlen; in icmp_error() 264 m->m_len=ICMP_MINLEN+s_ip_len; /* 8 bytes ICMP header */ in icmp_error() 284 cpnt=(char *)m->m_data+m->m_len; in icmp_error() [all …]
|
D | mbuf.c | 74 m->m_len = 0; in m_get() 122 if (M_FREEROOM(m) < n->m_len) in m_cat() 125 memcpy(m->m_data+m->m_len, n->m_data, n->m_len); in m_cat() 126 m->m_len += n->m_len; in m_cat() 176 m->m_len -= len; in m_adj() 180 m->m_len -= len; in m_adj() 194 memcpy((n->m_data + n->m_len), (m->m_data + off), len); in m_copy() 195 n->m_len += len; in m_copy()
|
D | tcp_subr.c | 138 m->m_len = sizeof (struct tcpiphdr); in tcp_respond() 147 m->m_len = tlen; in tcp_respond() 636 memcpy(so_rcv->sb_wptr, m->m_data, m->m_len); in tcp_emu() 637 so_rcv->sb_wptr += m->m_len; in tcp_emu() 638 so_rcv->sb_rptr += m->m_len; in tcp_emu() 639 m->m_data[m->m_len] = 0; /* NULL terminate */ in tcp_emu() 684 (m->m_len + so_rcv->sb_wptr) > (so_rcv->sb_data + so_rcv->sb_datalen)) { in tcp_emu() 694 memcpy(so_rcv->sb_wptr, m->m_data, m->m_len); in tcp_emu() 695 so_rcv->sb_wptr += m->m_len; in tcp_emu() 696 so_rcv->sb_rptr += m->m_len; in tcp_emu() [all …]
|
D | sbuf.c | 79 DEBUG_ARG("m->m_len = %d", m->m_len); in sbappend() 82 if (m->m_len <= 0) { in sbappend() 104 ret = slirp_send(so, m->m_data, m->m_len, 0); in sbappend() 114 } else if (ret != m->m_len) { in sbappend() 119 m->m_len -= ret; in sbappend() 136 len = m->m_len; in sbappendsb()
|
D | ip_input.c | 83 DEBUG_ARG("m_len = %d", m->m_len); in ip_input() 87 if (m->m_len < sizeof (struct ip)) { in ip_input() 100 if (hlen<sizeof(struct ip ) || hlen>m->m_len) {/* min header length */ in ip_input() 131 if (m->m_len < ip->ip_len) { in ip_input() 157 if (m->m_len > ip->ip_len) in ip_input() 158 m_adj(m, ip->ip_len - m->m_len); in ip_input() 286 m->m_len -= hlen; in ip_reass() 408 m->m_len += (ip->ip_hl << 2); in ip_reass() 713 i = m->m_len - (sizeof (struct ip) + olen); 715 m->m_len -= olen;
|
D | tftp.c | 163 m->m_len = sizeof(struct tftp_t) - 514 + n - in tftp_send_oack() 205 m->m_len = sizeof(struct tftp_t) - 514 + 3 + strlen(msg) - in tftp_send_error() 261 m->m_len = sizeof(struct tftp_t) - (512 - nobytes) - in tftp_send_data() 418 tftp_handle_rrq(tp, m->m_len); in tftp_input() 422 tftp_handle_ack(tp, m->m_len); in tftp_input()
|
D | udp.c | 223 m->m_len -= iphlen; in udp_input() 233 m->m_len += iphlen; in udp_input() 243 m->m_len += iphlen; in udp_input() 272 m->m_len += sizeof(struct udpiphdr); in udp_output2() 282 ui->ui_len = htons(m->m_len - sizeof(struct ip)); /* + sizeof (struct udphdr)); */ in udp_output2() 295 if ((ui->ui_sum = cksum(m, /* sizeof (struct udpiphdr) + */ m->m_len)) == 0) in udp_output2() 298 ((struct ip *)ui)->ip_len = m->m_len; in udp_output2() 617 if (m->m_len >= sizeof (*cu_head)) { in udp_emu()
|
D | tcp_output.c | 353 m->m_len = hdrlen; 362 m->m_len += len; 395 m->m_len = hdrlen; 528 m->m_len = hdrlen + len; /* XXX Needed? m_len should be correct */ 532 ((struct ip *)ti)->ip_len = m->m_len;
|
/external/openssl/crypto/rsa/ |
D | rsa_sign.c | 70 int RSA_sign(int type, const unsigned char *m, unsigned int m_len, in RSA_sign() argument 82 return rsa->meth->rsa_sign(type, m, m_len, in RSA_sign() 87 if(m_len != SSL_SIG_LENGTH) { in RSA_sign() 112 sig.digest->length=m_len; in RSA_sign() 147 unsigned int m_len, in int_rsa_verify() argument 178 if((dtype == NID_md5_sha1) && (m_len != SSL_SIG_LENGTH) ) { in int_rsa_verify() 255 else if (((unsigned int)sig->digest->length != m_len) || in int_rsa_verify() 256 (memcmp(m,sig->digest->data,m_len) != 0)) in int_rsa_verify() 273 int RSA_verify(int dtype, const unsigned char *m, unsigned int m_len, in RSA_verify() argument 280 return rsa->meth->rsa_verify(dtype, m, m_len, in RSA_verify() [all …]
|
D | rsa_saos.c | 67 const unsigned char *m, unsigned int m_len, in RSA_sign_ASN1_OCTET_STRING() argument 75 sig.length=m_len; in RSA_sign_ASN1_OCTET_STRING() 106 unsigned int m_len, unsigned char *sigbuf, unsigned int siglen, in RSA_verify_ASN1_OCTET_STRING() argument 134 if ( ((unsigned int)sig->length != m_len) || in RSA_verify_ASN1_OCTET_STRING() 135 (memcmp(m,sig->data,m_len) != 0)) in RSA_verify_ASN1_OCTET_STRING()
|
/external/opencv/otherlibs/highgui/ |
D | loadsave.cpp | 91 int m_len; 98 m_maxsize = m_len = 0; 105 m_maxsize = m_len = 0; 123 if( m_len + len + 3 // +1 for one more ';', 128 int new_size = (m_len + len + 3 + 1023) & -1024; 133 memcpy( new_path, m_path, m_len ); 141 m_path[m_len++] = ';'; 142 memcpy( m_path + m_len, buffer, len ); 143 m_len += len; 145 if( m_path[m_len] != '/' ) [all …]
|
/external/openssl/crypto/evp/ |
D | p_verify.c | 69 unsigned int m_len; in EVP_VerifyFinal() local 75 EVP_DigestFinal_ex(&tmp_ctx,&(m[0]),&m_len); in EVP_VerifyFinal() 89 i = EVP_PKEY_verify(pkctx, sigbuf, siglen, m, m_len); in EVP_VerifyFinal() 116 return(ctx->digest->verify(ctx->digest->type,m,m_len, in EVP_VerifyFinal()
|
D | p_sign.c | 82 unsigned int m_len; in EVP_SignFinal() local 89 EVP_DigestFinal_ex(&tmp_ctx,&(m[0]),&m_len); in EVP_SignFinal() 104 if (EVP_PKEY_sign(pkctx, sigret, &sltmp, m, m_len) <= 0) in EVP_SignFinal() 134 return(ctx->digest->sign(ctx->digest->type,m,m_len,sigret,siglen, in EVP_SignFinal()
|
/external/webkit/Source/WebCore/platform/graphics/ |
D | TextRun.h | 47 , m_len(len) in m_characters() 67 , m_len(s.length()) 89 int length() const { return m_len; } in length() 91 void setText(const UChar* c, int len) { m_characters = c; m_len = len; } in setText() 122 int m_len; variable
|
/external/webkit/Source/WebCore/rendering/ |
D | InlineTextBox.h | 49 , m_len(0) in InlineTextBox() 62 unsigned end() const { return m_len ? m_start + m_len - 1 : m_start; } in end() 63 unsigned len() const { return m_len; } in len() 66 void setLen(unsigned len) { m_len = len; } in setLen() 154 unsigned short m_len; variable
|
D | InlineTextBox.cpp | 114 int ePos = min(endPos - m_start, (int)m_len); in isSelected() 127 …start = (state != RenderObject::SelectionEnd && startPos >= m_start && startPos < m_start + m_len); in selectionState() 176 int ePos = min(endPos - m_start, (int)m_len); in selectionRect() 188 int len = m_len; in selectionRect() 470 m_truncation == cFullTruncation || paintInfo.phase == PaintPhaseOutline || !m_len) in paint() 641 int length = m_len; in paint() 788 ePos = min(endPos - m_start, (int)m_len); in selectionStartEnd() 814 int length = m_truncation != cNoTruncation ? m_truncation : m_len; in paintSelection() 837 int ePos = min(endPos - offset, (int)m_len); in paintCompositionBackground() 851 …ightForText(font, TextRun(textRenderer()->text()->characters() + m_start, m_len, textRenderer()->a… in paintCompositionBackground() [all …]
|
/external/openssl/crypto/pem/ |
D | pem_sign.c | 83 unsigned int m_len; in PEM_SignFinal() local 92 if (EVP_SignFinal(ctx,m,&m_len,pkey) <= 0) goto err; in PEM_SignFinal() 94 i=EVP_EncodeBlock(sigret,m,m_len); in PEM_SignFinal()
|