Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 13 of 13) 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
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 (unsigned) var.type()->bytes(), in writeVarEncodingExpression()
424 (unsigned) var.type()->bytes()); in writeVarEncodingExpression()
648 … fprintf(fp, "\tstream->readback(&retval, %u);\n",(unsigned) e->retval().type()->bytes()); in genEncoderImpl()
842 varoffset += " + " + toString(v->type()->bytes()); in genDecoderImpl()
884 toString(v->type()->bytes()).c_str()); in genDecoderImpl()
DVar.h78 bool isVoid() const { return ((m_type->bytes() == 0) && (!m_type->isPointer())); } in isVoid()
DREADME48 p1, // 4 bytes
49 s1 // 2 bytes
89 … // n* sizeof(int) bytes
94 …. // n * sizeof(int) bytes of data return in ptr
/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/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/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.java1218 byte[] bytes = stream.toByteArray(); in generateIcons()
1219 InputStream is = new ByteArrayInputStream(bytes); in generateIcons()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DActivityPage.java196 byte[] bytes = Files.toByteArray(file); in updatePreview()
197 ByteArrayInputStream input = new ByteArrayInputStream(bytes); in updatePreview()
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
DGLEScontext.cpp316 unsigned int bytes = type == GL_FIXED ? sizeof(GLfixed):sizeof(GLbyte); in convertDirect() local
318 int stride = p->getStride()?p->getStride():bytes*attribSize; in convertDirect()
374 unsigned int bytes = type == GL_FIXED ? sizeof(GLfixed):sizeof(GLbyte); in convertIndirect() local
376 int stride = p->getStride()?p->getStride():bytes*attribSize; in convertIndirect()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRefactoringTestBase.java170 byte[] bytes = ByteStreams.toByteArray(file.getContents()); in describe()
171 String before = new String(bytes, Charsets.UTF_8); in describe()
/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