/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
H A D | MediaDataBox.java | 85 private static void transfer(FileChannel from, long position, long count, WritableByteChannel to) throws IOException { argument 92 offset += from.transferTo(position + offset, Math.min(maxCount, count - offset), to); 117 fileChannel.position(startPosition - header.limit()); 144 this.startPosition = ((FileChannel) readableByteChannel).position(); 145 ((FileChannel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize); 159 cacheEntry.position((int) (offset - chacheEntryOffset)); 178 cacheEntry.position(0);
|
/external/qemu/block/ |
H A D | parallels.c | 123 int64_t position = seek_to_sector(bs, sector_num); local 124 if (position >= 0) { 125 if (bdrv_pread(bs->file, position, buf, 512) != 512)
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/ |
H A D | SDL_cdrom.c | 137 Uint32 position; local 149 position = (Uint32)i; 157 /* If the drive is playing, get current play position */ 159 for ( i=1; cdrom->track[i].offset <= position; ++i ) { 163 fprintf(stderr, "Current position: %d, track = %d (offset is %d)\n", 164 position, i-1, cdrom->track[i-1].offset); 167 position -= cdrom->track[cdrom->cur_track].offset; 168 cdrom->cur_frame = position;
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/ |
H A D | AudioFilePlayer.c | 126 SInt64 position = frame * 2352; local 129 afp->mAudioFileManager->SetPosition (afp->mAudioFileManager, position); 140 SInt64 position = frame * 2352; local 142 afp->mAudioFileManager->SetEndOfFile (afp->mAudioFileManager, position);
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/mint/ |
H A D | SDL_syscdrom.c | 64 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position); 219 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position) argument 262 if ( position ) { 264 *position = MSF_TO_FRAMES( 269 *position = 0;
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/os2/ |
H A D | SDL_syscdrom.c | 49 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position); 210 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position) argument 246 /* Determine position */ 247 if (position != NULL) /* The SDL $&$&%# CDROM call sends NULL pointer here! */ 258 *position = MSF_TO_FRAMES(MSF_MINUTE(msp.ulReturn),MSF_SECOND(msp.ulReturn),MSF_FRAME(msp.ulReturn)); 260 else *position = 0;
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | AABoxCollisionVolume.java | 67 * @param position The world position of this volume. 69 * @param otherPosition The world position of the other volume. 73 public boolean intersects(Vector2 position, FlipInfo flip, CollisionVolume other, argument 75 final float left = getMinXPosition(flip) + position.x; 76 final float right = getMaxXPosition(flip) + position.x; 77 final float bottom = getMinYPosition(flip) + position.y; 78 final float top = getMaxYPosition(flip) + position.y;
|
H A D | RenderSystem.java | 53 public void scheduleForDraw(DrawableObject object, Vector2 position, int priority, boolean cameraRelative) { argument 56 element.set(object, position, priority, cameraRelative); 104 public void set(DrawableObject drawable, Vector2 position, int priority, boolean isCameraRelative) { argument 106 x = position.x; 107 y = position.y;
|
H A D | SphereCollisionVolume.java | 85 public boolean intersects(Vector2 position, FlipInfo flip, CollisionVolume other, argument 91 result = other.intersects(otherPosition, otherFlip, this, position, flip); 93 mWorkspaceVector.set(position); 159 private static void offsetByCenter(Vector2 position, Vector2 center, FlipInfo flip) { argument 162 position.x += flip.parentWidth - center.x; 164 position.x += center.x; 168 position.y += flip.parentHeight - center.y; 170 position.y += center.y; 173 position.add(center);
|
/external/v8/src/ |
H A D | unicode-inl.h | 222 void InputBuffer<R, I, s>::Reset(unsigned position, I input) { argument 226 offset_ = position; 236 void InputBuffer<R, I, s>::Seek(unsigned position) { argument 237 offset_ = position;
|
/external/webkit/Source/JavaScriptCore/runtime/ |
H A D | RegExpConstructor.h | 73 void performMatch(RegExp*, const UString&, int startOffset, int& position, int& length, int** ovector = 0); 112 ALWAYS_INLINE void RegExpConstructor::performMatch(RegExp* r, const UString& s, int startOffset, int& position, int& length, int** ovector) argument 114 position = r->match(s, startOffset, &d->tempOvector()); 119 if (position != -1) {
|
H A D | RegExpObject.cpp | 146 int position; local 148 regExpConstructor->performMatch(d->regExp.get(), input, 0, position, length); 149 return position >= 0; 169 int position; local 171 regExpConstructor->performMatch(d->regExp.get(), input, lastIndex, position, length); 172 if (position < 0) { 177 setLastIndex(position + length);
|
/external/webkit/Source/JavaScriptCore/wtf/text/ |
H A D | TextPosition.h | 36 * for saving script source position. 72 // A 'minimum' value of position, used as a default value. 75 // A value with line value less than a minimum; used as an impossible position. 130 inline TextPosition0 toZeroBasedTextPosition(const TextPosition1& position) argument 132 return TextPosition0(position.m_line.convertToZeroBased(), position.m_column.convertToZeroBased()); 135 inline TextPosition1 toOneBasedTextPosition(const TextPosition0& position) argument 137 return TextPosition1(position.m_line.convertToOneBased(), position.m_column.convertToOneBased());
|
/external/webkit/Source/WebCore/html/ |
H A D | HTMLProgressElement.cpp | 126 double HTMLProgressElement::position() const function in class:WebCore::HTMLProgressElement 135 m_value->setWidthPercentage(position()*100);
|
/external/webkit/Source/WebCore/html/parser/ |
H A D | HTMLParserIdioms.cpp | 177 const UChar* position = input.characters(); local 178 const UChar* end = position + input.length(); 184 while (position < end) { 185 if (!isHTMLSpace(*position)) 187 ++position; 191 if (position == end) 193 ASSERT(position < end); 196 if (*position == '-') { 198 ++position; 199 } else if (*position [all...] |
/external/webkit/Source/WebCore/html/shadow/ |
H A D | SliderThumbElement.cpp | 92 // Since today the code to calculate position is in the RenderSlider layout 124 int position; local 128 position = offset.y() - renderBox()->height() / 2; 132 position = offset.x() - renderBox()->width() / 2; 135 position = max(0, min(position, trackSize)); 136 if (position == currentPosition) 140 double fraction = static_cast<double>(position) / trackSize;
|
/external/webkit/Source/WebCore/platform/ |
H A D | LinkHash.cpp | 34 static inline size_t findSlashDotDotSlash(const UChar* characters, size_t length, size_t position) argument 39 for (size_t i = position; i < loopLimit; ++i) { 46 static inline size_t findSlashSlash(const UChar* characters, size_t length, size_t position) argument 51 for (size_t i = position; i < loopLimit; ++i) { 58 static inline size_t findSlashDotSlash(const UChar* characters, size_t length, size_t position) argument 63 for (size_t i = position; i < loopLimit; ++i) {
|
H A D | SharedBuffer.cpp | 40 static inline unsigned segmentIndex(unsigned position) argument 42 return position / segmentSize; 45 static inline unsigned offsetInSegment(unsigned position) argument 47 return position & segmentPositionMask; 219 unsigned SharedBuffer::getSomeData(const char*& someData, unsigned position) const 222 someData = data() + position; 223 return size() - position; 226 if (position >= m_size) { 232 if (position < consecutiveSize) { 233 someData = m_buffer.data() + position; [all...] |
/external/webkit/Source/WebCore/platform/audio/mac/ |
H A D | AudioFileReaderMac.cpp | 111 OSStatus AudioFileReader::readProc(void* clientData, SInt64 position, UInt32 requestCount, void* buffer, UInt32* actualCount) argument 119 if (static_cast<UInt64>(position) < dataSize) { 120 size_t bytesAvailable = dataSize - static_cast<size_t>(position); 122 memcpy(buffer, static_cast<const char*>(data) + position, bytesToRead);
|
/external/webkit/Source/WebCore/platform/graphics/gstreamer/ |
H A D | GStreamerGWorld.cpp | 143 gint64 position; local 144 if (!gst_element_query_position(m_pipeline, &format, &position)) 145 position = 0; 151 GstEvent* event = gst_event_new_new_segment(FALSE, rate, format, startValue, stopValue, position);
|
/external/webkit/Source/WebCore/platform/gtk/ |
H A D | GeolocationServiceGtk.cpp | 72 // 3.) Update the Information and get the current position 122 g_signal_connect(G_OBJECT(m_geocluePosition), "position-changed", 173 void GeolocationServiceGtk::getPositionCallback(GeocluePosition *position, argument 188 position_changed(position, fields, timestamp, latitude, longitude, altitude, accuracy, that);
|
/external/webkit/Source/WebCore/platform/mock/ |
H A D | GeolocationClientMock.cpp | 62 void GeolocationClientMock::setPosition(PassRefPtr<GeolocationPosition> position) argument 64 m_lastPosition = position;
|
/external/webkit/Source/WebCore/platform/text/ |
H A D | TextBreakIteratorICU.cpp | 146 bool isTextBreak(TextBreakIterator* iterator, int position) argument 148 return ubrk_isBoundary(reinterpret_cast<UBreakIterator*>(iterator), position);
|
/external/webkit/Source/WebCore/platform/text/brew/ |
H A D | TextBreakIteratorBrew.cpp | 62 int following(int position) argument 64 currentPos = position; 67 int preceding(int position) argument 69 currentPos = position; 309 int textBreakPreceding(TextBreakIterator* breakIterator, int position) argument 311 return breakIterator->preceding(position); 314 int textBreakFollowing(TextBreakIterator* breakIterator, int position) argument 316 return breakIterator->following(position);
|
/external/webkit/Source/WebCore/webaudio/ |
H A D | AudioListener.h | 49 void setPosition(const FloatPoint3D &position) { m_position = position; } argument 50 const FloatPoint3D& position() const { return m_position; } function in class:WebCore::AudioListener
|