/external/wpa_supplicant_8/src/utils/ |
base64.c | 34 size_t olen; local 37 olen = len * 4 / 3 + 4; /* 3-byte blocks to 4-byte */ 38 olen += olen / 72; /* line feeds */ 39 olen++; /* nul termination */ 40 if (olen < len) 42 out = os_malloc(olen); 103 size_t i, count, olen; local 120 olen = count / 4 * 3; 121 pos = out = os_malloc(olen); [all...] |
/external/toybox/toys/posix/ |
uudecode.c | 49 int olen; local 58 olen = 0; 60 if (!m) olen = (*(in++) - 32) & 0x3f; 67 if (olen < 1) break; 68 if (olen < 3) len = olen + 1; 92 olen--;
|
/external/openssh/ |
rsa.c | 78 int len, ilen, olen, r = SSH_ERR_INTERNAL_ERROR; local 83 olen = BN_num_bytes(key->n); 84 if ((outbuf = malloc(olen)) == NULL) { 110 explicit_bzero(outbuf, olen); 124 int len, ilen, olen, r = SSH_ERR_INTERNAL_ERROR; local 126 olen = BN_num_bytes(key->n); 127 if ((outbuf = malloc(olen)) == NULL) { 150 explicit_bzero(outbuf, olen);
|
ssh-pkcs11-helper.c | 276 ssize_t len, olen, set_size; local 320 olen = buffer_len(&oqueue); 321 if (olen > 0) 346 len = write(out, buffer_ptr(&oqueue), olen);
|
sshbuf-getput-basic.c | 433 size_t len, olen; local 436 if ((r = sshbuf_peek_string_direct(buf, &d, &olen)) < 0) 438 len = olen; 455 if (sshbuf_consume(buf, olen + 4) != 0) {
|
/system/core/cpio/ |
mkbootfs.c | 89 static void _eject(struct stat *s, char *out, int olen, char *data, unsigned datasize) 118 olen + 1, 124 total_size += 6 + 8*13 + olen + 1; 126 if(strlen(out) != (unsigned int)olen) die("ACK!"); 151 static void _archive(char *in, char *out, int ilen, int olen); 157 static void _archive_dir(char *in, char *out, int ilen, int olen) 165 in, out, ilen, olen); 211 if(olen > 0) { 212 out[olen] = '/'; 213 memcpy(out + olen + 1, names[i], t + 1) [all...] |
/external/ppp/pppd/ |
cbcp.c | 233 int code, opt, id, len, olen, delay; local 259 GETCHAR(olen, p); 261 if (olen < 2 || olen > len) { 266 len -= olen; 273 if (olen > 2) { 278 if (olen > 3) { 283 memcpy(str, p, olen - 4); 284 str[olen - 4] = 0;
|
ipxcp.c | 1479 int code, id, len, olen; local [all...] |
lcp.c | 2001 int code, id, len, olen, i; local [all...] |
ipv6cp.c | 1423 int code, id, len, olen; local [all...] |
ipcp.c | 2153 int code, id, len, olen; local [all...] |
/external/tcpdump/ |
print-pim.c | 647 u_int16_t otype, olen; local 652 olen = EXTRACT_16BITS(&bp[2]); 653 TCHECK2(bp[0], 4 + olen); 658 olen); 667 if (olen != 4) { 668 (void)printf("ERROR: Option Length != 4 Bytes (%u)", olen); 683 switch (olen) { 691 printf("ERROR: Option Length != 4 Bytes (%u)", olen); 718 while (ptr < (bp+olen)) { 733 print_unknown_data(bp,"\n\t ",olen); [all...] |
print-fr.c | 731 int olen; local 767 olen = length; /* preserve the original length for non verbose mode */ 784 printf(", length %u",olen); 822 printf(", length %u",olen);
|
/external/speex/libspeex/ |
resample.c | 677 spx_uint32_t olen = old_length; local 683 olen = old_length + 2*st->magic_samples[i]; 690 if (st->filt_len > olen) 694 for (j=0;j<olen-1;j++) 695 st->mem[i*st->mem_alloc_size+(st->filt_len-2-j)] = st->mem[i*st->mem_alloc_size+(olen-2-j)]; 700 st->last_sample[i] += (st->filt_len - olen)/2; 703 st->magic_samples[i] = (olen - st->filt_len)/2; 856 spx_uint32_t olen = *out_len; local 899 spx_uint32_t olen = *out_len; local [all...] |
/external/libedit/src/ |
vis.c | 354 size_t len, olen; local 479 olen = 0; 505 if (olen + clen > (size_t)maxolen) 512 olen += clen; 526 return (int)olen;
|
/ndk/sources/host-tools/make-3.81/ |
expand.c | 527 unsigned int olen = variable_buffer_length; 536 variable_buffer_length = olen; 550 unsigned int olen = variable_buffer_length; 562 variable_buffer_length = olen; 521 unsigned int olen = variable_buffer_length; local 544 unsigned int olen = variable_buffer_length; local
|
/external/linux-tools-perf/src/tools/perf/util/ |
string.c | 399 int olen = *s ? strlen(*s) : 0; local 400 int nlen = olen + strlen(a) + 1; 408 if (olen == 0)
|
/external/dhcpcd/ |
ipv6rs.c | 270 ssize_t len, l, n, olen; local 397 olen = 0; 400 for (olen = 0; len > 0; p += olen, len -= olen) { 406 olen = ndo->nd_opt_len * 8 ; 407 if (olen == 0) { 411 if (olen > len) {
|
/packages/services/Telephony/src/com/android/phone/ |
IccNetworkDepersonalizationPanel.java | 70 public void beforeTextChanged(CharSequence buffer, int start, int olen, int nlen) { 73 public void onTextChanged(CharSequence buffer, int start, int olen, int nlen) {
|
/external/wpa_supplicant_8/src/tls/ |
tlsv1_client.c | 313 size_t olen; local 341 olen = wpabuf_tailroom(buf); 343 out_pos, &olen, &alert); 368 if (olen < 2) { 394 wpabuf_put(buf, olen);
|
tlsv1_server.c | 265 size_t olen; local 274 olen = out_end - out_pos; 276 out_pos, &olen, &alert); 291 if (olen < 2) { 328 out_pos += olen;
|
/external/iproute2/misc/ |
rtacct.c | 416 socklen_t olen = sizeof(cred); local 418 if (getsockopt(fd, SOL_SOCKET, SO_PEERCRED, (void*)&cred, &olen) || 419 olen < sizeof(cred))
|
ifstat.c | 540 socklen_t olen = sizeof(cred); local 542 if (getsockopt(fd, SOL_SOCKET, SO_PEERCRED, (void*)&cred, &olen) || 543 olen < sizeof(cred))
|
/external/boringssl/src/crypto/asn1/ |
a_object.c | 86 int a2d_ASN1_OBJECT(unsigned char *out, int olen, const char *buf, int num) 205 if (len+i > olen)
|
/external/clang/test/CodeGen/ |
ms-inline-asm.c | 307 int olen = 0, osize = 0, otype = 0; 308 __asm mov olen, LENGTH arr
|