Searched defs:val (Results 1 - 25 of 42) sorted by relevance

12

/dalvik/tests/025-access-controller/src/
H A DPrivvy.java11 public Privvy(int val) { argument
12 mValue = new Integer(val + 1);
/dalvik/tests/084-class-init/src/
H A DIntHolder.java38 public void setValue(int val) { argument
39 mValue = val;
/dalvik/tests/028-array-write/src/
H A DMain.java22 static void writeArray(int val) { argument
24 mStorage[i] = val;
/dalvik/vm/
H A DNative.h99 s8 val; local
100 memcpy(&val, &args[elem], sizeof(val));
101 return val;
H A DBits.h272 INLINE void set1(u1* buf, u1 val) argument
274 *buf = (u1)(val);
280 INLINE void set2BE(u1* buf, u2 val) argument
282 *buf++ = (u1)(val >> 8);
283 *buf = (u1)(val);
289 INLINE void set4BE(u1* buf, u4 val) argument
291 *buf++ = (u1)(val >> 24);
292 *buf++ = (u1)(val >> 16);
293 *buf++ = (u1)(val >> 8);
294 *buf = (u1)(val);
300 set8BE(u1* buf, u8 val) argument
315 set2LE(u1* buf, u2 val) argument
324 set4LE(u1* buf, u4 val) argument
335 set8LE(u1* buf, u8 val) argument
[all...]
H A DMisc.h48 INLINE float dvmU4ToFloat(u4 val) { argument
50 conv.in = val;
53 INLINE u4 dvmFloatToU4(float val) { argument
55 conv.in = val;
H A DHash.cpp293 int i, val, tableSize; local
301 val = (*func)(pEnt->data);
302 if (val == 1) {
307 else if (val != 0) {
308 return val;
323 int i, val, tableSize; local
331 val = (*func)(pEnt->data, arg);
332 if (val != 0)
333 return val;
H A DInlineNative.cpp533 s4 val = (s4) arg0; local
534 pResult->i = (val >= 0) ? val : -val;
547 s8 val = convert.ll; local
548 pResult->j = (val >= 0) ? val : -val;
H A DProfile.cpp150 static inline void storeShortLE(u1* buf, u2 val) argument
152 *buf++ = (u1) val;
153 *buf++ = (u1) (val >> 8);
155 static inline void storeIntLE(u1* buf, u4 val) argument
157 *buf++ = (u1) val;
158 *buf++ = (u1) (val >> 8);
159 *buf++ = (u1) (val >> 16);
160 *buf++ = (u1) (val >> 24);
162 static inline void storeLongLE(u1* buf, u8 val) argument
164 *buf++ = (u1) val;
[all...]
/dalvik/vm/hprof/
H A DHprofString.cpp54 void *val; local
60 val = dvmHashTableLookup(gStringHashTable, hashValue, (void *)str,
62 if (val == NULL) {
66 val = dvmHashTableLookup(gStringHashTable, hashValue, (void *)newStr,
68 assert(val != NULL);
73 return (hprof_string_id)val;
H A DHprofClass.cpp75 void *val; local
89 val = dvmHashTableLookup(gClassHashTable, computeClassHash(clazz),
91 assert(val != NULL);
/dalvik/libdex/
H A DZipArchive.h140 off_t val = 0; local
141 dexZipGetEntryInfo(pArchive, entry, NULL, NULL, NULL, &val, NULL, NULL);
142 return (long) val;
147 size_t val = 0; local
148 dexZipGetEntryInfo(pArchive, entry, NULL, &val, NULL, NULL, NULL, NULL);
149 return val;
154 long val = 0; local
155 dexZipGetEntryInfo(pArchive, entry, NULL, NULL, NULL, NULL, &val, NULL);
156 return val;
161 long val local
[all...]
H A DDexFile.cpp531 u4 dexRoundUpPower2(u4 val) argument
533 val--;
534 val |= val >> 1;
535 val |= val >> 2;
536 val |= val >> 4;
537 val |= val >>
[all...]
/dalvik/vm/jdwp/
H A DExpandBuf.cpp123 void expandBufAdd1(ExpandBuf* pBuf, u1 val) argument
125 ensureSpace(pBuf, sizeof(val));
126 *(pBuf->storage + pBuf->curLen) = val;
133 void expandBufAdd2BE(ExpandBuf* pBuf, u2 val) argument
135 ensureSpace(pBuf, sizeof(val));
136 set2BE(pBuf->storage + pBuf->curLen, val);
137 pBuf->curLen += sizeof(val);
143 void expandBufAdd4BE(ExpandBuf* pBuf, u4 val) argument
145 ensureSpace(pBuf, sizeof(val));
146 set4BE(pBuf->storage + pBuf->curLen, val);
153 expandBufAdd8BE(ExpandBuf* pBuf, u8 val) argument
[all...]
H A DJdwp.h55 INLINE void dvmSetFieldId(u1* buf, FieldId val) { return set4BE(buf, val); } argument
56 INLINE void dvmSetMethodId(u1* buf, MethodId val) { return set4BE(buf, val); } argument
57 INLINE void dvmSetObjectId(u1* buf, ObjectId val) { return set8BE(buf, val); } argument
58 INLINE void dvmSetRefTypeId(u1* buf, RefTypeId val) { return set8BE(buf, val); } argument
59 INLINE void dvmSetFrameId(u1* buf, FrameId val) { return set8BE(buf, val); } argument
[all...]
/dalvik/tests/074-gc-thrash/src/
H A DMain.java185 private String makeString(int val) { argument
186 return new String("Robin" + val);
304 private String makeString(int val) { argument
305 return new String("Deep" + val);
/dalvik/vm/analysis/
H A DRegisterMap.h106 INLINE void dvmRegisterMapSetOnHeap(RegisterMap* pMap, bool val) { argument
107 if (val)
/dalvik/dexopt/
H A DOptMain.cpp134 const char* val; local
/dalvik/vm/mterp/c/
H A Dheader.cpp158 s8 val;
159 memcpy(&val, &ptr[idx], 8);
160 return val;
165 static inline void putLongToArray(u4* ptr, int idx, s8 val) argument
171 conv.ll = val;
175 memcpy(&ptr[idx], &val, 8);
/dalvik/vm/test/
H A DAtomicTest.cpp139 int val; local
141 val = casTest;
142 } while (android_atomic_release_cas(val, val+3, &casTest) != 0);
144 val = casTest;
145 } while (android_atomic_acquire_cas(val, val-1, &casTest) != 0);
161 int val; local
163 val = casTest;
164 } while (compareAndSwap(val, va
[all...]
/dalvik/tools/dmtracedump/
H A DCreateTestTrace.c326 void write2LE(FILE* fp, unsigned short val) argument
328 putc(val & 0xff, fp);
329 putc(val >> 8, fp);
332 void write4LE(FILE* fp, unsigned int val) argument
334 putc(val & 0xff, fp);
335 putc((val >> 8) & 0xff, fp);
336 putc((val >> 16) & 0xff, fp);
337 putc((val >> 24) & 0xff, fp);
340 void write8LE(FILE* fp, unsigned long long val) argument
342 putc(val
429 unsigned int val = METHOD_COMBINE(pRecord->methodId, pRecord->action); local
[all...]
/dalvik/vm/interp/
H A DStack.cpp472 u8 val = va_arg(args, u8); local
473 memcpy(ins, &val, 8); // EABI prevents direct store
/dalvik/tools/hprof-conv/
H A DHprofConv.c277 uint16_t val; local
279 val = (buf[0] << 8) | buf[1];
280 return val;
288 uint32_t val; local
290 val = (buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3];
291 return val;
297 static void set4BE(unsigned char* buf, uint32_t val) argument
299 buf[0] = val >> 24;
300 buf[1] = val >> 16;
301 buf[2] = val >>
[all...]
/dalvik/vm/mterp/out/
H A DInterpC-armv5te-vfp.cpp165 s8 val;
166 memcpy(&val, &ptr[idx], 8);
167 return val;
172 static inline void putLongToArray(u4* ptr, int idx, s8 val) argument
178 conv.ll = val;
182 memcpy(&ptr[idx], &val, 8);
557 _fromvtype val; \
562 val = GET_REGISTER##_fromrtype(vsrc1); \
565 result = (_tovtype) val; \
566 if (val >
[all...]
H A DInterpC-armv5te.cpp165 s8 val;
166 memcpy(&val, &ptr[idx], 8);
167 return val;
172 static inline void putLongToArray(u4* ptr, int idx, s8 val) argument
178 conv.ll = val;
182 memcpy(&ptr[idx], &val, 8);
557 _fromvtype val; \
562 val = GET_REGISTER##_fromrtype(vsrc1); \
565 result = (_tovtype) val; \
566 if (val >
[all...]

Completed in 8476 milliseconds

12