/external/openssh/ |
gss-serv-krb5.c | 122 int len; local 173 len = strlen(client->store.filename) + 6; 174 client->store.envval = xmalloc(len); 175 snprintf(client->store.envval, len, "FILE:%s", client->store.filename);
|
ssh-dss.c | 53 u_int rlen, slen, len, dlen; local 97 len = buffer_len(&b); 99 *lenp = len; 101 *sigp = xmalloc(len); 102 memcpy(*sigp, buffer_ptr(&b), len); 116 u_int len, dlen; local 130 len = signaturelen; 144 sigblob = buffer_get_string(&b, &len); 155 if (len != SIGBLOB_LEN) { 156 fatal("bad sigbloblen %u != SIGBLOB_LEN", len); [all...] |
ssh-ecdsa.c | 54 u_int len, dlen; local 84 len = buffer_len(&b); 86 *lenp = len; 88 *sigp = xmalloc(len); 89 memcpy(*sigp, buffer_ptr(&b), len); 103 u_int len, dlen; local 126 sigblob = buffer_get_string(&b, &len); 143 buffer_append(&bb, sigblob, len); 150 memset(sigblob, 0, len);
|
xmalloc.c | 87 size_t len; local 90 len = strlen(str) + 1; 91 cp = xmalloc(len); 92 strlcpy(cp, str, len);
|
/external/openssh/openbsd-compat/ |
bsd-closefrom.c | 76 int len; local 79 len = snprintf(fdpath, sizeof(fdpath), "/proc/%ld/fd", (long)getpid()); 80 if (len > 0 && (size_t)len <= sizeof(fdpath) && (dirp = opendir(fdpath))) {
|
setenv.c | 53 int len, i; local 61 len = np - name; 63 for (np = name, i = len; i && *cp; i--)
|
strptime.c | 71 size_t len; local 175 len = strlen(_ctloc(day[i])); 176 if (strncasecmp(_ctloc(day[i]), bp, len) == 0) 180 len = strlen(_ctloc(abday[i])); 181 if (strncasecmp(_ctloc(abday[i]), bp, len) == 0) 190 bp += len; 199 len = strlen(_ctloc(mon[i])); 200 if (strncasecmp(_ctloc(mon[i]), bp, len) == 0) 204 len = strlen(_ctloc(abmon[i])); 205 if (strncasecmp(_ctloc(abmon[i]), bp, len) == 0 [all...] |
/external/openssl/crypto/asn1/ |
a_d2i_fp.c | 92 int len; local 94 len = asn1_d2i_read_bio(in, &b); 95 if(len < 0) goto err; 98 ret=d2i(x,&p,len); 111 int len; local 113 len = asn1_d2i_read_bio(in, &b); 114 if(len < 0) goto err; 117 ret=ASN1_item_d2i(x,&p,len, it); 151 size_t len=0; local 163 if (want >= (len-off) [all...] |
a_enum.c | 141 int len,j; local 155 len=((j == 0)?0:((j/8)+1)); 156 if (ret->length < len+4) 158 unsigned char *new_data=OPENSSL_realloc(ret->data, len+4);
|
a_gentm.c | 73 int len; 77 len = tmpstr.length; 78 ebcdic2ascii(tmp, tmpstr.data, (len >= sizeof tmp) ? sizeof tmp : len); 223 size_t len = 20; local 241 if ((p == NULL) || ((size_t)s->length < len)) 243 p=OPENSSL_malloc(len); 255 BIO_snprintf(p,len,"%04d%02d%02d%02d%02d%02dZ",ts->tm_year + 1900,
|
/external/openssl/crypto/ecdh/ |
ech_ossl.c | 82 static int ecdh_compute_key(void *out, size_t len, const EC_POINT *pub_key, 118 size_t buflen, len; local 172 len = BN_num_bytes(x); 173 if (len > buflen) 184 memset(buf, 0, buflen - len); 185 if (len != (size_t)BN_bn2bin(x, buf + buflen - len))
|
/external/openssl/crypto/pkcs12/ |
p12_kiss.c | 269 int len, r; local 271 len = ASN1_STRING_to_UTF8(&data, fname); 272 if(len > 0) { 273 r = X509_alias_set1(x509, data, len);
|
/external/ppp/pppd/plugins/rp-pppoe/ |
debug.c | 30 * len -- length of data 37 dumpHex(FILE *fp, unsigned char const *buf, int len) 45 if (len >= 2 && buf[0] == 0xC0 && buf[1] == 0x23) { 50 for (base=0; base<len; base += 16) { 52 if (i < len) { 60 if (i < len) { 88 int len = ntohs(packet->length); local 124 len);
|
/external/qemu/android/utils/ |
dll.c | 47 int len = strlen(path); local 48 char* result = malloc(len+1); 51 for (nn = 0; nn < len; nn++) {
|
/external/qemu/distrib/sdl-1.2.15/test/ |
testiconv.c | 8 size_t len = 0; local 11 ++len; 13 return len; 50 size_t len; local 52 len = (widelen(ucs4)+1)*4; 54 test[0] = SDL_iconv_string(formats[i], "UCS-4", ucs4, len); 55 test[1] = SDL_iconv_string("UCS-4", formats[i], test[0], len); 56 if ( !test[1] || SDL_memcmp(test[1], ucs4, len) != 0 ) { 67 test[0] = SDL_iconv_string("UTF-8", "UCS-4", ucs4, len);
|
/external/qemu/ |
qemu-malloc.c | 78 size_t len = strlen(str); local 79 ptr = qemu_malloc(len + 1); 80 memcpy(ptr, str, len + 1);
|
qstring.c | 67 static void capacity_increase(QString *qstring, size_t len) 69 if (qstring->capacity < (qstring->length + len)) { 70 qstring->capacity += len; 81 size_t len = strlen(str); local 83 capacity_increase(qstring, len); 84 memcpy(qstring->string + qstring->length, str, len); 85 qstring->length += len;
|
/external/qemu/slirp/ |
ip_output.c | 51 * header (with len, off, ttl, proto, tos, src, dst). 61 int len, off, error = 0; local 69 * m = ip_insertoptions(m, opt, &len); 70 * hlen = len; 117 len = (IF_MTU - hlen) &~ 7; /* ip databytes per packet */ 118 if (len < 8) { 124 int mhlen, firstlen = len; 133 for (off = hlen + len; off < (u_int16_t)ip->ip_len; off += len) { 155 if (off + len >= (u_int16_t)ip->ip_len [all...] |
sbuf.c | 134 int len, n, nn; local 136 len = m->m_len; 140 if (n > len) n = len; 145 if (n > len) n = len; 147 len -= n; 148 if (len) { 151 if (nn > len) nn = len; [all...] |
/external/qemu/slirp-android/ |
ip_output.c | 51 * header (with len, off, ttl, proto, tos, src, dst). 61 int len, off, error = 0; local 69 * m = ip_insertoptions(m, opt, &len); 70 * hlen = len; 117 len = (IF_MTU - hlen) &~ 7; /* ip databytes per packet */ 118 if (len < 8) { 124 int mhlen, firstlen = len; 133 for (off = hlen + len; off < (u_int16_t)ip->ip_len; off += len) { 155 if (off + len >= (u_int16_t)ip->ip_len [all...] |
sbuf.c | 134 int len, n, nn; local 136 len = m->m_len; 140 if (n > len) n = len; 145 if (n > len) n = len; 147 len -= n; 148 if (len) { 151 if (nn > len) nn = len; [all...] |
/external/qemu/telephony/ |
sms.h | 46 unsigned char len; member in struct:__anon25703
|
/external/regex-re2/re2/testing/ |
string_generator.cc | 68 int len = acm_->Uniform(maxlen_+1); local 69 digits_.resize(len); 70 for (int i = 0; i < len; i++)
|
/external/regex-re2/util/ |
strutil.cc | 65 const int len = CEscapeString(src.data(), src.size(), local 67 string s = string(dest, len);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTextUtils.java | 31 int len = s.length(); local 34 while (start < len && s.charAt(start) <= ' ') { 38 int end = len; 58 final int len = str.length(); local 59 for (int i = 0; i < len; i++) {
|