Searched defs:buffer (Results 1 - 17 of 17) sorted by relevance

/dalvik/libdex/
H A Dsha1.h10 unsigned char buffer[64]; member in struct:SHA1_CTX
H A DDexProto.h35 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 Dsha1.cpp108 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 DSortableType.java46 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 DTypeList.java27 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 DDexMerger.java584 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 DAnnotation.java25 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 DFieldId.java22 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 DMethodId.java22 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 DProtoId.java22 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 DClassDef.java24 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 DTableOfContents.java70 public void readFrom(DexBuffer buffer) throws IOException { argument
71 readHeader(buffer.open(0));
72 readMap(buffer.open(mapList.off));
/dalvik/vm/oo/
H A DObject.cpp328 * 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 DDexData.java437 * 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 DAllocTracker.cpp18 * 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 DDataflow.cpp824 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 DJdwpAdb.cpp142 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

Completed in 1595 milliseconds