Searched refs:count (Results 1 - 25 of 66) 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
H A DByteArrayAnnotatedOutput.java229 int count = 0;
235 count++;
239 return count + 1;
245 int count = 0;
256 count++;
259 return count;
309 public void writeZeroes(int count) { argument
310 if (count < 0) {
311 throw new IllegalArgumentException("count < 0");
314 int end = cursor + count;
[all...]
/dalvik/libdex/
H A DDexDataMap.cpp50 map->count = 0;
76 assert(map->count < map->max);
78 if ((map->count != 0) &&
79 (map->offsets[map->count - 1] >= offset)) {
81 map->offsets[map->count - 1], offset);
85 map->offsets[map->count] = offset;
86 map->types[map->count] = type;
87 map->count++;
99 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.cpp316 int sysWriteFully(int fd, const void* buf, size_t count, const char* logMsg) argument
318 while (count != 0) {
319 ssize_t actual = TEMP_FAILURE_RETRY(write(fd, buf, count));
324 } else if (actual != (ssize_t) count) {
326 logMsg, (int) actual, count);
329 count -= actual;
336 int sysCopyFileToFile(int outFd, int inFd, size_t count) argument
341 while (count != 0) {
342 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/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/dx/src/com/android/dx/dex/file/
H A DMemberIdsSection.java64 AtomicInteger count = membersByPackage.get(packageName);
65 if (count == null) {
66 count = new AtomicInteger();
67 membersByPackage.put(packageName, count);
69 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/tools/dexdeps/src/com/android/dexdeps/
H A DDexData.java137 int count = mHeaderItem.stringIdsSize;
138 int stringOffsets[] = new int[count];
140 //System.out.println("reading " + count + " strings");
143 for (int i = 0; i < count; i++) {
147 mStrings = new String[count];
150 for (int i = 0; i < count; i++) {
161 int count = mHeaderItem.typeIdsSize;
162 mTypeIds = new TypeIdItem[count];
164 //System.out.println("reading " + count + " typeIds");
166 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.c185 static int ebAddData(ExpandBuf* pBuf, const void* data, size_t count) argument
187 ebEnsureCapacity(pBuf, count);
188 memcpy(pBuf->storage + pBuf->curLen, data, count);
189 pBuf->curLen += count;
221 static int ebReadData(ExpandBuf* pBuf, FILE* in, size_t count, int eofExpected) argument
225 assert(count > 0);
227 ebEnsureCapacity(pBuf, count);
228 actual = fread(pBuf->storage + pBuf->curLen, 1, count, in);
229 if (actual != count) {
233 fprintf(stderr, "ERROR: read %d of %d bytes\n", actual, count);
326 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/hit/src/com/android/hit/
H A DHeap.java114 int count = theClass.mInstances.size();
116 if (count > 0) {
117 System.out.println(theClass + ": " + count);
124 int count = theClass.mSubclasses.size();
126 if (count > 0) {
/dalvik/dx/src/com/android/dx/cf/direct/
H A DStdAttributeFactory.java384 int count = bytes.getUnsignedShort(offset); // number_of_exceptions
388 "number_of_exceptions: " + Hex.u2(count));
394 if (length != (count * 2)) {
395 throwBadLength((count * 2) + 2);
398 TypeList list = cf.makeTypeList(offset, count);
413 int count = bytes.getUnsignedShort(offset); // number_of_classes
417 "number_of_classes: " + Hex.u2(count));
423 if (length != (count * 8)) {
424 throwBadLength((count * 8) + 2);
427 InnerClassList list = new InnerClassList(count);
557 parseLocalVariables(ByteArray bytes, ConstantPool pool, ParseObserver observer, int count, boolean typeTable) argument
[all...]

Completed in 491 milliseconds

123