Home
last modified time | relevance | path

Searched refs:position (Results 1 – 25 of 1586) sorted by relevance

12345678910>>...64

/external/icu/icu4c/source/layout/
DGlyphIterator.cpp20 : direction(1), position(-1), nextLimit(-1), prevLimit(-1), in GlyphIterator()
40 position = glyphCount; in GlyphIterator()
51 position = that.position; in GlyphIterator()
70 position = that.position; in GlyphIterator()
89 position = that.position; in GlyphIterator()
111 position = prevLimit; in reset()
120 return glyphStorage.insertGlyphs(position, count, success); in insertGlyphs()
138 return position; in getCurrStreamPosition()
159 if (position <= nextLimit || position >= prevLimit) { in getCurrGlyphID()
163 if (position <= prevLimit || position >= nextLimit) { in getCurrGlyphID()
[all …]
/external/smali/smali/src/main/java/org/jf/smali/
DLiteralTools.java52 int position = 0; in parseByte() local
55 if (byteChars[position] == '-') { in parseByte()
56 position++; in parseByte()
60 if (byteChars[position] == '0') { in parseByte()
61 position++; in parseByte()
62 if (position == byteChars.length) { in parseByte()
64 } else if (byteChars[position] == 'x' || byteChars[position] == 'X') { in parseByte()
66 position++; in parseByte()
67 } else if (Character.digit(byteChars[position], 8) >= 0) { in parseByte()
77 while (position < byteChars.length) { in parseByte()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_cliptest_tmp.h54 float *position = out->data[pos]; in TAG() local
61 float *clipvertex = position; in TAG()
68 out->pre_clip_pos[i] = position[i]; in TAG()
74 if (-0.50 * position[0] + position[3] < 0) mask |= (1<<0); in TAG()
75 if ( 0.50 * position[0] + position[3] < 0) mask |= (1<<1); in TAG()
76 if (-0.50 * position[1] + position[3] < 0) mask |= (1<<2); in TAG()
77 if ( 0.50 * position[1] + position[3] < 0) mask |= (1<<3); in TAG()
80 if (-position[0] + position[3] < 0) mask |= (1<<0); in TAG()
81 if ( position[0] + position[3] < 0) mask |= (1<<1); in TAG()
82 if (-position[1] + position[3] < 0) mask |= (1<<2); in TAG()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_tri.c236 struct fixed_position* position, in do_triangle_ccw() argument
251 assert(position->area > 0); in do_triangle_ccw()
273 bbox.x0 = MIN3(position->x[0], position->x[1], position->x[2]) >> FIXED_ORDER; in do_triangle_ccw()
274 bbox.x1 = (MAX3(position->x[0], position->x[1], position->x[2]) - 1) >> FIXED_ORDER; in do_triangle_ccw()
277 bbox.y0 = (MIN3(position->y[0], position->y[1], position->y[2]) + adj) >> FIXED_ORDER; in do_triangle_ccw()
278 bbox.y1 = (MAX3(position->y[0], position->y[1], position->y[2]) - 1 + adj) >> FIXED_ORDER; in do_triangle_ccw()
355 vertx = _mm_loadu_si128((__m128i *)position->x); /* vertex x coords */ in do_triangle_ccw()
356 verty = _mm_loadu_si128((__m128i *)position->y); /* vertex y coords */ in do_triangle_ccw()
407 plane[0].dcdy = position->dx01; in do_triangle_ccw()
408 plane[1].dcdy = position->x[1] - position->x[2]; in do_triangle_ccw()
[all …]
/external/sl4a/ScriptingLayerForAndroid/src/org/apache/harmony/niochar/charset/additional/
DIBM437.java82 int bStart = bb.position(); in decodeLoop()
83 int cStart = cb.position(); in decodeLoop()
94 bb.position(i); in decodeLoop()
95 cb.position(cStart); in decodeLoop()
190 int byteArrStart = bb.position(); in encodeLoop()
193 for(x = cb.position(); x < cb.position()+rem; x++) { in encodeLoop()
200 cb.position(x); bb.position(byteArrStart); in encodeLoop()
204 cb.position(x); bb.position(byteArrStart); in encodeLoop()
207 cb.position(x); bb.position(byteArrStart); in encodeLoop()
210 cb.position(x); bb.position(byteArrStart); in encodeLoop()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
DMemoryDataStore.java26 private int position = offset; in outputAt()
28 growBufferIfNeeded(position); in outputAt()
29 buf[position++] = (byte)b; in outputAt()
33 growBufferIfNeeded(position + b.length); in outputAt()
34 System.arraycopy(b, 0, buf, position, b.length); in outputAt()
35 position += b.length; in outputAt()
39 growBufferIfNeeded(position + len); in outputAt()
40 System.arraycopy(b, off, buf, position, len); in outputAt()
41 position += len; in outputAt()
55 private int position = offset; in readAt()
[all …]
/external/v8/test/mjsunit/
Ddebug-sourceinfo.js103 var position; variable
109 assertEquals(position + 1, location.position);
117 assertEquals(0, location.position);
123 position = location.position;
134 assertEquals(p, location.position);
142 assertEquals(0, script.locationFromPosition(0).position);
147 assertEquals(1, script.locationFromPosition(1).position);
152 assertEquals(start_a, script.locationFromPosition(start_a).position);
157 assertEquals(start_b, script.locationFromPosition(start_b).position);
162 assertEquals(start_c, script.locationFromPosition(start_c).position);
[all …]
/external/jsilver/src/com/google/streamhtmlparser/util/
DJavascriptTokenBuffer.java152 public char getChar(int position) { in getChar() argument
153 assert(position < 0); // Developer error if it triggers. in getChar()
155 int absolutePosition = getAbsolutePosition(position); in getChar()
175 public boolean setChar(int position, char input) {
176 assert(position < 0); // Developer error if it triggers.
178 int absolutePosition = getAbsolutePosition(position);
199 int position;
200 for (position = end; HtmlUtils.isJavascriptIdentifier(getChar(position));
201 position--) {
203 if ((position + 1) >= end) {
[all …]
/external/webrtc/webrtc/common_audio/vad/
Dvad_sp.c64 int position = -1; in WebRtcVad_FindMinimum() local
100 position = 0; in WebRtcVad_FindMinimum()
102 position = 1; in WebRtcVad_FindMinimum()
105 position = 2; in WebRtcVad_FindMinimum()
107 position = 3; in WebRtcVad_FindMinimum()
111 position = 4; in WebRtcVad_FindMinimum()
113 position = 5; in WebRtcVad_FindMinimum()
116 position = 6; in WebRtcVad_FindMinimum()
118 position = 7; in WebRtcVad_FindMinimum()
124 position = 8; in WebRtcVad_FindMinimum()
[all …]
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java102 us.limit(us.position()); in TestUTF16Converter()
103 us.position(0); in TestUTF16Converter()
109 bs1.limit(bs1.position()); in TestUTF16Converter()
110 bs1.position(0); in TestUTF16Converter()
115 bs1.position(0); in TestUTF16Converter()
119 bs2.limit(bs2.position()); in TestUTF16Converter()
120 bs2.position(0); in TestUTF16Converter()
125 bs2.position(0); in TestUTF16Converter()
171 bs1.limit(bs1.position()); in TestUTF32Converter()
172 bs1.position(0); in TestUTF32Converter()
[all …]
/external/bison/examples/calc++/
Dposition.hh58 class position class
63 explicit position (std::string* f = YY_NULL, in position() function in yy::position
108 inline position&
109 operator+= (position& res, const int width) in operator +=()
116 inline const position
117 operator+ (const position& begin, const int width) in operator +()
119 position res = begin; in operator +()
124 inline position&
125 operator-= (position& res, const int width) in operator -=()
131 inline const position
[all …]
/external/sonic/
DSonic.java77 int position, in scaleSamples() argument
82 int start = position*numChannels; in scaleSamples()
324 int position) in removeInputSamples() argument
326 int remainingSamples = numInputSamples - position; in removeInputSamples()
328 move(inputBuffer, 0, inputBuffer, position, remainingSamples); in removeInputSamples()
335 int position, in copyToOutput() argument
339 move(outputBuffer, numOutputSamples, samples, position, numSamples); in copyToOutput()
345 int position) in copyInputToOutput() argument
352 copyToOutput(inputBuffer, position, numSamples); in copyInputToOutput()
492 int position, in downSampleInput() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/data/
DTokenIterator.java111 private int nextToken(int position) { in nextToken() argument
112 position = PatternProps.skipWhiteSpace(line, position); in nextToken()
113 if (position == line.length()) { in nextToken()
116 int startpos = position; in nextToken()
117 char c = line.charAt(position++); in nextToken()
131 while (position < line.length()) { in nextToken()
132 c = line.charAt(position); // 16-bit ok in nextToken()
137 posref[0] = position+1; in nextToken()
142 position); in nextToken()
145 position = posref[0]; in nextToken()
[all …]
/external/bison/data/
Dlocation.cc19 b4_output_begin([b4_dir_prefix[]position.hh])
28 ]b4_cpp_guard_open([b4_dir_prefix[]position.hh])[
38 class position
43 explicit position (]b4_percent_define_get([[filename_type]])[* f = YY_NULL,
88 inline position&
89 operator+= (position& res, const int width)
96 inline const position
97 operator+ (const position& begin, const int width)
99 position res = begin;
104 inline position&
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/data/
DTokenIterator.java109 private int nextToken(int position) { in nextToken() argument
110 position = PatternProps.skipWhiteSpace(line, position); in nextToken()
111 if (position == line.length()) { in nextToken()
114 int startpos = position; in nextToken()
115 char c = line.charAt(position++); in nextToken()
129 while (position < line.length()) { in nextToken()
130 c = line.charAt(position); // 16-bit ok in nextToken()
135 posref[0] = position+1; in nextToken()
140 position); in nextToken()
143 position = posref[0]; in nextToken()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DChunkedIntArray.java110 int readEntry(int position, int offset) throws ArrayIndexOutOfBoundsException in readEntry() argument
123 position*=slotsize; in readEntry()
124 int chunkpos = position >> lowbits; in readEntry()
125 int slotpos = position & lowmask; in readEntry()
137 int specialFind(int startPos, int position) in specialFind() argument
155 if(ancestor == position) in specialFind()
161 return position; in specialFind()
192 void writeEntry(int position, int offset, int value) throws ArrayIndexOutOfBoundsException in writeEntry() argument
204 position*=slotsize; in writeEntry()
205 int chunkpos = position >> lowbits; in writeEntry()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
DBitReaderBuffer.java9 int position; field in BitReaderBuffer
13 initialPos = buffer.position(); in BitReaderBuffer()
17 byte b = buffer.get(initialPos + position / 8); in readBits()
19 int left = 8 - position % 8; in readBits()
22 rc = (v << (position % 8) & 0xFF) >> ((position % 8) + (left - i)); in readBits()
23 position += i; in readBits()
31 buffer.position(initialPos + (int) Math.ceil((double) position / 8)); in readBits()
36 return position;
40 int left = 8 - position % 8;
49 return buffer.limit() * 8 - position;
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dsync_buffer.cc44 void SyncBuffer::InsertZerosAtIndex(size_t length, size_t position) { in InsertZerosAtIndex() argument
45 position = std::min(position, Size()); in InsertZerosAtIndex()
46 length = std::min(length, Size() - position); in InsertZerosAtIndex()
49 channels_[channel]->InsertZerosAt(length, position); in InsertZerosAtIndex()
51 if (next_index_ >= position) { in InsertZerosAtIndex()
55 if (dtmf_index_ > 0 && dtmf_index_ >= position) { in InsertZerosAtIndex()
63 size_t position) { in ReplaceAtIndex() argument
64 position = std::min(position, Size()); // Cap |position| in the valid range. in ReplaceAtIndex()
65 length = std::min(length, Size() - position); in ReplaceAtIndex()
66 AudioMultiVector::OverwriteAt(insert_this, length, position); in ReplaceAtIndex()
[all …]
Daudio_vector.cc97 size_t position) { in InsertAt() argument
101 position = std::min(Size(), position); in InsertAt()
102 int16_t* insert_position_ptr = &array_[position]; in InsertAt()
103 size_t samples_to_move = Size() - position; in InsertAt()
111 size_t position) { in InsertZerosAt() argument
115 position = std::min(capacity_, position); in InsertZerosAt()
116 int16_t* insert_position_ptr = &array_[position]; in InsertZerosAt()
117 size_t samples_to_move = Size() - position; in InsertZerosAt()
126 size_t position) { in OverwriteAt() argument
128 position = std::min(Size(), position); in OverwriteAt()
[all …]
/external/guava/guava/src/com/google/common/collect/
DAbstractIndexedListIterator.java37 private int position; field in AbstractIndexedListIterator
68 protected AbstractIndexedListIterator(int size, int position) { in AbstractIndexedListIterator() argument
69 checkPositionIndex(position, size); in AbstractIndexedListIterator()
71 this.position = position; in AbstractIndexedListIterator()
76 return position < size; in hasNext()
84 return get(position++); in next()
89 return position; in nextIndex()
94 return position > 0; in hasPrevious()
102 return get(--position); in previous()
107 return position - 1; in previousIndex()
/external/opencv3/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/
DSimpleVertexShader.hlsl10 float4 position : POSITION;
16 float4 position : SV_POSITION;
28 // Change the position vector to be 4 units for proper matrix calculations.
29 input.position.w = 1.0f;
31 // Calculate the position of the vertex against the world, view, and projection matrices.
32 output.position = mul(input.position, model);
33 output.position = mul(output.position, view);
34 output.position = mul(output.position, projection);
/external/opencv3/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/
DSimpleVertexShader.hlsl10 float4 position : POSITION;
16 float4 position : SV_POSITION;
28 // Change the position vector to be 4 units for proper matrix calculations.
29 input.position.w = 1.0f;
31 // Calculate the position of the vertex against the world, view, and projection matrices.
32 output.position = mul(input.position, model);
33 output.position = mul(output.position, view);
34 output.position = mul(output.position, projection);
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetASCII.java49 int oldSource = source.position(); in decodeLoop()
50 int oldTarget = target.position(); in decodeLoop()
80 source.position(oldSource + sourceLength); in decodeLoop()
81 target.position(oldTarget + sourceLength); in decodeLoop()
84 source.position(oldSource + targetLength); in decodeLoop()
85 target.position(oldTarget + targetLength); in decodeLoop()
94 source.position(source.position() - 1); /* rewind by 1 */ in decodeLoop()
100 int count = target.position() - oldTarget; in decodeLoop()
125 source.position(i + 1); in decodeLoopCoreOptimized()
126 target.position(i + offset); in decodeLoopCoreOptimized()
[all …]
/external/pdfium/xfa/src/fxbarcode/oned/
DBC_OnedCode128Writer.cpp48 int32_t position = 0; in CheckContentValidity() local
51 while (position < contents.GetLength()) { in CheckContentValidity()
52 patternIndex = (int32_t)contents.GetAt(position); in CheckContentValidity()
54 position++; in CheckContentValidity()
60 position++; in CheckContentValidity()
190 int32_t position = 0; in Encode128B() local
193 while (position < contents.GetLength()) { in Encode128B()
195 patternIndex = contents[position] - ' '; in Encode128B()
196 position += 1; in Encode128B()
199 if (position != 0) { in Encode128B()
[all …]
/external/libcxx/test/std/re/re.iter/re.regiter/re.regiter.incr/
Dpost.pass.cpp29 assert((*i).position() == 0); in main()
32 assert((*i2).position() == 0); in main()
38 assert((*i).position() == 10); in main()
41 assert((*i2).position() == 0); in main()
47 assert((*i).position() == 20); in main()
50 assert((*i2).position() == 0); in main()
56 assert((*i2).position() == 0); in main()
67 assert((*i).position() == 0); in main()
70 assert((*i2).position() == 0); in main()
76 assert((*i).position() == 10); in main()
[all …]

12345678910>>...64