/dalvik/libdex/ |
H A D | sha1.h | 10 unsigned char buffer[64]; member in struct:SHA1_CTX
|
H A D | DexProto.h | 35 size_t allocatedSize; /* size of the allocated buffer, if allocated */ 36 char buffer[120]; /* buffer used to hold small-enough results */ member in struct:DexStringCache 70 * dexStringCacheRelease() if you want the buffer to survive past the
|
H A D | sha1.cpp | 108 const unsigned char buffer[64]); 136 const unsigned char buffer[64]) 147 memcpy(block, buffer, 64); 149 block = (CHAR64LONG16*)buffer; 226 memcpy(&context->buffer[j], data, (i = 64-j)); 227 SHA1Transform(context->state, context->buffer); 235 memcpy(&context->buffer[j], &data[i], len - i); 264 memset(context->buffer, 0, 64); 270 SHA1Transform(context->state, context->buffer); 286 unsigned char buffer[1638 local 135 SHA1Transform(unsigned long state[5], const unsigned char buffer[64]) argument [all...] |
/dalvik/dx/src/com/android/dx/merge/ |
H A D | SortableType.java | 46 private final DexBuffer buffer; field in class:SortableType 50 public SortableType(DexBuffer buffer, ClassDef classDef) { argument 51 this.buffer = buffer; 56 return buffer;
|
H A D | TypeList.java | 27 private final DexBuffer buffer; field in class:TypeList 30 public TypeList(DexBuffer buffer, short[] types) { argument 31 this.buffer = buffer; 52 result.append(buffer != null ? buffer.typeNames().get(types[i]) : types[i]);
|
H A D | DexMerger.java | 584 private void readSortableTypes(SortableType[] sortableTypes, DexBuffer buffer, argument 586 for (ClassDef classDef : buffer.classDefs()) { 587 SortableType sortableType = indexMap.adjust(new SortableType(buffer, classDef)); 593 + buffer.typeNames().get(classDef.getTypeIndex()));
|
/dalvik/dx/src/com/android/dx/io/ |
H A D | Annotation.java | 25 private final DexBuffer buffer; field in class:Annotation 31 public Annotation(DexBuffer buffer, byte visibility, int typeIndex, int[] names, argument 33 this.buffer = buffer; 84 if (buffer == null) { 91 result.append(buffer.typeNames().get(typeIndex)); 97 result.append(buffer.strings().get(names[i]));
|
H A D | FieldId.java | 22 private final DexBuffer buffer; field in class:FieldId 27 public FieldId(DexBuffer buffer, int declaringClassIndex, int typeIndex, int nameIndex) { argument 28 this.buffer = buffer; 63 if (buffer == null) { 66 return buffer.typeNames().get(typeIndex) + "." + buffer.strings().get(nameIndex);
|
H A D | MethodId.java | 22 private final DexBuffer buffer; field in class:MethodId 27 public MethodId(DexBuffer buffer, int declaringClassIndex, int protoIndex, int nameIndex) { argument 28 this.buffer = buffer; 63 if (buffer == null) { 66 return buffer.typeNames().get(declaringClassIndex) 67 + "." + buffer.strings().get(nameIndex) 68 + buffer.readTypeList(buffer.protoIds().get(protoIndex).getParametersOffset());
|
H A D | ProtoId.java | 22 private final DexBuffer buffer; field in class:ProtoId 27 public ProtoId(DexBuffer buffer, int shortyIndex, int returnTypeIndex, int parametersOffset) { argument 28 this.buffer = buffer; 60 if (buffer == null) { 64 return buffer.strings().get(shortyIndex) 65 + ": " + buffer.typeNames().get(returnTypeIndex) 66 + " " + buffer.readTypeList(parametersOffset);
|
H A D | ClassDef.java | 24 private final DexBuffer buffer; field in class:ClassDef 35 public ClassDef(DexBuffer buffer, int offset, int typeIndex, int accessFlags, argument 38 this.buffer = buffer; 67 return buffer.readTypeList(interfacesOffset).getTypes(); 91 if (buffer == null) { 96 result.append(buffer.typeNames().get(typeIndex)); 98 result.append(" extends ").append(buffer.typeNames().get(supertypeIndex));
|
/dalvik/dx/src/com/android/dx/dex/ |
H A D | TableOfContents.java | 70 public void readFrom(DexBuffer buffer) throws IOException { argument 71 readHeader(buffer.open(0)); 72 readMap(buffer.open(mapList.off));
|
/dalvik/vm/oo/ |
H A D | Object.cpp | 328 * Copy the argument types into the given array using the given buffer 331 static inline void copyTypes(char* buffer, const char** argTypes, argument 341 argTypes[i] = buffer; 346 *(buffer++) = c; 353 *(buffer++) = c; 357 *(buffer++) = '\0'; 377 * Make buffer big enough for all the argument type characters and 381 char buffer[argCount + (returnType - descriptor) - 2]; local 384 copyTypes(buffer, argTypes, argCount, descriptor);
|
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
H A D | DexData.java | 437 * Fills the buffer by reading bytes from the DEX file. 439 void readBytes(byte[] buffer) throws IOException { argument 440 mDexFile.readFully(buffer);
|
/dalvik/vm/ |
H A D | AllocTracker.cpp | 18 * Allocation tracking and reporting. We maintain a circular buffer with 21 * There are two basic approaches: manage the buffer with atomic updates 261 once in a memory buffer. 278 * We need to handle underflow in our circular buffer, so we add 366 * "baseLen" is zero. The return value is used to allocate a buffer. 367 * On the second call, "ptr" points to a data buffer, and "baseLen" 509 u1* buffer = NULL; local 549 * (Could also just write to an expanding buffer.) 561 * Part 3: allocate a buffer and generate the output. 565 buffer [all...] |
/dalvik/vm/compiler/ |
H A D | Dataflow.cpp | 824 char buffer[256]; local 830 buffer[0] = 0; 833 strcpy(buffer, "PHI"); 836 sprintf(buffer, "Opcode %#x", opcode); 840 strcpy(buffer, dexGetOpcodeName(opcode)); 845 strcat(buffer, note); 853 snprintf(buffer + strlen(buffer), 256, " v%d,", insn->vA); 857 snprintf(buffer + strlen(buffer), 25 924 char buffer[256]; local 1053 char buffer[256]; local [all...] |
/dalvik/vm/jdwp/ |
H A D | JdwpAdb.cpp | 142 char buffer[CMSG_SPACE(sizeof(int))]; member in union:__anon68 153 msg.msg_control = cm_un.buffer; 154 msg.msg_controllen = sizeof(cm_un.buffer); 386 * Figure out if we have a full packet in the buffer. 403 * Consume bytes from the buffer. 405 * This would be more efficient with a circular buffer. However, we're
|