/frameworks/base/obex/javax/obex/ |
PrivateOutputStream.java | 97 public synchronized void write(byte[] buffer, int offset, int count) throws IOException { 98 int offset1 = offset; 104 if ((offset | count) < 0 || count > buffer.length - offset) { 111 mArray.write(buffer, offset, count);
|
/external/proguard/src/proguard/optimize/evaluation/ |
PartialEvaluator.java | 233 int offset = 0; local 236 if (isBranchOrExceptionTarget(offset)) 238 System.out.println("Branch target from ["+branchOriginValues[offset]+"]:"); 239 if (isTraced(offset)) 241 System.out.println(" Vars: "+variablesBefore[offset]); 242 System.out.println(" Stack: "+stacksBefore[offset]); 247 offset); 248 System.out.println(instruction.toString(offset)); 250 if (isTraced(offset)) 252 int variableIndex = initializedVariable(offset); [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
BitwiseStreamsTest.java | 35 int offset = 3; local 38 outStream.skip(offset); 43 inStream.skip(offset); 50 int offset = 3; local 53 outStream.skip(offset); 56 inStream.skip(offset); 64 int offset = 4; local 67 outStream.skip(offset); 70 inStream.skip(offset); 78 int offset = 7 local 119 int offset = run % 8; local [all...] |
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
GL11ExtensionPack.java | 170 int offset 181 int offset 215 int offset 226 int offset 239 int offset 252 int offset 264 int offset 277 int offset 290 int offset 303 int offset [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
ImageGetter.java | 53 public void imageLoaded(int pos, int offset, RotateBitmap bitmap, 55 public boolean wantsThumbnail(int pos, int offset); 56 public boolean wantsFullImage(int pos, int offset); 57 public int fullImageSizeToUse(int pos, int offset); 102 private Runnable callback(final int position, final int offset, 111 mCB.imageLoaded(position, offset, bitmap, isThumb); 162 int offset = order[i]; 163 int imageNumber = mCurrentPosition + offset; 165 if (!mCB.wantsThumbnail(mCurrentPosition, offset)) { 180 Runnable cb = callback(mCurrentPosition, offset, [all...] |
/dalvik/vm/oo/ |
Object.h | 190 * Given an offset, return the bit number which would encode that offset. 197 * Is the given offset too large to be encoded? 202 * Return a single bit, encoding the offset. 203 * Undefined if the offset is too large, as defined above. 208 * Return an offset, given a bit number as returned from CLZ. 491 * For concrete virtual methods, this is the offset of the method 494 * For abstract methods in an interface class, this is the offset 589 * This field indicates the byte offset from the beginning of the 659 * Find a field and return the byte offset from the object pointer. Onl [all...] |
/external/webkit/WebCore/editing/ |
VisiblePosition.cpp | 51 VisiblePosition::VisiblePosition(Node *node, int offset, EAffinity affinity) 53 ASSERT(offset >= 0); 54 init(Position(node, offset), affinity); 123 int offset; local 124 p.getInlineBoxAndOffset(m_affinity, primaryDirection, box, offset); 131 if ((renderer->isReplaced() || renderer->isBR()) && offset == box->caretRightmostOffset()) 134 offset = box->direction() == LTR ? renderer->previousOffset(offset) : renderer->nextOffset(offset); 139 if (offset > caretMinOffset && offset < caretMaxOffset 265 int offset; local 523 unsigned offset = pos.deprecatedEditingOffset(); local [all...] |
/external/proguard/src/proguard/classfile/editor/ |
CodeAttributeEditor.java | 125 * at the given offset. 126 * @param instructionOffset the offset of the instruction. 134 throw new IllegalArgumentException("Invalid instruction offset ["+instructionOffset+"] in code with length ["+codeLength+"]"); 147 * at the given offset. 148 * @param instructionOffset the offset of the instruction. 156 throw new IllegalArgumentException("Invalid instruction offset ["+instructionOffset+"] in code with length ["+codeLength+"]"); 168 * Remembers to replace the instruction at the given offset by the given 170 * @param instructionOffset the offset of the instruction to be replaced. 178 throw new IllegalArgumentException("Invalid instruction offset ["+instructionOffset+"] in code with length ["+codeLength+"]"); 188 * Remembers to replace the instruction at the given offset by the give [all...] |
/frameworks/base/libs/rs/ |
rsType.cpp | 94 size_t offset = 0; local 99 mLODs[lod].mOffset = offset; 100 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes(); 106 // At this point the offset is the size of a mipmap chain; 107 mMipChainSizeBytes = offset; 110 offset *= 6; 112 mTotalSizeBytes = offset; 119 uint32_t offset = mLODs[lod].mOffset; local 120 offset += x * mElement->getSizeBytes(); 121 return offset; 126 uint32_t offset = mLODs[lod].mOffset; local 133 uint32_t offset = mLODs[lod].mOffset; local [all...] |
/system/core/libpixelflinger/codeflinger/ |
ARMAssembler.cpp | 171 int32_t offset = int32_t(target_pc - (bt.pc+2)); local 172 *bt.pc |= offset & 0xFFFFFF; 273 int32_t offset = int32_t(pc - (mPC+2)); local 274 *mPC++ = (cc<<28) | (0xA<<24) | (offset & 0xFFFFFF); 279 int32_t offset = int32_t(pc - (mPC+2)); local 280 *mPC++ = (cc<<28) | (0xB<<24) | (offset & 0xFFFFFF); 294 void ARMAssembler::LDR(int cc, int Rd, int Rn, uint32_t offset) { 295 *mPC++ = (cc<<28) | (1<<26) | (1<<20) | (Rn<<16) | (Rd<<12) | offset; 297 void ARMAssembler::LDRB(int cc, int Rd, int Rn, uint32_t offset) { 298 *mPC++ = (cc<<28) | (1<<26) | (1<<22) | (1<<20) | (Rn<<16) | (Rd<<12) | offset; [all...] |
ARMAssembler.h | 86 int Rn, uint32_t offset = immed12_pre(0)); 88 int Rn, uint32_t offset = immed12_pre(0)); 90 int Rn, uint32_t offset = immed12_pre(0)); 92 int Rn, uint32_t offset = immed12_pre(0)); 94 int Rn, uint32_t offset = immed8_pre(0)); 96 int Rn, uint32_t offset = immed8_pre(0)); 98 int Rn, uint32_t offset = immed8_pre(0)); 100 int Rn, uint32_t offset = immed8_pre(0)); 110 virtual void PLD(int Rn, uint32_t offset);
|
ARMAssemblerProxy.h | 76 int Rn, uint32_t offset = immed12_pre(0)); 78 int Rn, uint32_t offset = immed12_pre(0)); 80 int Rn, uint32_t offset = immed12_pre(0)); 82 int Rn, uint32_t offset = immed12_pre(0)); 84 int Rn, uint32_t offset = immed8_pre(0)); 86 int Rn, uint32_t offset = immed8_pre(0)); 88 int Rn, uint32_t offset = immed8_pre(0)); 90 int Rn, uint32_t offset = immed8_pre(0)); 100 virtual void PLD(int Rn, uint32_t offset);
|
/frameworks/base/media/libstagefright/ |
MPEG4Extractor.cpp | 101 virtual ssize_t readAt(off_t offset, void *data, size_t size); 105 status_t setCachedRange(off_t offset, size_t size); 149 ssize_t MPEG4DataSource::readAt(off_t offset, void *data, size_t size) { 152 if (offset >= mCachedOffset 153 && offset + size <= mCachedOffset + mCachedSize) { 154 memcpy(data, &mCache[offset - mCachedOffset], size); 158 return mSource->readAt(offset, data, size); 169 status_t MPEG4DataSource::setCachedRange(off_t offset, size_t size) { 180 mCachedOffset = offset; 198 size_t offset = 0 local 355 off_t offset = 0; local 1491 off_t offset; local [all...] |
CachingDataSource.cpp | 76 ssize_t CachingDataSource::readAt(off_t offset, void *data, size_t size) { 83 if (page->mOffset >= 0 && offset >= page->mOffset 84 && offset < page->mOffset + (off_t)page->mLength) { 92 page->mOffset = offset - offset % mPageSize; 108 if (offset >= page->mOffset + (off_t)page->mLength) { 131 size_t copy = page->mLength - (offset - page->mOffset); 135 memcpy(data,(const char *)page->mData + (offset - page->mOffset), 145 offset += copy;
|
/dalvik/dx/src/com/android/dx/util/ |
ByteArray.java | 102 * Returns the offset into the given array represented by the given 103 * offset into this instance. 105 * @param offset offset into this instance 107 * @return corresponding offset into {@code bytes} 111 public int underlyingOffset(int offset, byte[] bytes) { 116 return start + offset; 120 * Gets the {@code signed byte} value at a particular offset. 122 * @param off {@code >= 0, < size();} offset to fetch 123 * @return {@code signed byte} at that offset [all...] |
/dalvik/libcore/crypto/src/main/java/javax/crypto/spec/ |
DESKeySpec.java | 109 * specified key data starting at <code>offset</code>. 113 * @param offset 114 * the offset to start at. 116 * if the length of the specified key data starting at offset is 119 public DESKeySpec(byte[] key, int offset) 124 if (key.length - offset < DES_KEY_LEN) { 129 System.arraycopy(key, offset, this.key, 0, DES_KEY_LEN); 144 * Returns whether the specified key data starting at <code>offset</code> is 149 * @param offset 150 * the offset to start checking at [all...] |
/dalvik/libcore/luni/src/main/java/java/io/ |
OutputStreamWriter.java | 204 * Writes {@code count} characters starting at {@code offset} in {@code buf} 211 * @param offset 216 * if {@code offset < 0} or {@code count < 0}, or if 217 * {@code offset + count} is greater than the size of 224 public void write(char[] buf, int offset, int count) throws IOException { 231 // used (offset | count) < 0 instead of (offset < 0) || (count < 0) 236 if ((offset | count) < 0 || offset > buf.length - count) { 240 CharBuffer chars = CharBuffer.wrap(buf, offset, count) [all...] |
/external/bluetooth/bluez/audio/ |
gstsbcparse.c | 65 guint size, offset = 0; local 83 while (offset < size) { 87 consumed = sbc_parse(&parse->new_sbc, data + offset, 88 size - offset); 112 memcpy(GST_BUFFER_DATA(output), data + offset, consumed); 118 offset += consumed; 121 if (offset < size) 123 offset, size - offset);
|
/external/bluetooth/glib/tests/ |
unicode-normalize.c | 15 int offset = 0; local 20 if (sscanf (input + offset, "%x", &ch) != 1) 28 while (input[offset] && input[offset] != ' ') 29 offset++; 30 while (input[offset] && input[offset] == ' ') 31 offset++; 33 while (input[offset]);
|
/external/proguard/src/proguard/preverify/ |
CodePreverifier.java | 112 for (int offset = 0; offset < codeAttribute.u4codeLength; offset++) 115 if (partialEvaluator.isTraced(offset) && 116 partialEvaluator.isBranchOrExceptionTarget(offset)) 123 offset, 124 partialEvaluator.getVariablesBefore(offset)); 131 offset, 132 partialEvaluator.getStackBefore(offset)); 134 stackMapFrameList.add(new FullFrame(offset, 561 int offset = fullFrame.u2offsetDelta; local [all...] |
/external/skia/include/core/ |
SkString.h | 91 void insert(size_t offset, const SkString& src) { this->insert(offset, src.c_str(), src.size()); } 92 void insert(size_t offset, const char text[]); 93 void insert(size_t offset, const char text[], size_t len); 94 void insertUnichar(size_t offset, SkUnichar); 95 void insertS32(size_t offset, int32_t value); 96 void insertHex(size_t offset, uint32_t value, int minDigits = 0); 97 void insertScalar(size_t offset, SkScalar); 119 void remove(size_t offset, size_t length);
|
/external/webkit/WebCore/platform/graphics/win/ |
FontPlatformDataCGWin.cpp | 74 UINT offset = 6; local 76 if (bufferSize < offset + 12) 79 USHORT platformID = readBigEndianWord(buffer + offset); 80 USHORT encodingID = readBigEndianWord(buffer + offset + 2); 81 USHORT languageID = readBigEndianWord(buffer + offset + 4); 82 USHORT nameID = readBigEndianWord(buffer + offset + 6); 83 USHORT length = readBigEndianWord(buffer + offset + 8); 84 USHORT nameOffset = readBigEndianWord(buffer + offset + 10); 102 offset += 12;
|
/frameworks/base/awt/java/awt/geom/ |
CubicCurve2D.java | 647 * @param offset 648 * the offset of the data to read within the array. 650 * if {@code coords.length} < offset + 8. 654 public void setCurve(double[] coords, int offset) { 655 setCurve(coords[offset + 0], coords[offset + 1], coords[offset + 2], coords[offset + 3], 656 coords[offset + 4], coords[offset + 5], coords[offset + 6], coords[offset + 7]) [all...] |
/frameworks/base/services/java/com/android/server/status/ |
StatusBarView.java | 111 int offset = getViewOffset(mStatusIcons); local 112 if (oldDateRight < offset) { 115 newDateRight = getDateSize(mStatusIcons, oldDateRight, offset); 147 int offset = 0; local 149 offset += v.getLeft(); 157 return offset; 160 private int getDateSize(ViewGroup g, int w, int offset) { 164 int l = v.getLeft() + offset; 165 int r = v.getRight() + offset;
|
/packages/apps/Camera/src/com/android/camera/ui/ |
Texture.java | 162 public void getTextureCoords(float coord[], int offset) { 166 coord[offset++] = 0; 167 coord[offset++] = 0; 168 coord[offset++] = w; 169 coord[offset++] = 0; 170 coord[offset++] = 0; 171 coord[offset++] = h; 172 coord[offset++] = w; 173 coord[offset] = h;
|