/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | get_pred_adv_b_add.cpp | 194 uint32 mask; in GetPredAdvancedBy0x1() local 207 mask = 254; in GetPredAdvancedBy0x1() 208 mask |= (mask << 8); in GetPredAdvancedBy0x1() 209 mask |= (mask << 16); /* 0xFEFEFEFE */ in GetPredAdvancedBy0x1() 222 word1 &= mask; in GetPredAdvancedBy0x1() 223 word3 &= (~mask); /* 0x1010101, check last bit */ in GetPredAdvancedBy0x1() 224 word12 &= mask; in GetPredAdvancedBy0x1() 234 word2 &= mask; in GetPredAdvancedBy0x1() 235 word3 &= (~mask); /* 0x1010101, check last bit */ in GetPredAdvancedBy0x1() 236 word12 &= mask; in GetPredAdvancedBy0x1() [all …]
|
D | vlc_decode.cpp | 327 int mask = (half_range << 1) - 1; in PV_DeScaleMVD() local 346 *vector = (MOT)((*vector + half_range) & mask) - half_range; in PV_DeScaleMVD() 1473 uint code, mask; in RvlcDecTCOEFInter() local 1477 mask = 0x4000; /* mask 100000000000000 */ in RvlcDecTCOEFInter() 1499 if (code & mask) in RvlcDecTCOEFInter() 1502 while (mask && count > 0) /* fix 3/28/01 */ in RvlcDecTCOEFInter() 1504 mask = mask >> 1; in RvlcDecTCOEFInter() 1505 if (code & mask) in RvlcDecTCOEFInter() 1515 while (mask && count > 0) /* fix 3/28/01 */ in RvlcDecTCOEFInter() 1517 mask = mask >> 1; in RvlcDecTCOEFInter() [all …]
|
D | vlc_dequant.cpp | 33 static const uint8 mask[8] = /* for fast bitmap */ variable 155 bitmapcol[k&0x7] |= mask[k>>3]; in VlcDequantMpegIntraBlock() 200 bitmapcol[0] |= mask[k>>3]; in VlcDequantMpegIntraBlock() 266 bitmapcol[0] |= mask[k>>3]; in VlcDequantMpegIntraBlock() 321 bitmapcol[0] |= mask[k>>3]; in VlcDequantMpegIntraBlock() 360 (*bitmaprow) |= mask[k]; in VlcDequantMpegIntraBlock() 457 bitmapcol[k&0x7] |= mask[k>>3]; in VlcDequantMpegInterBlock() 483 (*bitmaprow) |= mask[k]; in VlcDequantMpegInterBlock() 602 bitmapcol[k&0x7] |= mask[k>>3]; in VlcDequantH263IntraBlock() 650 bitmapcol[0] |= mask[k>>3]; in VlcDequantH263IntraBlock() [all …]
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | motion_comp.cpp | 460 ULong mask; in GetPredAdvBy0x1() local 470 mask = 254; in GetPredAdvBy0x1() 471 mask |= (mask << 8); in GetPredAdvBy0x1() 472 mask |= (mask << 16); /* 0xFEFEFEFE */ in GetPredAdvBy0x1() 485 word1 &= mask; in GetPredAdvBy0x1() 486 word3 &= (~mask); /* 0x1010101, check last bit */ in GetPredAdvBy0x1() 487 word12 &= mask; in GetPredAdvBy0x1() 497 word2 &= mask; in GetPredAdvBy0x1() 498 word3 &= (~mask); /* 0x1010101, check last bit */ in GetPredAdvBy0x1() 499 word12 &= mask; in GetPredAdvBy0x1() [all …]
|
D | dct.cpp | 46 Int mask; in BlockDCT_AANwSub() local 58 mask = 0x1FE; in BlockDCT_AANwSub() 62 k1 = mask & (tmp << 1); in BlockDCT_AANwSub() 65 k2 = mask & (tmp >> 7); in BlockDCT_AANwSub() 68 k3 = mask & (tmp >> 15); in BlockDCT_AANwSub() 71 k4 = mask & (tmp >> 23); in BlockDCT_AANwSub() 76 k5 = mask & (tmp << 1); in BlockDCT_AANwSub() 79 k6 = mask & (tmp >> 7); in BlockDCT_AANwSub() 82 k7 = mask & (tmp >> 15); in BlockDCT_AANwSub() 85 tmp = mask & (tmp >> 23); in BlockDCT_AANwSub() [all …]
|
D | me_utils.cpp | 318 Int tmp, tmp2, mask = 0x00FF00FF; in ComputeMBSum_C() local 326 tmp2 = tmp & mask; in ComputeMBSum_C() 327 tmp = (tmp >> 8) & mask; in ComputeMBSum_C() 331 tmp2 = tmp & mask; in ComputeMBSum_C() 332 tmp = (tmp >> 8) & mask; in ComputeMBSum_C() 336 tmp2 = tmp & mask; in ComputeMBSum_C() 337 tmp = (tmp >> 8) & mask; in ComputeMBSum_C() 342 tmp2 = tmp & mask; in ComputeMBSum_C() 343 tmp = (tmp >> 8) & mask; in ComputeMBSum_C() 348 tmp2 = tmp & mask; in ComputeMBSum_C() [all …]
|
D | sad_inline.h | 42 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask) in sad_4pixel() argument 56 x7 = mask & ((uint32)x7 >> 1); in sad_4pixel() 189 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask) 198 AND x7, mask, x7, lsr #1; 208 __inline int32 sad_4pixelN(int32 src1, int32 src2, int32 mask) 217 ANDS x7, mask, x7, rrx; 365 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask) 371 register int32 mm = mask; 390 __inline int32 sad_4pixelN(int32 src1, int32 src2, int32 mask) 396 register int32 mm = mask;
|
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
D | dec_alg_codebook.cpp | 121 int32 mask, i; in dec_1p_N1() local 123 mask = ((1 << N) - 1); in dec_1p_N1() 127 pos1 = ((index & mask) + offset); in dec_1p_N1() 148 int32 mask, i; in dec_2p_2N1() local 150 mask = (int32)(sub_int16(shl_int16(1, N), 1)); /* mask = ((1<<N)-1); */ in dec_2p_2N1() 155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset))); in dec_2p_2N1() 158 pos2 = add_int16((int16)(index & mask), offset); /* pos2 = ((index & mask) + offset); */ in dec_2p_2N1() 195 int32 mask, idx; in dec_3p_3N1() local 202 mask = ((1 << ((2 * N) - 1)) - 1); in dec_3p_3N1() 204 idx = index & mask; in dec_3p_3N1() [all …]
|
/frameworks/base/core/tests/coretests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 399 int mask = (BluetoothReceiver.STATE_TURNING_ON_FLAG | BluetoothReceiver.STATE_ON_FLAG in enable() local 415 mask = 0; // Don't check for received intents since we might have missed them. in enable() 426 if ((mBluetoothReceiver.getFiredFlags() & mask) == mask) { in enable() 442 state, BluetoothAdapter.STATE_ON, firedFlags, mask)); in enable() 446 int mask = (BluetoothReceiver.STATE_TURNING_OFF_FLAG | BluetoothReceiver.STATE_OFF_FLAG in disable() local 465 mask = 0; // Don't check for received intents since we might have missed them. in disable() 476 if ((mBluetoothReceiver.getFiredFlags() & mask) == mask) { in disable() 492 state, BluetoothAdapter.STATE_OFF, firedFlags, mask)); in disable() 496 int mask = BluetoothReceiver.SCAN_MODE_CONNECTABLE_DISCOVERABLE_FLAG; in discoverable() local 515 if ((mBluetoothReceiver.getFiredFlags() & mask) == mask) { in discoverable() [all …]
|
/frameworks/base/cmds/system_server/ |
D | system_main.cpp | 35 sigset_t mask; in blockSignals() local 38 sigemptyset(&mask); in blockSignals() 39 sigaddset(&mask, SIGQUIT); in blockSignals() 40 sigaddset(&mask, SIGUSR1); in blockSignals() 41 cc = sigprocmask(SIG_BLOCK, &mask, NULL); in blockSignals()
|
/frameworks/base/media/libstagefright/codecs/aacenc/src/ |
D | interface.c | 53 Word32 mask; in BuildInterface() local 84 mask = 0; in BuildInterface() 86 mask = mask << 1; in BuildInterface() 88 mask = mask << 1; in BuildInterface() 89 mask |= 1; in BuildInterface() 92 psyOutCh->groupingMask = mask; in BuildInterface()
|
/frameworks/base/services/surfaceflinger/DisplayHardware/ |
D | DisplayHardwareBase.cpp | 238 sigset_t mask; in ConsoleManagerThread() local 239 sigemptyset(&mask); in ConsoleManagerThread() 240 sigaddset(&mask, vm.relsig); in ConsoleManagerThread() 241 sigaddset(&mask, vm.acqsig); in ConsoleManagerThread() 242 sigprocmask(SIG_BLOCK, &mask, NULL); in ConsoleManagerThread() 280 sigset_t mask; in readyToRun() local 281 sigemptyset(&mask); in readyToRun() 282 sigaddset(&mask, vm.relsig); in readyToRun() 283 sigaddset(&mask, vm.acqsig); in readyToRun() 284 sigprocmask(SIG_BLOCK, &mask, NULL); in readyToRun() [all …]
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
D | getgroup.cpp | 223 UInt mask; in getgroup() local 228 mask = 0x40; in getgroup() 243 if ((groupBits & mask) == 0) in getgroup() 249 mask >>= 1; in getgroup()
|
D | tns_decode_coef.cpp | 315 Int32 mask; in tns_decode_coef() local 386 mask = tempInt32 >> 31; in tns_decode_coef() 387 tempInt32 ^= mask; in tns_decode_coef() 399 mask = tempInt32 >> 31; in tns_decode_coef() 400 tempInt32 ^= mask; in tns_decode_coef()
|
/frameworks/base/core/java/android/os/ |
D | FileObserver.java | 91 public int startWatching(String path, int mask, FileObserver observer) { in startWatching() argument 92 int wfd = startWatching(m_fd, path, mask); in startWatching() 108 public void onEvent(int wfd, int mask, String path) { in onEvent() argument 125 observer.onEvent(mask, path); in onEvent() 134 private native int startWatching(int fd, String path, int mask); in startWatching() argument 165 public FileObserver(String path, int mask) { in FileObserver() argument 167 m_mask = mask; in FileObserver()
|
D | StrictMode.java | 198 final int mask; field in StrictMode.ThreadPolicy 200 private ThreadPolicy(int mask) { in ThreadPolicy() argument 201 this.mask = mask; in ThreadPolicy() 206 return "[StrictMode.ThreadPolicy; mask=" + mask + "]"; in toString() 245 mMask = policy.mask; in Builder() 382 final int mask; field in StrictMode.VmPolicy 384 private VmPolicy(int mask) { in VmPolicy() argument 385 this.mask = mask; in VmPolicy() 390 return "[StrictMode.VmPolicy; mask=" + mask + "]"; in toString() 518 setThreadPolicyMask(policy.mask); in setThreadPolicy() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
D | IconLoader.java | 306 int mask = getMask(bitsPerImg); in parseToRGB() local 314 int clutEntry = ((currentByte >> bitIndex) & mask); in parseToRGB() 332 int mask = 0x00; in getMask() local 336 mask = 0x01; in getMask() 339 mask = 0x03; in getMask() 342 mask = 0x07; in getMask() 345 mask = 0x0F; in getMask() 348 mask = 0x1F; in getMask() 351 mask = 0x3F; in getMask() 354 mask = 0x7F; in getMask() [all …]
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
D | q_pulse.c | 35 Word16 mask; in quant_1p_N1() local 38 mask = (1 << N) - 1; /* mask = ((1<<N)-1); */ in quant_1p_N1() 42 index = L_deposit_l((Word16) (pos & mask)); in quant_1p_N1() 56 Word16 mask, tmp; in quant_2p_2N1() local 58 mask = (1 << N) - 1; /* mask = ((1<<N)-1); */ in quant_2p_2N1() 68 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); in quant_2p_2N1() 72 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1() 82 if (vo_sub((Word16) (pos1 & mask), (Word16) (pos2 & mask)) <= 0) in quant_2p_2N1() 85 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1() 94 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); in quant_2p_2N1() [all …]
|
/frameworks/base/include/private/surfaceflinger/ |
D | SharedBufferStack.h | 312 uint32_t mask, curr; variable 313 const_iterator(uint32_t mask) : in const_iterator() argument 314 mask(mask), curr(__builtin_clz(mask)) { in const_iterator() 318 return mask == rhs.mask; 321 return mask != rhs.mask; 325 mask &= ~(1<<(31-curr)); 326 curr = __builtin_clz(mask); 338 uint32_t mask = (1 << (32-mCapacity)) - 1; in free_begin() local 339 return const_iterator( ~(mList | mask) ); in free_begin()
|
/frameworks/base/core/jni/ |
D | android_net_NetUtils.cpp | 39 in_addr_t *mask, 51 in_addr_t *mask, 162 in_addr_t ipaddr, gateway, mask, dns1, dns2, server; in android_net_utils_runDhcp() local 166 result = ::dhcp_do_request(nameStr, &ipaddr, &gateway, &mask, in android_net_utils_runDhcp() 172 env->SetIntField(info, dhcpInfoFieldIds.netmask, mask); in android_net_utils_runDhcp() 210 jint mask, in android_net_utils_configureInterface() argument 219 result = ::ifc_configure(nameStr, ipaddr, mask, gateway, dns1, dns2); in android_net_utils_configureInterface() 227 in_addr_t ipaddr, gateway, mask, dns1, dns2, server; in android_net_utils_runDhcpRenew() local 231 result = ::dhcp_do_request_renew(nameStr, &ipaddr, &gateway, &mask, in android_net_utils_runDhcpRenew() 237 env->SetIntField(info, dhcpInfoFieldIds.netmask, mask); in android_net_utils_runDhcpRenew()
|
/frameworks/base/core/java/android/text/util/ |
D | Linkify.java | 198 public static final boolean addLinks(Spannable text, int mask) { in addLinks() argument 199 if (mask == 0) { in addLinks() 211 if ((mask & WEB_URLS) != 0) { in addLinks() 217 if ((mask & EMAIL_ADDRESSES) != 0) { in addLinks() 223 if ((mask & PHONE_NUMBERS) != 0) { in addLinks() 229 if ((mask & MAP_ADDRESSES) != 0) { in addLinks() 252 public static final boolean addLinks(TextView text, int mask) { in addLinks() argument 253 if (mask == 0) { in addLinks() 260 if (addLinks((Spannable) t, mask)) { in addLinks() 269 if (addLinks(s, mask)) { in addLinks()
|
/frameworks/base/core/java/android/view/ |
D | WindowManager.java | 407 @ViewDebug.FlagToString(mask = FLAG_BLUR_BEHIND, equals = FLAG_BLUR_BEHIND, 409 @ViewDebug.FlagToString(mask = FLAG_DIM_BEHIND, equals = FLAG_DIM_BEHIND, 411 @ViewDebug.FlagToString(mask = FLAG_NOT_FOCUSABLE, equals = FLAG_NOT_FOCUSABLE, 413 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCHABLE, equals = FLAG_NOT_TOUCHABLE, 415 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCH_MODAL, equals = FLAG_NOT_TOUCH_MODAL, 417 @ViewDebug.FlagToString(mask = FLAG_LAYOUT_IN_SCREEN, equals = FLAG_LAYOUT_IN_SCREEN, 419 @ViewDebug.FlagToString(mask = FLAG_DITHER, equals = FLAG_DITHER, 421 @ViewDebug.FlagToString(mask = FLAG_TURN_SCREEN_ON, equals = FLAG_TURN_SCREEN_ON, 423 @ViewDebug.FlagToString(mask = FLAG_KEEP_SCREEN_ON, equals = FLAG_KEEP_SCREEN_ON, 425 @ViewDebug.FlagToString(mask = FLAG_SHOW_WHEN_LOCKED, equals = FLAG_SHOW_WHEN_LOCKED, [all …]
|
/frameworks/base/libs/rs/ |
D | rsProgramFragment.cpp | 199 uint32_t mask = mTextureEnableMask; in createShader() local 201 while (mask) { in createShader() 202 if (mask & 1) { in createShader() 209 mask >>= 1; in createShader() 225 mask = mTextureEnableMask; in createShader() 227 while (mask) { in createShader() 228 if (mask & 1) { in createShader() 271 mask >>= 1; in createShader()
|
/frameworks/base/core/java/android/text/method/ |
D | MetaKeyKeyListener.java | 315 private static long resetLock(long state, int what, long mask) { in resetLock() argument 317 state &= ~mask; in resetLock() 387 private static long adjust(long state, int what, long mask) { in adjust() argument 389 return (state&~mask) | what | ((long)what)<<USED_SHIFT; in adjust() 391 return state & ~mask; in adjust() 415 private static long press(long state, int what, long mask) { in press() argument 419 state = (state&~mask) | what | (((long)what) << LOCKED_SHIFT); in press() 423 state = state&~mask; in press() 449 private static long release(long state, int what, long mask) { in release() argument 451 state = state&~mask; in release()
|
/frameworks/base/libs/utils/ |
D | String8.cpp | 740 int32_t mask, to_ignore_mask; in utf8_length() local 743 for (num_to_read = 1, mask = 0x40, to_ignore_mask = 0x80; in utf8_length() 744 num_to_read < 5 && (first_char & mask); in utf8_length() 745 num_to_read++, to_ignore_mask |= mask, mask >>= 1) { in utf8_length() 756 to_ignore_mask |= mask; in utf8_length() 784 int32_t mask; in utf32_length() local 786 for (mask = 0x40; (first_char & mask); num_to_skip++, mask >>= 1) { in utf32_length() 833 char32_t mask, to_ignore_mask; in utf32_at_internal() local 836 for (num_to_read = 1, mask = 0x40, to_ignore_mask = 0xFFFFFF80; in utf32_at_internal() 837 (first_char & mask); in utf32_at_internal() [all …]
|