/external/openssl/crypto/asn1/ |
a_utctm.c | 73 int len; 77 len = x.length; 78 ebcdic2ascii(tmp, x.data, (len >= sizeof tmp) ? sizeof tmp : len); 198 size_t len = 20; local 219 if ((p == NULL) || ((size_t)s->length < len)) 221 p=OPENSSL_malloc(len); 232 BIO_snprintf(p,len,"%02d%02d%02d%02d%02d%02dZ",ts->tm_year%100,
|
asn1_par.c | 102 int ASN1_parse(BIO *bp, const unsigned char *pp, long len, int indent) 104 return(asn1_parse2(bp,&pp,len,0,0,indent,0)); 107 int ASN1_parse_dump(BIO *bp, const unsigned char *pp, long len, int indent, int dump) 109 return(asn1_parse2(bp,&pp,len,0,0,indent,dump)); 116 long len; local 135 j=ASN1_get_object(&p,&len,&tag,&xclass,length); 155 depth,(long)hl,len) <= 0) 168 ep=p+len; 170 if (len > length) 177 if ((j == 0x21) && (len == 0) [all...] |
/external/openssl/crypto/dh/ |
dh_pmeth.c | 148 int len; local 149 len = atoi(value); 150 return EVP_PKEY_CTX_set_dh_paramgen_prime_len(ctx, len); 154 int len; local 155 len = atoi(value); 156 return EVP_PKEY_CTX_set_dh_paramgen_generator(ctx, len);
|
/external/openssl/crypto/dso/ |
dso_dl.c | 290 int spec2len, len; local 293 len = spec2len + (filespec1 ? strlen(filespec1) : 0); 298 len--; 300 merged = OPENSSL_malloc(len + 2); 327 int len, rsize, transform; local 329 len = strlen(filename); 330 rsize = len + 1; 360 int i,len; local 374 len = (int)strlen(inf.filename); 375 if (sz <= 0) return len+1 [all...] |
/external/openssl/crypto/pem/ |
pem_info.c | 98 long len,error=0; local 120 i=PEM_read_bio(bp,&name,&header,&data,&len); 246 if (!PEM_do_header(&cipher,data,&len,cb,u)) 251 if (!d2i_PrivateKey(ptype, pp, &p, len)) 257 else if (d2i(pp,&p,len) == NULL) 268 xi->enc_len=(int)len;
|
/external/openssl/crypto/pkcs7/ |
pk7_smime.c | 361 long len; local 362 len = BIO_get_mem_data(indata, &ptr); 363 tmpin = BIO_new_mem_buf(ptr, len);
|
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/ |
fx_zlib_inffast.c | 42 state->mode == LEN 50 LEN -- ran out of enough output space or enough available input 93 unsigned len; /* match length, unused bytes */ local 140 len = (unsigned)(here.val); 147 len += (unsigned)hold & ((1U << op) - 1); 151 Tracevv((stderr, "inflate: length %u\n", len)); 197 if (len <= op - whave) { 200 } while (--len); 203 len -= op - whave; 211 } while (--len); [all...] |
fx_zlib_inftrees.c | 40 unsigned len; /* a code's length in bits */ local 107 for (len = 0; len <= MAXBITS; len++) 108 count[len] = 0; 132 for (len = 1; len <= MAXBITS; len++) { 134 left -= count[len]; 142 for (len = 1; len < MAXBITS; len++ [all...] |
gzwrite.c | 132 /* Compress len zeros to output. Return -1 on error, 0 on success. */ 135 z_off64_t len) 145 /* compress len zeros (len guaranteed > 0) */ 147 while (len) { 148 n = GT_OFF(state->size) || (z_off64_t)state->size > len ? 149 (unsigned)len : state->size; 159 len -= n; 168 unsigned len) 170 unsigned put = len; 298 unsigned len; local 312 int size, len; local 392 int size, len; local [all...] |
/external/pdfium/core/src/fxge/agg/agg23/ |
agg_rendering_buffer.h | 37 unsigned len; member in struct:agg::rendering_buffer::span_data 40 span_data(int) : x(0), len(0), ptr(0) {} 42 x(x_), len(len_), ptr(ptr_) {}
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
ftutil.c | 311 FT_ULong len = str ? (FT_ULong)ft_strlen( str ) + 1 local 315 return ft_mem_dup( memory, str, len, p_error );
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/ |
ttpost.c | 232 FT_UInt len; local 242 if ( FT_READ_BYTE( len ) ) 246 if ( (FT_Int)len > post_limit || 247 FT_STREAM_POS() > post_limit - (FT_Int)len ) 252 len, post_limit - FT_STREAM_POS() )); 253 len = FT_MAX( 0, post_limit - FT_STREAM_POS() ); 256 if ( FT_NEW_ARRAY( name_strings[n], len + 1 ) || 257 FT_STREAM_READ( name_strings[n], len ) ) 260 name_strings[n][len] = '\0';
|
/external/pixman/pixman/ |
pixman-implementation.c | 362 int len; local 365 len = end - env; 367 len = strlen (env); 369 if (strlen (name) == len && strncmp (name, env, len) == 0) 375 env += len;
|
/external/proguard/src/proguard/io/ |
ManifestRewriter.java | 117 public int read(char[] cbuf, int off, int len) throws IOException 121 while (count < len) 197 public void write(char[] cbuf, int off, int len) throws IOException 199 for (int count = 0; count < len; count++) 206 public void write(String str, int off, int len) throws IOException 208 write(str.toCharArray(), off, len); local
|
/external/qemu/android/ |
cbuffer.c | 70 cbuffer_write_step( CBuffer* cb, int len ) 74 cb->count += len; 81 cbuffer_write( CBuffer* cb, const void* from, int len ) 83 int len2 = len; 113 return len - len2; 117 cbuffer_read( CBuffer* cb, void* to, int len ) 119 int len2 = len; 148 return len - len2; 168 cbuffer_read_step( CBuffer* cb, int len ) 172 if (len > cb->count 201 int len = cb->count; local [all...] |
/external/qemu/android/utils/ |
bufprint.c | 41 int len = vsnprintf( buffer, buffer_end - buffer, fmt, args ); local 42 if (len < 0 || buffer+len >= buffer_end) { 47 return buffer + len; 80 int len; local 83 len = readlink("/proc/self/exe", path, sizeof(path)); 84 if (len <= 0 || len >= (int)sizeof(path)) goto Fail; 85 path[len] = 0; 138 int len; local [all...] |
system.c | 127 int len; local 133 len = strlen(str); 134 copy = malloc(len+1); 135 memcpy(copy, str, len); 136 copy[len] = 0;
|
/external/qemu/distrib/ext4_utils/src/ |
extent.c | 40 u32 len; local 43 len = min(region_len * info.block_size, backing_len); 45 sparse_file_add_data(ext4_sparse_file, ptr, len, region_block); 46 ptr += len; 47 backing_len -= len; 62 u32 len; local 65 len = min(region_len * info.block_size, backing_len); 67 sparse_file_add_file(ext4_sparse_file, filename, offset, len, 69 offset += len; 70 backing_len -= len; [all...] |
/external/qemu/distrib/libselinux/src/ |
booleans.c | 36 int security_get_boolean_names(char ***names, int *len) 43 assert(len); 50 *len = scandir(path, &namelist, &filename_select, alphasort); 51 if (*len <= 0) { 55 n = (char **)malloc(sizeof(char *) * *len); 61 for (i = 0; i < *len; i++) { 71 for (i = 0; i < *len; i++) { 88 int fd, len; local 101 len = strlen(name) + strlen(selinux_mnt) + sizeof(SELINUX_BOOL_DIR); 102 fname = (char *)malloc(sizeof(char) * len); 163 int fd, ret, len; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/ |
SDL_error.c | 130 int len; local 156 len = SDL_snprintf(msg, maxlen, tmp, error->args[argi++].value_i); 157 msg += len; 158 maxlen -= len; 161 len = SDL_snprintf(msg, maxlen, tmp, error->args[argi++].value_f); 162 msg += len; 163 maxlen -= len; 166 len = SDL_snprintf(msg, maxlen, tmp, error->args[argi++].value_ptr); 167 msg += len; 168 maxlen -= len; [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/macosx/ |
SDL_coreaudio.c | 104 UInt32 remaining, len; local 141 len = bufferSize - bufferOffset; 142 if (len > remaining) 143 len = remaining; 144 SDL_memcpy(ptr, (char *)buffer + bufferOffset, len); local 145 ptr = (char *)ptr + len; 146 remaining -= len; 147 bufferOffset += len;
|
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
SDL_riscostask.c | 191 size_t len = SDL_strlen(command_line)+1; local 192 char *buffer = SDL_stack_alloc(char, len); 196 SDL_strlcpy(buffer, command_line, len); 222 len = SDL_strlen(p) + 18; /* 18 is larger than the biggest variable name */ 223 env_var = SDL_stack_alloc(char, len); 230 SDL_strlcpy(env_var, "SDL$", len); 231 SDL_strlcat(env_var, p, len); 232 SDL_strlcat(env_var, "$TaskName", len); 237 SDL_strlcpy(env_var, "SDL$", len); 238 SDL_strlcat(env_var, p, len); [all...] |
/external/qemu/distrib/zlib-1.2.8/ |
gzwrite.c | 132 /* Compress len zeros to output. Return -1 on error, 0 on success. */ 133 local int gz_zero(state, len) 135 z_off64_t len; 145 /* compress len zeros (len guaranteed > 0) */ 147 while (len) { 148 n = GT_OFF(state->size) || (z_off64_t)state->size > len ? 149 (unsigned)len : state->size; 159 len -= n; 165 int ZEXPORT gzwrite(file, buf, len) 298 unsigned len; local 312 int size, len; local 393 int size, len; local [all...] |
inffast.c | 42 state->mode == LEN 50 LEN -- ran out of enough output space or enough available input 93 unsigned len; /* match length, unused bytes */ local 140 len = (unsigned)(here.val); 147 len += (unsigned)hold & ((1U << op) - 1); 151 Tracevv((stderr, "inflate: length %u\n", len)); 197 if (len <= op - whave) { 200 } while (--len); 203 len -= op - whave; 211 } while (--len); [all...] |
inftrees.c | 40 unsigned len; /* a code's length in bits */ local 107 for (len = 0; len <= MAXBITS; len++) 108 count[len] = 0; 132 for (len = 1; len <= MAXBITS; len++) { 134 left -= count[len]; 142 for (len = 1; len < MAXBITS; len++ [all...] |