Home
last modified time | relevance | path

Searched refs:off (Results 1 – 25 of 144) sorted by relevance

123456

/frameworks/native/opengl/tests/gl_jni/jni/
Dgl_code.cpp116 const unsigned int off = 0xffffffff; in create_texture() local
119 on, off, on, off, on, off, on, off, in create_texture()
120 off, on, off, on, off, on, off, on, in create_texture()
121 on, off, on, off, on, off, on, off, in create_texture()
122 off, on, off, on, off, on, off, on, in create_texture()
123 on, off, on, off, on, off, on, off, in create_texture()
124 off, on, off, on, off, on, off, on, in create_texture()
125 on, off, on, off, on, off, on, off, in create_texture()
126 off, on, off, on, off, on, off, on, in create_texture()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp208 const unsigned int off = 0xffffffff; in create_texture() local
211 on, off, on, off, on, off, on, off, in create_texture()
212 off, on, off, on, off, on, off, on, in create_texture()
213 on, off, on, off, on, off, on, off, in create_texture()
214 off, on, off, on, off, on, off, on, in create_texture()
215 on, off, on, off, on, off, on, off, in create_texture()
216 off, on, off, on, off, on, off, on, in create_texture()
217 on, off, on, off, on, off, on, off, in create_texture()
218 off, on, off, on, off, on, off, on, in create_texture()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp315 const unsigned int off = 0xffffffff; in create_texture() local
318 on, off, on, off, on, off, on, off, in create_texture()
319 off, on, off, on, off, on, off, on, in create_texture()
320 on, off, on, off, on, off, on, off, in create_texture()
321 off, on, off, on, off, on, off, on, in create_texture()
322 on, off, on, off, on, off, on, off, in create_texture()
323 off, on, off, on, off, on, off, on, in create_texture()
324 on, off, on, off, on, off, on, off, in create_texture()
325 off, on, off, on, off, on, off, on, in create_texture()
/frameworks/av/media/libstagefright/codecs/aacdec/
Dunpack_idx.cpp341 const Int off = pHuffCodebook->off; in unpack_idx() local
354 temp_spec -= off; in unpack_idx()
369 temp_spec -= off; in unpack_idx()
389 temp_spec -= off; in unpack_idx()
404 codeword_indx -= off; in unpack_idx()
432 const Int off = pHuffCodebook->off; in unpack_idx_sgn() local
444 temp_spec -= off; in unpack_idx_sgn()
470 temp_spec -= off; in unpack_idx_sgn()
500 temp_spec -= off; in unpack_idx_sgn()
524 codeword_indx -= off; in unpack_idx_sgn()
[all …]
/frameworks/base/core/java/android/text/
DAlteredCharSequence.java89 public char charAt(int off) { in charAt() argument
90 if (off >= mStart && off < mEnd) in charAt()
91 return mChars[off - mStart]; in charAt()
93 return mSource.charAt(off); in charAt()
105 public void getChars(int start, int end, char[] dest, int off) { in getChars() argument
106 TextUtils.getChars(mSource, start, end, dest, off); in getChars()
112 System.arraycopy(mChars, start - mStart, dest, off, end - start); in getChars()
DAutoText.java142 int off = mTrie[here + TRIE_OFF]; in lookup() local
143 int len = mText.charAt(off); in lookup()
145 return mText.substring(off + 1, off + 1 + len); in lookup()
185 char off; in init() local
188 off = ooff; in init()
190 off = (char) right.length(); in init()
195 add(src, off); in init()
212 private void add(String src, char off) { in add() argument
229 mTrie[mTrie[herep] + TRIE_OFF] = off; in add()
256 mTrie[mTrie[herep] + TRIE_OFF] = off; in add()
/frameworks/compile/mclinker/lib/LD/
DGNUArchiveReader.cpp104 size_t off) in setupNewArchive() argument
130 off += archiveMagicSize ; in setupNewArchive()
131 size_t symbolTableSize = parseMemberHeader(mapFile, off, &archiveMemberName, in setupNewArchive()
137 off+sizeof(GNUArchiveReader::ArchiveMemberHeader), symbolTableSize); in setupNewArchive()
138 off = off + sizeof(GNUArchiveReader::ArchiveMemberHeader) + symbolTableSize; in setupNewArchive()
146 if((off&1) != 0) in setupNewArchive()
147 ++off; in setupNewArchive()
149 size_t extendedSize = parseMemberHeader(mapFile, off, &archiveMemberName, in setupNewArchive()
154 off += sizeof(GNUArchiveReader::ArchiveMemberHeader); in setupNewArchive()
155 pFile += off; in setupNewArchive()
[all …]
/frameworks/rs/cpp/
DAllocation.cpp227 void Allocation::copy1DRangeFromUnchecked(uint32_t off, size_t count, const void *data, in copy1DRangeFromUnchecked() argument
234 if((off + count) > mCurrentCount) { in copy1DRangeFromUnchecked()
235 ALOGE("Overflow, Available count %zu, got %zu at offset %zu.", mCurrentCount, count, off); in copy1DRangeFromUnchecked()
243 rsAllocation1DData(mRS->mContext, getIDSafe(), off, mSelectedLOD, count, data, dataLen); in copy1DRangeFromUnchecked()
246 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const int32_t *d, size_t dataLen) { in copy1DRangeFrom() argument
248 copy1DRangeFromUnchecked(off, count, d, dataLen); in copy1DRangeFrom()
251 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const int16_t *d, size_t dataLen) { in copy1DRangeFrom() argument
253 copy1DRangeFromUnchecked(off, count, d, dataLen); in copy1DRangeFrom()
256 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const int8_t *d, size_t dataLen) { in copy1DRangeFrom() argument
258 copy1DRangeFromUnchecked(off, count, d, dataLen); in copy1DRangeFrom()
[all …]
DAllocation.h89 void copy1DRangeFromUnchecked(uint32_t off, size_t count, const void *data, size_t dataLen);
90 void copy1DRangeFrom(uint32_t off, size_t count, const int32_t* d, size_t dataLen);
91 void copy1DRangeFrom(uint32_t off, size_t count, const int16_t* d, size_t dataLen);
92 void copy1DRangeFrom(uint32_t off, size_t count, const int8_t* d, size_t dataLen);
93 void copy1DRangeFrom(uint32_t off, size_t count, const float* d, size_t dataLen);
94 void copy1DRangeFrom(uint32_t off, size_t count, const Allocation *data, uint32_t dataOff);
/frameworks/base/graphics/java/android/renderscript/
DAllocationAdapter.java53 public void subData1D(int off, int count, int[] d) { in subData1D() argument
54 super.copy1DRangeFrom(off, count, d); in subData1D()
59 public void subData1D(int off, int count, short[] d) { in subData1D() argument
60 super.copy1DRangeFrom(off, count, d); in subData1D()
65 public void subData1D(int off, int count, byte[] d) { in subData1D() argument
66 super.copy1DRangeFrom(off, count, d); in subData1D()
71 public void subData1D(int off, int count, float[] d) { in subData1D() argument
72 super.copy1DRangeFrom(off, count, d); in subData1D()
DAllocation.java620 private void data1DChecks(int off, int count, int len, int dataSize) { in data1DChecks() argument
622 if(off < 0) { in data1DChecks()
628 if((off + count) > mCurrentCount) { in data1DChecks()
630 ", got " + count + " at offset " + off + "."); in data1DChecks()
660 public void copy1DRangeFromUnchecked(int off, int count, int[] d) { in copy1DRangeFromUnchecked() argument
662 data1DChecks(off, count, d.length * 4, dataSize); in copy1DRangeFromUnchecked()
663 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, d, dataSize); in copy1DRangeFromUnchecked() local
674 public void copy1DRangeFromUnchecked(int off, int count, short[] d) { in copy1DRangeFromUnchecked() argument
676 data1DChecks(off, count, d.length * 2, dataSize); in copy1DRangeFromUnchecked()
677 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, d, dataSize); in copy1DRangeFromUnchecked() local
[all …]
/frameworks/base/core/java/android/view/
DGravity.java325 int off = 0; in applyDisplay() local
326 if (inoutObj.top < display.top) off = display.top-inoutObj.top; in applyDisplay()
327 else if (inoutObj.bottom > display.bottom) off = display.bottom-inoutObj.bottom; in applyDisplay()
328 if (off != 0) { in applyDisplay()
333 inoutObj.top += off; in applyDisplay()
334 inoutObj.bottom += off; in applyDisplay()
343 int off = 0; in applyDisplay() local
344 if (inoutObj.left < display.left) off = display.left-inoutObj.left; in applyDisplay()
345 else if (inoutObj.right > display.right) off = display.right-inoutObj.right; in applyDisplay()
346 if (off != 0) { in applyDisplay()
[all …]
/frameworks/base/core/java/android/net/
DLocalSocketImpl.java83 public int read(byte[] b, int off, int len) throws IOException { in read() argument
88 if (off < 0 || len < 0 || (off + len) > b.length ) { in read()
92 int ret = readba_native(b, off, len, myFd); in read()
118 public void write (byte[] b, int off, int len) throws IOException { in write() argument
123 if (off < 0 || len < 0 || (off + len) > b.length ) { in write()
126 writeba_native(b, off, len, myFd); in write()
144 private native int readba_native(byte[] b, int off, int len, in readba_native() argument
146 private native void writeba_native(byte[] b, int off, int len, in writeba_native() argument
/frameworks/base/docs/html/design/building-blocks/
Dswitches.jd5 buttons, and on/off switches.</p>
9 turn an option off or on. Instead, use an on/off switch.</p>
21 <h2 id="switches">On/off Switches</h2>
23 <p>On/off switches toggle the state of a single settings option.</p>
/frameworks/base/core/java/android/text/method/
DMultiTapKeyListener.java72 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); in getInstance() local
74 if (sInstance[off] == null) { in getInstance()
75 sInstance[off] = new MultiTapKeyListener(cap, autotext); in getInstance()
78 return sInstance[off]; in getInstance()
175 int off = 0; in onKeyDown() local
180 off = i; in onKeyDown()
193 content.replace(selStart, selEnd, val, off, off + 1); in onKeyDown()
DTextKeyListener.java84 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); in getInstance() local
86 if (sInstance[off] == null) { in getInstance()
87 sInstance[off] = new TextKeyListener(cap, autotext); in getInstance()
90 return sInstance[off]; in getInstance()
111 public static boolean shouldCap(Capitalize cap, CharSequence cs, int off) { in shouldCap() argument
122 return TextUtils.getCapsMode(cs, off, cap == Capitalize.WORDS in shouldCap()
DReplacementTransformationMethod.java150 public void getChars(int start, int end, char[] dest, int off) { in getChars() argument
151 TextUtils.getChars(mSource, start, end, dest, off); in getChars()
152 int offend = end - start + off; in getChars()
155 for (int i = off; i < offend; i++) { in getChars()
/frameworks/base/core/java/android/util/
DBase64OutputStream.java98 public void write(byte[] b, int off, int len) throws IOException { in write() argument
101 internalWrite(b, off, len, false); in write()
136 private void internalWrite(byte[] b, int off, int len, boolean finish) throws IOException { in internalWrite() argument
138 if (!coder.process(b, off, len, finish)) { in internalWrite()
/frameworks/base/core/jni/
Dandroid_util_StringBlock.cpp36 jint off, jint len) in android_content_StringBlock_nativeCreate() argument
44 if (off < 0 || off >= bLen || len < 0 || len > bLen || (off+len) > bLen) { in android_content_StringBlock_nativeCreate()
50 ResStringPool* osb = new ResStringPool(b+off, len, true); in android_content_StringBlock_nativeCreate()
/frameworks/base/core/java/com/android/server/
DResettableTimeout.java43 public abstract void off(); in off() method in ResettableTimeout
93 off(); in cancel()
109 off(); in run()
/frameworks/base/media/java/android/drm/mobile1/
DDrmRawContent.java324 public int read(byte[] b, int off, int len) throws IOException { in read() argument
327 if (off < 0 || len < 0 || off + len > b.length) in read()
335 len = nativeReadContent(b, off, len, offset); in read()
/frameworks/compile/linkloader/utils/
Dserialize.h86 void seek(off_t off, bool from_begin = false) {
88 cursor = buf_begin + off;
90 cursor += off;
/frameworks/base/services/java/com/android/server/pm/
DInstaller.java88 int off = 0, count; in readBytes() local
91 while (off != len) { in readBytes()
93 count = mIn.read(buffer, off, len - off); in readBytes()
98 off += count; in readBytes()
107 if (off == len) in readBytes()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DSerializedFrame.java97 public final void write(byte b[], int off, int len) { in write() argument
99 System.arraycopy(b, off, mBuffer, mOffset, len); in write()
144 public final int read(byte[] b, int off, int len) { in read() argument
151 System.arraycopy(mBuffer, mPos, b, off, len); in read()
/frameworks/compile/mclinker/include/mcld/LD/
DGNUArchiveReader.h64 InputTree *setupNewArchive(Input &pInput, size_t off);
68 off_t off,

123456