Searched defs:len (Results 1 - 25 of 5216) sorted by path

1234567891011>>

/external/aac/libAACdec/src/
H A Daacdecoder.cpp632 int bitCnt, len = FDKreadBits(hBs, 4); local
635 if (len == 15) {
638 len += add_len;
641 len += FDKreadBits(hBs, 16);
645 len <<= 3;
646 bitCnt = len;
665 *count -= len - bitCnt;
/external/aac/libFDK/src/arm/
H A Dscale_arm.cpp101 INT len,
114 for (int i=0; i<(len>>2); i++)
133 for (int i=len&3; i--;)
144 for (int i=0; i<(len>>2); i++)
163 for (int i=len&3; i--;)
98 scaleValuesWithFactor( FIXP_DBL *vector, FIXP_DBL factor, INT len, INT scalefactor ) argument
/external/aac/libFDK/src/mips/
H A Dscale.cpp106 INT len) /*!< Length of input vector */
111 for(i=len;i!=0;i--){
105 getScalefactor(const FIXP_DBL *vector, INT len) argument
/external/aac/libFDK/src/
H A Dscale.cpp114 * \param len must be larger than 4
121 INT len, /*!< Length */
132 for (i = len&3; i--; )
136 for (i = len>>2; i--; )
145 for (i = len&3; i--; )
149 for (i = len>>2; i--; )
164 * \param len must be larger than 4
171 INT len, /*!< Length */
182 for (i = len&3; i--; )
186 for (i = len>>
120 scaleValues(FIXP_SGL *vector, INT len, INT scalefactor ) argument
170 scaleValues(FIXP_DBL *vector, INT len, INT scalefactor ) argument
224 scaleValues(FIXP_DBL *dst, const FIXP_DBL *src, INT len, INT scalefactor ) argument
280 scaleValuesWithFactor( FIXP_DBL *vector, FIXP_DBL factor, INT len, INT scalefactor ) argument
373 getScalefactorPCM(const INT_PCM *vector, INT len, INT stride ) argument
399 getScalefactorShort(const SHORT *vector, INT len, INT stride ) argument
429 getScalefactor(const FIXP_DBL *vector, INT len) argument
447 getScalefactor(const FIXP_SGL *vector, INT len) argument
[all...]
/external/aac/libMpegTPDec/src/
H A Dtpdec_asc.cpp1102 int eldExtLen, len, cnt; local
1136 eldExtLen = len = FDKreadBits(hBs, 4 );
1137 if ( len == 0xf ) {
1138 len = FDKreadBits(hBs, 8 );
1139 eldExtLen += len;
1141 if ( len == 0xff ) {
1142 len = FDKreadBits(hBs, 16 );
1143 eldExtLen += len;
1149 for(cnt=0; cnt<len; cnt++) {
H A Dtpdec_latm.cpp399 int len = 0; local
405 len += tmp;
409 len <<= 3; /* convert from bytes to bits */
411 return len;
/external/aac/libSBRdec/src/
H A Dpsdec.cpp397 INT len; local
399 len = NO_QMF_CHANNELS-FIRST_DELAY_SB;
401 len = NO_DELAY_BUFFER_BANDS-FIRST_DELAY_SB;
403 scale = fMin(scale, getScalefactor(h_ps_d->specificTo.mpeg.pAaRealDelayBufferQmf[i], len));
404 scale = fMin(scale, getScalefactor(h_ps_d->specificTo.mpeg.pAaImagDelayBufferQmf[i], len));
454 INT len; local
456 len = NO_QMF_CHANNELS-FIRST_DELAY_SB;
458 len = NO_DELAY_BUFFER_BANDS-FIRST_DELAY_SB;
460 scaleValues( h_ps_d->specificTo.mpeg.pAaRealDelayBufferQmf[i], len, scale );
461 scaleValues( h_ps_d->specificTo.mpeg.pAaImagDelayBufferQmf[i], len, scal
[all...]
/external/aac/libSYS/src/
H A Dcmdl_parser.cpp384 UINT len = (UINT)_tcslen(pReqArgs); local
387 for ( i = 0; i < len; ++i )
/external/android-clat/
H A Dchecksum.c33 * len - length of data
35 uint32_t ip_checksum_add(uint32_t current, const void *data, int len) { argument
37 int left = len;
76 * len - length of data
78 uint16_t ip_checksum(const void *data, int len) { argument
81 temp_sum = ip_checksum_add(0,data,len);
88 * len - the transport length (transport header + payload)
91 uint32_t ipv6_pseudo_header_checksum(const struct ip6_hdr *ip6, uint16_t len, uint8_t protocol) { argument
93 checksum_len = htonl((uint32_t) len);
108 * len
110 ipv4_pseudo_header_checksum(const struct iphdr *ip, uint16_t len) argument
[all...]
H A Dclatd.c482 unsigned len; local
522 len = snprintf(tunnel.device4, sizeof(tunnel.device4), "%s%s", DEVICEPREFIX, uplink_interface);
523 if (len >= sizeof(tunnel.device4)) {
H A Dclatd_test.cpp45 0x45, 0x00, 0, 41, /* Version=4, IHL=5, ToS=0x80, len=41 */ \
184 int is_ipv6_fragment(struct ip6_hdr *ip6, size_t len) { argument
189 return len >= sizeof(*ip6) + sizeof(*frag) &&
201 void check_packet(const uint8_t *packet, size_t len, const char *msg) { argument
210 ASSERT_GE(len, sizeof(*ip)) << msg << ": IPv4 packet shorter than IPv4 header\n";
212 EXPECT_EQ(len, ntohs(ip->tot_len)) << msg << ": Incorrect IPv4 length\n";
217 payload_length = len - sizeof(*ip);
226 ASSERT_GE(len, sizeof(*ip6)) << msg << ": IPv6 packet shorter than IPv6 header\n";
227 EXPECT_EQ(len - sizeof(*ip6), htons(ip6->ip6_plen)) << msg << ": Incorrect IPv6 length\n";
231 ASSERT_GE(len, sizeo
296 int len = lengths[i]; local
374 check_data_matches(const void *expected, const void *actual, size_t len, const char *msg) argument
472 int len = readv(read_fd, iov, 2); local
479 FAIL() << msg << ": Packet was not translated: len=" << len; local
892 int len, i; local
[all...]
H A Dconfig.c227 socklen_t len = sizeof(sin); local
229 getsockname(s, (struct sockaddr *) &sin, &len) == 0 &&
230 (size_t) len >= sizeof(sin) &&
H A Ddump.c80 printf("payload len = %x\n",ntohs(header->ip6_plen));
144 printf("len = %x\n",ntohs(udp->len));
226 void logcat_hexdump(const char *info, const uint8_t *data, size_t len) { argument
231 for(i = 0; i < len && i < PACKETLEN; i++) {
234 output[len*3+3] = '\0';
236 logmsg(ANDROID_LOG_WARN,"info %s len %d data%s", info, len, output);
H A Dipv4.c31 * len - size of ip payload
35 uint32_t checksum, size_t len) {
39 if(len < sizeof(struct icmphdr)) {
45 payload_size = len - sizeof(struct icmphdr);
54 * len - size of packet
57 int ipv4_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len) { argument
68 if(len < sizeof(struct iphdr)) {
78 if((size_t) header->ihl * 4 > len) { // ip header length larger than entire packet
94 len_left = len - header->ihl * 4;
138 logcat_hexdump("ipv4/protocol", packet, len);
34 icmp_packet(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp, uint32_t checksum, size_t len) argument
[all...]
H A Dipv6.c34 * len - size of ip payload
38 size_t len) {
42 if(len < sizeof(struct icmp6_hdr)) {
48 payload_size = len - sizeof(struct icmp6_hdr);
75 * len - size of packet
78 int ipv6_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len) { argument
88 if(len < sizeof(struct ip6_hdr)) {
89 logmsg_dbg(ANDROID_LOG_ERROR, "ipv6_packet/too short for an ip6 header: %d", len);
114 len_left = len - sizeof(struct ip6_hdr);
130 logmsg_dbg(ANDROID_LOG_ERROR, "ipv6_packet/too short for fragment header: %d", len);
37 icmp6_packet(clat_packet out, clat_packet_index pos, const struct icmp6_hdr *icmp6, size_t len) argument
[all...]
H A Dtranslate.c53 size_t len = 0; local
56 len += packet[i].iov_len;
58 return len;
324 * len - size of ip payload
327 int generic_packet(clat_packet out, clat_packet_index pos, const uint8_t *payload, size_t len) { argument
330 out[CLAT_POS_PAYLOAD].iov_len = len;
341 * len - size of ip payload
344 uint32_t old_sum, uint32_t new_sum, size_t len) {
348 if(len < sizeof(struct udphdr)) {
354 payload_size = len
343 udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, uint32_t old_sum, uint32_t new_sum, size_t len) argument
367 tcp_packet(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, uint32_t old_sum, uint32_t new_sum, size_t len) argument
[all...]
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
H A DTestCaseEditController.java584 public static String clamp(String text, int len) { argument
585 if(text.length() > len) {
586 return text.substring(0, len - 3).concat("...");
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/
H A DFlexAntTasks.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/adobe/ac/ com/adobe/ac/ant/ ...
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3string.h67 ANTLR3_UINT32 len; member in struct:ANTLR3_STRING_struct
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3debughandlers.c165 sockSend(SOCKET sock, const char * ptr, int len) argument
172 while (sent < len)
176 thisSend = send(sock, ptr, len - sent, 0);
383 for (c = 0; c < text->len; c++)
H A Dantlr3string.c262 string->len = 0;
299 string->len = 0;
337 string->len = 0;
351 return string->factory->newPtr(string->factory, (pANTLR3_UINT8)(string->chars), string->len);
382 utf8String->size = string->len *3;
395 ((const UTF16 *)(string->chars)) + string->len,
405 utf8String->len = ANTLR3_UINT32_CAST(((pANTLR3_UINT8)outputEnd) - utf8String->chars);
464 string->size = size+1; /* Size is always in characters, as is len */
496 string->len = size;
544 string->len
797 ANTLR3_UINT32 len; local
818 ANTLR3_UINT32 len; local
845 ANTLR3_UINT32 len; local
875 ANTLR3_UINT32 len; local
896 ANTLR3_UINT32 len; local
921 ANTLR3_UINT32 len; local
1022 ANTLR3_UINT32 len; local
1058 ANTLR3_UINT32 len; local
1098 ANTLR3_UINT32 len; local
[all...]
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
H A DANTLRDFA.h44 NSInteger len; variable
49 @property (assign, getter=getLen,setter=setLen:) NSInteger len; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
H A DANTLRDFA.h44 NSInteger len; variable
49 @property (assign, getter=getLen,setter=setLen:) NSInteger len; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
H A DANTLRDFA.h44 NSInteger len; variable
49 @property (assign, getter=getLen,setter=setLen:) NSInteger len; variable

Completed in 908 milliseconds

1234567891011>>