HomeSort by relevance Sort by last modified time
    Searched refs:offset (Results 201 - 225 of 5384) sorted by null

1 2 3 4 5 6 7 891011>>

  /libcore/luni/src/main/java/java/io/
Writer.java 98 * Writes {@code count} characters starting at {@code offset} in {@code buf}
103 * @param offset
108 * if {@code offset < 0} or {@code count < 0}, or if {@code
109 * offset + count} is greater than the size of {@code buf}.
113 public abstract void write(char[] buf, int offset, int count) throws IOException;
146 * offset} to the target.
150 * @param offset
157 * if {@code offset < 0} or {@code count < 0}, or if {@code
158 * offset + count} is greater than the length of {@code str}.
160 public void write(String str, int offset, int count) throws IOException
    [all...]
  /libcore/luni/src/main/java/java/nio/
DirectByteBuffer.java 23 // This is the offset into {@code Buffer.block} at which this buffer logically starts.
25 protected final int offset; field in class:DirectByteBuffer
27 protected DirectByteBuffer(MemoryBlock block, int capacity, int offset) {
31 if (baseSize >= 0 && (capacity + offset) > baseSize) {
32 throw new IllegalArgumentException("capacity + offset > baseSize");
35 this.offset = offset;
36 this.effectiveDirectAddress = block.toInt() + offset;
42 this.block.peekByteArray(offset + position, dst, dstOffset, byteCount);
49 this.block.peekCharArray(offset + position, dst, dstOffset, charCount, order.needsSwap)
    [all...]
  /libcore/luni/src/main/java/java/security/
MessageDigestSpi.java 56 * @param offset
61 * if {@code offset} or {@code len} are not valid in respect to
64 protected abstract void engineUpdate(byte[] input, int offset, int len);
79 int offset = input.arrayOffset(); local
82 engineUpdate(tmp, offset+position, limit - position);
108 * @param offset
116 * if {@code offset} or {@code len} are not valid in respect to
120 protected int engineDigest(byte[] buf, int offset, int len) throws DigestException {
125 if (offset < 0) {
127 throw new DigestException("offset < 0")
    [all...]
  /libcore/luni/src/main/java/javax/crypto/spec/
DESedeKeySpec.java 60 * <code>offset</code>.
64 * @param offset
65 * the offset to start at.
67 * if the length of the key data starting at offset is less than
72 public DESedeKeySpec(byte[] key, int offset) throws InvalidKeyException {
76 if (key.length - offset < DES_EDE_KEY_LEN) {
80 System.arraycopy(key, offset, this.key, 0, DES_EDE_KEY_LEN);
95 * Returns whether the specified key data starting at <code>offset</code> is
100 * @param offset
101 * the offset to start checking at
    [all...]
  /system/core/libcutils/
open_memstream.c 73 size_t offset; /* current write offset */ member in struct:__anon36504
81 * current offset. We also have to take into account the extra '\0'
88 DBUG(("+++ ensureCap off=%d size=%d\n", stream->offset, writeSize));
90 size_t neededSize = stream->offset + writeSize + 1;
131 if (stream->eof < stream->offset) {
133 stream->eof, stream->offset-1));
135 stream->offset - stream->eof);
139 memcpy(*stream->bufp + stream->offset, buf, size);
140 stream->offset += size
    [all...]
  /external/elfutils/backends/
ppc_corenote.c 48 { .offset = at * BITS/8, .regno = dwreg, .count = n, .bits = BITS }
69 { .offset = 0, .regno = 32, .count = 32, .bits = 64 }, /* f0-f31 */
70 { .offset = 32 * 8 + 4, .regno = 65, .count = 1, .bits = 32 } /* fpscr */
77 { .offset = 0, .regno = 1124, .count = 32, .bits = 128 },
79 { .offset = 32 * 16, .regno = 67, .count = 1, .bits = 32, .pad = 12 },
81 { .offset = 33 * 16, .regno = 356, .count = 1, .bits = 32, .pad = 12 }
87 { .offset = 0, .regno = ???, .count = 32, .bits = 32 },
89 { .offset = 32 * 4, .regno = ???, .count = 1, .bits = 64 }, */
91 { .offset = 34 * 4, .regno = 612, .count = 1, .bits = 32 }
122 .offset = offsetof (struct EBLHOOK(prstatus), pr_reg[32]),
    [all...]
  /external/elfutils/libdw/
dwarf_ranges.c 60 dwarf_ranges (Dwarf_Die *die, ptrdiff_t offset, Dwarf_Addr *basep,
66 if (offset == 0
70 /* A offset into .debug_ranges will never be 1, it must be at least a
75 if (offset == 1)
87 if (offset == 0)
95 /* Must have the form data4 or data8 which act as an offset. */
100 offset = start_offset;
101 assert ((Dwarf_Word) offset == start_offset);
125 else if (offset < 0 || (size_t) offset >= d->d_size
    [all...]
  /external/javassist/src/main/javassist/bytecode/
StackMap.java 144 int offset = ByteArray.readU16bit(info, pos); local
146 pos = locals(pos + 4, offset, numLoc);
148 pos = stack(pos + 2, offset, numStack);
156 public int locals(int pos, int offset, int num) {
157 return typeInfoArray(pos, offset, num, true);
164 public int stack(int pos, int offset, int num) {
165 return typeInfoArray(pos, offset, num, false);
176 public int typeInfoArray(int pos, int offset, int num, boolean isLocals) {
220 public void uninitialized(int pos, int offset) {}
242 public int locals(int pos, int offset, int num)
    [all...]
  /external/webkit/Source/WebCore/html/canvas/
ArrayBufferView.h 81 unsigned* offset, unsigned* length);
102 // Input offset is in number of elements from this array's view;
103 // output offset is in number of bytes from the underlying buffer's view.
107 unsigned *offset,
111 if (*offset > maxOffset) {
112 *offset = buffer->byteLength();
116 *offset = arrayByteOffset + *offset * sizeof(T);
117 *offset = std::min(buffer->byteLength(), *offset);
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/
IccUtils.java 45 bcdToString(byte[] data, int offset, int length) {
48 for (int i = offset ; i < offset + length ; i++) {
70 cdmaBcdToString(byte[] data, int offset, int length) {
74 for (int i = offset; count < length; i++) {
169 * remaining seven bits are an offset value added to the
178 adnStringFieldToString(byte[] data, int offset, int length) {
183 if (data[offset] == (byte) 0x80) {
188 ret = new String(data, offset + 1, ucslen * 2, "utf-16be");
210 if (length >= 3 && data[offset] == (byte) 0x81)
491 int offset = run - runIndex - 1; local
    [all...]
  /bionic/libc/unistd/
mmap.c 35 void* mmap(void *addr, size_t size, int prot, int flags, int fd, long offset)
39 if (offset & ((1UL << MMAP2_SHIFT)-1)) {
44 ret = __mmap2(addr, size, prot, flags, fd, (size_t)offset >> MMAP2_SHIFT);
  /bootable/bootloader/legacy/include/boot/
flash.h 55 int flash_read_ext(ptentry *ptn, unsigned extra_per_page, unsigned offset,
57 #define flash_read(ptn, offset, data, bytes) flash_read_ext(ptn, 0, offset, data, bytes)
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
WriterTest.java 105 private int offset; field in class:WriterTest.MockWriter
110 offset = 0;
122 public void write(char[] buffer, int offset, int count)
127 if (offset < 0 || count < 0 || offset >= buffer.length) {
130 count = Math.min(count, buffer.length - offset);
131 count = Math.min(count, this.length - this.offset);
133 contents[this.offset + i] = buffer[offset + i];
135 this.offset += count
    [all...]
  /external/elfutils/libdwfl/
dwfl_validate_address.c 1 /* Validate an address and the relocatability of an offset from it.
53 dwfl_validate_address (Dwfl *dwfl, Dwarf_Addr address, Dwarf_Sword offset)
64 if (offset != 0)
67 relative = address + offset;
  /external/emma/core/java12/com/vladium/jcd/cls/
IAttributeCollection.java 30 * Returns the attribute descriptor at a given offset.
32 * @param offset attribute offset [must be in [0, size()) range; input not checked]
35 * @throws IndexOutOfBoundsException if 'offset' is outside of valid range
37 Attribute_info get (int offset);
74 * Replaces the Attribute_info descriptor at a given offset. No duplicate
79 * @param offset attribute offset [must be in [0, size()) range; input not checked]
81 * @return previous attribute descriptor at this offset [never null]
83 * @throws IndexOutOfBoundsException if 'offset' is outside of valid rang
    [all...]
  /external/oprofile/daemon/liblegacy/
opd_mapping.h 32 /** mapping offset */
33 unsigned long offset; member in struct:opd_map
65 * @param offset file offset of mapping
72 unsigned long start, unsigned long offset, unsigned long end);
97 * opd_map_offset - return offset of sample against map
101 * Returns the offset of the EIP value @eip into
102 * the map @map, which is the same as the file offset
108 return (eip - map->start) + map->offset;
  /external/proguard/src/proguard/classfile/instruction/
SwitchInstruction.java 71 public String toString(int offset)
73 return "["+offset+"] "+toString()+" (target="+(offset+defaultOffset)+")";
  /external/proguard/src/proguard/classfile/instruction/visitor/
MultiInstructionVisitor.java 84 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction)
88 instructionVisitors[index].visitSimpleInstruction(clazz, method, codeAttribute, offset, simpleInstruction);
92 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction)
96 instructionVisitors[index].visitVariableInstruction(clazz, method, codeAttribute, offset, variableInstruction);
100 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
104 instructionVisitors[index].visitConstantInstruction(clazz, method, codeAttribute, offset, constantInstruction);
108 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
112 instructionVisitors[index].visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction);
116 public void visitTableSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TableSwitchInstruction tableSwitchInstruction)
120 instructionVisitors[index].visitTableSwitchInstruction(clazz, method, codeAttribute, offset, tableSwitchInstruction)
    [all...]
  /external/proguard/src/proguard/optimize/evaluation/
TracedBranchUnit.java 40 int offset,
47 super.branch(clazz, codeAttribute, offset, branchTarget);
52 super.branchConditionally(clazz, codeAttribute, offset, branchTarget, conditional);
  /external/skia/src/animator/
SkTextOnPath.cpp 20 SK_MEMBER(offset, Float),
29 SkTextOnPath::SkTextOnPath() : offset(0), path(NULL), text(NULL) {
37 path->getPath(), offset, 0, *maker.fPaint);
  /external/webkit/Source/WebCore/platform/graphics/android/layers/
IFrameLayerAndroid.cpp 17 // As we are an iframe, accumulate the offset from the parent with
26 SkPoint offset = parentOffset + getPosition(); local
27 m_iframeOffset = IntPoint(offset.fX, offset.fY);
  /external/webkit/Source/WebCore/platform/graphics/freetype/
GlyphPageTreeNodeFreeType.cpp 41 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData)
56 setGlyphDataForIndex(offset + i, 0, 0);
58 setGlyphDataForIndex(offset + i, glyph, fontData);
  /external/webkit/Source/WebCore/platform/graphics/haiku/
GlyphPageTreeNodeHaiku.cpp 41 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* characterBuffer, unsigned bufferLength, const SimpleFontData* fontData)
57 setGlyphDataForIndex(offset + i, 0, 0);
60 setGlyphDataForIndex(offset + i, character, fontData);
  /external/webkit/Source/WebCore/platform/graphics/win/
GlyphPageTreeNodeCGWin.cpp 37 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData)
50 setGlyphDataForIndex(offset + i, 0, 0);
52 setGlyphDataForIndex(offset + i, glyph, fontData);
  /external/webkit/Tools/DumpRenderTree/mac/
DumpRenderTreeDraggingInfo.h 33 NSSize offset; variable
39 - (id)initWithImage:(NSImage *)image offset:(NSSize)offset pasteboard:(NSPasteboard *)pasteboard source:(id)source;

Completed in 1705 milliseconds

1 2 3 4 5 6 7 891011>>