Searched refs:source (Results 1 - 24 of 24) sorted by relevance

/dalvik/dexgen/src/com/android/dexgen/util/
H A DDexJarMaker.java74 * @param source {@code non-null;} dex file to add
78 private void add(File source, JarOutputStream target) throws IOException { argument
80 if (!source.isFile()) {
81 throw new IllegalArgumentException("Wrong source dex file provided");
84 BufferedInputStream in = new BufferedInputStream(new FileInputStream(source));
86 entry.setTime(source.lastModified());
/dalvik/vm/compiler/template/
H A Dgen-template.py19 # and assembly source files for the Dalvik JIT.
79 source = tokens[1]
80 if source.endswith(".S"):
84 % source)
118 # Set location of a single opcode's source file.
197 source = "%s/%s.S" % (location, op)
200 print " emit %s --> asm" % source
203 appendSourceFile(source, dict, asm_fp, sister_list)
231 # Append the file specified by "source" to the open "outfp". Each line will
245 def appendSourceFile(source, dic
[all...]
/dalvik/vm/mterp/
H A Dgen-mterp.py19 # and assembly source files for the Dalvik interpreter.
101 source = tokens[1]
102 if source.endswith(".cpp"):
104 elif source.endswith(".S"):
108 % source)
157 # Set location of a single alt opcode's source file.
177 # Set location of a single opcode's source file.
329 def loadAndEmitAltStub(source, opindex):
332 print " alt emit %s --> stub" % source
337 appendSourceFile(source, dic
[all...]
/dalvik/docs/
H A Dprettify.js31 * 1) include this source file in an html page via
34 * 3) mark the <pre> and <code> tags in your source with class=prettyprint.
166 /** token style for embedded source. */
438 * @return {Object} source code and extracted tags.
499 return { source: sourceBuf.join(''), tags: extractedTags };
541 * function that takes source code and returns a list of decorations.
617 // Tags whose content is not escaped, and which contain source code.
621 // Splits any of the source|style|xmp entries above into a start tag,
622 // source content, and end tag.
629 function tokenizeMarkup(source) {
[all...]
/dalvik/dx/src/com/android/dx/ssa/
H A DDeadCodeRemover.java107 RegisterSpec source = sources.get(i);
108 useList[source.getReg()].remove(insnS);
112 source.getReg()))) {
117 worklist.set(source.getReg());
153 RegisterSpec source = sources.get(j);
154 useList[source.getReg()].remove(insn);
H A DSsaBasicBlock.java569 * is the source in question, then the move is placed at the beginning of
573 * @param source move source
575 public void addMoveToEnd(RegisterSpec result, RegisterSpec source) { argument
577 if (result.getReg() == source.getReg()) {
591 * The final insn in this block has a source or result
607 succ.addMoveToBeginning(result, source);
615 RegisterSpecList sources = RegisterSpecList.make(source);
630 * @param source move source
632 addMoveToBeginning(RegisterSpec result, RegisterSpec source) argument
[all...]
H A DEscapeAnalysis.java570 RegisterSpec source, result;
581 source = newRegs.get(index);
582 result = source.withReg(next.getResult().getReg());
583 insertPlainInsnBefore(next, RegisterSpecList.make(source),
598 source = sources.get(0);
599 result = source.withReg(newRegs.get(index).getReg());
600 insertPlainInsnBefore(use, RegisterSpecList.make(source),
643 * source of the move to any users of the result.
656 final RegisterSpec source = insn.getSources().get(0);
660 if (source
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DPlainInsn.java35 * @param position {@code non-null;} source position
58 * Constructs a single-source instance.
61 * @param position {@code non-null;} source position
63 * @param source {@code non-null;} spec for the source
66 RegisterSpec source) {
67 this(opcode, position, result, RegisterSpecList.make(source));
65 PlainInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpec source) argument
H A DRops.java1118 * @param sources {@code non-null;} list of source types
1168 Type source = sources.getType(0);
1170 if (source == Type.KNOWN_NULL) {
1177 componentType = source.getComponentType();
1182 Type source = sources.getType(1);
1184 if (source == Type.KNOWN_NULL) {
1191 componentType = source.getComponentType();
1341 * @param types {@code non-null;} source types
1353 * @param types {@code non-null;} source types
1365 * @param types {@code non-null;} source type
1715 opConv(TypeBearer dest, TypeBearer source) argument
[all...]
/dalvik/dx/src/com/android/dx/rop/code/
H A DPlainInsn.java36 * @param position {@code non-null;} source position
59 * Constructs a single-source instance.
62 * @param position {@code non-null;} source position
64 * @param source {@code non-null;} spec for the source
67 RegisterSpec source) {
68 this(opcode, position, result, RegisterSpecList.make(source));
110 // Check for reverse subtraction, where first source is constant
66 PlainInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpec source) argument
H A DRops.java1118 * @param sources {@code non-null;} list of source types
1168 Type source = sources.getType(0);
1170 if (source == Type.KNOWN_NULL) {
1177 componentType = source.getComponentType();
1182 Type source = sources.getType(1);
1184 if (source == Type.KNOWN_NULL) {
1191 componentType = source.getComponentType();
1341 * @param types {@code non-null;} source types
1353 * @param types {@code non-null;} source types
1365 * @param types {@code non-null;} source type
1715 opConv(TypeBearer dest, TypeBearer source) argument
[all...]
/dalvik/vm/native/
H A Ddalvik_system_Zygote.cpp251 // See storage config details at http://source.android.com/tech/storage/
264 const char* source = getenv("EMULATED_STORAGE_SOURCE"); local
267 if (source == NULL || target == NULL || legacy == NULL) {
272 // Prepare source paths
278 snprintf(source_user, PATH_MAX, "%s/%d", source, userid);
280 snprintf(source_obb, PATH_MAX, "%s/obb", source);
292 if (mount(source, target, NULL, MS_BIND, NULL) == -1) {
293 SLOGE("Failed to mount %s to %s: %s", source, target, strerror(errno));
/dalvik/dx/src/com/android/dx/merge/
H A DDexMerger.java309 updateIndex(e1.offset, getIndexMap(e1.source), e1.index, outCount - 1);
313 updateIndex(e2.offset, getIndexMap(e2.source), e2.index, outCount - 1);
323 private List<UnsortedValue> readUnsortedValues(DexBuffer source, IndexMap indexMap) { argument
324 TableOfContents.Section section = getSection(source.getTableOfContents());
330 DexBuffer.Section in = source.open(section.off);
334 result.add(new UnsortedValue(source, indexMap, value, i, offset));
345 final DexBuffer source; field in class:DexMerger.IdMerger.UnsortedValue
351 UnsortedValue(DexBuffer source, IndexMap indexMap, T value, int index, int offset) { argument
352 this.source = source;
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DRopperMachine.java115 * {@code null-ok;} the source position for the return block or {@code null}
318 * What we do is first move all the source registers into
583 RegisterSpec source = sources.get(0);
584 TypeBearer type = source.getTypeBearer();
585 if (source.getReg() != 0) {
588 source));
H A DRopper.java1127 RegisterSpec source = RegisterSpec.make(0, sourceTypes.getType(0));
1128 sources = RegisterSpecList.make(source);
/dalvik/vm/
H A DException.h242 void dvmThrowArrayStoreExceptionIncompatibleArrays(ClassObject* source, ClassObject* destination);
H A DAndroid.mk135 # The libffi from the source tree should never be used by host builds.
H A DException.cpp1225 void dvmThrowArrayStoreExceptionIncompatibleArrays(ClassObject* source, ClassObject* destination) argument
1229 source, destination);
1238 "source[%d] of type %s cannot be stored in destination array of type %s",
/dalvik/dx/src/com/android/dx/ssa/back/
H A DSsaToRop.java203 RegisterSpec source = sources.get(i);
207 predBlock.addMoveToEnd(result, source);
H A DFirstFitLocalCombiningAllocator.java452 * Handles check cast results to reuse the same source register.
514 * If source and result have a different mapping, insert a move so
713 * Maps the source registers of the specified instruction such that they
727 RegisterSpec source = sources.get(i);
728 int sourceReg = source.getReg();
729 int category = source.getCategory();
738 addMapping(source, curRopReg);
755 // Don't map anything that's also a source.
780 // the category for each source index
795 // by source inde
[all...]
/dalvik/dx/etc/
H A Djasmin.jar ... vars java.util.Vector methods jas.SourceAttr source jas.SignatureAttr signature jas.SourceDebugExtensionAttr debug jas. ...
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DRopTranslator.java440 * two register sources, and have a source equal to the result,
441 * place that source first.
453 * two register sources, and have a source equal to the result,
454 * place that source first.
470 * if the second source is the same register as the result,
592 RegisterSpec source =
596 RegisterSpecList.make(dest, source));
/dalvik/dx/src/com/android/dx/dex/code/
H A DRopTranslator.java447 * two register sources, and have a source equal to the result,
448 * place that source first.
460 * two register sources, and have a source equal to the result,
461 * place that source first.
477 * if the second source is the same register as the result,
599 RegisterSpec source =
603 RegisterSpecList.make(dest, source));
/dalvik/vm/mterp/out/
H A DInterpAsm-x86.S7989 leal (%ecx,%eax,1),%eax # eax<- address of 64-bit source

Completed in 1032 milliseconds