HomeSort by relevance Sort by last modified time
    Searched refs:offset (Results 651 - 675 of 2990) sorted by null

<<21222324252627282930>>

  /external/webkit/WebCore/html/canvas/
WebGLBuffer.cpp 106 bool WebGLBuffer::associateBufferSubData(unsigned long target, long offset, WebGLArray* array)
115 if (offset < 0)
118 unsigned long uoffset = static_cast<unsigned long>(offset);
122 memcpy(static_cast<unsigned char*>(m_elementArrayBuffer->data()) + offset, array->baseAddress(), array->byteLength());
127 return array->byteLength() + offset <= m_arrayBufferByteLength;
  /external/webkit/WebCore/platform/graphics/
FloatQuad.h 97 void move(const FloatSize& offset)
99 m_p1 += offset;
100 m_p2 += offset;
101 m_p3 += offset;
102 m_p4 += offset;
  /frameworks/base/awt/java/awt/font/
TextLayout.java 455 * @param offset
456 * an offset in the TextLayout.
460 public Shape[] getCaretShapes(int offset) {
461 return getCaretShapes(offset, null, TextLayout.DEFAULT_CARET_POLICY);
469 * @param offset
470 * an offset in the TextLayout.
476 public Shape[] getCaretShapes(int offset, Rectangle2D bounds) {
477 return getCaretShapes(offset, bounds, TextLayout.DEFAULT_CARET_POLICY);
484 * @param offset
485 * an offset in the TextLayout
    [all...]
  /frameworks/base/core/java/android/speech/srec/
UlawEncoderInputStream.java 116 * @param offset offset of start of 16 bit pcm data.
120 public static int maxAbsPcm(byte[] pcmBuf, int offset, int length) {
123 int pcm = (0xff & pcmBuf[offset++]) + (pcmBuf[offset++] << 8);
141 public int read(byte[] buf, int offset, int length) throws IOException {
153 encode(mBuf, 0, buf, offset, n, mMax);
  /frameworks/base/media/java/android/drm/mobile1/
DrmRawContent.java 254 * The offset of this DRM content to be reset.
256 private int offset; field in class:DrmRawContent.DrmInputStream
275 offset = 0;
293 int availableLen = len - offset;
335 len = nativeReadContent(b, off, len, offset);
342 offset += len;
420 * @param bufOff the offset of the buffer to start to save data.
422 * @param mediaOff the offset of the media content data to start to read.
  /frameworks/base/media/libstagefright/
MediaBuffer.cpp 110 void MediaBuffer::set_range(size_t offset, size_t length) {
111 if (offset + length > mSize) {
112 LOGE("offset = %d, length = %d, mSize = %d", offset, length, mSize);
114 CHECK(offset + length <= mSize);
116 mRangeOffset = offset;
  /dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/
CollationElementIteratorTest.java 58 int offset = iterator.getOffset(); local
60 assertEquals(offsets[i++], offset);
61 while (offset != text.length()) {
63 offset = iterator.getOffset();
64 assertEquals(offsets[i++], offset);
85 int offset = iterator.getOffset(); local
86 assertEquals(text.length(), offset); local
119 int offset = iterator.getOffset(); local
120 assertEquals(text.length(), offset); local
148 int offset = iterator.getOffset() local
149 assertEquals(text.length(), offset); local
    [all...]
  /dalvik/vm/compiler/codegen/arm/
ArchUtility.c 152 (int) baseAddr + lir->generic.offset + 4 +
159 ((((intptr_t) baseAddr + lir->generic.offset + 4) &
240 int offset = lir->generic.offset; local
248 LOGD("-------- end of chaining cells (0x%04x)\n", offset);
278 LOGD("-------- entry offset: 0x%04x\n", dest);
281 LOGD("-------- dalvik offset: 0x%04x @ %s\n", dest,
285 LOGD("-------- exit offset: 0x%04x\n", dest);
288 LOGD("%p (%04x): .align4\n", baseAddr + offset, offset);
    [all...]
  /external/proguard/src/proguard/optimize/
TailRecursionSimplifier.java 145 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction)
148 codeAttributeComposer.appendInstruction(offset, instruction.shrink());
152 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
168 offset + constantInstruction.length(offset);
183 codeAttribute.exceptionsAccept(clazz, method, offset, this);
190 clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"], inlining "+constantInstruction.toString(offset));
194 codeAttributeComposer.appendLabel(offset);
199 int gotoOffset = offset + 1;
211 extraTailRecursionVisitor.visitConstantInstruction(clazz, method, codeAttribute, offset, constantInstruction)
    [all...]
  /external/tcpdump/
print-stp.c 202 u_int16_t offset; local
254 offset = MST_BPDU_MSTI_OFFSET;
256 msti = EXTRACT_16BITS(ptr + offset +
261 msti, bittok2str(stp_bpdu_flag_values, "none", ptr[offset]),
263 RSTP_EXTRACT_PORT_ROLE(ptr[offset])));
265 stp_print_bridge_id(ptr + offset +
267 EXTRACT_32BITS(ptr + offset +
270 ptr[offset + MST_BPDU_MSTI_BRIDGE_PRIO_OFFSET] >> 4,
271 ptr[offset + MST_BPDU_MSTI_PORT_PRIO_OFFSET] >> 4,
272 ptr[offset + MST_BPDU_MSTI_REMAIN_HOPS_OFFSET])
    [all...]
  /external/webkit/WebCore/bindings/v8/custom/
V8WebGLArrayCustom.h 67 // WebGL<T>Array(buf, offset, length)
69 // "buf", starting at the specified offset, for the given
81 int offset = 0; local
83 offset = toInt32(args[1], ok);
87 int length = buf->byteLength() - offset;
94 return throwError("Length / offset out of range");
96 RefPtr<ArrayClass> array = ArrayClass::create(buf, offset, length);
168 // void set(in sequence<long> array, [Optional] in unsigned long offset);
170 uint32_t offset = 0; local
172 offset = toInt32(args[1])
205 uint32_t offset = 0; local
    [all...]
  /hardware/msm7k/libgralloc-qsd8k/
mapper.cpp 40 // we need this for now because pmem cannot mmap at an offset
61 size += hnd->offset;
71 hnd->base = intptr_t(mappedAddress) + hnd->offset;
73 // hnd->fd, hnd->offset, hnd->size, mappedAddress);
87 base = (void*)(intptr_t(base) - hnd->offset);
88 size += hnd->offset;
278 region.offset = hnd->offset;
282 hnd, hnd->offset, hnd->size);
324 size_t offset = va_arg(args, size_t) local
    [all...]
  /packages/apps/Gallery/src/com/android/camera/gallery/
ImageListUber.java 121 int offset = (int) (v & 0xFFFFFFFF); local
123 if (skipCount + offset > index) {
127 skipCount += offset;
128 mSkipCounts[which] += offset;
179 int offset = (int) (v & 0xFFFFFFFF); local
180 if (skipCount + offset > index) {
184 skipCount += offset;
219 int offset = (int) (value & 0xFFFFFFFF); local
222 if (listOffset < offset) {
225 listOffset -= offset;
    [all...]
  /bionic/libc/stdio/
fseek.c 45 * Seek the given file to the given offset.
49 fseeko(FILE *fp, off_t offset, int whence)
77 * In order to seek relative to the current stream offset,
78 * we have to first find the current stream offset a la
81 __sflush(fp); /* may adjust seek offset on append stream */
96 offset += curoff;
140 target = offset;
144 target = st.st_size + offset;
163 * offset backwards by this count so that it represents the
164 * file offset for the first byte in the current input buffer
    [all...]
  /dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/
SocketChannelImpl.java 404 public long read(ByteBuffer[] targets, int offset, int length)
406 if (!isIndexValid(targets, offset, length)) {
411 int totalCount = calculateByteBufferArray(targets, offset, length);
423 int index = offset;
435 private boolean isIndexValid(ByteBuffer[] targets, int offset, int length) {
436 return (length >= 0) && (offset >= 0)
437 && ((long) length + (long) offset <= targets.length);
453 int offset = target.position(); local
459 readCount = networkSystem.readDirect(fd, address + offset,
466 offset += target.arrayOffset()
    [all...]
  /external/emma/core/java12/com/vladium/jcd/cls/
AttributeCollection.java 32 public final Attribute_info get (final int offset)
34 return (Attribute_info) m_attributes.get (offset);
150 public Attribute_info set (final int offset, final Attribute_info attribute)
152 final Attribute_info result = (Attribute_info) m_attributes.set (offset, attribute);
164 m_innerClassesAttributeOffset = offset;
175 public Attribute_info remove (final int offset)
177 final Attribute_info result = (Attribute_info) m_attributes.remove (offset);
  /external/grub/stage2/
fsys_ffs.c 101 int bnum, offset, bsize; local
113 offset = ((file_block - NDADDR) % NINDIR (SUPERBLOCK));
116 if (offset + MAPBUF_LEN > SUPERBLOCK->fs_bsize)
117 offset = (SUPERBLOCK->fs_bsize - MAPBUF_LEN) / sizeof (int);
122 offset = 0;
125 if (! devread (bnum, offset * sizeof (int), bsize, (char *) MAPBUF))
136 mapblock_offset = offset;
fsys_ufs2.c 125 int bnum, offset, bsize; local
138 offset = ((file_block - NDADDR) % NINDIR (SUPERBLOCK));
141 if (offset + MAPBUF_LEN > SUPERBLOCK->fs_bsize)
142 offset = (SUPERBLOCK->fs_bsize - MAPBUF_LEN) / sizeof (int);
147 offset = 0;
150 if (! devread (bnum, offset * sizeof (int), bsize, (char *) MAPBUF))
161 mapblock_offset = offset;
  /external/proguard/src/proguard/optimize/info/
SideEffectInstructionChecker.java 59 public boolean hasSideEffects(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction)
63 instruction.accept(clazz, method, codeAttribute, offset, this);
71 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {}
74 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction)
105 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction)
118 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
137 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
  /external/skia/src/animator/
SkBase64.cpp 172 for (int offset = 0; offset < 6; offset++) {
173 size_t length = 256 - offset;
174 size_t encodeLength = Encode(all + offset, length, NULL);
176 Encode(all + offset, length, src);
181 SkASSERT(strcmp((const char*) (all + offset), tryMe.fData) == 0);
  /sdk/emulator/qtools/
read_trace.cpp 77 uint32_t offset = addr - sym->addr - sym->region->base_addr; local
82 offset = addr - vm_sym->addr - vm_sym->region->base_addr;
85 if (strcmp(sym->name, "(unknown)") == 0 || offset > kOffsetThreshold) {
89 printf(" %2d: %08x - %08x base: %08x offset: %u nsyms: %4d flags: 0x%x %s\n",
117 sprintf(buf, "%s+%02x: %s", vm_name, offset, sym->name);
119 sprintf(buf, "%s+%02x", sym->name, offset);
155 offset += bytes;
159 assert(offset < kOffsetThreshold);
  /external/webkit/JavaScriptCore/runtime/
JSObject.h 143 size_t offset = m_structure->get(propertyName); local
144 return offset != WTF::notFound ? getDirectOffset(offset) : JSValue();
149 size_t offset = m_structure->get(propertyName); local
150 return offset != WTF::notFound ? locationForOffset(offset) : 0;
156 size_t offset = m_structure->get(propertyName, attributes, specificFunction); local
157 return offset != WTF::notFound ? locationForOffset(offset) : 0;
183 JSValue getDirectOffset(size_t offset) const { return JSValue::decode(propertyStorage()[offset]);
437 size_t offset = m_structure->get(propertyName, currentAttributes, currentSpecificFunction); local
462 size_t offset; local
560 size_t offset = m_structure->addPropertyWithoutTransition(propertyName, attributes, 0); local
569 size_t offset = m_structure->addPropertyWithoutTransition(propertyName, attributes, value); local
    [all...]
  /dalvik/libcore/luni/src/main/java/java/util/
AbstractList.java 167 private int offset; field in class:AbstractList.SubAbstractList
182 SubAbstractList<E> list, int offset, int length) {
186 start = offset;
245 offset = start;
253 fullList.add(location + offset, object);
268 boolean result = fullList.addAll(location + offset,
284 boolean result = fullList.addAll(offset + size, collection);
298 return fullList.get(location + offset);
315 .listIterator(location + offset), this, offset,
    [all...]
  /dalvik/vm/
UtfString.c 60 dvmFindFieldOffset(gDvm.classJavaLangString, "offset", "I");
75 LOGE("InlineNative: String.value offset = %d, expected %d\n",
80 LOGE("InlineNative: String.count offset = %d, expected %d\n",
85 LOGE("InlineNative: String.offset offset = %d, expected %d\n",
90 LOGE("InlineNative: String.hashCode offset = %d, expected %d\n",
242 int offset, len; local
245 offset = dvmGetFieldInt((Object*) strObj, STRING_FIELDOFF_OFFSET);
247 return dvmComputeUtf16Hash((u2*) chars->contents + offset, len);
318 /* leave offset set to zero *
391 int len, byteLen, offset; local
436 int len, offset; local
477 int offset; local
    [all...]
  /external/libffi/src/
closures.c 350 storing an offset to the corresponding executable portion at the
353 dlmmap_locked (void *start, size_t length, int prot, int flags, off_t offset)
366 offset = execsize;
368 if (ftruncate (execfd, offset + length))
375 flags, execfd, offset);
378 if (!offset)
383 ftruncate (execfd, offset);
386 else if (!offset
390 start = mmap (start, length, prot, flags, execfd, offset);
395 ftruncate (execfd, offset);
    [all...]

Completed in 733 milliseconds

<<21222324252627282930>>