/sdk/emulator/opengl/host/tools/emugen/ |
H A D | VarType.h | 23 VarConverter(size_t bytes) : m_bytes(bytes) {} argument 24 size_t bytes() const { return m_bytes; } function in class:VarConverter 67 size_t bytes() const { return m_converter->bytes(); } function in class:VarType
|
H A D | Var.h | 78 bool isVoid() const { return ((m_type->bytes() == 0) && (!m_type->isPointer())); }
|
H A D | ApiGen.cpp | 361 snprintf(buff, bufflen, "%u", (unsigned int) var.type()->bytes()); 383 fprintf(fp, "%u", (unsigned int) var.type()->bytes()); 423 (uint) var.type()->bytes(), 424 (uint) var.type()->bytes()); 515 // First, compute the total size, 8 bytes for the opcode + payload size 648 fprintf(fp, "\tstream->readback(&retval, %u);\n",(uint) e->retval().type()->bytes()); 843 varoffset += " + " + toString(v->type()->bytes());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/ |
H A D | BinaryXMLDescriber.java | 56 byte[] bytes = new byte[length]; 57 if (contents.read(bytes, 0, length) == length) { 58 ByteBuffer buf = ByteBuffer.wrap(bytes);
|
/sdk/emulator/qtools/ |
H A D | read_trace.cpp | 115 int bytes; local 123 bytes = 2; 136 bytes = 4; 148 bytes = 4; 154 addr += bytes; 155 offset += bytes;
|
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/ |
H A D | TypoLookupTest.java | 171 byte[] bytes = text.getBytes(Charsets.UTF_8); 177 assertNotNull(db.getTypos(bytes, 0, bytes.length)); 178 assertEquals("Autorisierungscode", db.getTypos(bytes, 0, bytes.length).get(1)); 186 bytes = text.getBytes(Charsets.UTF_8); 187 assertNotNull(db.getTypos(bytes, 0, bytes.length)); 188 assertEquals("zurückgefoobaren", db.getTypos(bytes, 0, bytes [all...] |
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/ |
H A D | ShareMockupAction.java | 54 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); 55 mockup.compress(Bitmap.CompressFormat.PNG, 100, bytes); 61 fo.write(bytes.toByteArray());
|
/sdk/lint/libs/lint_api/src/com/android/tools/lint/client/api/ |
H A D | LintDriver.java | 1051 byte[] bytes = mClient.readBytes(file); 1052 if (bytes != null) { 1056 bytes)); 1103 reader = new ClassReader(entry.bytes); 1148 entry.file, entry.jarFile, entry.binDir, entry.bytes, 1207 ClassReader reader = new ClassReader(entry.bytes); 1253 byte[] bytes = ByteStreams.toByteArray(zis); 1254 if (bytes != null) { 1256 entries.add(new ClassEntry(file, jarFile, jarFile, bytes)); 1284 byte[] bytes 2012 public final byte[] bytes; field in class:LintDriver.ClassEntry 2014 ClassEntry(File file, File jarFile, File binDir, byte[] bytes) argument [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
H A D | CreateAssetSetWizard.java | 150 byte[] bytes = stream.toByteArray(); 151 InputStream is = new ByteArrayInputStream(bytes);
|
H A D | ConfigureAssetSetPage.java | 1222 byte[] bytes = stream.toByteArray(); 1223 InputStream is = new ByteArrayInputStream(bytes);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
H A D | ActivityPage.java | 175 byte[] bytes = Files.toByteArray(file); 176 ByteArrayInputStream input = new ByteArrayInputStream(bytes);
|
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/ |
H A D | LintUtils.java | 445 byte[] bytes = client.readBytes(file); 447 return PositionXmlParser.getXmlString(bytes); 450 return LintUtils.getEncodedString(bytes); 474 // Look for the byte order mark, to see if we need to remove bytes from
|
H A D | ClassContext.java | 81 * @param bytes the bytecode raw data 95 @NonNull byte[] bytes, 102 mBytes = bytes; 88 ClassContext( @onNull LintDriver driver, @NonNull Project project, @Nullable Project main, @NonNull File file, @Nullable File jarFile, @NonNull File binDir, @NonNull byte[] bytes, @NonNull ClassNode classNode, boolean fromLibrary, @Nullable String sourceContents) argument
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
H A D | HeapPanel.java | 640 return String.format("%1$d %2$s of %3$d bytes", value.intValue(), rowKey, 662 private static String prettyByteCount(long bytes) { argument 663 double fracBytes = bytes; 683 private static String approximateByteCount(long bytes) { argument 684 double fracBytes = bytes; 943 int bytes = 8 * (100 / ZOOMS[level]); 945 return String.format("Key (1 pixel = %1$d bytes)", bytes);
|
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
H A D | GLEScontext.cpp | 267 int attribSize = p->getSize()*4; //4 is the sizeof GLfixed or GLfloat in bytes 281 int attribSize = p->getSize() * 4; //4 is the sizeof GLfixed or GLfloat in bytes 295 int attribSize = p->getSize() * 4; //4 is the sizeof GLfixed or GLfloat in bytes 315 unsigned int bytes = type == GL_FIXED ? sizeof(GLfixed):sizeof(GLbyte); local 317 int stride = p->getStride()?p->getStride():bytes*attribSize; 339 directToBytesRanges(first,count,p,ranges); //converting indices range to buffer bytes ranges by offset 344 int nIndices = bytesRangesToIndices(conversions,p,indices); //converting bytes ranges by offset to indices in this array 375 unsigned int bytes = type == GL_FIXED ? sizeof(GLfixed):sizeof(GLbyte); local 377 int stride = p->getStride()?p->getStride():bytes*attribSize; 396 indirectToBytesRanges(indices,indices_type,count,p,ranges); //converting indices range to buffer bytes range [all...] |
/sdk/lint/cli/src/com/android/tools/lint/ |
H A D | HtmlReporter.java | 491 byte[] bytes = ByteStreams.toByteArray(input); 493 String css = new String(bytes, Charsets.UTF_8);
|