Lines Matching defs:data

355  * Copy character data from "data" to "out", converting non-ASCII values
361 static void asciify(char* out, const unsigned char* data, size_t len)
364 if (*data < 0x20) {
366 switch (*data) {
379 } else if (*data >= 0x80) {
382 *out++ = *data;
384 data++;
476 * length, then the data. Chunks start on 64-bit boundaries.
519 fprintf(stderr, "Trouble reading class data\n");
875 printf("|%04x: packed-switch-data (%d units)",
878 printf("|%04x: sparse-switch-data (%d units)",
881 printf("|%04x: array-data (%d units)",
1087 * can deal with data in either endianness.
1384 printf("Trouble reading class data (#%d)\n", idx);
1542 * TODO: show a hex dump of the compressed data. (We can show the
1543 * uncompressed data if we move the compression code to libdex; otherwise
1548 const u1* data = *pData;
1549 const u1* dataStart = data -1; // format byte already removed
1554 regWidth = *data++;
1555 numEntries = *data++;
1556 numEntries |= (*data++) << 8;
1558 /* compressed data begins with the compressed data length */
1559 int compressedLen = readUnsignedLeb128(&data);
1561 if ((*data & 0x80) != 0)
1565 int compLen = (data - dataStart) + compressedLen;
1572 data += compressedLen;
1574 *pData = data;
1580 * "*pData" should point to the start of the register map data. Advances
1586 const u1* data = *pData;
1589 int offset = data - (u1*) pDexFile->pOptHeader;
1598 format = *data++;
1608 dumpDifferentialCompressedMap(&data);
1612 /* don't know how to skip data; failure will cascade to end of class */
1621 regWidth = *data++;
1622 numEntries = *data++;
1623 numEntries |= (*data++) << 8;
1626 addr = *data++;
1628 addr |= (*data++) << 8;
1632 printf(" %02x", *data++);
1640 // *pData = align32(data);
1641 *pData = data;
1692 const u1* data = (u1*) pClassPool + classOffsets[idx];
1699 fprintf(stderr, "Trouble reading class data\n");
1703 methodCount = *data++;
1704 methodCount |= (*data++) << 8;
1705 data += 2; /* two pad bytes follow methodCount */
1718 dumpMethodMap(pDexFile, &pClassData->directMethods[i], i, &data);
1724 dumpMethodMap(pDexFile, &pClassData->virtualMethods[i], i, &data);
1868 case 'h': // dump section headers, i.e. all meta-data