/frameworks/native/opengl/tests/gl_jni/jni/ |
D | gl_code.cpp | 121 const unsigned int off = 0xffffffff; in create_texture() local 124 on, off, on, off, on, off, on, off, in create_texture() 125 off, on, off, on, off, on, off, on, in create_texture() 126 on, off, on, off, on, off, on, off, in create_texture() 127 off, on, off, on, off, on, off, on, in create_texture() 128 on, off, on, off, on, off, on, off, in create_texture() 129 off, on, off, on, off, on, off, on, in create_texture() 130 on, off, on, off, on, off, on, off, in create_texture() 131 off, on, off, on, off, on, off, on, in create_texture()
|
/frameworks/native/opengl/tests/tritex/ |
D | tritex.cpp | 205 const unsigned int off = 0xffffffff; in create_texture() local 208 on, off, on, off, on, off, on, off, in create_texture() 209 off, on, off, on, off, on, off, on, in create_texture() 210 on, off, on, off, on, off, on, off, in create_texture() 211 off, on, off, on, off, on, off, on, in create_texture() 212 on, off, on, off, on, off, on, off, in create_texture() 213 off, on, off, on, off, on, off, on, in create_texture() 214 on, off, on, off, on, off, on, off, in create_texture() 215 off, on, off, on, off, on, off, on, in create_texture()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | LineBreakBufferedWriter.java | 118 public void write(char[] buf, int off, int len) { in write() argument 125 if (buf[off + i] == '\n') { in write() 136 appendToBuffer(buf, off, nextNewLine); in write() 140 off += nextNewLine + 1; in write() 150 appendToBuffer(buf, off, rest); in write() 153 off += rest; in write() 161 appendToBuffer(buf, off, len); in write() 163 if (buf[off + i] == '\n') { in write() 172 public void write(String s, int off, int len) { in write() argument 179 if (s.charAt(off + i) == '\n') { in write() [all …]
|
/frameworks/native/opengl/tests/gl_basic/ |
D | gl_basic.cpp | 314 const unsigned int off = 0xffffffff; in create_texture() local 317 on, off, on, off, on, off, on, off, in create_texture() 318 off, on, off, on, off, on, off, on, in create_texture() 319 on, off, on, off, on, off, on, off, in create_texture() 320 off, on, off, on, off, on, off, on, in create_texture() 321 on, off, on, off, on, off, on, off, in create_texture() 322 off, on, off, on, off, on, off, on, in create_texture() 323 on, off, on, off, on, off, on, off, in create_texture() 324 off, on, off, on, off, on, off, on, in create_texture()
|
/frameworks/av/cmds/screenrecord/ |
D | TextRenderer.cpp | 217 size_t off = i * quadCoords; in drawString() local 218 vertices[off + 0] = vertLeft; in drawString() 219 vertices[off + 1] = vertBottom; in drawString() 220 vertices[off + 2] = vertRight; in drawString() 221 vertices[off + 3] = vertBottom; in drawString() 222 vertices[off + 4] = vertLeft; in drawString() 223 vertices[off + 5] = vertTop; in drawString() 224 vertices[off + 6] = vertLeft; in drawString() 225 vertices[off + 7] = vertTop; in drawString() 226 vertices[off + 8] = vertRight; in drawString() [all …]
|
/frameworks/base/core/java/android/text/ |
D | AlteredCharSequence.java | 89 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()
|
D | AutoText.java | 141 int off = mTrie[here + TRIE_OFF]; in lookup() local 142 int len = mText.charAt(off); in lookup() 144 return mText.substring(off + 1, off + 1 + len); in lookup() 184 char off; in init() local 187 off = ooff; in init() 189 off = (char) right.length(); in init() 194 add(src, off); in init() 211 private void add(String src, char off) { in add() argument 228 mTrie[mTrie[herep] + TRIE_OFF] = off; in add() 255 mTrie[mTrie[herep] + TRIE_OFF] = off; in add()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/ |
D | storage.c | 298 size_t off = 0; in create_layout() local 321 off = align_up_to(off, field_size); in create_layout() 322 layout->fields[upb_fielddef_index(field)].offset = off; in create_layout() 325 off += field_size; in create_layout() 350 off = align_up_to( off, field_size); in create_layout() 355 layout->fields[upb_fielddef_index(field)].offset = off; in create_layout() 357 off += field_size; in create_layout() 368 off = (off + field_size - 1) & ~(field_size - 1); in create_layout() 373 layout->fields[upb_fielddef_index(field)].case_offset = off; in create_layout() 375 off += field_size; in create_layout() [all …]
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | Allocation.java | 1082 private void data1DChecks(int off, int count, int len, int dataSize, boolean usePadding) { in data1DChecks() argument 1084 if(off < 0) { in data1DChecks() 1090 if((off + count) > mCurrentCount) { in data1DChecks() 1092 ", got " + count + " at offset " + off + "."); in data1DChecks() 1119 private void copy1DRangeFromUnchecked(int off, int count, Object array, in copy1DRangeFromUnchecked() argument 1127 data1DChecks(off, count, arrayLen * dt.mSize, dataSize, usePadding); in copy1DRangeFromUnchecked() 1128 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, array, dataSize, dt, in copy1DRangeFromUnchecked() local 1154 public void copy1DRangeFromUnchecked(int off, int count, Object array) { in copy1DRangeFromUnchecked() argument 1155 copy1DRangeFromUnchecked(off, count, array, in copy1DRangeFromUnchecked() 1182 public void copy1DRangeFromUnchecked(int off, int count, int[] d) { in copy1DRangeFromUnchecked() argument [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/ |
D | repeated_field.c | 68 size_t off = beg * element_size; in RepeatedField_subarray() local 70 for (int i = beg; i < beg + len; i++, off += element_size) { in RepeatedField_subarray() 71 void* mem = ((uint8_t *)self->elements) + off; in RepeatedField_subarray() 92 size_t off = 0; in RepeatedField_each() local 93 for (int i = 0; i < self->size; i++, off += element_size) { in RepeatedField_each() 94 void* memory = (void *) (((uint8_t *)self->elements) + off); in RepeatedField_each() 340 size_t off = 0; in RepeatedField_dup() local 342 for (int i = 0; i < self->size; i++, off += elem_size) { in RepeatedField_dup() 343 void* to_mem = (uint8_t *)new_rptfield_self->elements + off; in RepeatedField_dup() 344 void* from_mem = (uint8_t *)self->elements + off; in RepeatedField_dup() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | AbstractParser.java | 135 byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in parsePartialFrom() argument 138 CodedInputStream input = CodedInputStream.newInstance(data, off, len); in parsePartialFrom() 152 public MessageType parsePartialFrom(byte[] data, int off, int len) in parsePartialFrom() argument 154 return parsePartialFrom(data, off, len, EMPTY_REGISTRY); in parsePartialFrom() 170 byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in parseFrom() argument 173 parsePartialFrom(data, off, len, extensionRegistry)); in parseFrom() 177 public MessageType parseFrom(byte[] data, int off, int len) in parseFrom() argument 179 return parseFrom(data, off, len, EMPTY_REGISTRY); in parseFrom()
|
D | Parser.java | 132 public MessageType parseFrom(byte[] data, int off, int len) in parseFrom() argument 140 public MessageType parseFrom(byte[] data, int off, int len, in parseFrom() argument 165 public MessageType parsePartialFrom(byte[] data, int off, int len) in parsePartialFrom() argument 173 public MessageType parsePartialFrom(byte[] data, int off, int len, in parsePartialFrom() argument
|
/frameworks/base/core/java/android/view/ |
D | Gravity.java | 323 int off = 0; in applyDisplay() local 324 if (inoutObj.top < display.top) off = display.top-inoutObj.top; in applyDisplay() 325 else if (inoutObj.bottom > display.bottom) off = display.bottom-inoutObj.bottom; in applyDisplay() 326 if (off != 0) { in applyDisplay() 331 inoutObj.top += off; in applyDisplay() 332 inoutObj.bottom += off; in applyDisplay() 341 int off = 0; in applyDisplay() local 342 if (inoutObj.left < display.left) off = display.left-inoutObj.left; in applyDisplay() 343 else if (inoutObj.right > display.right) off = display.right-inoutObj.right; in applyDisplay() 344 if (off != 0) { in applyDisplay() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | Allocation.java | 1100 private void data1DChecks(int off, int count, int len, int dataSize, boolean usePadding) { in data1DChecks() argument 1102 if(off < 0) { in data1DChecks() 1108 if((off + count) > mCurrentCount) { in data1DChecks() 1110 ", got " + count + " at offset " + off + "."); in data1DChecks() 1137 private void copy1DRangeFromUnchecked(int off, int count, Object array, in copy1DRangeFromUnchecked() argument 1147 data1DChecks(off, count, arrayLen * dt.mSize, dataSize, usePadding); in copy1DRangeFromUnchecked() 1148 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, array, dataSize, dt, in copy1DRangeFromUnchecked() local 1178 public void copy1DRangeFromUnchecked(int off, int count, Object array) { in copy1DRangeFromUnchecked() argument 1179 copy1DRangeFromUnchecked(off, count, array, in copy1DRangeFromUnchecked() 1206 public void copy1DRangeFromUnchecked(int off, int count, int[] d) { in copy1DRangeFromUnchecked() argument [all …]
|
/frameworks/base/core/java/android/net/ |
D | LocalSocketImpl.java | 104 public int read(byte[] b, int off, int len) throws IOException { in read() argument 109 if (off < 0 || len < 0 || (off + len) > b.length ) { in read() 113 int ret = readba_native(b, off, len, myFd); in read() 139 public void write (byte[] b, int off, int len) throws IOException { in write() argument 144 if (off < 0 || len < 0 || (off + len) > b.length ) { in write() 147 writeba_native(b, off, len, myFd); in write() 197 private native int readba_native(byte[] b, int off, int len, in readba_native() argument 199 private native void writeba_native(byte[] b, int off, int len, in writeba_native() argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | README.txt | 30 state information (screen on/off, battery state, sleep policy) go as input into 36 … tethering toggle, scan mode toggle) and provides API to figure if wifi should be turned on or off. 46 Scan-only mode with Wi-Fi turned off: 48 …off Wi-Fi from settings or from a third party app will show up a dialog reminding the user that sc… 49 …- In the scan mode, the device continues to allow scanning from any app with Wi-Fi turned off. Thi…
|
/frameworks/base/core/java/android/util/ |
D | Base64OutputStream.java | 100 public void write(byte[] b, int off, int len) throws IOException { in write() argument 103 internalWrite(b, off, len, false); in write() 140 private void internalWrite(byte[] b, int off, int len, boolean finish) throws IOException { in internalWrite() argument 142 if (!coder.process(b, off, len, finish)) { in internalWrite()
|
/frameworks/base/core/jni/ |
D | android_util_StringBlock.cpp | 36 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()
|
D | android_net_LocalSocketImpl.cpp | 273 jbyteArray buffer, jint off, jint len, jobject fileDescriptor) in socket_readba() argument 284 if (off < 0 || len < 0 || (off + len) > env->GetArrayLength(buffer)) { in socket_readba() 308 fd, byteBuffer + off, len); in socket_readba() 340 jbyteArray buffer, jint off, jint len, jobject fileDescriptor) in socket_writeba() argument 351 if (off < 0 || len < 0 || (off + len) > env->GetArrayLength(buffer)) { in socket_writeba() 370 byteBuffer + off, len); in socket_writeba()
|
/frameworks/base/core/java/com/android/server/ |
D | ResettableTimeout.java | 44 public abstract void off(); in off() method in ResettableTimeout 94 off(); in cancel() 110 off(); in run()
|
/frameworks/base/core/java/android/text/method/ |
D | MultiTapKeyListener.java | 75 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); in getInstance() local 77 if (sInstance[off] == null) { in getInstance() 78 sInstance[off] = new MultiTapKeyListener(cap, autotext); in getInstance() 81 return sInstance[off]; in getInstance() 178 int off = 0; in onKeyDown() local 183 off = i; in onKeyDown() 196 content.replace(selStart, selEnd, val, off, off + 1); in onKeyDown()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | CountedDataInputStream.java | 51 public int read(byte[] b, int off, int len) throws IOException { in read() argument 52 int r = in.read(b, off, len); in read() 82 public void readOrThrow(byte[] b, int off, int len) throws IOException { in readOrThrow() argument 83 int r = read(b, off, len); in readOrThrow()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Cube.java | 65 private static String fs(float[] f, int off, int n) { in fs() argument 68 for (int i = off; i < off + n; i++) { in fs() 71 if (i != off) { in fs()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmWriter.cpp | 167 off_t off = 0; in audioTrack() local 171 memcpy(codecPrivateData + off, (uint8_t*)header_data, headerSize); in audioTrack() 197 off_t off = 0; in audioTrack() local 200 codecPrivateData[off++] = 2; in audioTrack() 202 off += XiphLaceEnc(codecPrivateData + off, headerSize1); in audioTrack() 203 off += XiphLaceEnc(codecPrivateData + off, headerSize2); in audioTrack() 205 memcpy(codecPrivateData + off, headerData1, headerSize1); in audioTrack() 206 off += headerSize1; in audioTrack() 207 memcpy(codecPrivateData + off, headerData2, headerSize2); in audioTrack() 208 off += headerSize2; in audioTrack() [all …]
|
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/util/ |
D | StreamUtil.java | 46 public int read(byte[] b, int off, int len) throws IOException { in getInputStream() argument 48 byte[] read = is.read(off, len); in getInputStream() 50 System.arraycopy(read, 0, b, off, actualLength); in getInputStream()
|