/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
D | TraceFileWriter.java | 85 byte[] buffer = readTraceData(mInputStream); in run() 86 if (buffer == null) { in run() 91 writeTraceData(buffer, mOutputStream); in run() 96 updateTraceStats(buffer); in run() 110 byte[] buffer = new byte[len]; in readTraceData() 114 int read = dis.read(buffer, readLen, len - readLen); in readTraceData() 125 return buffer; in readTraceData() 129 private void writeTraceData(byte[] buffer, DataOutputStream stream) throws IOException { in writeTraceData() argument 130 stream.writeInt(buffer.length); in writeTraceData() 131 stream.write(buffer); in writeTraceData() [all …]
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
D | NativeAllocationInfo.java | 218 StringBuffer buffer = new StringBuffer(); in toString() local 219 buffer.append(ALLOCATIONS_KW); in toString() 220 buffer.append(' '); in toString() 221 buffer.append(mAllocations); in toString() 222 buffer.append('\n'); in toString() 224 buffer.append(SIZE_KW); in toString() 225 buffer.append(' '); in toString() 226 buffer.append(mSize); in toString() 227 buffer.append('\n'); in toString() 229 buffer.append(TOTAL_SIZE_KW); in toString() [all …]
|
D | HandleNativeHeap.java | 131 ByteBuffer buffer = ByteBuffer.wrap(copy); in handleNHGT() local 132 buffer.order(ByteOrder.LITTLE_ENDIAN); in handleNHGT() 143 int mapSize = buffer.getInt(); in handleNHGT() 144 int allocSize = buffer.getInt(); in handleNHGT() 145 int allocInfoSize = buffer.getInt(); in handleNHGT() 146 int totalMemory = buffer.getInt(); in handleNHGT() 147 int backtraceSize = buffer.getInt(); in handleNHGT() 162 buffer.get(maps, 0, mapSize); in handleNHGT() 170 buffer.getInt() /* size */, in handleNHGT() 171 buffer.getInt() /* allocations */); in handleNHGT() [all …]
|
D | DeviceMonitor.java | 306 byte[] buffer = new byte[length]; in processIncomingDeviceData() 307 String result = read(mMainAdbConnection, buffer); in processIncomingDeviceData() 722 byte[] buffer = new byte[length]; in processIncomingJdwpData() 723 String result = read(monitorSocket, buffer); in processIncomingJdwpData() 904 private int readLength(SocketChannel socket, byte[] buffer) throws IOException { in readLength() argument 905 String msg = read(socket, buffer); in readLength() 926 private String read(SocketChannel socket, byte[] buffer) throws IOException { in read() argument 927 ByteBuffer buf = ByteBuffer.wrap(buffer, 0, buffer.length); in read() 939 return new String(buffer, 0, buf.position(), AdbHelper.DEFAULT_ENCODING); in read()
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
D | ApiLookup.java | 266 MappedByteBuffer buffer = Files.map(mBinaryFile, MapMode.READ_ONLY); in readData() local 267 assert buffer.order() == ByteOrder.BIG_ENDIAN; in readData() 271 buffer.rewind(); in readData() 273 if (expectedHeader[offset] != buffer.get()) { in readData() 281 if (buffer.get() != BINARY_FORMAT_VERSION) { in readData() 290 mClassCount = buffer.getInt(); in readData() 291 mMethodCount = buffer.getInt(); in readData() 301 offsets[i] = buffer.getInt(); in readData() 306 int size = buffer.limit(); in readData() 308 buffer.rewind(); in readData() [all …]
|
D | TypoLookup.java | 248 MappedByteBuffer buffer = Files.map(mBinaryFile, MapMode.READ_ONLY); in readData() local 249 assert buffer.order() == ByteOrder.BIG_ENDIAN; in readData() 253 buffer.rewind(); in readData() 255 if (expectedHeader[offset] != buffer.get()) { in readData() 263 if (buffer.get() != BINARY_FORMAT_VERSION) { in readData() 272 mWordCount = buffer.getInt(); in readData() 282 offsets[i] = buffer.getInt(); in readData() 287 int size = buffer.limit(); in readData() 289 buffer.rewind(); in readData() 290 buffer.get(b); in readData() [all …]
|
/sdk/emulator/opengl/host/libs/renderControl_dec/ |
D | renderControl.attrib | 12 dir buffer out 13 len buffer bufferSize 16 dir buffer out 17 len buffer bufferSize 24 dir buffer out 25 len buffer bufSize
|
D | renderControl.in | 3 GL_ENTRY(EGLint, rcQueryEGLString, EGLenum name, void *buffer, EGLint bufferSize) 4 GL_ENTRY(EGLint, rcGetGLString, EGLenum name, void *buffer, EGLint bufferSize) 6 GL_ENTRY(EGLint, rcGetConfigs, uint32_t bufSize, GLuint *buffer)
|
/sdk/sdk_common/src/com/android/ide/common/resources/ |
D | ValueResourceParser.java | 267 char[] buffer = value.toCharArray(); in trimXmlWhitespaces() local 270 if (buffer[i] == '\\' && i + 1 < length) { in trimXmlWhitespaces() 271 if (buffer[i+1] == 'u') { in trimXmlWhitespaces() 274 int unicodeChar = Integer.parseInt(new String(buffer, i+2, 4), 16); in trimXmlWhitespaces() 277 buffer[i] = (char)unicodeChar; in trimXmlWhitespaces() 280 if (i + 6 < buffer.length) { in trimXmlWhitespaces() 281 System.arraycopy(buffer, i+6, buffer, i+1, length - i - 6); in trimXmlWhitespaces() 286 if (buffer[i+1] == 'n') { in trimXmlWhitespaces() 288 buffer[i+1] = '\n'; in trimXmlWhitespaces() 292 System.arraycopy(buffer, i+1, buffer, i, length - i - 1); in trimXmlWhitespaces() [all …]
|
/sdk/traceview/src/com/android/traceview/ |
D | DmTraceReader.java | 104 MappedByteBuffer buffer = null; in mapFile() local 109 buffer = fc.map(FileChannel.MapMode.READ_ONLY, offset, file.length() - offset); in mapFile() 110 buffer.order(ByteOrder.LITTLE_ENDIAN); in mapFile() 112 return buffer; in mapFile() 118 private void readDataFileHeader(MappedByteBuffer buffer) { in readDataFileHeader() argument 119 int magic = buffer.getInt(); in readDataFileHeader() 128 int version = buffer.getShort(); in readDataFileHeader() 143 int offsetToData = buffer.getShort() - 16; in readDataFileHeader() 146 buffer.getLong(); in readDataFileHeader() 154 mRecordSize = buffer.getShort(); in readDataFileHeader() [all …]
|
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
D | RenderControl.cpp | 43 static EGLint rcQueryEGLString(EGLenum name, void* buffer, EGLint bufferSize) in rcQueryEGLString() argument 56 if (!buffer || len > bufferSize) { in rcQueryEGLString() 60 strcpy((char *)buffer, str); in rcQueryEGLString() 64 static EGLint rcGetGLString(EGLenum name, void* buffer, EGLint bufferSize) in rcGetGLString() argument 88 if (!buffer || len > bufferSize) { in rcGetGLString() 92 strcpy((char *)buffer, str); in rcGetGLString() 104 static EGLint rcGetConfigs(uint32_t bufSize, GLuint* buffer) in rcGetConfigs() argument 109 if (!buffer || bufSize < neededSize) { in rcGetConfigs() 112 FBConfig::packConfigsInfo(buffer); in rcGetConfigs()
|
D | FBConfig.cpp | 138 void FBConfig::packConfigsInfo(GLuint *buffer) in packConfigsInfo() argument 140 memcpy(buffer, s_configAttribs, s_numConfigAttribs * sizeof(GLuint)); in packConfigsInfo() 142 memcpy(buffer+(i+1)*s_numConfigAttribs, in packConfigsInfo()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
D | ExtractStringProposal.java | 85 IBuffer buffer = mContext.getCompilationUnit().getBuffer(); in getAdditionalProposalInfo() local 87 String string = buffer.getText(start, length); in getAdditionalProposalInfo() 99 char c = buffer.getChar(i); in getAdditionalProposalInfo() 105 String linePrefix = buffer.getText(i + 1, start - (i + 1)).trim(); in getAdditionalProposalInfo() 109 while (i < buffer.getLength()) { in getAdditionalProposalInfo() 110 char c = buffer.getChar(i); in getAdditionalProposalInfo() 116 String lineSuffix = buffer.getText(start + length, i - (start + length)); in getAdditionalProposalInfo()
|
/sdk/find_java/ |
D | find_java_lib.cpp | 165 char* buffer = (char*) malloc(size); in getRegValue() local 173 (LPBYTE) buffer, // lpData in getRegValue() 178 buffer = (char*) realloc(buffer, size); in getRegValue() 180 buffer[size] = 0; in getRegValue() 184 if (ret != ERROR_MORE_DATA) outValue->set(buffer); in getRegValue() 186 free(buffer); in getRegValue() 488 char buffer[SIZE]; in getJavaVersion() local 494 buffer, // lpBuffer in getJavaVersion() 505 for (char *b = buffer; n > 0; n--, b++, index++) { in getJavaVersion()
|
/sdk/emulator/opengl/tests/EGL_host_wrapper/ |
D | egl.cpp | 149 EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer… in eglCreatePbufferFromClientBuffer() argument 151 … return getDispatch()->eglCreatePbufferFromClientBuffer(dpy, buftype, buffer, config, attrib_list); in eglCreatePbufferFromClientBuffer() 159 EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) in eglBindTexImage() argument 161 return getDispatch()->eglBindTexImage(dpy, surface, buffer); in eglBindTexImage() 164 EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) in eglReleaseTexImage() argument 166 return getDispatch()->eglReleaseTexImage(dpy, surface, buffer); in eglReleaseTexImage() 239 …ImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *att… in eglCreateImageKHR() argument 241 return getDispatch()->eglCreateImageKHR(dpy, ctx, target, buffer, attrib_list); in eglCreateImageKHR()
|
/sdk/common/src/com/android/io/ |
D | FileWrapper.java | 103 byte[] buffer = new byte[1024]; in setContents() 105 while ((count = source.read(buffer)) != -1) { in setContents() 106 fos.write(buffer, 0, count); in setContents()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
D | ConvertSwitchQuickFixProcessor.java | 139 IBuffer buffer = compilationUnit.getBuffer(); in getCorrections() local 149 char c = buffer.getChar(i); in getCorrections() 156 for (int i = errorStart + errorLength, n = buffer.getLength(); i < n; i++) { in getCorrections() 161 char c = buffer.getChar(i); in getCorrections() 169 String expression = buffer.getText(errorStart, errorLength); in getCorrections()
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ |
D | SdkUpdaterNoWindow.java | 460 private String readLine(byte[] buffer) throws IOException { in readLine() argument 461 int count = System.in.read(buffer); in readLine() 464 if (count == buffer.length && buffer[count-1] != 10) { in readLine() 466 "Input is longer than the buffer size, (%1$s) bytes", buffer.length)); in readLine() 470 while (count > 0 && (buffer[count-1] == '\r' || buffer[count-1] == '\n')) { in readLine() 474 return new String(buffer, 0, count); in readLine()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
D | CurrentVboPropertyAccessor.java | 58 Integer buffer = (Integer) currentBinding.getValue(); in getProperty() local 63 buffer, in getProperty()
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/build/ |
D | BuildConfigGenerator.java | 122 byte[] buffer = new byte[1024]; in writeFile() 124 while ((count = source.read(buffer)) != -1) { in writeFile() 125 fos.write(buffer, 0, count); in writeFile()
|
/sdk/ninepatch/src/com/android/ninepatch/ |
D | NinePatch.java | 210 BufferedImage buffer = GraphicsUtilities.createTranslucentCompatibleImage( in convertTo9Patch() local 213 Graphics2D g2 = buffer.createGraphics(); in convertTo9Patch() 217 return buffer; in convertTo9Patch()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactoring/core/ |
D | AndroidRenameParticipant.java | 70 ITextFileBuffer buffer = mManager.getTextFileBuffer(mAndroidManifest.getFullPath(), in getDocument() local 72 mDocument = buffer.getDocument(); in getDocument()
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
D | SocketStream.cpp | 91 int SocketStream::writeFully(const void* buffer, size_t size) in writeFully() argument 99 ssize_t stat = ::send(m_sock, (const char *)buffer + (size - res), res, 0); in writeFully()
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/io/ |
D | FileOp.java | 198 byte[] buffer = new byte[8192]; in copyFile() 207 while ((read = fis.read(buffer)) != -1) { in copyFile() 208 fos.write(buffer, 0, read); in copyFile()
|
/sdk/emulator/qtools/ |
D | read_elf.h | 16 int ReadSection(Elf32_Shdr *shdr, void *buffer, FILE *f);
|