Searched refs:pos (Results 1 - 25 of 3861) sorted by path

1234567891011>>

/external/aac/libPCMutils/src/
H A Dpcmutils_lib.cpp573 int pos, sortIdx = grpIdx*PCM_DMX_MAX_CHANNELS_PER_GROUP + channelIndices[chIdx[grpIdx][ch]]; local
574 for (pos = numChToPlace; pos > 0; pos -= 1) {
575 if (h2pSortIdx[pos-1] > sortIdx) {
576 hardToPlace[pos] = hardToPlace[pos-1];
577 h2pSortIdx[pos] = h2pSortIdx[pos-1];
583 hardToPlace[pos]
[all...]
/external/aac/libSBRenc/src/
H A Dtran_det.cpp627 int pos = (int) ( (i - qmfStartSample-no_cols) >> timeStepShift ); local
628 if ((pos < 3) && (transient_info[1]==0)) {
/external/android-clat/
H A Dclatd_test.cpp290 size_t total_length, pos = 0; local
308 ASSERT_EQ(pos, ipv4_fragment_offset(ip_orig) * 8 + ((i != 0) ? sizeof(*ip): 0))
313 if (pos == 0) {
323 ASSERT_EQ(pos, ipv6_fragment_offset(frag) * 8 + ((i != 0) ? sizeof(*ip6): 0))
328 if (pos == 0) {
339 if (pos == 0) {
343 pos += headersize;
350 memcpy(reassembled + pos, packet + payload_offset, payload_length);
351 pos += payload_length;
356 ASSERT_EQ(total_length, pos) << ms
379 unsigned pos = 0; local
[all...]
H A Dipv4.c34 int icmp_packet(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp, argument
47 return icmp_to_icmp6(out, pos, icmp, checksum, payload, payload_size);
57 int ipv4_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len) { argument
59 struct ip6_hdr *ip6_targ = (struct ip6_hdr *) out[pos].iov_base;
107 out[pos].iov_len = sizeof(struct ip6_hdr);
118 frag_hdr = (struct ip6_frag *) out[pos + 1].iov_base;
120 out[pos + 1].iov_len = frag_hdr_len;
124 iov_len = generic_packet(out, pos + 2, next_header, len_left);
126 iov_len = icmp_packet(out, pos + 2, (const struct icmphdr *) next_header, new_sum, len_left);
128 iov_len = tcp_packet(out, pos
[all...]
H A Dipv6.c37 int icmp6_packet(clat_packet out, clat_packet_index pos, const struct icmp6_hdr *icmp6, argument
50 return icmp6_to_icmp(out, pos, icmp6, payload, payload_size);
78 int ipv6_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len) { argument
80 struct iphdr *ip_targ = (struct iphdr *) out[pos].iov_base;
123 out[pos].iov_len = sizeof(struct iphdr);
156 iov_len = generic_packet(out, pos + 2, next_header, len_left);
158 iov_len = icmp6_packet(out, pos + 2, (const struct icmp6_hdr *) next_header, len_left);
160 iov_len = tcp_packet(out, pos + 2, (const struct tcphdr *) next_header, old_sum, new_sum,
163 iov_len = udp_packet(out, pos + 2, (const struct udphdr *) next_header, old_sum, new_sum,
166 iov_len = generic_packet(out, pos
[all...]
H A Dtranslate.c30 * calculates the checksum over all the packet components starting from pos
31 * checksum - checksum of packet components before pos
33 * pos - position to start counting from
36 uint16_t packet_checksum(uint32_t checksum, clat_packet packet, clat_packet_index pos) { argument
38 for (i = pos; i < CLAT_POS_MAX; i++) {
47 * returns the total length of all the packet components after pos
49 * pos - position to start counting after
50 * returns: the total length of the packet components after pos
52 uint16_t packet_length(clat_packet packet, clat_packet_index pos) { argument
55 for (i = pos
227 icmp_to_icmp6(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp, uint32_t checksum, const uint8_t *payload, size_t payload_size) argument
281 icmp6_to_icmp(clat_packet out, clat_packet_index pos, const struct icmp6_hdr *icmp6, const uint8_t *payload, size_t payload_size) argument
327 generic_packet(clat_packet out, clat_packet_index pos, const uint8_t *payload, size_t len) argument
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
404 udp_translate(clat_packet out, clat_packet_index pos, const struct udphdr *udp, uint32_t old_sum, uint32_t new_sum, const uint8_t *payload, size_t payload_size) argument
444 tcp_translate(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, size_t header_size, uint32_t old_sum, uint32_t new_sum, const uint8_t *payload, size_t payload_size) argument
[all...]
H A Dtranslate.h46 // Calculates the checksum over all the packet components starting from pos.
47 uint16_t packet_checksum(uint32_t checksum, clat_packet packet, clat_packet_index pos);
49 // Returns the total length of the packet components after pos.
50 uint16_t packet_length(clat_packet packet, clat_packet_index pos);
66 int ipv4_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len);
67 int ipv6_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len);
80 int icmp_to_icmp6(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp,
82 int icmp6_to_icmp(clat_packet out, clat_packet_index pos, const struct icmp6_hdr *icmp6,
86 int generic_packet(clat_packet out, clat_packet_index pos, const uint8_t *payload, size_t len);
89 int tcp_packet(clat_packet out, clat_packet_index pos, cons
[all...]
/external/ant-glob/src/org/apache/tools/ant/types/selectors/
H A DSelectorUtils.java556 for (int pos = 0; pos < len; pos++) {
557 if (path.charAt(pos) == sep) {
558 if (pos != start) {
561 start = pos + 1;
576 for (int pos = 0; pos < len; pos++) {
577 if (path.charAt(pos)
[all...]
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
H A DTestCaseEditController.java593 int pos = text.indexOf('\n');
594 if(pos >= 0) {
595 return text.substring(0, pos).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/ActionScript/project/src/org/antlr/runtime/
H A DANTLRStringStream.as198 public function set charPositionInLine(pos:int):void {
199 this._charPositionInLine = pos;
H A DCharStream.as51 function set charPositionInLine(pos:int):void;
H A DToken.as44 function set charPositionInLine(pos:int):void;
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3commontoken.h266 void (*setCharPositionInLine) (struct ANTLR3_COMMON_TOKEN_struct * token, ANTLR3_INT32 pos);
H A Dantlr3debugeventlistener.h186 * the parser whenever it hits this line/pos.
188 void (*location) (pANTLR3_DEBUG_EVENT_LISTENER delboy, int line, int pos);
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3commontoken.c48 static void setCharPositionInLine (pANTLR3_COMMON_TOKEN token, ANTLR3_INT32 pos);
489 static void setCharPositionInLine (pANTLR3_COMMON_TOKEN token, ANTLR3_INT32 pos) argument
491 token->charPosition = pos;
H A Dantlr3debughandlers.c71 static void location (pANTLR3_DEBUG_EVENT_LISTENER delboy, int line, int pos);
751 location (pANTLR3_DEBUG_EVENT_LISTENER delboy, int line, int pos) argument
755 sprintf(buffer, "location\t%d\t%d\n", line, pos);
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
H A DBlankDebugEventListener.cs69 public virtual void Location(int line, int pos) { argument
H A DDebugEventHub.cs121 public virtual void Location(int line, int pos) { argument
124 listener.Location(line, pos);
H A DDebugEventRepeater.cs77 public virtual void Location(int line, int pos) { argument
78 _listener.Location(line, pos);
H A DDebugEventSocketProxy.cs216 public override void Location(int line, int pos) { argument
217 Transmit("location\t" + line + "\t" + pos);
280 int pos = -1;
283 pos = token.CharPositionInLine;
288 buf.Append(pos);
H A DIDebugEventListener.cs159 * the parser whenever it hits this line/pos.
162 void Location(int line, int pos); argument
H A DProfiler.cs150 public override void Location(int line, int pos) { argument
152 currentPos.Push(pos);
175 descriptor.pos = currentPos.Peek();
611 buf.Append(LocationDescription(s.fileName, s.ruleName, s.line, s.pos)); // decision number
660 protected virtual string LocationDescription(string file, string rule, int line, int pos) { argument
661 return file + ":" + line + ":" + pos + "(" + rule + ")";
710 public int pos; field in class:Antlr.Runtime.Debug.Profiler.DecisionDescriptor
H A DTraceDebugEventListener.cs59 public override void Location(int line, int pos) { argument
60 Console.Out.WriteLine("location " + line + ":" + pos);

Completed in 1115 milliseconds

1234567891011>>