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

1234567

/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/tests/120-disable-extended-ops/
H A Drun24 count=`dx --debug --dex --no-optimize --positions=none --no-locals \
26 if [ "$count" = "0" ]; then
30 count=`dx --debug --dex --no-optimize --positions=none --no-locals \
33 if [ "$count" != "0" ]; then
34 echo "Found $count iget/jumbo emitted with --target-api=11"
/dalvik/vm/
H A DPointerSet.cpp26 u2 count; member in struct:PointerSet
39 for (i = 0; i < pSet->count; i++) {
92 pSet->count = 0;
100 return pSet->count;
125 if (pSet->count == pSet->alloc) {
142 if (pSet->count == 0) {
166 if (nearby != pSet->count) {
169 (pSet->count - nearby) * sizeof(pSet->list[0]));
174 pSet->count++;
190 if (where != pSet->count
238 dvmPointerSetIntersect(PointerSet* pSet, const void** ptrArray, int count) argument
[all...]
H A DReferenceTable.cpp219 ALOGW(" NULL reference (count=%d)", equiv);
223 ALOGW(" cleared jweak (count=%d)", equiv);
251 void dvmDumpReferenceTableContents(Object* const* refs, size_t count, argument
256 if (count == 0) {
263 int first = count - kLast;
267 ALOGW(" Last %d entries (of %d):", (count - first), count);
268 for (int idx = count - 1; idx >= first; --idx) {
294 size_t count = 0; local
297 for (; *p && count < 1
[all...]
H A DStdioConverter.cpp37 int count; member in struct:BufferedData
148 stdoutData->count = stderrData->count = 0;
211 assert(data->count < kMaxLine);
213 want = kMaxLine - data->count;
214 actual = read(fd, data->buf + data->count, want);
220 //ALOGI("read %s: %d at %d", tag, actual, data->count);
222 data->count += actual;
230 int i = data->count;
231 for (i = data->count;
[all...]
/dalvik/tests/023-many-interfaces/
H A Diface-gen.c11 static int createFiles(int count) argument
16 for (i = 0; i < count; i++) {
35 for (i = 0; i < count; i++) {
36 fprintf(fp, " Interface%03d%s\n", i, (i == count-1) ? "" : ",");
39 for (i = 1; i < count; i += 2) {
/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...]
/dalvik/vm/test/
H A DTestHash.cpp36 int* count = (int*) arg; local
37 (*count)++;
42 int count = 0; local
45 dvmHashForeach(pTab, printFunc, &count);
46 if (count != kNumTestEntries) {
57 int count = 0; local
67 count++;
69 if (count != kNumTestEntries) {
158 int count = 0; local
163 count
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DMemberIdsSection.java63 AtomicInteger count = membersByPackage.get(packageName);
64 if (count == null) {
65 count = new AtomicInteger();
66 membersByPackage.put(packageName, count);
68 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;
/dalvik/vm/oo/
H A DAccessCheck.cpp26 int count = 0; local
29 char ch = str1[count];
30 if (ch == '\0' || ch != str2[count])
31 return count;
32 count++;
/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.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;
/dalvik/tests/050-sync-test/src/
H A DMain.java100 int count = mCount;
110 count++;
111 mCount = count;
119 private static int count = 0; field in class:SleepyThread
125 setName("thread#" + count);
126 count++;
/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/tests/098-native-allocations/src/
H A DMain.java55 int count = 16;
58 NativeAllocation[] allocations = new NativeAllocation[count];
60 allocations[i % count] = new NativeAllocation(size);
/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...]

Completed in 1307 milliseconds

1234567