/external/kernel-headers/original/uapi/linux/ |
H A D | netlink.h | 80 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) 82 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN) 83 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) 85 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ 87 #define NLMSG_OK(nlh,len) ((len) > [all...] |
/external/liblzf/ |
H A D | lzf_d.c | 48 # define lzf_movsb(dst, src, len) \ 50 : "=D" (dst), "=S" (src), "=c" (len) \ 51 : "0" (dst), "1" (src), "2" (len)); 104 unsigned int len = ctrl >> 5; local 115 if (len == 7) 117 len += *ip++; 129 if (op + len + 2 > out_end) 142 len += 2; 143 lzf_movsb (op, ref, len); 145 switch (len) [all...] |
/external/opencv/cv/src/ |
H A D | _cvmatrix.h | 45 #define icvCopyVector( src, dst, len ) memcpy( (dst), (src), (len)*sizeof((dst)[0])) 46 #define icvSetZero( dst, len ) memset( (dst), 0, (len)*sizeof((dst)[0])) 48 #define icvCopyVector_32f( src, len, dst ) memcpy((dst),(src),(len)*sizeof(float)) 50 #define icvCopyVector_64d( src, len, dst ) memcpy((dst),(src),(len)*sizeof(double)) 55 #define icvCreateVector_32f( len ) (float*)cvAlloc( (len)*sizeo 185 int i, len = MIN( w, h ); local 194 int i, len = MIN( w, h ); local 203 int i, len = MIN( w, h ); local 215 int i, len = MIN( w, h ); local 225 icvScaleVector_32f( const float* src, float* dst, int len, double scale ) argument 236 icvScaleVector_64d( const double* src, double* dst, int len, double scale ) argument [all...] |
/external/zlib/src/contrib/puff/ |
H A D | pufftest.c | 57 failure. *len is the number of bytes of data read from the input file (even 59 or read, *len is zero. */ 60 local void *load(const char *name, size_t *len) argument 66 *len = 0; 73 *len += fread((char *)buf + *len, 1, size - *len, in); 74 if (*len < size) break; 76 if (size == *len || (swap = realloc(buf, size)) == NULL) { 94 size_t len local [all...] |
H A D | puff.c | 166 unsigned len; /* length of stored block */ local 175 len = s->in[s->incnt++]; 176 len |= s->in[s->incnt++] << 8; 177 if (s->in[s->incnt++] != (~len & 0xff) || 178 s->in[s->incnt++] != ((~len >> 8) & 0xff)) 181 /* copy len bytes from in to out */ 182 if (s->incnt + len > s->inlen) 185 if (s->outcnt + len > s->outlen) 187 while (len--) 191 s->outcnt += len; 237 int len; /* current number of bits in code */ local 265 int len; /* current number of bits in code */ local 343 int len; /* current length when stepping through h->count[] */ local 441 int len; /* length for copy */ local 705 int len; /* last length to repeat */ local [all...] |
/external/skia/src/core/ |
H A D | SkTSearch.cpp | 62 size_t len, size_t elemSize) 66 SkAutoAsciiToLC tolc(target, len); 68 return SkStrSearch(base, count, tolc.lc(), len, elemSize); 79 SkAutoAsciiToLC::SkAutoAsciiToLC(const char str[], size_t len) argument 82 if ((long)len < 0) { 83 len = strlen(str); 85 fLength = len; 87 // assign lc to our preallocated storage if len is small enough, or allocate 90 if (len <= STORAGE) { 93 lc = (char*)sk_malloc_throw(len 61 SkStrLCSearch(const char*const* base, int count, const char target[], size_t len, size_t elemSize) argument [all...] |
/external/libvncserver/libvncserver/ |
H A D | stats.c | 29 char *messageNameServer2Client(uint32_t type, char *buf, int len); 30 char *messageNameClient2Server(uint32_t type, char *buf, int len); 31 char *encodingName(uint32_t enc, char *buf, int len); 46 char *messageNameServer2Client(uint32_t type, char *buf, int len) { argument 49 case rfbFramebufferUpdate: snprintf(buf, len, "FramebufferUpdate"); break; 50 case rfbSetColourMapEntries: snprintf(buf, len, "SetColourMapEntries"); break; 51 case rfbBell: snprintf(buf, len, "Bell"); break; 52 case rfbServerCutText: snprintf(buf, len, "ServerCutText"); break; 53 case rfbResizeFrameBuffer: snprintf(buf, len, "ResizeFrameBuffer"); break; 54 case rfbFileTransfer: snprintf(buf, len, "FileTransfe 64 messageNameClient2Server(uint32_t type, char *buf, int len) argument 92 encodingName(uint32_t type, char *buf, int len) argument [all...] |
/external/elfutils/src/libebl/ |
H A D | eblgstrtab.c | 53 size_t len; member in struct:Ebl_GStrent 108 ret->null.len = 1; 118 morememory (struct Ebl_GStrtab *st, size_t len) argument 122 if (len < ps) 123 len = ps; 124 newmem = (struct memoryblock *) malloc (len); 131 st->left = len - offsetof (struct memoryblock, memory); 155 newstring (struct Ebl_GStrtab *st, const char *str, size_t len) argument 164 if (st->left < align + sizeof (struct Ebl_GStrent) + len * st->width) 166 morememory (st, sizeof (struct Ebl_GStrent) + len * s 221 ebl_gstrtabadd(struct Ebl_GStrtab *st, const char *str, size_t len) argument [all...] |
/external/aac/libFDK/src/mips/ |
H A D | scale.cpp | 106 INT len) /*!< Length of input vector */ 111 for(i=len;i!=0;i--){ 105 getScalefactor(const FIXP_DBL *vector, INT len) argument
|
/external/boringssl/include/openssl/ |
H A D | rc4.h | 75 /* RC4_set_key performs an RC4 key schedule and initialises |rc4key| with |len| 77 OPENSSL_EXPORT void RC4_set_key(RC4_KEY *rc4key, unsigned len, 80 /* RC4 encrypts (or decrypts, it's the same with RC4) |len| bytes from |in| to 82 OPENSSL_EXPORT void RC4(RC4_KEY *key, size_t len, const uint8_t *in,
|
/external/boringssl/src/crypto/asn1/ |
H A D | a_octet.c | 69 int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *x, const unsigned char *d, int len) argument 70 { return M_ASN1_OCTET_STRING_set(x, d, len); }
|
/external/boringssl/src/crypto/modes/ |
H A D | ofb.c | 56 void CRYPTO_ofb128_encrypt(const uint8_t *in, uint8_t *out, size_t len, argument 66 while (n && len) { 68 --len; 75 while (l < len) { 89 while (len >= 16) { 94 len -= 16; 99 if (len) { 101 while (len--) {
|
/external/boringssl/src/include/openssl/ |
H A D | rc4.h | 75 /* RC4_set_key performs an RC4 key schedule and initialises |rc4key| with |len| 77 OPENSSL_EXPORT void RC4_set_key(RC4_KEY *rc4key, unsigned len, 80 /* RC4 encrypts (or decrypts, it's the same with RC4) |len| bytes from |in| to 82 OPENSSL_EXPORT void RC4(RC4_KEY *key, size_t len, const uint8_t *in,
|
/external/clang/test/CodeGen/ |
H A D | named_reg_global.c | 9 int len; member in struct:p4_Thread::__anon1854 34 return (*p4TH).word.len;
|
/external/compiler-rt/test/asan/TestCases/ |
H A D | alloca_detect_custom_size_.cc | 12 __attribute__((noinline)) void foo(int index, int len) { argument 13 volatile struct A str[len] __attribute__((aligned(32)));
|
H A D | alloca_safe_access.cc | 7 __attribute__((noinline)) void foo(int index, int len) { argument 8 volatile char str[len] __attribute__((aligned(32)));
|
H A D | suppressions-library.cc | 30 size_t len = strlen(a); // BOOM local 31 fprintf(stderr, "strlen ignored, %zu\n", len);
|
/external/fio/crc/ |
H A D | fnv.c | 5 uint64_t fnv(const void *buf, uint32_t len, uint64_t hval) argument 8 const uint64_t *end = (void *) buf + len;
|
/external/harfbuzz_ng/src/ |
H A D | test-size-params.cc | 56 unsigned int len; local 64 len = g_mapped_file_get_length (mf); 71 len = ftell (f); 73 font_data = (const char *) malloc (len); 74 if (!font_data) len = 0; 75 len = fread ((char *) font_data, 1, len, f); 82 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
|
/external/kernel-headers/original/uapi/scsi/ |
H A D | scsi_netlink_fc.h | 44 #define FC_NL_MSGALIGN(len) (((len) + 7) & ~7)
|
/external/libopus/silk/ |
H A D | inner_prod_aligned.c | 38 const opus_int len /* I vector lengths */ 43 for( i = 0; i < len; i++ ) {
|
/external/libxml2/ |
H A D | enc.h | 22 xmlBufferPtr in, int len); 23 int xmlCharEncFirstLineInput(xmlParserInputBufferPtr input, int len);
|
/external/mesa3d/src/mesa/program/ |
H A D | arbprogparse.h | 37 const GLvoid *str, GLsizei len, 42 const GLvoid *str, GLsizei len,
|
/external/openssh/ |
H A D | uuencode.c | 58 int len; local 70 len = __b64_pton(encoded, target, targsize); 72 return len; 76 dump_base64(FILE *fp, const u_char *data, u_int len) argument 81 if (len > 65536) { 82 fprintf(fp, "dump_base64: len > 65536\n"); 85 buf = xmalloc(2*len); 86 n = uuencode(data, len, buf, 2*len);
|
/external/squashfs-tools/squashfs-tools/ |
H A D | read_file.c | 62 int len; local 74 len = strlen(line + total); 75 total += len; 77 if(len == MAX_LINE && line[total - 1] != '\n') { 89 if(len && line[total - 1] == '\n') { 91 len --; 100 if(len == 0 || line[total - 1] != '\\' || (len >= 2 &&
|