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

12

/system/extras/tests/bionic/libc/other/
H A Dtest_timer_create2.c80 sigset_t mask[1]; local
83 sigemptyset(mask);
84 sigaddset(mask, SIGUSR1);
85 sigprocmask(SIG_UNBLOCK,mask,NULL);
/system/media/wilhelm/src/itf/
H A DI3DGrouping.c43 unsigned mask = 1 << id; local
52 assert(oldGroup->mMemberMask & mask);
53 oldGroup->mMemberMask &= ~mask;
62 assert(!(newGroup->mMemberMask & mask));
63 newGroup->mMemberMask |= mask;
111 unsigned mask = 1 << (InterfaceToIObject(thiz)->mInstanceID - 1); local
114 assert(group->mMemberMask & mask);
115 group->mMemberMask &= ~mask;
H A DIMIDIMuteSolo.c31 SLuint16 mask = 1 << channel; local
34 thiz->mChannelMuteMask |= mask;
36 thiz->mChannelMuteMask &= ~mask;
55 SLuint16 mask = thiz->mChannelMuteMask; local
57 *pMute = (mask >> channel) & 1;
74 SLuint16 mask = 1 << channel; local
77 thiz->mChannelSoloMask |= mask;
79 thiz->mChannelSoloMask &= ~mask;
98 SLuint16 mask = thiz->mChannelSoloMask; local
100 *pSolo = (mask >> channe
135 SLuint32 mask = 1 << track; local
159 SLuint32 mask = thiz->mTrackMuteMask; local
178 SLuint32 mask = 1 << track; interface_lock_exclusive(thiz); local
201 SLuint32 mask = thiz->mTrackSoloMask; local
[all...]
H A DIMuteSolo.c41 SLuint8 mask = 1 << chan; local
44 ap->mMuteMask |= mask;
46 ap->mMuteMask &= ~mask;
81 SLuint8 mask = ap->mMuteMask; local
82 mute = (SLboolean) ((mask >> chan) & 1);
113 SLuint8 mask = 1 << chan; local
116 ap->mSoloMask |= mask;
118 ap->mSoloMask &= ~mask;
153 SLuint8 mask = ap->mSoloMask; local
154 solo = (SLboolean) ((mask >> cha
[all...]
H A DIDynamicInterfaceManagement.c238 unsigned mask = 1 << index; local
239 if (thisObject->mGottenMask & mask) {
240 thisObject->mGottenMask &= ~mask;
H A DIEffectSend.c68 unsigned mask = 1 << index; local
71 mask &= outputMix->mObject.mGottenMask;
80 if (mask) {
H A DIObject.c345 unsigned mask = 1 << index; local
363 if (!(thiz->mGottenMask & mask)) {
364 thiz->mGottenMask |= mask;
564 unsigned mask = 1 << i; local
565 assert(thisEngine->mInstanceMask & mask);
566 thisEngine->mInstanceMask &= ~mask;
H A DIOutputMixExt.c89 unsigned mask = 1 << i; local
91 assert(outputMix->mOutputMixExt.mActiveMask & mask);
92 outputMix->mOutputMixExt.mActiveMask &= ~mask;
/system/core/debuggerd/arm/
H A Dpr-support.c159 /* Pop r4-r15 under mask. */
183 _uw mask; local
185 mask = (0xff0 >> (7 - (op & 7))) & 0xff0;
187 mask |= (1 << R_LR);
188 if (unwind_VRS_Pop_with_ptrace (context, _UVRSC_CORE, mask, _UVRSD_UINT32,
203 /* Pop r0-r4 under mask. */
278 /* Pop iWMMXt wCGR{3,2,1,0} under mask. */
H A Dunwind.c196 _uw mask; local
202 mask = discriminator & 0xffff;
207 if (mask & (1 << i)) {
213 if ((mask & (1 << R_SP)) == 0)
448 /* We used to print the absolute PC in the back trace, and mask out the top
/system/core/libpixelflinger/
H A Dclear.cpp27 static void ggl_clear(void* c, GGLbitfield mask);
92 static void ggl_clear(void* con, GGLbitfield mask) argument
109 mask &= ~GGL_COLOR_BUFFER_BIT;
112 mask &= ~GGL_DEPTH_BUFFER_BIT;
115 mask &= ~GGL_STENCIL_BUFFER_BIT;
117 if (mask & GGL_COLOR_BUFFER_BIT) {
133 if (mask & GGL_DEPTH_BUFFER_BIT) {
H A Dbuffer.cpp177 uint32_t mask = 0; local
188 if (h && (c->state.mask.color & component_mask)) {
189 mask |= (((1<<(h-l))-1)<<l);
200 if ((c->state.mask.color != 0xF) ||
211 v &= mask;
213 v |= (d & ~mask);
H A Dpixelflinger.cpp518 int mask = 0; local
519 if (a) mask |= 1 << GGLFormat::ALPHA;
520 if (r) mask |= 1 << GGLFormat::RED;
521 if (g) mask |= 1 << GGLFormat::GREEN;
522 if (b) mask |= 1 << GGLFormat::BLUE;
523 if (c->state.mask.color != mask) {
524 c->state.mask.color = mask;
532 if (c->state.mask
538 ggl_stencilMask(void* con, GGLuint mask) argument
716 const uint32_t mask = 1UL << tmu; local
[all...]
/system/core/toolbox/
H A Difconfig.c64 unsigned int addr, mask, flags; local
94 mask = ((struct sockaddr_in *)&ifr.ifr_addr)->sin_addr.s_addr;
108 mask & 0xff,
109 ((mask >> 8) & 0xff),
110 ((mask >> 16) & 0xff),
111 ((mask >> 24) & 0xff));
112 printf("%s: ip %s mask %s flags [", ifr.ifr_name,
/system/core/libpixelflinger/codeflinger/
H A Dload_store.cpp117 const int mask = (1<<maskLen)-1; local
122 } else if (!l && isValidImmediate(mask)) {
123 AND(AL, 0, d.reg, s, imm(mask)); // component = packed & mask;
124 } else if (!l && isValidImmediate(~mask)) {
125 BIC(AL, 0, d.reg, s, imm(~mask)); // component = packed & mask;
127 UBFX(AL, d.reg, s, l, maskLen); // component = (packed & mask) >> l;
131 const int mask = ((1<<maskLen)-1) << l; local
132 if (isValidImmediate(mask)) {
285 const uint32_t mask = ((1<<dbits)-1) << offset; local
296 const uint32_t mask = ((1<<sbits)-1) << sl; local
[all...]
H A Ddisassem.c109 u_int mask; member in struct:arm32_insn
321 if ((insn & i_ptr->mask) == i_ptr->pattern) {
334 if ((i_ptr->mask & 0xf0000000) == 0xf0000000)
H A Dtexturing.cpp128 parts.packed = (!mTextureMachine.mask && !mBlending
142 // pre-mask the iterated color
145 uint32_t mask = 0; local
152 mask |= ((1<<(h-l))-1) << l;
157 if (mMasking && ((mask & size)==0)) {
158 // none of the components are present in the mask
170 // pre-mask the iterated color
173 mask, bits);
269 mTextureMachine.mask = 0;
276 tmu.mask
755 uint32_t mask = 0; local
994 int mask = scratches.obtain(); local
[all...]
H A DGGLAssembler.cpp157 const int mask = 1<<i; local
163 info.masked = !!(masking & mask);
172 info.replaced = !!(mTextureMachine.replaced & mask);
178 mBlending |= (info.blend ? mask : 0);
179 mMasking |= (mCbFormat.c[i].h && info.masked) ? mask : 0;
180 fbComponents |= mCbFormat.c[i].h ? mask : 0;
260 const int mask = GGL_DITHER_SIZE-1; local
262 AND(AL, 0, parts.dither.reg, parts.count.reg, imm(mask));
520 need_extract |= (mTextureMachine.mask != mTextureMachine.replaced);
605 if ((tmu.mask
720 build_depth_test( const fragment_parts_t& parts, uint32_t mask) argument
881 build_and_immediate(int d, int s, uint32_t mask, int bits) argument
934 int mask = 0; local
[all...]
/system/core/sh/
H A Dmiscbltin.c217 int mask; local
226 mask = umask(0);
227 umask(mask);
235 if ((mask & S_IRUSR) == 0)
237 if ((mask & S_IWUSR) == 0)
239 if ((mask & S_IXUSR) == 0)
244 if ((mask & S_IRGRP) == 0)
246 if ((mask & S_IWGRP) == 0)
248 if ((mask & S_IXGRP) == 0)
253 if ((mask
[all...]
/system/netd/
H A Dlogwrapper.c188 sigset_t mask, omask; local
220 sigemptyset(&mask);
221 sigaddset(&mask, SIGCHLD);
222 sigprocmask(SIG_BLOCK, &mask, &omask);
/system/core/libnetutils/
H A Ddhcp_utils.c93 snprintf(prop_name, sizeof(prop_name), "%s.%s.mask", DHCP_PROP_NAME_PREFIX, interface);
97 in_addr_t mask = ntohl(inet_addr(prop_value)); local
100 if (mask == INADDR_NONE && strcmp(prop_value, "255.255.255.255") != 0) {
101 snprintf(errmsg, sizeof(errmsg), "DHCP gave invalid net mask %s", prop_value);
105 if (mask == 0) break;
107 if ((mask & 0x80000000) == 0) {
108 snprintf(errmsg, sizeof(errmsg), "DHCP gave invalid net mask %s", prop_value);
111 mask = mask << 1;
H A Ddhcpclient.c96 extern int ipv4NetmaskToPrefixLength(in_addr_t mask);
153 char addr[20], gway[20], mask[20]; local
H A Difc_utils.c63 in_addr_t mask = 0; local
70 mask = ~mask << (32 - prefix_length);
71 mask = htonl(mask);
73 return mask;
76 int ipv4NetmaskToPrefixLength(in_addr_t mask) argument
78 mask = ntohl(mask);
80 uint32_t m = (uint32_t)mask;
429 ifc_set_mask(const char *name, in_addr_t mask) argument
656 in_addr_t dest, gway, mask; local
709 in_addr_t dest, gway, mask; local
[all...]
/system/core/include/pixelflinger/
H A Dformat.h98 inline uint32_t mask(int i) const { function in struct:__anon304
/system/core/nexus/
H A DWifiNetwork.cpp187 uint32_t mask; local
217 if (WifiNetwork::parseKeyManagementMask(buffer, &mask)) {
220 mKeyManagement = mask;
226 if (WifiNetwork::parseProtocolsMask(buffer, &mask)) {
229 mProtocols = mask;
235 if (WifiNetwork::parseAuthAlgorithmsMask(buffer, &mask)) {
238 mAuthAlgorithms = mask;
244 if (WifiNetwork::parsePairwiseCiphersMask(buffer, &mask)) {
247 mPairwiseCiphers = mask;
253 if (WifiNetwork::parseGroupCiphersMask(buffer, &mask)) {
344 setKeyManagement(uint32_t mask) argument
370 setProtocols(uint32_t mask) argument
387 setAuthAlgorithms(uint32_t mask) argument
411 setPairwiseCiphers(uint32_t mask) argument
432 setGroupCiphers(uint32_t mask) argument
508 parseKeyManagementMask(const char *buffer, uint32_t *mask) argument
545 parseProtocolsMask(const char *buffer, uint32_t *mask) argument
570 parseAuthAlgorithmsMask(const char *buffer, uint32_t *mask) argument
600 parsePairwiseCiphersMask(const char *buffer, uint32_t *mask) argument
635 parseGroupCiphersMask(const char *buffer, uint32_t *mask) argument
802 uint32_t mask; local
834 uint32_t mask; local
876 uint32_t mask; local
911 uint32_t mask; local
953 uint32_t mask; local
[all...]

Completed in 283 milliseconds

12