/external/boringssl/src/util/fipstools/delocate/ |
D | delocate.peg.go | 303 position, tokenIndex uint32 308 position, tokenIndex = 0, 0 335 tree.Add(rule, begin, position, tokenIndex) 337 if begin != position && position > max.end { 338 max = token32{rule, begin, position} 343 if buffer[position] != endSymbol { 344 position++ 370 position0, tokenIndex0 := position, tokenIndex 372 position1 := position 375 position3, tokenIndex3 := position, tokenIndex [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/protobuf/csharp/src/Google.Protobuf/ |
D | CodedOutputStream.cs | 71 private int position; field in Google.Protobuf.CodedOutputStream 93 this.position = offset; in CodedOutputStream() 102 this.position = 0; in CodedOutputStream() 158 return output.Position + position; 160 return position; 187 if (limit - position >= 4) in WriteFloat() 189 buffer[position++] = rawBytes[0]; in WriteFloat() 190 buffer[position++] = rawBytes[1]; in WriteFloat() 191 buffer[position++] = rawBytes[2]; in WriteFloat() 192 buffer[position++] = rawBytes[3]; in WriteFloat() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_cliptest_tmp.h | 69 float *position = out->data[pos]; in TAG() local 88 float *clipvertex = position; in TAG() 96 out->clip_pos[i] = position[i]; in TAG() 103 if (!(-0.50 * position[0] + position[3] >= 0)) mask |= (1<<0); in TAG() 104 if (!( 0.50 * position[0] + position[3] >= 0)) mask |= (1<<1); in TAG() 105 if (!(-0.50 * position[1] + position[3] >= 0)) mask |= (1<<2); in TAG() 106 if (!( 0.50 * position[1] + position[3] >= 0)) mask |= (1<<3); in TAG() 109 if (!(-position[0] + position[3] >= 0)) mask |= (1<<0); in TAG() 110 if (!( position[0] + position[3] >= 0)) mask |= (1<<1); in TAG() 111 if (!(-position[1] + position[3] >= 0)) mask |= (1<<2); in TAG() [all …]
|
/external/javaparser/javaparser-testing/src/test/resources/com/github/javaparser/bdd/ |
D | position_range_scenarios.story | 1 Scenario: a position is equal to another position at the same place 2 Given the position 10, 10 3 When I compare to position 10, 10 5 And it is not before the first position 6 And it is not after the first position 8 Scenario: a position is after another position 9 Given the position 10, 10 10 When I compare to position 20, 20 11 Then it is after the first position 13 And it is not before the first position [all …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_tri.c | 266 struct fixed_position* position, in do_triangle_ccw() argument 286 assert(position->area > 0); in do_triangle_ccw() 316 bbox.x0 = MIN3(position->x[0], position->x[1], position->x[2]) >> FIXED_ORDER; in do_triangle_ccw() 317 bbox.x1 = (MAX3(position->x[0], position->x[1], position->x[2]) - 1) >> FIXED_ORDER; in do_triangle_ccw() 320 bbox.y0 = (MIN3(position->y[0], position->y[1], position->y[2]) + adj) >> FIXED_ORDER; in do_triangle_ccw() 321 bbox.y1 = (MAX3(position->y[0], position->y[1], position->y[2]) - 1 + adj) >> FIXED_ORDER; in do_triangle_ccw() 412 vertx = _mm_load_si128((__m128i *)position->x); /* vertex x coords */ in do_triangle_ccw() 413 verty = _mm_load_si128((__m128i *)position->y); /* vertex y coords */ in do_triangle_ccw() 529 vertx = vec_load_si128((const uint32_t *) position->x); in do_triangle_ccw() 531 verty = vec_load_si128((const uint32_t *) position->y); in do_triangle_ccw() [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/brotli/c/enc/ |
D | backward_references_inc.h | 11 size_t num_bytes, size_t position, in EXPORT_FN() 21 const size_t pos_end = position + num_bytes; in EXPORT_FN() 23 position + num_bytes - FN(StoreLookahead)() + 1 : position; in EXPORT_FN() 28 size_t apply_random_heuristics = position + random_heuristics_window_size; in EXPORT_FN() 36 while (position + FN(HashTypeLength)() < pos_end) { in EXPORT_FN() 37 size_t max_length = pos_end - position; in EXPORT_FN() 38 size_t max_distance = BROTLI_MIN(size_t, position, max_backward_limit); in EXPORT_FN() 45 ringbuffer, ringbuffer_mask, dist_cache, position, max_length, in EXPORT_FN() 59 max_distance = BROTLI_MIN(size_t, position + 1, max_backward_limit); in EXPORT_FN() 62 ringbuffer, ringbuffer_mask, dist_cache, position + 1, max_length, in EXPORT_FN() [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/tensorflow/tensorflow/contrib/eager/python/examples/l2hmc/ |
D | l2hmc.py | 68 def apply_transition(self, position): argument 74 position, forward=True) 76 position, forward=False) 79 batch_size = tf.shape(position)[0] 101 accept_mask[:, None] * position_post + reject_mask[:, None] * position) 105 def transition_kernel(self, position, forward=True): argument 111 momentum = tf.random_normal(tf.shape(position)) 112 position_post, momentum_post = position, momentum 119 accept_prob = self._compute_accept_prob(position, momentum, position_post, 124 def _forward_lf(self, position, momentum, i): argument [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/deqp-deps/glslang/Test/baseResults/ |
D | hlsl.y-negate-2.vert.out | 6 0:6 'position' ( out 4-component vector of float) 9 0:7 'position' ( out 4-component vector of float) 18 0:? 'position' ( temp 4-component vector of float) 21 0:6 '@position' ( temp 4-component vector of float) 22 0:? 'position' ( temp 4-component vector of float) 25 0:6 '@position' ( temp 4-component vector of float) 30 0:6 '@position' ( temp 4-component vector of float) 34 0:? 'position' ( out 4-component vector of float Position) 35 0:6 '@position' ( temp 4-component vector of float) 38 0:? 'position' ( out 4-component vector of float Position) [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/icu/icu4c/source/common/ |
D | rbbi_cache.cpp | 340 UBool RuleBasedBreakIterator::BreakCache::populateNear(int32_t position, UErrorCode &status) { in populateNear() argument 344 U_ASSERT(position < fBoundaries[fStartBufIdx] || position > fBoundaries[fEndBufIdx]); in populateNear() 354 if ((position < fBoundaries[fStartBufIdx] - 15) || position > (fBoundaries[fEndBufIdx] + 15)) { in populateNear() 357 if (position > 20) { in populateNear() 358 int32_t backupPos = fBI->handleSafePrevious(position); in populateNear() 386 if (fBoundaries[fEndBufIdx] < position) { in populateNear() 389 while (fBoundaries[fEndBufIdx] < position) { in populateNear() 397 …while (fTextIdx > position) { // Move backwards to a position at or preceding the req… in populateNear() 403 if (fBoundaries[fStartBufIdx] > position) { in populateNear() 406 while (fBoundaries[fStartBufIdx] > position) { in populateNear() [all …]
|
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
D | TestCharset.java | 107 us.limit(us.position()); in TestUTF16Converter() 108 us.position(0); in TestUTF16Converter() 114 bs1.limit(bs1.position()); in TestUTF16Converter() 115 bs1.position(0); in TestUTF16Converter() 120 bs1.position(0); in TestUTF16Converter() 124 bs2.limit(bs2.position()); in TestUTF16Converter() 125 bs2.position(0); in TestUTF16Converter() 130 bs2.position(0); in TestUTF16Converter() 178 bs1.limit(bs1.position()); in TestUTF32Converter() 179 bs1.position(0); in TestUTF32Converter() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/ |
D | CharacterMap.java | 15 private final IsoLayoutPosition position; field in CharacterMap 20 private CharacterMap(IsoLayoutPosition position, String output, in CharacterMap() argument 22 this.position = Preconditions.checkNotNull(position); in CharacterMap() 29 public static CharacterMap of(IsoLayoutPosition position, String output) { in of() argument 30 return new CharacterMap(position, output, ImmutableList.<String> of(), false); in of() 34 public static CharacterMap of(IsoLayoutPosition position, String output, in of() argument 36 return new CharacterMap(position, output, longPressKeys, false); in of() 39 public IsoLayoutPosition position() { in position() method in CharacterMap 40 return position; in position() 52 return new CharacterMap(position, output, longPressKeys, true); in markAsTransformNo() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/ |
D | text_handler.cpp | 38 spv_result_t advanceLine(spv_text text, spv_position position) { in advanceLine() argument 40 if (position->index >= text->length) return SPV_END_OF_STREAM; in advanceLine() 41 switch (text->str[position->index]) { in advanceLine() 45 position->column = 0; in advanceLine() 46 position->line++; in advanceLine() 47 position->index++; in advanceLine() 50 position->column++; in advanceLine() 51 position->index++; in advanceLine() 62 spv_result_t advance(spv_text text, spv_position position) { in advance() argument 64 if (position->index >= text->length) return SPV_END_OF_STREAM; in advance() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/ |
D | text_handler.cpp | 38 spv_result_t advanceLine(spv_text text, spv_position position) { in advanceLine() argument 40 if (position->index >= text->length) return SPV_END_OF_STREAM; in advanceLine() 41 switch (text->str[position->index]) { in advanceLine() 45 position->column = 0; in advanceLine() 46 position->line++; in advanceLine() 47 position->index++; in advanceLine() 50 position->column++; in advanceLine() 51 position->index++; in advanceLine() 62 spv_result_t advance(spv_text text, spv_position position) { in advance() argument 64 if (position->index >= text->length) return SPV_END_OF_STREAM; in advance() [all …]
|
/external/turbine/java/com/google/turbine/diag/ |
D | LineMap.java | 65 public int column(int position) { in column() argument 66 checkArgument(0 <= position && position < source.length(), "%s", position); in column() 67 return position - lines.getEntry(position).getKey().lowerEndpoint(); in column() 71 public int lineNumber(int position) { in lineNumber() argument 72 checkArgument(0 <= position && position < source.length(), "%s", position); in lineNumber() 73 return lines.get(position); in lineNumber() 77 public String line(int position) { in line() argument 78 checkArgument(0 <= position && position < source.length(), "%s", position); in line() 79 Range<Integer> range = lines.getEntry(position).getKey(); in line()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | CodedOutputStream.java | 1102 private int position; field in CodedOutputStream.ArrayEncoder 1115 position = offset; in ArrayEncoder() 1251 buffer[position++] = value; in write() 1254 String.format("Pos: %d, limit: %d, len: %d", position, limit, 1))); in write() 1271 long pos = ARRAY_BASE_OFFSET + position; in writeUInt32NoTag() 1275 position++; in writeUInt32NoTag() 1279 position++; in writeUInt32NoTag() 1287 buffer[position++] = (byte) value; in writeUInt32NoTag() 1290 buffer[position++] = (byte) ((value & 0x7F) | 0x80); in writeUInt32NoTag() 1297 String.format("Pos: %d, limit: %d, len: %d", position, limit, 1))); in writeUInt32NoTag() [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/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/ |
D | SeekableInMemoryByteChannel.java | 44 private int position, size; field in SeekableInMemoryByteChannel 78 public long position() { in position() method in SeekableInMemoryByteChannel 79 return position; in position() 83 public SeekableByteChannel position(long newPosition) throws IOException { in position() method in SeekableInMemoryByteChannel 88 position = (int) newPosition; in position() 111 int possible = size - position; in read() 118 buf.put(data, position, wanted); in read() 119 position += wanted; in read() 137 int possibleWithoutResize = size - position; in write() 139 int newSize = position + wanted; in write() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/data/ |
D | TokenIterator.java | 113 private int nextToken(int position) { in nextToken() argument 114 position = PatternProps.skipWhiteSpace(line, position); in nextToken() 115 if (position == line.length()) { in nextToken() 118 int startpos = position; in nextToken() 119 char c = line.charAt(position++); in nextToken() 133 while (position < line.length()) { in nextToken() 134 c = line.charAt(position); // 16-bit ok in nextToken() 139 posref[0] = position+1; in nextToken() 144 position); in nextToken() 147 position = posref[0]; in nextToken() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ |
D | Position.java | 86 public boolean isAfter(Position position) { in isAfter() argument 87 assertNotNull(position); in isAfter() 88 if (position.line == Node.ABSOLUTE_BEGIN_LINE) return true; in isAfter() 89 if (line > position.line) { in isAfter() 91 } else if (line == position.line) { in isAfter() 92 return column > position.column; in isAfter() 98 public boolean isBefore(Position position) { in isBefore() argument 99 assertNotNull(position); in isBefore() 100 if (position.line == Node.ABSOLUTE_END_LINE) return true; in isBefore() 101 if (line < position.line) { in isBefore() [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 …]
|