/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/chromium_org/third_party/WebKit/Source/core/frame/csp/ |
D | CSPSourceList.cpp | 23 const UChar* position = begin; in isSourceListNone() local 24 skipWhile<UChar, isSourceCharacter>(position, end); in isSourceListNone() 25 if (!equalIgnoringCase("'none'", begin, position - begin)) in isSourceListNone() 28 skipWhile<UChar, isASCIISpace>(position, end); in isSourceListNone() 29 if (position != end) in isSourceListNone() 103 const UChar* position = begin; in parse() local 104 while (position < end) { in parse() 105 skipWhile<UChar, isASCIISpace>(position, end); in parse() 106 if (position == end) in parse() 109 const UChar* beginSource = position; in parse() [all …]
|
D | MediaListDirective.cpp | 31 const UChar* position = begin; in parse() local 34 if (position == end) { in parse() 39 while (position < end) { in parse() 42 skipWhile<UChar, isASCIISpace>(position, end); in parse() 43 if (position == end) in parse() 48 begin = position; in parse() 49 if (!skipExactly<UChar, isMediaTypeCharacter>(position, end)) { in parse() 50 skipWhile<UChar, isNotASCIISpace>(position, end); in parse() 51 policy()->reportInvalidPluginTypes(String(begin, position - begin)); in parse() 54 skipWhile<UChar, isMediaTypeCharacter>(position, end); in parse() [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
D | ParsingUtilities.h | 35 bool skipExactly(const CharType*& position, const CharType* end, CharType delimiter) in skipExactly() argument 37 if (position < end && *position == delimiter) { in skipExactly() 38 ++position; in skipExactly() 45 bool skipExactly(const CharType*& position, const CharType* end) in skipExactly() argument 47 if (position < end && characterPredicate(*position)) { in skipExactly() 48 ++position; in skipExactly() 55 void skipUntil(const CharType*& position, const CharType* end, CharType delimiter) in skipUntil() argument 57 while (position < end && *position != delimiter) in skipUntil() 58 ++position; in skipUntil() 62 void skipUntil(const CharType*& position, const CharType* end) in skipUntil() argument [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/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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/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/chromium_org/content/test/data/accessibility/ |
D | iframe-coordinates-expected-mac.txt | 1 AXWebArea position=(0, 0) size=(800, 600) 2 AXGroup position=(0, 0) size=(300, 150) 3 AXButton position=(25, 25) size=(250, 50) 4 AXGroup position=(0, 150) size=(300, 150) 5 AXButton position=(25, 175) size=(250, 50) 6 AXGroup position=(0, 300) size=(300, 150) 7 AXGroup position=(0, 300) size=(300, 100) 8 AXUnknown position=(0, 300) size=(300, 100) 9 AXWebArea position=(0, 300) size=(300, 100) 10 AXGroup position=(0, 300) size=(300, 100) [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
D | TextBoundaries.cpp | 62 int findNextWordFromIndex(const UChar* chars, int len, int position, bool forward) in findNextWordFromIndex() argument 67 position = it->following(position); in findNextWordFromIndex() 68 while (position != TextBreakDone) { in findNextWordFromIndex() 71 if (position < len && isAlphanumeric(chars[position - 1])) in findNextWordFromIndex() 72 return position; in findNextWordFromIndex() 74 position = it->following(position); in findNextWordFromIndex() 79 position = it->preceding(position); in findNextWordFromIndex() 80 while (position != TextBreakDone) { in findNextWordFromIndex() 83 if (position > 0 && isAlphanumeric(chars[position])) in findNextWordFromIndex() 84 return position; in findNextWordFromIndex() [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/chromium_org/third_party/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/chromium_org/third_party/cython/src/Cython/Compiler/ |
D | Errors.py | 18 def context(position): argument 19 source = position[0] 28 s = u''.join(F[max(0, position[1]-6):position[1]]) 29 s = u'...\n%s%s^\n' % (s, u' '*(position[2]-1)) 33 def format_position(position): argument 34 if position: 35 return u"%s:%d:%d: " % (position[0].get_error_description(), 36 position[1], position[2]) 39 def format_error(message, position): argument 40 if position: [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/chromium_org/third_party/WebKit/Source/core/html/ |
D | HTMLDimension.cpp | 53 size_t position = lastParsedIndex; in parseDimension() local 54 while (position < endOfCurrentToken && isASCIIDigit(characters[position])) in parseDimension() 55 ++position; in parseDimension() 57 if (position > lastParsedIndex) { in parseDimension() 59 …unsigned integerValue = charactersToUIntStrict(characters + lastParsedIndex, position - lastParsed… in parseDimension() 63 if (position < endOfCurrentToken && characters[position] == '.') { in parseDimension() 64 ++position; in parseDimension() 66 …while (position < endOfCurrentToken && (isASCIIDigit(characters[position]) || isASCIISpace(charact… in parseDimension() 67 if (isASCIIDigit(characters[position])) in parseDimension() 68 fractionNumbers.append(characters[position]); in parseDimension() [all …]
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/walkers/ |
D | table_walker.js | 50 return this.goTo_(sel, goog.bind(function(position) { argument 51 return this.tt.goToCell(position); 63 var position = this.syncPosition_(sel); 64 if (!position) { 67 this.tt.goToCell(position); 82 var position = this.syncPosition_(sel); 83 if (position) { 86 text.append(' ' + ++position[0] + '/' + ++position[1]); 107 return this.goTo_(sel, goog.bind(function(position) { argument 119 return this.goTo_(sel, goog.bind(function(position) { argument [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
D | HTMLSrcsetParser.cpp | 81 …Type* attributeStart, const CharType*& descriptorStart, const CharType* position, Vector<Descripto… in appendDescriptorAndReset() argument 83 if (position > descriptorStart) in appendDescriptorAndReset() 84 … descriptors.append(DescriptorToken(descriptorStart - attributeStart, position - descriptorStart)); in appendDescriptorAndReset() 90 static void appendCharacter(const CharType* descriptorStart, const CharType* position) in appendCharacter() argument 94 descriptorStart = position; in appendCharacter() 98 static bool isEOF(const CharType* position, const CharType* end) in isEOF() argument 100 return position >= end; in isEOF() 105 const CharType*& position, in tokenizeDescriptors() argument 110 const CharType* descriptorsStart = position; in tokenizeDescriptors() 115 if (isEOF(position, attributeEnd)) { in tokenizeDescriptors() [all …]
|
/external/chromium_org/ui/app_list/ |
D | app_list_item_list.cc | 54 << target_item->position().ToDebugString() << "]"; in MoveItem() 66 new_position = next->position().CreateBefore(); in MoveItem() 68 new_position = prev->position().CreateAfter(); in MoveItem() 73 if (prev->position().Equals(next->position())) in MoveItem() 75 new_position = prev->position().CreateBetween(next->position()); in MoveItem() 80 << " Prev: " << (prev ? prev->position().ToDebugString() : "(none)") in MoveItem() 81 << " Next: " << (next ? next->position().ToDebugString() : "(none)") in MoveItem() 104 new_position = app_list_items_[last_index]->position().CreateAfter(); in SetItemPosition() 130 const syncer::StringOrdinal& position) { in CreatePositionBefore() argument 136 if (!position.IsValid()) { in CreatePositionBefore() [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/chromium_org/third_party/webrtc/common_audio/vad/ |
D | vad_sp.c | 65 int position = -1; in WebRtcVad_FindMinimum() local 101 position = 0; in WebRtcVad_FindMinimum() 103 position = 1; in WebRtcVad_FindMinimum() 106 position = 2; in WebRtcVad_FindMinimum() 108 position = 3; in WebRtcVad_FindMinimum() 112 position = 4; in WebRtcVad_FindMinimum() 114 position = 5; in WebRtcVad_FindMinimum() 117 position = 6; in WebRtcVad_FindMinimum() 119 position = 7; in WebRtcVad_FindMinimum() 125 position = 8; in WebRtcVad_FindMinimum() [all …]
|
/external/chromium_org/ash/display/ |
D | display_layout.cc | 40 bool GetPositionFromString(const base::StringPiece& position, in GetPositionFromString() argument 42 if (ReverseFind(GetPositionToStringMap(), position, field)) in GetPositionFromString() 44 LOG(ERROR) << "Invalid position value:" << position; in GetPositionFromString() 48 std::string GetStringFromPosition(DisplayLayout::Position position) { in GetStringFromPosition() argument 50 PositionToStringMap::const_iterator iter = map->find(position); in GetStringFromPosition() 54 bool GetDisplayIdFromString(const base::StringPiece& position, int64* field) { in GetDisplayIdFromString() argument 55 return base::StringToInt64(position, field); in GetDisplayIdFromString() 64 DisplayLayout DisplayLayout::FromInts(int position, int offsets) { in FromInts() argument 65 return DisplayLayout(static_cast<Position>(position), offsets); in FromInts() 69 : position(RIGHT), in DisplayLayout() [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/chromium_org/chrome/browser/extensions/api/location/ |
D | location_manager.cc | 60 virtual bool ShouldSendUpdate(const content::Geoposition& position) const in ShouldSendUpdate() 63 Distance(position.latitude, in ShouldSendUpdate() 64 position.longitude, in ShouldSendUpdate() 70 virtual void OnPositionReported(const content::Geoposition& position) in OnPositionReported() argument 72 last_updated_position_ = position; in OnPositionReported() 156 void OnLocationUpdate(const content::Geoposition& position); 160 bool ShouldSendUpdate(const content::Geoposition& position); 163 void OnPositionReported(const content::Geoposition& position); 220 void LocationRequest::OnLocationUpdate(const content::Geoposition& position) { in OnLocationUpdate() argument 221 if (ShouldSendUpdate(position)) { in OnLocationUpdate() [all …]
|