Searched defs:mask (Results 1 - 16 of 16) sorted by relevance

/dalvik/vm/
H A DSignalCatcher.c257 sigset_t mask; local
264 /* set up mask with signals we want to handle */
265 sigemptyset(&mask);
266 sigaddset(&mask, SIGQUIT);
267 sigaddset(&mask, SIGUSR1);
269 sigaddset(&mask, SIGUSR2);
287 cc = sigwait(&mask, &rcvd);
H A DInit.c1070 sigset_t mask; local
1073 sigemptyset(&mask);
1074 sigaddset(&mask, SIGQUIT);
1075 sigaddset(&mask, SIGUSR1); // used to initiate heap dump
1077 sigaddset(&mask, SIGUSR2); // used to investigate JIT internals
1079 //sigaddset(&mask, SIGPIPE);
1080 cc = sigprocmask(SIG_BLOCK, &mask, NULL);
/dalvik/vm/alloc/
H A DHeapBitmap.h205 const unsigned long int mask = HB_OFFSET_TO_MASK(offset); local
220 *p |= mask;
221 return word & mask;
223 hb->bits[index] |= mask;
226 hb->bits[index] &= ~mask;
H A DHeap.c689 void dvmClearAllocFlags(Object *obj, int mask) argument
691 if ((mask & ALLOC_NO_GC) != 0) {
706 if ((mask & ALLOC_DONT_TRACK) != 0) {
/dalvik/dalvikvm/
H A DMain.c33 sigset_t mask; local
35 sigemptyset(&mask);
36 sigaddset(&mask, SIGPIPE);
37 if (sigprocmask(SIG_BLOCK, &mask, NULL) != 0)
/dalvik/libcore/luni/src/main/java/java/io/
H A DFilePermission.java65 transient int mask = -1; field in class:FilePermission
138 mask = getMask(actions);
140 // convert the mask to a canonical action list.
142 // the test mask - shift the 1 to the leftmost position of the
146 // if a bit of mask is set, append the corresponding action to result
150 if ((highestBitMask & mask) != 0) {
167 * @return the action mask
246 return match != 0 && match == ((FilePermission) p).mask;
255 * @return the mask applied to the given permission
262 int matchedMask = mask
[all...]
/dalvik/libcore/luni/src/main/java/java/lang/
H A DThreadLocal.java63 int index = hash & values.mask;
169 private int mask; field in class:ThreadLocal.Values
197 this.mask = fromParent.mask;
251 this.mask = table.length - 1;
372 for (int index = key.hash & mask;; index = next(index)) {
393 for (int index = key.hash & mask;; index = next(index)) {
432 int index = key.hash & mask;
513 for (int index = key.hash & mask;; index = next(index)) {
537 return (index + 2) & mask;
[all...]
/dalvik/libcore/luni/src/main/java/java/util/
H A DHugeEnumSet.java66 private long mask; field in class:HugeEnumSet.HugeEnumSetIterator
78 * Assigns mask and index to the next available value, cycling currentBits as necessary.
83 mask = currentBits & -currentBits; // the lowest 1 bit in currentBits
88 mask = 0;
95 return mask != 0;
99 if (mask == 0) {
103 int ordinal = Long.numberOfTrailingZeros(mask) + index * BIT_IN_LONG;
106 currentBits &= ~mask;
H A DMiniEnumSet.java58 private long mask = currentBits & -currentBits; // the lowest 1 bit in currentBits field in class:MiniEnumSet.MiniEnumSetIterator
66 return mask != 0;
70 if (mask == 0) {
74 int ordinal = Long.numberOfTrailingZeros(mask);
77 currentBits &= ~mask;
78 mask = currentBits & -currentBits; // the lowest 1 bit in currentBits
/dalvik/vm/compiler/codegen/arm/
H A DArchUtility.c193 void dvmDumpResourceMask(LIR *lir, u8 mask, const char *prefix) argument
199 if (mask == ENCODE_ALL) {
206 if (mask & (1ULL << i)) {
212 if (mask & ENCODE_CCODE) {
215 if (mask & ENCODE_FP_STATUS) {
218 if (armLIR && (mask & ENCODE_DALVIK_REG)) {
H A DCodegenCommon.c38 u8 mask; local
42 mask = ENCODE_MEM_USE;
45 mask = ENCODE_MEM_DEF;
48 *maskPtr &= ~mask;
89 static inline void setupRegMask(u8 *mask, int reg) argument
103 *mask |= seed << shift;
107 * Set up the proper fields in the resource mask
121 /* Set up the mask for resources that are updated */
165 /* Set up the mask for resources that are used */
/dalvik/dx/src/com/android/dx/rop/code/
H A DAccessFlags.java293 * @param mask mask for the "defined" bits
297 private static String humanHelper(int flags, int mask, int what) { argument
299 int extra = flags & ~mask;
301 flags &= mask;
/dalvik/vm/compiler/codegen/arm/Thumb2/
H A DGen.c126 int mask; local
148 mask = (mask3 << 3) | (mask2 << 2) | (mask1 << 1) |
150 return newLIR2(cUnit, kThumb2It, code, mask);
/dalvik/libcore/awt-kernel/src/main/java/java/awt/font/
H A DNumericShaper.java426 /** The mask. */
427 private int mask; field in class:NumericShaper
831 fRanges = (mask & ~(1 << 31));
832 fContextual = ((mask &(1 << 31)) != 0);
834 fRanges = (mask & ~(1 << 31));
837 fRanges = mask;
848 mask = fRanges;
850 mask |= (1 << 31);
/dalvik/vm/native/
H A Ddalvik_system_SamplingProfiler.c86 int mask; member in struct:__anon154
103 set.mask = capacity - 1;
135 int start = hash(oldEntry.method) & newSet.mask;
138 i = (i + 1) & newSet.mask;
157 int start = hash(method) & set->mask;
159 for (i = start;; i = (i + 1) & set->mask) {
/dalvik/libdex/
H A DDexFile.c367 int mask = pLookup->numEntries-1; local
368 int idx = hash & mask;
376 idx = (idx + 1) & mask;
862 int idx, mask; local
865 mask = pLookup->numEntries - 1;
866 idx = hash & mask;
888 idx = (idx + 1) & mask;

Completed in 698 milliseconds