/external/openssl/crypto/pem/ |
pem_sign.c | 83 unsigned int m_len; local 92 if (EVP_SignFinal(ctx,m,&m_len,pkey) <= 0) goto err; 94 i=EVP_EncodeBlock(sigret,m,m_len);
|
/external/qemu/slirp/ |
mbuf.c | 74 m->m_len = 0; 122 if (M_FREEROOM(m) < n->m_len) 125 memcpy(m->m_data+m->m_len, n->m_data, n->m_len); 126 m->m_len += n->m_len; 176 m->m_len -= len; 180 m->m_len -= len; 194 memcpy((n->m_data + n->m_len), (m->m_data + off), len); 195 n->m_len += len [all...] |
ip_icmp.c | 80 DEBUG_ARG("m_len = %d", m->m_len); 95 m->m_len -= hlen; 102 m->m_len += hlen; 214 DEBUG_ARG("msrc_len = %d", msrc->m_len); 244 new_m_size=sizeof(struct ip )+ICMP_MINLEN+msrc->m_len+ICMP_MAXDATALEN; 247 memcpy(m->m_data, msrc->m_data, msrc->m_len); 248 m->m_len = msrc->m_len; /* copy msrc to m */ 256 m->m_len -= hlen [all...] |
sbuf.c | 79 DEBUG_ARG("m->m_len = %d", m->m_len); 82 if (m->m_len <= 0) { 104 ret = slirp_send(so, m->m_data, m->m_len, 0); 114 } else if (ret != m->m_len) { 119 m->m_len -= ret; 136 len = m->m_len;
|
tcp_subr.c | 138 m->m_len = sizeof (struct tcpiphdr); 147 m->m_len = tlen; 636 memcpy(so_rcv->sb_wptr, m->m_data, m->m_len); 637 so_rcv->sb_wptr += m->m_len; 638 so_rcv->sb_rptr += m->m_len; 639 m->m_data[m->m_len] = 0; /* NULL terminate */ 684 (m->m_len + so_rcv->sb_wptr) > (so_rcv->sb_data + so_rcv->sb_datalen)) { 694 memcpy(so_rcv->sb_wptr, m->m_data, m->m_len); 695 so_rcv->sb_wptr += m->m_len; 696 so_rcv->sb_rptr += m->m_len; [all...] |
cksum.c | 63 if (m->m_len == 0) 67 mlen = m->m_len;
|
mbuf.h | 84 #define M_FREEROOM(m) (M_ROOM(m) - (m)->m_len) 100 #define m_len m_hdr.mh_len macro
|
ip_input.c | 83 DEBUG_ARG("m_len = %d", m->m_len); 87 if (m->m_len < sizeof (struct ip)) { 100 if (hlen<sizeof(struct ip ) || hlen>m->m_len) {/* min header length */ 131 if (m->m_len < ip->ip_len) { 157 if (m->m_len > ip->ip_len) 158 m_adj(m, ip->ip_len - m->m_len); 286 m->m_len -= hlen; 408 m->m_len += (ip->ip_hl << 2); 713 i = m->m_len - (sizeof (struct ip) + olen) [all...] |
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;
|
tftp.c | 163 m->m_len = sizeof(struct tftp_t) - 514 + n - 205 m->m_len = sizeof(struct tftp_t) - 514 + 3 + strlen(msg) - 261 m->m_len = sizeof(struct tftp_t) - (512 - nobytes) - 418 tftp_handle_rrq(tp, m->m_len); 422 tftp_handle_ack(tp, m->m_len);
|
/external/qemu/slirp-android/ |
mbuf.c | 74 m->m_len = 0; 122 if (M_FREEROOM(m) < n->m_len) 125 memcpy(m->m_data+m->m_len, n->m_data, n->m_len); 126 m->m_len += n->m_len; 176 m->m_len -= len; 180 m->m_len -= len; 194 memcpy((n->m_data + n->m_len), (m->m_data + off), len); 195 n->m_len += len [all...] |
ip_icmp.c | 81 DEBUG_ARG("m_len = %d", m->m_len); 96 m->m_len -= hlen; 103 m->m_len += hlen; 216 DEBUG_ARG("msrc_len = %d", msrc->m_len); 246 new_m_size=sizeof(struct ip )+ICMP_MINLEN+msrc->m_len+ICMP_MAXDATALEN; 249 memcpy(m->m_data, msrc->m_data, msrc->m_len); 250 m->m_len = msrc->m_len; /* copy msrc to m */ 258 m->m_len -= hlen [all...] |
sbuf.c | 79 DEBUG_ARG("m->m_len = %d", m->m_len); 82 if (m->m_len <= 0) { 104 ret = slirp_send(so, m->m_data, m->m_len, 0); 114 } else if (ret != m->m_len) { 119 m->m_len -= ret; 136 len = m->m_len;
|
cksum.c | 63 if (m->m_len == 0) 67 mlen = m->m_len;
|
mbuf.h | 84 #define M_FREEROOM(m) (M_ROOM(m) - (m)->m_len) 100 #define m_len m_hdr.mh_len macro
|
udp.c | 73 * m->m_len length ip packet 225 m->m_len -= iphlen; 235 m->m_len += iphlen; 245 m->m_len += iphlen; 279 m->m_len += sizeof(struct udpiphdr); 289 ui->ui_len = htons(m->m_len - sizeof(struct ip)); /* + sizeof (struct udphdr)); */ 302 if ((ui->ui_sum = cksum(m, /* sizeof (struct udpiphdr) + */ m->m_len)) == 0) 305 ((struct ip *)ui)->ip_len = m->m_len; 417 if (m->m_len >= sizeof (*cu_head)) {
|
tcp_subr.c | 140 m->m_len = sizeof (struct tcpiphdr); 149 m->m_len = tlen; 666 memcpy(so_rcv->sb_wptr, m->m_data, m->m_len); 667 so_rcv->sb_wptr += m->m_len; 668 so_rcv->sb_rptr += m->m_len; 669 m->m_data[m->m_len] = 0; /* NULL terminate */ 695 *(m->m_data+m->m_len) = 0; /* NUL terminate for strstr */ 723 m->m_len = bptr - m->m_data; /* Adjust length */ 724 m->m_len += snprintf(bptr, m->m_hdr.mh_size - m->m_len, [all...] |
ip_input.c | 83 DEBUG_ARG("m_len = %d", m->m_len); 87 if (m->m_len < sizeof (struct ip)) { 100 if (hlen<sizeof(struct ip ) || hlen>m->m_len) {/* min header length */ 131 if (m->m_len < ip->ip_len) { 157 if (m->m_len > ip->ip_len) 158 m_adj(m, ip->ip_len - m->m_len); 286 m->m_len -= hlen; 408 m->m_len += (ip->ip_hl << 2); 713 i = m->m_len - (sizeof (struct ip) + olen) [all...] |
/external/openssl/crypto/rsa/ |
rsa_saos.c | 67 const unsigned char *m, unsigned int m_len, 75 sig.length=m_len; 106 unsigned int m_len, unsigned char *sigbuf, unsigned int siglen, 134 if ( ((unsigned int)sig->length != m_len) || 135 (memcmp(m,sig->data,m_len) != 0))
|
rsa_sign.c | 69 int RSA_sign(int type, const unsigned char *m, unsigned int m_len, 81 return rsa->meth->rsa_sign(type, m, m_len, 86 if(m_len != SSL_SIG_LENGTH) { 119 sig.digest->length=m_len; 158 int RSA_verify(int dtype, const unsigned char *m, unsigned int m_len, 173 return rsa->meth->rsa_verify(dtype, m, m_len, 185 if (m_len != SSL_SIG_LENGTH) 260 if ( ((unsigned int)sig->digest->length != m_len) || 261 (memcmp(m,sig->digest->data,m_len) != 0))
|
/external/webkit/WebCore/platform/graphics/ |
TextRun.h | 39 , m_len(len) 58 , m_len(s.length()) 78 int length() const { return m_len; } 80 void setText(const UChar* c, int len) { m_characters = c; m_len = len; } 107 int m_len; member in class:WebCore::TextRun
|
/external/webkit/WebCore/rendering/ |
InlineTextBox.h | 45 , m_len(0) 54 unsigned end() const { return m_len ? m_start + m_len - 1 : m_start; } 55 unsigned len() const { return m_len; } 58 void setLen(unsigned len) { m_len = len; } 120 unsigned short m_len; member in class:WebCore::InlineTextBox
|
InlineTextBox.cpp | 59 int ePos = min(endPos - m_start, (int)m_len); 72 bool start = (state != RenderObject::SelectionEnd && startPos >= m_start && startPos < m_start + m_len); 109 int ePos = min(endPos - m_start, (int)m_len); 119 IntRect r = enclosingIntRect(f.selectionRectForText(TextRun(textObj->text()->characters() + m_start, m_len, textObj->allowTabs(), textPos(), m_toAdd, direction() == RTL, m_dirOverride), 402 if (m_len <= 0) 475 TextRun textRun(textRenderer()->text()->characters() + m_start, m_len, textRenderer()->allowTabs(), textPos(), m_toAdd, direction() == RTL, m_dirOverride || styleToUse->visuallyOrdered()); 482 int length = m_len; 569 ePos = min(endPos - m_start, (int)m_len); 596 int length = m_truncation != cNoTruncation ? m_truncation : m_len; 608 int ePos = min(endPos - offset, (int)m_len); [all...] |
/external/openssl/crypto/evp/ |
p_sign.c | 82 unsigned int m_len; local 119 EVP_DigestFinal_ex(&tmp_ctx,&(m[0]),&m_len); 120 i = ctx->digest->sign(ctx->digest->type,m,m_len,sigret,siglen,
|
p_verify.c | 69 unsigned int m_len; local 106 EVP_DigestFinal_ex(&tmp_ctx,&(m[0]),&m_len); 107 i = ctx->digest->verify(ctx->digest->type,m,m_len,
|