Searched defs:offset (Results 1 - 25 of 85) sorted by relevance

1234

/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
H A DIShellOutputReceiver.java27 * @param offset The offset at which the new data starts.
30 public void addOutput(byte[] data, int offset, int length); argument
H A DCollectingOutputReceiver.java61 public void addOutput(byte[] data, int offset, int length) { argument
65 s = new String(data, offset, length, "UTF-8"); //$NON-NLS-1$
68 s = new String(data, offset,length);
H A DNullOutputReceiver.java35 public void addOutput(byte[] data, int offset, int length) { argument
H A DMultiLineReceiver.java51 public final void addOutput(byte[] data, int offset, int length) { argument
55 s = new String(data, offset, length, "UTF-8"); //$NON-NLS-1$
58 s = new String(data, offset,length);
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
H A DTraceFileReader.java37 * @param offset offset to start reading from
38 * @return protobuf message at given offset
42 public GLMessage getMessageAtOffset(RandomAccessFile file, long offset) throws IOException { argument
46 if (offset != -1) {
47 file.seek(offset);
/sdk/chimpchat/src/com/android/chimpchat/adb/
H A DCommandOutputCapture.java33 public void addOutput(byte[] data, int offset, int length) { argument
34 String message = new String(data, offset, length);
H A DLoggingOutputReceiver.java35 public void addOutput(byte[] data, int offset, int length) { argument
36 String message = new String(data, offset, length);
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/utils/
H A DArrayHelper.java28 * @param offset the offset in the array where to put the swapped value.
29 * Array length must be at least offset + 4
31 public static void swap32bitsToArray(int value, byte[] dest, int offset) { argument
32 dest[offset] = (byte)(value & 0x000000FF);
33 dest[offset + 1] = (byte)((value & 0x0000FF00) >> 8);
34 dest[offset + 2] = (byte)((value & 0x00FF0000) >> 16);
35 dest[offset + 3] = (byte)((value & 0xFF000000) >> 24);
41 * @param offset the offset i
44 swap32bitFromArray(byte[] value, int offset) argument
62 swapU16bitFromArray(byte[] value, int offset) argument
77 swap64bitFromArray(byte[] value, int offset) argument
[all...]
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
H A DGLESbuffer.cpp38 bool GLESbuffer::setSubBuffer(GLint offset,GLuint size,const GLvoid* data) { argument
39 if(offset + size > m_size) return false;
40 memcpy(m_data+offset,data,size);
41 m_conversionManager.addRange(Range(offset,size));
/sdk/emulator/opengl/shared/OpenglCodecCommon/
H A DglUtils.h77 template <class T> void shiftIndices(T *indices, int count, int offset) { argument
80 *ptr += offset;
86 template <class T> void shiftIndices(T *src, T *dst, int count, int offset) argument
89 *dst = *src + offset;
/sdk/emulator/qtools/
H A Ddmtrace.h13 uint16_t offset; member in struct:DmTrace::Header
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/
H A DDefaultPosition.java22 * A simple offset-based position *
38 /** The character offset */
46 * @param offset the offset, or -1 if unknown
48 public DefaultPosition(int line, int column, int offset) { argument
51 mOffset = offset;
/sdk/common/src/com/android/utils/
H A DSdkUtils.java48 * Returns true if the given sequence ends at the given offset with the given suffix (case
52 * @param endOffset the offset at which the sequence is considered to end
83 * Returns true if the given string starts at the given offset with the
87 * @param offset the offset in the string to start looking
89 * @return true if the string case-insensitively starts at the given offset
92 public static boolean startsWith(String string, int offset, String prefix) { argument
93 return string.regionMatches(true /* ignoreCase */, offset, prefix, 0, prefix.length());
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
H A DAndroidXmlCharacterMatcher.java46 public IRegion match(IDocument doc, int offset) { argument
47 if (offset < 0 || offset >= doc.getLength()) {
51 IRegion match = findOppositeTag(doc, offset);
56 return super.match(doc, offset);
59 private IRegion findOppositeTag(IDocument document, int offset) { argument
65 IStructuredDocumentRegion region = doc.getRegionAtCharacterOffset(offset);
70 ITextRegion subRegion = region.getRegionAtCharacterOffset(offset);
86 (subRegion.getStart() + region.getStartOffset() == offset)) {
90 offset
145 findTagBackwards(IStructuredDocument doc, int offset, int targetTagBalance) argument
[all...]
H A DAndroidXmlAutoEditStrategy.java97 final int offset = c.offset;
98 int lineStart = findLineStart(doc, offset);
99 int textStart = findTextStart(doc, lineStart, offset);
103 Pair<Integer,Integer> balance = getBalance(doc, textStart, offset);
122 ITextRegion left = getRegionAt(doc, offset, true /*biasLeft*/);
133 ITextRegion right = getRegionAt(doc, offset, false /*biasLeft*/);
138 offset, targetBalance);
162 ITextRegion left = getRegionAt(doc, offset, true /*biasLeft*/);
163 ITextRegion right = getRegionAt(doc, offset, fals
309 findLineStart(IDocument document, int offset) argument
375 getRegionAt(IStructuredDocument doc, int offset, boolean biasLeft) argument
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
H A DAndroidXmlFormatter.java66 protected void formatMaster(IFormattingContext context, IDocument document, int offset, argument
69 final int delta= offset - document.getLineInformationOfOffset(offset).getOffset();
70 offset -= delta;
78 new TypedPosition(offset, length, IXMLPartitions.XML_DEFAULT));
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
H A DManifestContentAssist.java51 protected void computeAttributeValues(List<ICompletionProposal> proposals, int offset, argument
81 addMatchingProposals(proposals, choices.toArray(), offset, node, wordPrefix,
85 super.computeAttributeValues(proposals, offset, parentTagName, attributeName, node,
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
H A DBufferSubDataTransform.java36 public BufferSubDataTransform(IGLPropertyAccessor accessor, int offset, byte[] data) { argument
38 mOffset = offset;
55 // update with the sub buffer data at specified offset
/sdk/lint/cli/src/com/android/tools/lint/
H A DWarning.java43 public int offset = -1; field in class:Warning
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/
H A DSocket.java111 * @param offset The start position in data from where to get bytes.
115 public void send(byte[] data, int offset, int len) throws IOException { argument
121 socket.getOutputStream().write(data, offset, len);
/sdk/dumpeventlog/src/com/android/dumpeventlog/
H A DDumpEventLog.java50 public void newData(byte[] data, int offset, int length) { argument
52 mOutputStream.write(data, offset, length);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/
H A DAnimationContentAssist.java73 protected void computeAttributeValues(List<ICompletionProposal> proposals, int offset, argument
92 addMatchingProposals(proposals, interpolators.toArray(), offset, node, wordPrefix,
98 super.computeAttributeValues(proposals, offset, parentTagName, attributeName, node,
156 addMatchingProposals(proposals, pairs.toArray(), offset, node, wordPrefix,
163 super.computeAttributeValues(proposals, offset, parentTagName, attributeName, node,
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/
H A DValuesContentAssist.java73 protected void computeAttributeValues(List<ICompletionProposal> proposals, int offset, argument
76 super.computeAttributeValues(proposals, offset, parentTagName, attributeName, node,
89 offset - wordPrefix.length(), // replacementOffset
129 addMatchingProposals(proposals, sorted.toArray(), offset, node, wordPrefix,
139 protected void computeTextValues(List<ICompletionProposal> proposals, int offset, argument
142 super.computeTextValues(proposals, offset, parentNode, currentNode, uiParent,
194 int replaceLength = computeTextReplaceLength(currentNode, offset);
195 addMatchingProposals(proposals, values, offset, currentNode,
231 int replaceLength = computeTextReplaceLength(currentNode, offset);
232 addMatchingProposals(proposals, choices, offset, currentNod
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/
H A DSystraceTask.java69 public void addOutput(byte[] data, int offset, int length) { argument
76 mBuffer[mDataLength + i] = data[offset + i];
/sdk/monkeyrunner/src/com/android/monkeyrunner/controller/
H A DVariableFrame.java74 private static <E> E getNthElement(Set<E> set, int offset) { argument
77 if (current == offset) {

Completed in 1788 milliseconds

1234