Searched refs:count (Results 1 - 25 of 72) sorted by relevance

123

/dalvik/dx/tests/115-merge/testdata/
H A DTryCatchFinally.java6 int count = 0;
15 count++;
19 count++;
22 if (count != 2) {
/dalvik/dexgen/src/com/android/dexgen/util/
H A DLeb128Utils.java41 int count = 0;
45 count++;
48 return count + 1;
62 int count = 0;
72 count++;
75 return count;
H A DOutput.java118 * @param count {@code >= 0;} the number of zeroes to write
120 public void writeZeroes(int count); argument
/dalvik/dx/src/com/android/dex/
H A DLeb128.java41 int count = 0;
45 count++;
48 return count + 1;
57 int count = 0;
62 result |= (cur & 0x7f) << (count * 7);
64 count++;
65 } while (((cur & 0x80) == 0x80) && count < 5);
85 int count = 0;
89 result |= (cur & 0x7f) << (count * 7);
90 count
[all...]
/dalvik/libdex/
H A DDexDataMap.cpp51 map->count = 0;
77 assert(map->count < map->max);
79 if ((map->count != 0) &&
80 (map->offsets[map->count - 1] >= offset)) {
82 map->offsets[map->count - 1], offset);
86 map->offsets[map->count] = offset;
87 map->types[map->count] = type;
88 map->count++;
100 int max = map->count - 1;
H A Dsha1.h9 unsigned long count[2]; member in struct:SHA1_CTX
H A DSysUtil.h101 int sysWriteFully(int fd, const void* buf, size_t count, const char* logMsg);
107 int sysCopyFileToFile(int outFd, int inFd, size_t count);
H A DDexCatch.h40 /* Get count of handler lists for the given DexCode. */
68 s4 count = readSignedLeb128(&pEncodedData); local
70 if (count <= 0) {
72 count = -count;
78 pIterator->countRemaining = count;
H A DSysUtil.cpp317 int sysWriteFully(int fd, const void* buf, size_t count, const char* logMsg) argument
319 while (count != 0) {
320 ssize_t actual = TEMP_FAILURE_RETRY(write(fd, buf, count));
325 } else if (actual != (ssize_t) count) {
327 logMsg, (int) actual, count);
330 count -= actual;
337 int sysCopyFileToFile(int outFd, int inFd, size_t count) argument
342 while (count != 0) {
343 size_t getSize = (count > kBufSize) ? kBufSize : count;
[all...]
H A DLeb128.h154 int count = 0; local
158 count++;
161 return count;
H A DDexDataMap.h27 u4 count; /* number of items currently in the map */ member in struct:DexDataMap
/dalvik/dx/src/com/android/dx/dex/file/
H A DMemberIdsSection.java62 AtomicInteger count = membersByPackage.get(packageName);
63 if (count == null) {
64 count = new AtomicInteger();
65 membersByPackage.put(packageName, count);
67 count.incrementAndGet();
H A DStatistics.java115 private int count; field in class:Statistics.Data
136 this.count = 1;
150 count++;
180 count + " item" + (count == 1 ? "" : "s") + "; " +
186 int average = totalSize / count;
H A DMapItem.java52 * {@code > 0;} count of items covered; {@code 1} if this
83 int count = 0;
88 if (count != 0) {
90 firstItem, lastItem, count));
94 count = 0;
97 count++;
100 if (count != 0) {
103 firstItem, lastItem, count));
121 * @param itemCount {@code > 0;} count of items covered
/dalvik/dx/src/com/android/dx/command/grep/
H A DMain.java31 int count = new Grep(dex, Pattern.compile(pattern), new PrintWriter(System.out)).grep();
32 System.exit((count > 0) ? 0 : 1);
/dalvik/tools/dexdeps/src/com/android/dexdeps/
H A DDexData.java139 int count = mHeaderItem.stringIdsSize;
140 int stringOffsets[] = new int[count];
142 //System.out.println("reading " + count + " strings");
145 for (int i = 0; i < count; i++) {
149 mStrings = new String[count];
152 for (int i = 0; i < count; i++) {
163 int count = mHeaderItem.typeIdsSize;
164 mTypeIds = new TypeIdItem[count];
166 //System.out.println("reading " + count + " typeIds");
168 for (int i = 0; i < count;
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DStatistics.java116 private int count; field in class:Statistics.Data
137 this.count = 1;
151 count++;
181 count + " item" + (count == 1 ? "" : "s") + "; " +
187 int average = totalSize / count;
H A DMapItem.java53 * {@code > 0;} count of items covered; {@code 1} if this
84 int count = 0;
89 if (count != 0) {
91 firstItem, lastItem, count));
95 count = 0;
98 count++;
101 if (count != 0) {
104 firstItem, lastItem, count));
122 * @param itemCount {@code > 0;} count of items covered
/dalvik/dx/src/com/android/dx/util/
H A DOutput.java120 * @param count {@code >= 0;} the number of zeroes to write
122 public void writeZeroes(int count); argument
/dalvik/opcode-gen/
H A Dopcode-gen.awk247 function readBytecodes(i, parts, line, cmd, status, count) {
248 # locals: parts, line, cmd, status, count
263 count = split(line, parts);
264 if (count == 0) continue; # Blank or comment line.
286 function defineOpcode(line, count, parts, idx) {
287 # locals: count, parts, idx
288 count = split(line, parts);
289 if (count != 6) return -1;
339 function defineFormat(line, count, parts, i) {
340 # locals: count, part
[all...]
/dalvik/tools/hprof-conv/
H A DHprofConv.c199 static int ebAddData(ExpandBuf* pBuf, const void* data, size_t count) argument
201 ebEnsureCapacity(pBuf, count);
202 memcpy(pBuf->storage + pBuf->curLen, data, count);
203 pBuf->curLen += count;
235 static int ebReadData(ExpandBuf* pBuf, FILE* in, size_t count, int eofExpected) argument
239 assert(count > 0);
241 ebEnsureCapacity(pBuf, count);
242 actual = fread(pBuf->storage + pBuf->curLen, 1, count, in);
243 if (actual != count) {
247 fprintf(stderr, "ERROR: read %zu of %zu bytes\n", actual, count);
340 int i, count; local
[all...]
/dalvik/docs/
H A Dporting-proto.c.txt72 s4 iasl32(s4 x, s4 count) { return x << (count & 0x1f); }
73 s8 iasl64(s8 x, s4 count) { return x << (count & 0x3f); }
75 s4 iasr32(s4 x, s4 count) { return x >> (count & 0x1f); }
76 s8 iasr64(s8 x, s4 count) { return x >> (count & 0x3f); }
78 s4 ilsr32(s4 x, s4 count) { return ((u4)x) >> (count
[all...]
/dalvik/dx/src/com/android/dx/cf/attrib/
H A DInnerClassList.java31 * @param count the number of elements to be in the list of inner classes
33 public InnerClassList(int count) { argument
34 super(count);
/dalvik/dx/src/com/android/dx/cf/code/
H A DBootstrapMethodArgumentsList.java37 * @param count the number of elements to be in the list
39 public BootstrapMethodArgumentsList(int count) { argument
40 super(count);
/dalvik/dx/src/com/android/dx/dex/code/
H A DDalvInsnList.java52 * @param regCount count, in register-units, of the number of registers
74 * @param regCount count, in register-units, of the number of registers
174 * Gets the minimum required register count implied by this
185 * method. This is equal to the largest argument word count of any
196 int count = 0;
204 count = methodRef.getParameterWordCount(isStatic);
207 count = invokeDynamicRef.getPrototype().getParameterTypes().getWordCount();
220 count = proto.getPrototype().getParameterTypes().getWordCount();
221 count = count
[all...]

Completed in 6357 milliseconds

123