/external/chromium_org/third_party/libjingle/source/talk/base/ |
macutils.cc | 210 int len = AEGetDescDataSize(&result_data); local 211 char* data = (char*) malloc(len); 213 err = AEGetDescData(&result_data, data, len);
|
stringutils.h | 58 #define STACK_ARRAY(TYPE, LEN) static_cast<TYPE*>(::alloca((LEN)*sizeof(TYPE))) 228 int len = vsnprintf(buffer, buflen, format, args); local 229 if ((len < 0) || (static_cast<size_t>(len) >= buflen)) { 230 len = static_cast<int>(buflen - 1); 231 buffer[len] = 0; 233 return len; 242 size_t len = vsprintfn(buffer, buflen, format, args); local 244 return len; [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/other/ |
linphonemediaengine.cc | 221 int len = packet->length(); local 223 memcpy(buf, data, len); 230 socket_->SendTo(buf, len, talk_base::SocketAddress("localhost",2000)); 269 int len; local 270 len = s->Recv(buf, sizeof(buf)); 271 talk_base::Buffer packet(buf, len);
|
/external/chromium_org/third_party/libsrtp/srtp/crypto/cipher/ |
aes_icm.c | 458 unsigned int len = num_octets_to_output; local 464 return aes_icm_encrypt(c, buffer, &len);
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
linux_netlink.c | 180 static const char *netlink_message_parse (const char *buffer, size_t len, const char *key) 185 for (offset = 0 ; offset < len && '\0' != buffer[offset] ; offset += strlen(buffer + offset) + 1) { 196 static int linux_netlink_parse(char *buffer, size_t len, int *detached, const char **sys_name, 208 tmp = netlink_message_parse((const char *) buffer, len, "ACTION"); 219 tmp = netlink_message_parse(buffer, len, "SUBSYSTEM"); 225 tmp = netlink_message_parse(buffer, len, "BUSNUM"); 237 tmp = netlink_message_parse(buffer, len, "DEVNUM"); 248 tmp = netlink_message_parse(buffer, len, "DEVPATH"); 273 size_t len; local 277 len = recvmsg(linux_netlink_socket, &meh, 0) [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/ |
rate_hist.c | 226 int len; local 231 len = HIST_BAR_MAX * bucket[i].count / scale; 232 if (len < 1) 233 len = 1; 234 assert(len <= HIST_BAR_MAX); 242 fprintf(stderr, j < len ? "=" : " ");
|
/external/chromium_org/third_party/libxml/src/ |
testRegexp.c | 41 int len; local 50 len = strlen(expression); 51 len--; 52 while ((len >= 0) && 53 ((expression[len] == '\n') || (expression[len] == '\t') || 54 (expression[len] == '\r') || (expression[len] == ' '))) len--; 55 expression[len + 1] = 0; 95 int len; local [all...] |
/external/chromium_org/third_party/libyuv/include/libyuv/ |
mjpeg_decoder.h | 48 int len; member in struct:libyuv::Buffer 53 int len; member in struct:libyuv::BufferVector
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_const.c | 444 unsigned len = strlen(str) + 1; local 446 LLVMValueRef string = LLVMAddGlobal(gallivm->module, LLVMArrayType(i8, len), ""); 449 LLVMSetInitializer(string, LLVMConstStringInContext(gallivm->context, str, len, TRUE));
|
lp_bld_type.c | 265 unsigned len = LLVMGetVectorSize(t); local 266 return len * lp_sizeof_llvm_type(elem); 272 unsigned len = LLVMGetArrayLength(t); local 273 return len * lp_sizeof_llvm_type(elem); 343 unsigned len = LLVMGetVectorSize(t); local 346 debug_printf("Vector [%u] of %u-bit Integer\n", len, b); 349 debug_printf("Vector [%u] of %s\n", len, lp_typekind_name(ke)); 355 unsigned len = LLVMGetArrayLength(t); local 356 debug_printf("Array [%u] of %s\n", len, lp_typekind_name(ke));
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_vlc.h | 95 unsigned len = vlc->sizes[0]; local 100 vlc->bytes_left -= len; 103 while (len && pointer_to_uintptr(data) & 3) { 106 --len; 110 vlc->end = data + len;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
nv50_ir_util.cpp | 208 int len = 0; local 210 len += r->bgn - r->end; 211 return len;
|
/external/chromium_org/third_party/mesa/src/src/glsl/ |
main.cpp | 245 const unsigned len = strlen(argv[optind]); local 246 if (len < 6) 249 const char *const ext = & argv[optind][len - 5];
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
XF86dri.c | 522 int len = sizeof(drm_clip_rect_t) * (*numClipRects); local 524 *pClipRects = (drm_clip_rect_t *) Xcalloc(len, 1); 526 _XRead(dpy, (char *) *pClipRects, len); 533 int len = sizeof(drm_clip_rect_t) * (*numBackClipRects); local 535 *pBackClipRects = (drm_clip_rect_t *) Xcalloc(len, 1); 537 _XRead(dpy, (char *) *pBackClipRects, len);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_state_init.c | 55 int len; member in struct:__anon18122 163 return CP_PACKET0(packet[id].start, packet[id].len - 1); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/math/ |
m_debug_norm.c | 163 GLfloat len = LEN_SQUARED_3FV( t ); local 164 if ( len > 1e-20 ) { 168 scale = INV_SQRTF( len );
|
m_norm_tmp.h | 69 GLdouble len = tx*tx + ty*ty + tz*tz; local 70 if (len > 1e-20) { 71 GLfloat scale = INV_SQRTF(len); 98 GLfloat len = lengths[i]; local 99 out[i][0] = tx * len; 100 out[i][1] = ty * len; 101 out[i][2] = tz * len; 136 GLdouble len = tx*tx + ty*ty + tz*tz; local 137 if (len > 1e-20) { 138 GLfloat scale = INV_SQRTF(len); 163 GLfloat len = lengths[i]; local 323 GLdouble len = x * x + y * y + z * z; local [all...] |
/external/chromium_org/third_party/openssl/openssl/apps/ |
asn1pars.c | 390 int len; local 416 len = i2d_ASN1_TYPE(atyp, NULL); 418 if (len <= 0) 421 if (!BUF_MEM_grow(buf,len)) 429 return len;
|
dhparam.c | 462 int len,l,bits; local 464 len=BN_num_bytes(dh->p); 466 data=(unsigned char *)OPENSSL_malloc(len);
|
dsaparam.c | 358 int l,len,bits_p; local 360 len=BN_num_bytes(dsa->p); 362 data=(unsigned char *)OPENSSL_malloc(len+20);
|
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
a_int.c | 179 long len) 195 pend = p + len; 199 s=(unsigned char *)OPENSSL_malloc((int)len+1); 206 if(!len) { 214 if ((*p == 0xff) && (len != 1)) { 216 len--; 218 i = len; 231 * where the number of bytes is larger than len. 235 s[len] = 0; 236 len++ 277 long len; local 407 int len,j; local [all...] |
a_object.c | 88 int i,first,len=0,c, use_bn; local 159 if (len == 0) 205 if (len+i > olen) 211 out[len++]=tmp[i]|0x80; 212 out[len++]=tmp[0]; 215 len+=i; 221 return(len); 262 long len; local 267 inf=ASN1_get_object(&p,&len,&tag,&xclass,length); 279 ret = c2i_ASN1_OBJECT(a, &p, len); [all...] |
x_name.c | 70 const unsigned char **in, long len, 173 const unsigned char **in, long len, const ASN1_ITEM *it, 187 &p, len, ASN1_ITEM_rptr(X509_NAME_INTERNAL), 258 int len; local 277 len = ASN1_item_ex_i2d(&intname.a, NULL, 279 if (!BUF_MEM_grow(a->bytes,len)) goto memerr; 286 return len; 397 int len, i; local 415 len = out->length; 424 while((len > 0) && !(*from & 0x80) && isspace(*from) 483 int i, len, ltmp; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/engine/ |
tb_asnmth.c | 178 const char *str, int len) 185 if (len == -1) 186 len = strlen(str); 191 if (((int)strlen(ameth->pem_str) == len) && 192 !strncasecmp(ameth->pem_str, str, len)) 203 int len; member in struct:__anon18438 217 if (((int)strlen(ameth->pem_str) == lk->len) && 218 !strncasecmp(ameth->pem_str, lk->str, lk->len)) 228 const char *str, int len) 234 fstr.len = len [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
e_rc4_hmac_md5.c | 117 const unsigned char *in, size_t len) 129 if (plen!=NO_PAYLOAD_LENGTH && len!=(plen+MD5_DIGEST_LENGTH)) return 0; 132 if (plen==NO_PAYLOAD_LENGTH) plen = len; 157 if (plen!=len) { /* "TLS" mode of operation */ 167 RC4(&key->ks,len-rc4_off,out+rc4_off,out+rc4_off); 169 RC4(&key->ks,len-rc4_off,in+rc4_off,out+rc4_off); 178 if (len>rc4_off && (blocks=(len-rc4_off)/MD5_CBLOCK) && 198 RC4(&key->ks,len-rc4_off,in+rc4_off,out+rc4_off); 211 MD5_Update(&key->md,out+md5_off,len-md5_off) 256 unsigned int len=p[arg-2]<<8|p[arg-1]; local [all...] |