/external/chromium_org/third_party/webrtc/common_audio/signal_processing/ |
H A D | resample_by_2_internal.h | 26 void WebRtcSpl_DownBy2IntToShort(int32_t *in, int32_t len, int16_t *out, 29 void WebRtcSpl_DownBy2ShortToInt(const int16_t *in, int32_t len, 32 void WebRtcSpl_UpBy2ShortToInt(const int16_t *in, int32_t len, 35 void WebRtcSpl_UpBy2IntToInt(const int32_t *in, int32_t len, int32_t *out, 38 void WebRtcSpl_UpBy2IntToShort(const int32_t *in, int32_t len, 41 void WebRtcSpl_LPBy2ShortToInt(const int16_t* in, int32_t len, 44 void WebRtcSpl_LPBy2IntToInt(const int32_t* in, int32_t len, int32_t* out,
|
/external/elfutils/0.153/libelf/ |
H A D | gnuhash_xlate.h | 58 elf_cvt_gnuhash (void *dest, const void *src, size_t len, int encode) argument 68 if (len < 4) 71 len -= 4; 81 if (len < 8) 84 len -= 8; 90 while (len >= 4) 93 len -= 4;
|
H A D | note_xlate.h | 51 elf_cvt_note (void *dest, const void *src, size_t len, int encode) argument 55 while (len >= sizeof (Elf32_Nhdr)) 63 len -= sizeof *n; 67 if (namesz > len) 69 len -= namesz; 70 if (descsz > len) 72 len -= descsz;
|
/external/webrtc/src/common_audio/signal_processing/ |
H A D | resample_by_2_internal.h | 26 void WebRtcSpl_DownBy2IntToShort(WebRtc_Word32 *in, WebRtc_Word32 len, WebRtc_Word16 *out, 29 void WebRtcSpl_DownBy2ShortToInt(const WebRtc_Word16 *in, WebRtc_Word32 len, 32 void WebRtcSpl_UpBy2ShortToInt(const WebRtc_Word16 *in, WebRtc_Word32 len, 35 void WebRtcSpl_UpBy2IntToInt(const WebRtc_Word32 *in, WebRtc_Word32 len, WebRtc_Word32 *out, 38 void WebRtcSpl_UpBy2IntToShort(const WebRtc_Word32 *in, WebRtc_Word32 len, 41 void WebRtcSpl_LPBy2ShortToInt(const WebRtc_Word16* in, WebRtc_Word32 len, 44 void WebRtcSpl_LPBy2IntToInt(const WebRtc_Word32* in, WebRtc_Word32 len, WebRtc_Word32* out,
|
/external/wpa_supplicant_8/hostapd/src/tls/ |
H A D | asn1.c | 16 .len = 6 21 .len = 9 25 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) argument 32 end = buf + len; 90 int asn1_parse_oid(const u8 *buf, size_t len, struct asn1_oid *oid) argument 99 end = buf + len; 111 if (oid->len >= ASN1_MAX_OID_LEN) { 115 if (oid->len == 0) { 125 oid->len = 2; 127 oid->oid[oid->len 134 asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, const u8 **next) argument 154 asn1_oid_to_str(const struct asn1_oid *oid, char *buf, size_t len) argument 194 asn1_bit_string_to_long(const u8 *buf, size_t len) argument [all...] |
/external/wpa_supplicant_8/src/tls/ |
H A D | asn1.c | 16 .len = 6 21 .len = 9 25 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) argument 32 end = buf + len; 90 int asn1_parse_oid(const u8 *buf, size_t len, struct asn1_oid *oid) argument 99 end = buf + len; 111 if (oid->len >= ASN1_MAX_OID_LEN) { 115 if (oid->len == 0) { 125 oid->len = 2; 127 oid->oid[oid->len 134 asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, const u8 **next) argument 154 asn1_oid_to_str(const struct asn1_oid *oid, char *buf, size_t len) argument 194 asn1_bit_string_to_long(const u8 *buf, size_t len) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/tls/ |
H A D | asn1.c | 16 .len = 6 21 .len = 9 25 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) argument 32 end = buf + len; 90 int asn1_parse_oid(const u8 *buf, size_t len, struct asn1_oid *oid) argument 99 end = buf + len; 111 if (oid->len >= ASN1_MAX_OID_LEN) { 115 if (oid->len == 0) { 125 oid->len = 2; 127 oid->oid[oid->len 134 asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, const u8 **next) argument 154 asn1_oid_to_str(const struct asn1_oid *oid, char *buf, size_t len) argument 194 asn1_bit_string_to_long(const u8 *buf, size_t len) argument [all...] |
/external/qemu/distrib/ext4_utils/src/ |
H A D | indirect.c | 42 u32 len; local 45 len = min(region_len * info.block_size, backing_len); 47 sparse_file_add_data(ext4_sparse_file, ptr, len, region_block); 48 ptr += len; 49 backing_len -= len; 55 static void reserve_indirect_block(struct block_allocation *alloc, int len) argument 62 if (advance_blocks(alloc, len)) { 63 error("failed to advance %d blocks", len); 68 static void reserve_dindirect_block(struct block_allocation *alloc, int len) argument 75 while (len > 85 reserve_tindirect_block(struct block_allocation *alloc, int len) argument 101 fill_indirect_block(u32 *ind_block, int len, struct block_allocation *alloc) argument 109 fill_dindirect_block(u32 *dind_block, int len, struct block_allocation *alloc) argument 139 fill_tindirect_block(u32 *tind_block, int len, struct block_allocation *alloc) argument 169 int len = min(*block_len, EXT4_NDIR_BLOCKS); local 192 int len = min(*block_len, aux_info.blocks_per_ind); local 224 int len = min(*block_len, aux_info.blocks_per_dind); local 256 int len = min(*block_len, aux_info.blocks_per_tind); local 281 reserve_all_indirect_blocks(struct block_allocation *alloc, u32 len) argument 313 indirect_blocks_needed(u32 len) argument 403 inode_allocate_indirect(struct ext4_inode *inode, unsigned long len) argument 488 inode_allocate_data_indirect(struct ext4_inode *inode, unsigned long len, unsigned long backing_len) argument [all...] |
/external/elfutils/0.153/libebl/ |
H A D | eblstrtab.c | 75 size_t len; member in struct:Ebl_Strent 128 ret->null.len = 1; 138 morememory (struct Ebl_Strtab *st, size_t len) argument 141 len += overhead + MALLOC_OVERHEAD; 143 /* Allocate nearest multiple of pagesize >= len. */ 144 len = ((len / ps) + (len % ps != 0)) * ps - MALLOC_OVERHEAD; 146 struct memoryblock *newmem = (struct memoryblock *) malloc (len); 153 st->left = len 176 newstring(struct Ebl_Strtab *st, const char *str, size_t len) argument 239 ebl_strtabadd(struct Ebl_Strtab *st, const char *str, size_t len) argument [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | state_construct.c | 32 int16_t len /* (i) length of a state vector */ 57 tmp2 = &idxVec[len-1]; 60 for(k=0; k<len; k++){ 68 for(k=0; k<len; k++){ 76 for(k=0; k<len; k++){ 86 WebRtcSpl_MemSetW16(&sampleVal[len], 0, len); 96 numerator, LPC_FILTERORDER+1, (int16_t)(len + LPC_FILTERORDER)); 97 WebRtcSpl_MemSetW16(&sampleMa[len + LPC_FILTERORDER], 0, (len [all...] |
/external/iproute2/lib/ |
H A D | dnet_ntop.c | 19 static __inline__ int do_digit(char *str, u_int16_t *addr, u_int16_t scale, size_t *pos, size_t len, int *started) argument 23 if (*pos == len) 37 static const char *dnet_ntop1(const struct dn_naddr *dna, char *str, size_t len) argument 52 if (len == 0) 55 if (do_digit(str + pos, &area, 10, &pos, len, &started)) 58 if (do_digit(str + pos, &area, 1, &pos, len, &started)) 61 if (pos == len) 68 if (do_digit(str + pos, &addr, 1000, &pos, len, &started)) 71 if (do_digit(str + pos, &addr, 100, &pos, len, &started)) 74 if (do_digit(str + pos, &addr, 10, &pos, len, 89 dnet_ntop(int af, const void *addr, char *str, size_t len) argument [all...] |
/external/chromium_org/third_party/smhasher/src/ |
H A D | Hashes.cpp | 15 void BadHash ( const void * key, int len, uint32_t seed, void * out ) argument 21 for(int i = 0; i < len; i++) 31 void sumhash ( const void * key, int len, uint32_t seed, void * out ) argument 37 for(int i = 0; i < len; i++) 45 void sumhash32 ( const void * key, int len, uint32_t seed, void * out ) argument 51 for(int i = 0; i < len/4; i++) 66 uint32_t MurmurOAAT ( const void * key, int len, uint32_t seed ) argument 72 for(int i = 0; i < len; i++) 82 void MurmurOAAT_test ( const void * key, int len, uint32_t seed, void * out ) argument 84 *(uint32_t*)out = MurmurOAAT(key,len,see 89 FNV( const void * key, int len, uint32_t seed, void * out ) argument 108 x17( const void * key, int len, uint32_t h ) argument 122 Bernstein( const void * key, int len, uint32_t seed, void * out ) argument 137 Crap8( const uint8_t *key, uint32_t len, uint32_t seed ) argument 152 Crap8_test( const void * key, int len, uint32_t seed, void * out ) argument [all...] |
/external/chromium_org/third_party/speex/libspeex/ |
H A D | buffer.c | 68 EXPORT int speex_buffer_write(SpeexBuffer *st, void *_data, int len) argument 73 if (len > st->size) 75 data += len-st->size; 76 len = st->size; 78 end = st->write_ptr + len; 88 st->available += len; 94 st->write_ptr += len; 97 return len; 100 EXPORT int speex_buffer_writezeros(SpeexBuffer *st, int len) argument 106 if (len > s 132 speex_buffer_read(SpeexBuffer *st, void *_data, int len) argument 164 speex_buffer_resize(SpeexBuffer *st, int len) argument [all...] |
/external/speex/libspeex/ |
H A D | buffer.c | 68 EXPORT int speex_buffer_write(SpeexBuffer *st, void *_data, int len) argument 73 if (len > st->size) 75 data += len-st->size; 76 len = st->size; 78 end = st->write_ptr + len; 88 st->available += len; 94 st->write_ptr += len; 97 return len; 100 EXPORT int speex_buffer_writezeros(SpeexBuffer *st, int len) argument 106 if (len > s 132 speex_buffer_read(SpeexBuffer *st, void *_data, int len) argument 164 speex_buffer_resize(SpeexBuffer *st, int len) argument [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
H A D | rtputils.cc | 89 bool GetRtpFlags(const void* data, size_t len, int* value) { argument 90 if (len < kMinRtpPacketLen) { 96 bool GetRtpPayloadType(const void* data, size_t len, int* value) { argument 97 if (len < kMinRtpPacketLen) { 107 bool GetRtpSeqNum(const void* data, size_t len, int* value) { argument 108 if (len < kMinRtpPacketLen) { 114 bool GetRtpTimestamp(const void* data, size_t len, uint32* value) { argument 115 if (len < kMinRtpPacketLen) { 121 bool GetRtpSsrc(const void* data, size_t len, uint32* value) { argument 122 if (len < kMinRtpPacketLe 128 GetRtpHeaderLen(const void* data, size_t len, size_t* value) argument 145 GetRtpVersion(const void* data, size_t len, int* version) argument 155 GetRtpHeader(const void* data, size_t len, RtpHeader* header) argument 162 GetRtcpType(const void* data, size_t len, int* value) argument 172 GetRtcpSsrc(const void* data, size_t len, uint32* value) argument 183 SetRtpHeaderFlags( void* data, size_t len, bool padding, bool extension, int csrc_count) argument 198 SetRtpPayloadType(void* data, size_t len, int value) argument 205 SetRtpSeqNum(void* data, size_t len, int value) argument 209 SetRtpTimestamp(void* data, size_t len, uint32 value) argument 213 SetRtpSsrc(void* data, size_t len, uint32 value) argument 218 SetRtpHeader(void* data, size_t len, const RtpHeader& header) argument 226 IsRtpPacket(const void* data, size_t len) argument [all...] |
/external/openssl/crypto/bio/ |
H A D | b_dump.c | 71 int BIO_dump_cb(int (*cb)(const void *data, size_t len, void *u), argument 72 void *u, const char *s, int len) 74 return BIO_dump_indent_cb(cb, u, s, len, 0); 77 int BIO_dump_indent_cb(int (*cb)(const void *data, size_t len, void *u), argument 78 void *u, const char *s, int len, int indent) 89 for(; (len > 0) && ((s[len-1] == ' ') || (s[len-1] == '\0')); len--) 103 rows=(len/dump_widt 161 write_fp(const void *data, size_t len, void *fp) argument 165 BIO_dump_fp(FILE *fp, const char *s, int len) argument 169 BIO_dump_indent_fp(FILE *fp, const char *s, int len, int indent) argument 175 write_bio(const void *data, size_t len, void *bp) argument 179 BIO_dump(BIO *bp, const char *s, int len) argument 183 BIO_dump_indent(BIO *bp, const char *s, int len, int indent) argument [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
H A D | fifo_char.cc | 35 bool FIFOChar::Resize(size_t len) { argument 37 if (len < avail_) 41 buffer_ = (char*)realloc(buffer_, len); 45 size_ = len; 57 size_t FIFOChar::Peek(void* buf, size_t len) { argument 61 len = std::min(len, avail_); 64 while (len > 0) { 65 size_t read_len = std::min(len, size_ - offs); 75 len 81 Read(void* buf, size_t len) argument 90 Write(const void* buf, size_t len) argument [all...] |
/external/smack/src/org/xbill/DNS/ |
H A D | DNSInput.java | 58 * @param len The number of bytes in the active region. 63 setActive(int len) { argument 64 if (len > array.length - pos) { 68 end = pos + len; 188 * @param len The number of bytes to copy. 192 readByteArray(byte [] b, int off, int len) throws WireParseException { argument 193 require(len); 194 System.arraycopy(array, pos, b, off, len); 195 pos += len; 204 readByteArray(int len) throw argument [all...] |
/external/tcpdump/ |
H A D | print-bootp.c | 370 register u_int len; local 404 len = 0; 408 len = *bp++; 411 printf("\n\t %s Option %u, length %u%s", cp, tag, len, 412 len > 0 ? ": " : ""); 424 if (!TTEST2(*bp, len)) { 425 printf("[|rfc1048 %u]", len); 429 if (tag == TAG_DHCP_MESSAGE && len == 1) { 437 while (len-- > 0) { 452 while (len > [all...] |
/external/chromium_org/base/ |
H A D | safe_strerror_posix.cc | 39 size_t len) { 41 char *rc = (*strerror_r_ptr)(err, buf, len); 46 strncat(buf, rc, len - 1); 62 size_t len) { 69 int result = (*strerror_r_ptr)(err, buf, len); 75 buf[len - 1] = '\0'; 95 len, 103 void safe_strerror_r(int err, char *buf, size_t len) { argument 104 if (buf == NULL || len <= 0) { 111 wrap_posix_strerror_r(&strerror_r, err, buf, len); 35 wrap_posix_strerror_r( char *(*strerror_r_ptr)(int, char *, size_t), int err, char *buf, size_t len) argument 58 wrap_posix_strerror_r( int (*strerror_r_ptr)(int, char *, size_t), int err, char *buf, size_t len) argument [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
H A D | hb-icu.cc | 190 unsigned int len; local 194 len = 0; 196 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), a, err); 198 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), b, err); 202 len = unorm_normalize (utf16, len, UNORM_NFC, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); 205 if (u_countChar32 (normalized, len) == 1) { 225 int len; local 227 len = unorm2_getRawDecomposition (normalizer, ab, decomposed, 229 if (U_FAILURE (icu_err) || len < 249 unsigned int len; local 319 unsigned int len; local [all...] |
H A D | test-would-substitute.cc | 60 unsigned int len; local 68 len = g_mapped_file_get_length (mf); 75 len = ftell (f); 77 font_data = (const char *) malloc (len); 78 if (!font_data) len = 0; 79 len = fread ((char *) font_data, 1, len, f); 86 blob = hb_blob_create (font_data, len, mm, user_data, destroy); 99 unsigned int len = argc - 3; local 105 return !hb_ot_layout_lookup_would_substitute (face, strtol (argv[2], NULL, 0), glyphs, len, fals [all...] |
/external/chromium_org/third_party/libsrtp/srtp/crypto/test/ |
H A D | aes_calc.c | 73 int key_len, len; local 101 len = hex_string_to_octet_string((char*)key, argv[1], AES_MAX_KEY_LEN*2); 103 if (len != 32 && len != 48 && len != 64) { 107 len); 110 key_len = len/2; 120 len = hex_string_to_octet_string((char *)(&data), argv[2], 16*2); 122 if (len < 16*2) { 126 16*2, len); [all...] |
/external/harfbuzz_ng/src/ |
H A D | hb-icu.cc | 190 unsigned int len; local 194 len = 0; 196 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), a, err); 198 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), b, err); 202 len = unorm_normalize (utf16, len, UNORM_NFC, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); 205 if (u_countChar32 (normalized, len) == 1) { 225 int len; local 227 len = unorm2_getRawDecomposition (normalizer, ab, decomposed, 229 if (U_FAILURE (icu_err) || len < 249 unsigned int len; local 319 unsigned int len; local [all...] |
H A D | test-would-substitute.cc | 60 unsigned int len; local 68 len = g_mapped_file_get_length (mf); 75 len = ftell (f); 77 font_data = (const char *) malloc (len); 78 if (!font_data) len = 0; 79 len = fread ((char *) font_data, 1, len, f); 86 blob = hb_blob_create (font_data, len, mm, user_data, destroy); 99 unsigned int len = argc - 3; local 105 return !hb_ot_layout_lookup_would_substitute (face, strtol (argv[2], NULL, 0), glyphs, len, fals [all...] |