Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 19 of 19) sorted by relevance

/sdk/emulator/opengl/host/tools/emugen/
DVarType.h23 VarConverter(size_t bytes) : m_bytes(bytes) {} in VarConverter() argument
24 size_t bytes() const { return m_bytes; } in bytes() function
67 size_t bytes() const { return m_converter->bytes(); } in bytes() function
DVar.h78 bool isVoid() const { return ((m_type->bytes() == 0) && (!m_type->isPointer())); } in isVoid()
DApiGen.cpp361 snprintf(buff, bufflen, "%u", (unsigned int) var.type()->bytes()); in getVarEncodingSizeExpression()
383 fprintf(fp, "%u", (unsigned int) var.type()->bytes()); in writeVarEncodingSize()
423 (uint) var.type()->bytes(), in writeVarEncodingExpression()
424 (uint) var.type()->bytes()); in writeVarEncodingExpression()
648 fprintf(fp, "\tstream->readback(&retval, %u);\n",(uint) e->retval().type()->bytes()); in genEncoderImpl()
843 varoffset += " + " + toString(v->type()->bytes()); in genDecoderImpl()
DREADME48 p1, // 4 bytes
49 s1 // 2 bytes
89 … // n* sizeof(int) bytes
94 …. // n * sizeof(int) bytes of data return in ptr
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/
DTypoLookupTest.java171 byte[] bytes = text.getBytes(Charsets.UTF_8); in testGlobbing()
177 assertNotNull(db.getTypos(bytes, 0, bytes.length)); in testGlobbing()
178 assertEquals("Autorisierungscode", db.getTypos(bytes, 0, bytes.length).get(1)); in testGlobbing()
186 bytes = text.getBytes(Charsets.UTF_8); in testGlobbing()
187 assertNotNull(db.getTypos(bytes, 0, bytes.length)); in testGlobbing()
188 assertEquals("zurückgefoobaren", db.getTypos(bytes, 0, bytes.length).get(1)); in testGlobbing()
226 byte[] bytes = text.getBytes(Charsets.UTF_8); in testComparisons()
230 int byteCompare = TypoLookup.compare(prevBytes, 0, (byte) 0, bytes, 0, in testComparisons()
231 bytes.length); in testComparisons()
243 byte[] bytes = text.getBytes(Charsets.UTF_8); in testComparison1()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/
DBinaryXMLDescriber.java56 byte[] bytes = new byte[length]; in describe()
57 if (contents.read(bytes, 0, length) == length) { in describe()
58 ByteBuffer buf = ByteBuffer.wrap(bytes); in describe()
/sdk/emulator/qtools/
Dread_trace.cpp115 int bytes; in main() local
123 bytes = 2; in main()
136 bytes = 4; in main()
148 bytes = 4; in main()
154 addr += bytes; in main()
155 offset += bytes; in main()
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/
DShareMockupAction.java54 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); in launch() local
55 mockup.compress(Bitmap.CompressFormat.PNG, 100, bytes); in launch()
61 fo.write(bytes.toByteArray()); in launch()
/sdk/lint/libs/lint_api/src/com/android/tools/lint/client/api/
DLintDriver.java1051 byte[] bytes = mClient.readBytes(file); in checkIndividualClassFiles()
1052 if (bytes != null) { in checkIndividualClassFiles()
1056 bytes)); in checkIndividualClassFiles()
1103 reader = new ClassReader(entry.bytes); in runClassDetectors()
1148 entry.file, entry.jarFile, entry.binDir, entry.bytes, in runClassDetectors()
1207 ClassReader reader = new ClassReader(entry.bytes); in addSuperClasses()
1253 byte[] bytes = ByteStreams.toByteArray(zis); in findClasses()
1254 if (bytes != null) { in findClasses()
1256 entries.add(new ClassEntry(file, jarFile, jarFile, bytes)); in findClasses()
1284 byte[] bytes = mClient.readBytes(file); in findClasses()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DActivityPage.java175 byte[] bytes = Files.toByteArray(file); in updatePreview()
176 ByteArrayInputStream input = new ByteArrayInputStream(bytes); in updatePreview()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
DCreateAssetSetWizard.java150 byte[] bytes = stream.toByteArray(); in performFinish()
151 InputStream is = new ByteArrayInputStream(bytes); in performFinish()
DConfigureAssetSetPage.java1222 byte[] bytes = stream.toByteArray(); in generateIcons()
1223 InputStream is = new ByteArrayInputStream(bytes); in generateIcons()
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
DHeapPanel.java662 private static String prettyByteCount(long bytes) { in prettyByteCount() argument
663 double fracBytes = bytes; in prettyByteCount()
683 private static String approximateByteCount(long bytes) { in approximateByteCount() argument
684 double fracBytes = bytes; in approximateByteCount()
943 int bytes = 8 * (100 / ZOOMS[level]); in getLegendText() local
945 return String.format("Key (1 pixel = %1$d bytes)", bytes); in getLegendText()
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/
DLintUtils.java445 byte[] bytes = client.readBytes(file); in getEncodedString()
447 return PositionXmlParser.getXmlString(bytes); in getEncodedString()
450 return LintUtils.getEncodedString(bytes); in getEncodedString()
DClassContext.java95 @NonNull byte[] bytes, in ClassContext() argument
102 mBytes = bytes; in ClassContext()
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
DGLEScontext.cpp315 unsigned int bytes = type == GL_FIXED ? sizeof(GLfixed):sizeof(GLbyte); in convertDirect() local
317 int stride = p->getStride()?p->getStride():bytes*attribSize; in convertDirect()
375 unsigned int bytes = type == GL_FIXED ? sizeof(GLfixed):sizeof(GLbyte); in convertIndirect() local
377 int stride = p->getStride()?p->getStride():bytes*attribSize; in convertIndirect()
/sdk/emulator/opengl/
DREADME22 bytes sent to the host through a fast pipe mechanism.
DDESIGN175 need to receive protocol bytes from the QEMU process.
310 memory buffer of at least 'size' bytes.
321 2/ write first command bytes into buf1
323 4/ write second command bytes into buf2
/sdk/lint/cli/src/com/android/tools/lint/
DHtmlReporter.java491 byte[] bytes = ByteStreams.toByteArray(input); in writeStyleSheet()
493 String css = new String(bytes, Charsets.UTF_8); in writeStyleSheet()