/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/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/skia/experimental/AndroidPathRenderer/ |
D | AndroidPathRenderer.cpp | 66 Vertex::set(destPtr, srcPtr->position[0], srcPtr->position[1]); in copyVertex() 70 AlphaVertex::set(destPtr, srcPtr->position[0], srcPtr->position[1], srcPtr->alpha); in copyAlphaVertex() 125 lastNormal.set(current->position[1] - last->position[1], in getStrokeVerticesFromPerimeter() 126 last->position[0] - current->position[0]); in getStrokeVerticesFromPerimeter() 131 nextNormal.set(next->position[1] - current->position[1], in getStrokeVerticesFromPerimeter() 132 current->position[0] - next->position[0]); in getStrokeVerticesFromPerimeter() 139 current->position[0] + totalOffset.fX, in getStrokeVerticesFromPerimeter() 140 current->position[1] + totalOffset.fY); in getStrokeVerticesFromPerimeter() 143 current->position[0] - totalOffset.fX, in getStrokeVerticesFromPerimeter() 144 current->position[1] - totalOffset.fY); in getStrokeVerticesFromPerimeter() [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/webrtc/src/common_audio/vad/ |
D | vad_sp.c | 63 int position = -1; in WebRtcVad_FindMinimum() local 102 position = 0; in WebRtcVad_FindMinimum() 104 position = 1; in WebRtcVad_FindMinimum() 107 position = 2; in WebRtcVad_FindMinimum() 109 position = 3; in WebRtcVad_FindMinimum() 113 position = 4; in WebRtcVad_FindMinimum() 115 position = 5; in WebRtcVad_FindMinimum() 118 position = 6; in WebRtcVad_FindMinimum() 120 position = 7; in WebRtcVad_FindMinimum() 126 position = 8; in WebRtcVad_FindMinimum() [all …]
|
/external/v8/test/mjsunit/ |
D | debug-sourceinfo.js | 104 var position; variable 110 assertEquals(position + 1, location.position); 118 assertEquals(0, location.position); 124 position = location.position; 135 assertEquals(p, location.position); 143 assertEquals(0, script.locationFromPosition(0).position); 148 assertEquals(1, script.locationFromPosition(1).position); 153 assertEquals(start_a, script.locationFromPosition(start_a).position); 158 assertEquals(start_b, script.locationFromPosition(start_b).position); 163 assertEquals(start_c, script.locationFromPosition(start_c).position); [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/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 | 107 private int nextToken(int position) { in nextToken() argument 108 position = PatternProps.skipWhiteSpace(line, position); in nextToken() 109 if (position == line.length()) { in nextToken() 112 int startpos = position; in nextToken() 113 char c = line.charAt(position++); in nextToken() 127 while (position < line.length()) { in nextToken() 128 c = line.charAt(position); // 16-bit ok in nextToken() 133 posref[0] = position+1; in nextToken() 138 position); in nextToken() 141 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/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;
|
D | BitWriterBuffer.java | 9 int position = 0; field in BitWriterBuffer 13 this.initialPos = buffer.position(); in BitWriterBuffer() 20 int left = 8 - position % 8; in writeBits() 22 int current = (buffer.get(initialPos + position / 8)); in writeBits() 25 buffer.put(initialPos + position / 8, (byte) (current > 127 ? current - 256 : current)); in writeBits() 26 position += numBits; in writeBits() 32 buffer.position(initialPos + position / 8 + ((position % 8 > 0) ? 1 : 0)); in writeBits()
|
/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/guava/guava/src/com/google/common/collect/ |
D | AbstractIndexedListIterator.java | 37 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/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetASCII.java | 49 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/libcxx/test/std/re/re.iter/re.regiter/re.regiter.incr/ |
D | post.pass.cpp | 29 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 …]
|
/external/skia/tests/ |
D | PathMeasureTest.cpp | 114 SkPoint position; in DEF_TEST() local 116 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST() 118 SkScalarNearlyEqual(position.fX, in DEF_TEST() 121 REPORTER_ASSERT(reporter, position.fY == 0); in DEF_TEST() 141 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in DEF_TEST() 143 SkScalarNearlyEqual(position.fX, in DEF_TEST() 146 REPORTER_ASSERT(reporter, position.fY == 0); in DEF_TEST() 149 REPORTER_ASSERT(reporter, meas.getPosTan(2.5f, &position, &tangent)); in DEF_TEST() 151 SkScalarNearlyEqual(position.fX, SK_Scalar1, 0.0001f)); in DEF_TEST() 153 SkScalarNearlyEqual(position.fY, 1.5f)); in DEF_TEST() [all …]
|
/external/ceres-solver/internal/ceres/ |
D | partitioned_matrix_view_impl.h | 107 const int row_block_pos = bs->rows[r].block.position; in RightMultiplyE() 110 const int col_block_pos = bs->cols[col_block_id].position; in RightMultiplyE() 113 values + cell.position, row_block_size, col_block_size, in RightMultiplyE() 132 const int row_block_pos = bs->rows[r].block.position; in RightMultiplyF() 137 const int col_block_pos = bs->cols[col_block_id].position; in RightMultiplyF() 140 values + cells[c].position, row_block_size, col_block_size, in RightMultiplyF() 147 const int row_block_pos = bs->rows[r].block.position; in RightMultiplyF() 152 const int col_block_pos = bs->cols[col_block_id].position; in RightMultiplyF() 155 values + cells[c].position, row_block_size, col_block_size, in RightMultiplyF() 173 const int row_block_pos = bs->rows[r].block.position; in LeftMultiplyE() [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowAdapterView.java | 215 public Object getItemAtPosition(int position) { in getItemAtPosition() argument 217 return (adapter == null || position < 0) ? null : adapter.getItem(position); in getItemAtPosition() 221 public long getItemIdAtPosition(int position) { in getItemIdAtPosition() argument 223 …return (adapter == null || position < 0) ? AdapterView.INVALID_ROW_ID : adapter.getItemId(position… in getItemIdAtPosition() 227 public void setSelection(final int position) { in setSelection() argument 228 selectedPosition = position; in setSelection() 235 …stener.onItemSelected(realAdapterView, getChildAt(position), position, getAdapter().getItemId(posi… in setSelection() 243 public boolean performItemClick(View view, int position, long id) { in performItemClick() argument 245 onItemClickListener.onItemClick(realAdapterView, view, position, id); in performItemClick() 251 public boolean performItemLongClick(View view, int position, long id) { in performItemLongClick() argument [all …]
|
/external/v8/test/cctest/ |
D | test-mark-compact.cc | 407 static uintptr_t ReadLong(char* buffer, intptr_t* position, int base) { in ReadLong() argument 408 char* end_address = buffer + *position; in ReadLong() 409 uintptr_t result = strtoul(buffer + *position, &end_address, base); in ReadLong() 411 CHECK(end_address > buffer + *position); in ReadLong() 412 *position = end_address - buffer; in ReadLong() 438 intptr_t position = line_start; in MemoryInUse() local 439 uintptr_t start = ReadLong(buffer, &position, 16); in MemoryInUse() 440 CHECK_EQ(buffer[position++], '-'); in MemoryInUse() 441 uintptr_t end = ReadLong(buffer, &position, 16); in MemoryInUse() 442 CHECK_EQ(buffer[position++], ' '); in MemoryInUse() [all …]
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
D | MapModel3D.java | 167 public Vector3f toWorldUnit(Position position) { in toWorldUnit() argument 171 position.getLongitude()); in toWorldUnit() 178 position.getLatitude()); in toWorldUnit() 183 if (centre.getLatitude() == position.getLatitude()) { in toWorldUnit() 186 if (centre.getLongitude() == position.getLongitude()) { in toWorldUnit() 191 if (centre.getLatitude() > 0 && position.getLatitude() > centre.getLatitude()) { in toWorldUnit() 194 } else if (centre.getLatitude() > 0 && position.getLatitude() < centre.getLatitude()) { in toWorldUnit() 197 } else if (centre.getLatitude() < 0 && position.getLatitude() > centre.getLatitude()) { in toWorldUnit() 200 } else if (centre.getLatitude() < 0 && position.getLatitude() < centre.getLatitude()) { in toWorldUnit() 203 } else if (centre.getLatitude() == 0 && position.getLatitude() > centre.getLatitude()) { in toWorldUnit() [all …]
|