Home
last modified time | relevance | path

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

12345

/frameworks/base/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/base/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/base/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/base/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 …]
Ds_hcb.h109 Int off; member
/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/base/core/java/android/view/
DGravity.java291 int off = 0; in applyDisplay() local
292 if (inoutObj.top < display.top) off = display.top-inoutObj.top; in applyDisplay()
293 else if (inoutObj.bottom > display.bottom) off = display.bottom-inoutObj.bottom; in applyDisplay()
294 if (off != 0) { in applyDisplay()
299 inoutObj.top += off; in applyDisplay()
300 inoutObj.bottom += off; in applyDisplay()
309 int off = 0; in applyDisplay() local
310 if (inoutObj.left < display.left) off = display.left-inoutObj.left; in applyDisplay()
311 else if (inoutObj.right > display.right) off = display.right-inoutObj.right; in applyDisplay()
312 if (off != 0) { in applyDisplay()
[all …]
/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.java495 private void data1DChecks(int off, int count, int len, int dataSize) { in data1DChecks() argument
497 if(off < 0) { in data1DChecks()
503 if((off + count) > mCurrentCount) { in data1DChecks()
505 ", got " + count + " at offset " + off + "."); in data1DChecks()
535 public void copy1DRangeFromUnchecked(int off, int count, int[] d) { in copy1DRangeFromUnchecked() argument
537 data1DChecks(off, count, d.length * 4, dataSize); in copy1DRangeFromUnchecked()
538 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, d, dataSize); in copy1DRangeFromUnchecked() local
549 public void copy1DRangeFromUnchecked(int off, int count, short[] d) { in copy1DRangeFromUnchecked() argument
551 data1DChecks(off, count, d.length * 2, dataSize); in copy1DRangeFromUnchecked()
552 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, d, dataSize); in copy1DRangeFromUnchecked() local
[all …]
DRenderScript.java280 …native void rsnAllocationData1D(int con, int id, int off, int mip, int count, int[] d, int sizeByt… in rsnAllocationData1D() argument
281 … synchronized void nAllocationData1D(int id, int off, int mip, int count, int[] d, int sizeBytes) { in nAllocationData1D() argument
283 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes); in nAllocationData1D()
285 …native void rsnAllocationData1D(int con, int id, int off, int mip, int count, short[] d, int sizeB… in rsnAllocationData1D() argument
286 …synchronized void nAllocationData1D(int id, int off, int mip, int count, short[] d, int sizeBytes)… in nAllocationData1D() argument
288 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes); in nAllocationData1D()
290 …native void rsnAllocationData1D(int con, int id, int off, int mip, int count, byte[] d, int sizeBy… in rsnAllocationData1D() argument
291 …synchronized void nAllocationData1D(int id, int off, int mip, int count, byte[] d, int sizeBytes) { in nAllocationData1D() argument
293 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes); in nAllocationData1D()
295 …native void rsnAllocationData1D(int con, int id, int off, int mip, int count, float[] d, int sizeB… in rsnAllocationData1D() argument
[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/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()
DBase64InputStream.java119 public int read(byte[] b, int off, int len) throws IOException { in read() argument
127 System.arraycopy(coder.output, outputStart, b, off, bytes); in read()
/frameworks/base/core/java/android/text/method/
DMultiTapKeyListener.java68 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); in getInstance() local
70 if (sInstance[off] == null) { in getInstance()
71 sInstance[off] = new MultiTapKeyListener(cap, autotext); in getInstance()
74 return sInstance[off]; in getInstance()
171 int off = 0; in onKeyDown() local
176 off = i; in onKeyDown()
189 content.replace(selStart, selEnd, val, off, off + 1); in onKeyDown()
DTextKeyListener.java80 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); in getInstance() local
82 if (sInstance[off] == null) { in getInstance()
83 sInstance[off] = new TextKeyListener(cap, autotext); in getInstance()
86 return sInstance[off]; in getInstance()
107 public static boolean shouldCap(Capitalize cap, CharSequence cs, int off) { in shouldCap() argument
118 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/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()
Dandroid_net_LocalSocketImpl.cpp689 jbyteArray buffer, jint off, jint len, jobject fileDescriptor) in socket_readba() argument
700 if (off < 0 || len < 0 || (off + len) > env->GetArrayLength(buffer)) { in socket_readba()
724 fd, byteBuffer + off, len); in socket_readba()
756 jbyteArray buffer, jint off, jint len, jobject fileDescriptor) in socket_writeba() argument
767 if (off < 0 || len < 0 || (off + len) > env->GetArrayLength(buffer)) { in socket_writeba()
786 byteBuffer + off, len); in socket_writeba()
Dandroid_util_XmlBlock.cpp37 jint off, jint len) in android_content_XmlBlock_nativeCreate() argument
45 if (off < 0 || off >= bLen || len < 0 || len > bLen || (off+len) > bLen) { in android_content_XmlBlock_nativeCreate()
51 ResXMLTree* osb = new ResXMLTree(b+off, len, true); in android_content_XmlBlock_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/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/compile/linkloader/utils/
Dserialize.h86 void seek(off_t off, bool from_begin = false) {
88 cursor = buf_begin + off;
90 cursor += off;
/frameworks/base/libs/utils/
DDebug.cpp35 ssize_t off = sizeof(indentStr)-1-(indentLevel*2); in stringForIndent() local
36 return indentStr + (off < 0 ? 0 : off); in stringForIndent()

12345