HomeSort by relevance Sort by last modified time
    Searched refs:position (Results 1 - 25 of 4070) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/modules/filesystem/
FileWriterBase.cpp 59 void FileWriterBase::seekInternal(long long position)
61 if (position > m_length)
62 position = m_length;
63 else if (position < 0)
64 position = m_length + position;
65 if (position < 0)
66 position = 0;
67 m_position = position;
  /external/chromium_org/third_party/WebKit/Source/modules/geolocation/
PositionCallback.idl 26 void handleEvent(Geoposition position);
  /external/chromium_org/third_party/WebKit/Source/platform/
ParsingUtilities.h 35 bool skipExactly(const CharType*& position, const CharType* end, CharType delimiter)
37 if (position < end && *position == delimiter) {
38 ++position;
45 bool skipExactly(const CharType*& position, const CharType* end)
47 if (position < end && characterPredicate(*position)) {
48 ++position;
55 void skipUntil(const CharType*& position, const CharType* end, CharType delimiter)
57 while (position < end && *position != delimiter
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/text/
TextBoundaries.cpp 62 int findNextWordFromIndex(const UChar* chars, int len, int position, bool forward)
67 position = it->following(position);
68 while (position != TextBreakDone) {
71 if (position < len && isAlphanumeric(chars[position - 1]))
72 return position;
74 position = it->following(position);
79 position = it->preceding(position)
    [all...]
  /libcore/luni/src/main/java/java/nio/channels/
FileLock.java 76 // The lock starting position.
77 private final long position; field in class:FileLock
87 * enforces the starting position, length and sharing mode of the lock.
91 * @param position
99 protected FileLock(FileChannel channel, long position, long size, boolean shared) {
100 if (position < 0 || size < 0 || position + size < 0) {
101 throw new IllegalArgumentException("position=" + position + " size=" + size);
104 this.position = position
121 public final long position() { method in class:FileLock
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/frame/csp/
MediaListDirective.cpp 31 const UChar* position = begin; local
34 if (position == end) {
39 while (position < end) {
42 skipWhile<UChar, isASCIISpace>(position, end);
43 if (position == end)
48 begin = position;
49 if (!skipExactly<UChar, isMediaTypeCharacter>(position, end)) {
50 skipWhile<UChar, isNotASCIISpace>(position, end);
51 policy()->reportInvalidPluginTypes(String(begin, position - begin));
54 skipWhile<UChar, isMediaTypeCharacter>(position, end)
    [all...]
CSPSourceList.cpp 23 const UChar* position = begin; local
24 skipWhile<UChar, isSourceCharacter>(position, end);
25 if (!equalIgnoringCase("'none'", begin, position - begin))
28 skipWhile<UChar, isASCIISpace>(position, end);
29 if (position != end)
99 const UChar* position = begin; local
100 while (position < end) {
101 skipWhile<UChar, isASCIISpace>(position, end);
102 if (position == end)
105 const UChar* beginSource = position;
180 const UChar* position = begin; local
264 const UChar* position = begin + noncePrefix.length(); local
315 const UChar* position = begin + prefix.length(); local
347 const UChar* position = begin; local
374 const UChar* position = begin; local
408 const UChar* position = begin; local
442 const UChar* position = begin; local
    [all...]
  /external/clang/test/CodeGen/
ext-vector-member-alignment.c 6 float4 position; member in struct:struct1
10 float4 f(struct struct1* x) { return x->position; }
13 p->position.x = c;
14 *a = p->position.y;
15 *b = p->position[0];
16 p->position[2] = c;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
bloom_filter.h 38 AK_FORCE_INLINE void setInFilter(const int position) {
39 mFilter.set(getIndex(position));
42 AK_FORCE_INLINE bool isInFilter(const int position) const {
43 return mFilter.test(getIndex(position));
49 AK_FORCE_INLINE size_t getIndex(const int position) const {
50 return static_cast<size_t>(position) % BIGRAM_FILTER_MODULO;
  /external/chromium-trace/trace-viewer/src/tracing/tracks/
counter_track.css 8 position: relative;
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListHeterogeneous.java 40 protected View createView(int position, ViewGroup parent, int desiredHeight) {
41 switch (position % 3) {
44 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
47 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
50 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
57 public View convertView(int position, View convertView, ViewGroup parent) {
58 switch (position % 3)
    [all...]
  /external/guava/guava/src/com/google/common/collect/
AbstractIndexedListIterator.java 29 * position. It does not support {@link #remove}, {@link #set}, or {@link #add}.
37 private int position; field in class:AbstractIndexedListIterator
47 * position is 0. That is, the first call to {@link #next()} will return the
59 * initial position. That is, the first call to {@link #nextIndex()} will
60 * return {@code position}, and the first call to {@link #next()} will return
62 * retrieve the preceding {@code position} elements.
64 * @throws IndexOutOfBoundsException if {@code position} is negative or is
68 protected AbstractIndexedListIterator(int size, int position) {
69 checkPositionIndex(position, size);
71 this.position = position
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
SeparatedFolderListAdapter.java 42 public Object getItem(int position) {
46 // check if position inside this section
47 if (position == 0 || position < size)
48 return adapter.getItem(position);
51 position -= size;
76 public int getItemViewType(int position) {
80 // check if position inside this section
81 if (position == 0 || position < size)
    [all...]
  /frameworks/base/core/java/android/widget/
ListAdapter.java 41 * Returns true if the item at the specified position is not a separator.
44 * The result is unspecified if position is invalid. An {@link ArrayIndexOutOfBoundsException}
47 * @param position Index of the item
53 boolean isEnabled(int position);
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
SectionedListAdapter.java 66 public Object getItem(int position) {
72 // Check if position inside this section
73 if (position == 0) {
75 } else if (position < sectionSize) {
76 return section.getItem(position - 1);
80 position -= sectionSize;
82 throw new IllegalStateException("Unknown position " + position);
86 public long getItemId(int position) {
87 return position;
    [all...]
  /libcore/luni/src/main/java/java/util/
StringTokenizer.java 48 private int position; field in class:StringTokenizer
100 this.position = 0;
112 for (int i = position, length = string.length(); i < length; i++) {
149 if (position < length) {
155 for (int i = position; i < length; i++)
185 int i = position;
190 if (delimiters.indexOf(string.charAt(position), 0) >= 0)
191 return String.valueOf(string.charAt(position++));
192 for (position++; position < length; position++
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
NullInputStream.java 66 private long position; field in class:NullInputStream
101 * Return the current position.
103 * @return the current position.
106 return position;
124 long avail = size - position;
142 position = 0;
147 * Mark the current position.
149 * @param readlimit The number of bytes before this marked position
157 mark = position;
184 if (position == size)
    [all...]
NullReader.java 66 private long position; field in class:NullReader
101 * Return the current position.
103 * @return the current position.
106 return position;
126 position = 0;
131 * Mark the current position.
133 * @param readlimit The number of characters before this marked position
141 mark = position;
168 if (position == size) {
171 position++
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
BitWriterBuffer.java 9 int position = 0; field in class:BitWriterBuffer
13 this.initialPos = buffer.position();
20 int left = 8 - position % 8;
22 int current = (buffer.get(initialPos + position / 8));
25 buffer.put(initialPos + position / 8, (byte) (current > 127 ? current - 256 : current));
26 position += numBits;
32 buffer.position(initialPos + position / 8 + ((position % 8 > 0) ? 1 : 0));
  /external/chromium_org/third_party/WebKit/Source/core/animation/
AnimationHelpers.h 19 size_t position = 0; local
21 while ((end = propertyName.find(isASCIIUpper, position)) != kNotFound) {
22 builder.append(propertyName.substring(position, end - position) + "-" + toASCIILower((propertyName)[end]));
23 position = end + 1;
25 builder.append(propertyName.substring(position));
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
draw_cliptest_tmp.h 54 float *position = out->data[pos]; local
61 float *clipvertex = position;
68 out->pre_clip_pos[i] = position[i];
74 if (-0.50 * position[0] + position[3] < 0) mask |= (1<<0);
75 if ( 0.50 * position[0] + position[3] < 0) mask |= (1<<1);
76 if (-0.50 * position[1] + position[3] < 0) mask |= (1<<2);
77 if ( 0.50 * position[1] + position[3] < 0) mask |= (1<<3)
    [all...]
  /external/mesa3d/src/gallium/auxiliary/draw/
draw_cliptest_tmp.h 54 float *position = out->data[pos]; local
61 float *clipvertex = position;
68 out->pre_clip_pos[i] = position[i];
74 if (-0.50 * position[0] + position[3] < 0) mask |= (1<<0);
75 if ( 0.50 * position[0] + position[3] < 0) mask |= (1<<1);
76 if (-0.50 * position[1] + position[3] < 0) mask |= (1<<2);
77 if ( 0.50 * position[1] + position[3] < 0) mask |= (1<<3)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
AbstractBufferTest.java 42 assertTrue(0 <= baseBuf.position() && baseBuf.position() <= baseBuf.limit()
48 int oldPosition = baseBuf.position();
53 assertEquals(baseBuf.position(), 0);
64 baseBuf.position(oldPosition);
69 int oldPosition = baseBuf.position();
74 assertEquals(baseBuf.position(), 0);
85 baseBuf.position(oldPosition);
90 int oldPosition = baseBuf.position();
93 assertEquals(baseBuf.hasRemaining(), baseBuf.position() < baseBuf.limit())
    [all...]
  /libcore/luni/src/main/java/libcore/io/
HeapBufferIterator.java 33 private int position; field in class:HeapBufferIterator
43 position = offset;
47 position += byteCount;
51 System.arraycopy(buffer, offset + position, dst, dstOffset, byteCount);
52 position += byteCount;
56 byte result = buffer[offset + position];
57 ++position;
62 int result = Memory.peekInt(buffer, offset + position, order);
63 position += SizeOf.INT;
69 Memory.unsafeBulkGet(dst, dstOffset, byteCount, buffer, offset + position, SizeOf.INT, order.needsSwap)
    [all...]
NioBufferIterator.java 32 private int position; field in class:NioBufferIterator
41 position = offset;
45 position += byteCount;
49 Memory.peekByteArray(address + position, dst, dstOffset, byteCount);
50 position += byteCount;
54 byte result = Memory.peekByte(address + position);
55 ++position;
60 int result = Memory.peekInt(address + position, swap);
61 position += SizeOf.INT;
66 Memory.peekIntArray(address + position, dst, dstOffset, intCount, swap)
    [all...]

Completed in 1031 milliseconds

1 2 3 4 5 6 7 8 91011>>