Home
last modified time | relevance | path

Searched refs:n (Results 1 – 25 of 55) sorted by relevance

123

/dalvik/dx/src/com/android/dx/rop/cst/
DStdConstantPool.java56 public Constant getOrNull(int n) { in getOrNull() argument
58 return entries[n]; in getOrNull()
61 return throwInvalid(n); in getOrNull()
66 public Constant get0Ok(int n) { in get0Ok() argument
67 if (n == 0) { in get0Ok()
71 return get(n); in get0Ok()
75 public Constant get(int n) { in get() argument
77 Constant result = entries[n]; in get()
80 throwInvalid(n); in get()
86 return throwInvalid(n); in get()
[all …]
DConstantPool.java43 public Constant get(int n); in get() argument
55 public Constant get0Ok(int n); in get0Ok() argument
69 public Constant getOrNull(int n); in getOrNull() argument
DCstArray.java146 public Constant get(int n) { in get() argument
147 return (Constant) get0(n); in get()
156 public void set(int n, Constant a) { in set() argument
161 set0(n, a); in set()
/dalvik/dx/etc/
Dbytecode.txt20 # has result register (y/n)
23 00 10x n nop
37 0e 10x n return-void
38 0f 11x n return
39 10 11x n return-wide
40 11 11x n return-object
41 12 11n y const/4
52 1d 11x n monitor-enter
53 1e 11x n monitor-exit
59 24 35c n filled-new-array
[all …]
/dalvik/dx/src/com/android/dx/util/
DIntList.java171 public int get(int n) { in get() argument
172 if (n >= size) { in get()
177 return values[n]; in get()
190 public void set(int n, int value) { in set() argument
193 if (n >= size) { in set()
198 values[n] = value; in set()
202 if (n < 0) { in set()
235 public void insert(int n, int value) { in insert() argument
236 if (n > size) { in insert()
242 System.arraycopy (values, n, values, n+1, size - n); in insert()
[all …]
DFixedSizeList.java175 protected final Object get0(int n) { in get0() argument
177 Object result = arr[n]; in get0()
180 throw new NullPointerException("unset: " + n); in get0()
186 return throwIndex(n); in get0()
199 protected final Object getOrNull0(int n) { in getOrNull0() argument
200 return arr[n]; in getOrNull0()
212 protected final void set0(int n, Object obj) { in set0() argument
216 arr[n] = obj; in set0()
219 throwIndex(n); in set0()
230 private Object throwIndex(int n) { in throwIndex() argument
[all …]
DLabeledList.java148 protected void set(int n, LabeledItem item) { in set() argument
149 LabeledItem old = (LabeledItem) getOrNull0(n); in set()
151 set0(n, item); in set()
158 addLabelIndex(item.getLabel(), n); in set() local
/dalvik/dx/src/com/android/dx/cf/iface/
DStdFieldList.java36 public Field get(int n) { in get() argument
37 return (Field) get0(n); in get()
46 public void set(int n, Field field) { in set() argument
47 set0(n, field); in set()
DStdMethodList.java36 public Method get(int n) { in get() argument
37 return (Method) get0(n); in get()
46 public void set(int n, Method method) { in set() argument
47 set0(n, method); in set()
DStdAttributeList.java37 public Attribute get(int n) { in get() argument
38 return (Attribute) get0(n); in get()
101 public void set(int n, Attribute attribute) { in set() argument
102 set0(n, attribute); in set()
/dalvik/dx/src/com/android/dx/cf/code/
DByteBlockList.java45 public ByteBlock get(int n) { in get() argument
46 return (ByteBlock) get0(n); in get()
72 public void set(int n, ByteBlock bb) { in set() argument
73 super.set(n, bb); in set()
DLineNumberList.java74 public Item get(int n) { in get() argument
75 return (Item) get0(n); in get()
84 public void set(int n, Item item) { in set() argument
89 set0(n, item); in set()
99 public void set(int n, int startPc, int lineNumber) { in set() argument
100 set0(n, new Item(startPc, lineNumber)); in set()
DExecutionStack.java183 public TypeBearer peek(int n) { in peek() argument
184 if (n < 0) { in peek()
188 if (n >= stackPtr) { in peek()
192 return stack[stackPtr - n - 1]; in peek()
203 public Type peekType(int n) { in peekType() argument
204 return peek(n).getType(); in peekType()
236 public void change(int n, TypeBearer type) { in change() argument
246 int idx = stackPtr - n - 1; in change()
DSwitchList.java76 public int getValue(int n) { in getValue() argument
77 return values.get(n); in getValue()
87 public int getTarget(int n) { in getTarget() argument
88 return targets.get(n); in getTarget()
DByteCatchList.java59 public Item get(int n) { in get() argument
60 return (Item) get0(n); in get()
69 public void set(int n, Item item) { in set() argument
74 set0(n, item); in set()
88 public void set(int n, int startPc, int endPc, int handlerPc, in set() argument
90 set0(n, new Item(startPc, endPc, handlerPc, exceptionClass)); in set()
DLocalVariableList.java112 public Item get(int n) { in get() argument
113 return (Item) get0(n); in get()
122 public void set(int n, Item item) { in set() argument
127 set0(n, item); in set()
145 public void set(int n, int startPc, int length, CstUtf8 name, in set() argument
147 set0(n, new Item(startPc, length, name, descriptor, signature, index)); in set()
/dalvik/vm/alloc/
DHeapInternal.h157 #define FRACTIONAL_MB(n) (n) / (1024 * 1024), \ argument
158 ((((n) % (1024 * 1024)) / 1024) * 1000) / 1024
159 #define FRACTIONAL_PCT(n,max) ((n) * 100) / (max), \ argument
160 (((n) * 1000) / (max)) % 10
DHeapSource.c814 dvmHeapSourceAlloc(size_t n) in dvmHeapSourceAlloc() argument
822 if (heap->bytesAllocated + n > hs->softLimit) { in dvmHeapSourceAlloc()
828 FRACTIONAL_MB(hs->softLimit), n); in dvmHeapSourceAlloc()
831 ptr = mspace_calloc(heap->msp, 1, n); in dvmHeapSourceAlloc()
860 heapAllocAndGrow(HeapSource *hs, Heap *heap, size_t n) in heapAllocAndGrow() argument
873 ptr = dvmHeapSourceAlloc(n); in heapAllocAndGrow()
892 dvmHeapSourceAllocAndGrow(size_t n) in dvmHeapSourceAllocAndGrow() argument
902 ptr = dvmHeapSourceAlloc(n); in dvmHeapSourceAllocAndGrow()
913 ptr = dvmHeapSourceAlloc(n); in dvmHeapSourceAllocAndGrow()
927 ptr = heapAllocAndGrow(hs, heap, n); in dvmHeapSourceAllocAndGrow()
[all …]
/dalvik/dx/src/com/android/dx/rop/annotation/
DAnnotationsList.java76 public Annotations get(int n) { in get() argument
77 return (Annotations) get0(n); in get()
87 public void set(int n, Annotations a) { in set() argument
89 set0(n, a); in set()
/dalvik/dx/src/com/android/dx/cf/attrib/
DInnerClassList.java43 public Item get(int n) { in get() argument
44 return (Item) get0(n); in get()
58 public void set(int n, CstType innerClass, CstType outerClass, in set() argument
60 set0(n, new Item(innerClass, outerClass, innerName, accessFlags)); in set()
/dalvik/dx/src/com/android/dx/rop/code/
DInsnList.java43 public Insn get(int n) { in get() argument
44 return (Insn) get0(n); in get()
53 public void set(int n, Insn insn) { in set() argument
54 set0(n, insn); in set()
/dalvik/dx/src/com/android/dx/command/
DMain.java165 private static String[] without(String[] orig, int n) { in without() argument
168 System.arraycopy(orig, 0, newa, 0, n); in without()
169 System.arraycopy(orig, n + 1, newa, n, len - n); in without()
/dalvik/dx/src/com/android/dx/dex/code/
DCatchHandlerList.java48 public Entry get(int n) { in get() argument
49 return (Entry) get0(n); in get()
121 public void set(int n, CstType exceptionType, int handler) { in set() argument
122 set0(n, new Entry(exceptionType, handler)); in set()
131 public void set(int n, Entry entry) { in set() argument
132 set0(n, entry); in set()
DPositionList.java131 public Entry get(int n) { in get() argument
132 return (Entry) get0(n); in get()
141 public void set(int n, Entry entry) { in set() argument
142 set0(n, entry); in set()
DCatchTable.java49 public Entry get(int n) { in get() argument
50 return (Entry) get0(n); in get()
59 public void set(int n, Entry entry) { in set() argument
60 set0(n, entry); in set()

123