/external/icu/icu4c/source/layout/ |
D | GlyphIterator.cpp | 20 : 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/ |
D | LiteralTools.java | 52 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/ |
D | draw_cliptest_tmp.h | 54 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/ |
D | lp_setup_tri.c | 236 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/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/io/ |
D | BufferedReader.java | 16 private int position; field in BufferedReader 29 position = 0; in fill() 36 if (position >= limit) { in readLine() 40 if (position >= limit) { in readLine() 44 for (int i = position; i < limit; ++i) { in readLine() 46 sb.append(buffer, position, i - position); in readLine() 47 position = i + 1; in readLine() 50 position = i + 2; in readLine() 54 if (buffer[position] == '\n') { in readLine() 55 position += 1; in readLine() [all …]
|
/external/sl4a/ScriptingLayerForAndroid/src/org/apache/harmony/niochar/charset/additional/ |
D | IBM437.java | 82 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/ |
D | MemoryDataStore.java | 26 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/jsilver/src/com/google/streamhtmlparser/util/ |
D | JavascriptTokenBuffer.java | 152 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/v8/test/mjsunit/ |
D | debug-sourceinfo.js | 103 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/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/ |
D | Buffer.java | 60 int position = 0; field in Buffer 90 position = 0; in clear() 107 limit = position; in flip() 108 position = 0; in flip() 118 return position < limit; in hasRemaining() 152 if (position > newLimit) { in limit() 153 position = newLimit; in limit() 166 mark = position; in mark() 174 public final int position () { in position() method in Buffer 175 return position; in position() [all …]
|
D | CharToByteBufferAdapter.java | 98 buf.position = position; in asReadOnlyBuffer() 109 byteBuffer.position(position << 1); in compact() 112 position = limit - position; in compact() 122 buf.position = position; in duplicate() 129 if (position == limit) { in get() 132 return byteBuffer.getChar(position++ << 1); in get() 175 if (position == limit) { in put() 178 byteBuffer.putChar(position++ << 1, c); in put() 194 byteBuffer.position(position << 1); in slice() 207 result.limit(position + end); in subSequence() [all …]
|
D | ReadWriteHeapByteBuffer.java | 33 buf.position = other.position(); in copy() 56 System.arraycopy(backingArray, position + offset, backingArray, offset, remaining()); in compact() 57 position = limit - position; in compact() 84 if (position == limit) { in put() 87 backingArray[offset + position++] = b; in put() 116 System.arraycopy(src, off, backingArray, offset + position, len); in put() 117 position += len; in put() 138 int newPosition = position + 4; in putInt() 142 store(position, value); in putInt() 143 position = newPosition; in putInt() [all …]
|
D | DirectReadWriteByteBuffer.java | 35 buf.position = other.position(); in copy() 75 byteArray.set(i, byteArray.get(position + i)); in compact() 78 position = limit - position; in compact() 108 byteArray.set(position++, b); in put() 138 byteArray.set(i + position, src[off + i]); in put() 140 position += len; in put() 161 int newPosition = position + 4; in putInt() 165 store(position, value); in putInt() 166 position = newPosition; in putInt() 187 int newPosition = position + 8; in putLong() [all …]
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/util/ |
D | StringTokenizer.java | 48 private int position; field in StringTokenizer 100 this.position = 0; in StringTokenizer() 112 for (int i = position, length = string.length(); i < length; i++) { in countTokens() 149 if (position < length) { in hasMoreTokens() 155 for (int i = position; i < length; i++) in hasMoreTokens() 185 int i = position; in nextToken() 190 if (delimiters.indexOf(string.charAt(position), 0) >= 0) in nextToken() 191 return String.valueOf(string.charAt(position++)); in nextToken() 192 for (position++; position < length; position++) in nextToken() 193 if (delimiters.indexOf(string.charAt(position), 0) >= 0) in nextToken() [all …]
|
/external/webrtc/webrtc/common_audio/vad/ |
D | vad_sp.c | 64 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/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/environment/ |
D | PointLight.java | 23 public final Vector3 position = new Vector3(); field in PointLight 27 this.position.set(positionX, positionY, positionZ); in setPosition() 31 public PointLight setPosition(Vector3 position) { in setPosition() argument 32 this.position.set(position); in setPosition() 42 return set(copyFrom.color, copyFrom.position, copyFrom.intensity); in set() 45 public PointLight set (final Color color, final Vector3 position, final float intensity) { in set() argument 47 if (position != null) this.position.set(position); in set() 52 …public PointLight set (final float r, final float g, final float b, final Vector3 position, final … in set() argument 54 if (position != null) this.position.set(position); in set() 61 this.position.set(x, y, z); in set() [all …]
|
D | SpotLight.java | 26 public final Vector3 position = new Vector3(); field in SpotLight 33 this.position.set(positionX, positionY, positionZ); in setPosition() 37 public SpotLight setPosition(Vector3 position) { in setPosition() argument 38 this.position.set(position); in setPosition() 68 …return set(copyFrom.color, copyFrom.position, copyFrom.direction, copyFrom.intensity, copyFrom.cut… in set() 71 …public SpotLight set (final Color color, final Vector3 position, final Vector3 direction, final fl… in set() argument 74 if (position != null) this.position.set(position); in set() 82 …public SpotLight set (final float r, final float g, final float b, final Vector3 position, final V… in set() argument 85 if (position != null) this.position.set(position); in set() 96 this.position.set(posX, posY, posZ); in set() [all …]
|
/external/bison/examples/calc++/ |
D | position.hh | 58 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/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
D | TestCharset.java | 102 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/icu/android_icu4j/src/main/java/android/icu/impl/data/ |
D | TokenIterator.java | 111 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/sonic/ |
D | Sonic.java | 77 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/icu4j/main/classes/core/src/com/ibm/icu/impl/data/ |
D | TokenIterator.java | 109 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/bison/data/ |
D | location.cc | 19 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/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
D | ChunkedIntArray.java | 110 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/ |
D | BitReaderBuffer.java | 9 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;
|