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

/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/netd/
H A Dmain.cpp151 sigset_t mask; local
153 sigemptyset(&mask);
154 sigaddset(&mask, SIGPIPE);
155 if (sigprocmask(SIG_BLOCK, &mask, NULL) != 0)
H A Dlogwrapper.c207 sigset_t mask, omask; local
210 sigemptyset(&mask);
211 sigaddset(&mask, SIGCHLD);
212 sigprocmask(SIG_BLOCK, &mask, &omask);
/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...]
H A Dscanline.cpp249 "(nop) color mask", scanline_noop, init_y_noop },
880 if (c->state.mask.depth) {
1808 const uint32_t mask = local
1812 if (enables & mask) {
/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.cpp121 const int mask = (1<<maskLen)-1; local
126 } else if (!l && isValidImmediate(mask)) {
127 AND(AL, 0, d.reg, s, imm(mask)); // component = packed & mask;
128 } else if (!l && isValidImmediate(~mask)) {
129 BIC(AL, 0, d.reg, s, imm(~mask)); // component = packed & mask;
131 UBFX(AL, d.reg, s, l, maskLen); // component = (packed & mask) >> l;
135 const int mask = ((1<<maskLen)-1) << l; local
136 if (isValidImmediate(mask)) {
289 const uint32_t mask = ((1<<dbits)-1) << offset; local
300 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
772 uint32_t mask = 0; local
1011 int mask = scratches.obtain(); local
[all...]
H A DGGLAssembler.cpp158 const int mask = 1<<i; local
164 info.masked = !!(masking & mask);
173 info.replaced = !!(mTextureMachine.replaced & mask);
179 mBlending |= (info.blend ? mask : 0);
180 mMasking |= (mCbFormat.c[i].h && info.masked) ? mask : 0;
181 fbComponents |= mCbFormat.c[i].h ? mask : 0;
263 const int mask = GGL_DITHER_SIZE-1; local
265 AND(AL, 0, parts.dither.reg, parts.count.reg, imm(mask));
523 need_extract |= (mTextureMachine.mask != mTextureMachine.replaced);
608 if ((tmu.mask
723 build_depth_test( const fragment_parts_t& parts, uint32_t mask) argument
884 build_and_immediate(int d, int s, uint32_t mask, int bits) argument
946 int mask = 0; local
[all...]
H A DGGLAssembler.h239 inline int mask(int c) const { return ((1<<size(c))-1) << low(c); } function in struct:android::GGLAssembler::pixel_t
316 uint8_t mask; member in struct:android::GGLAssembler::texture_unit_t
322 uint8_t mask; member in struct:android::GGLAssembler::texture_machine_t
500 void build_depth_test(const fragment_parts_t& parts, uint32_t mask);
509 void build_and_immediate(int d, int s, uint32_t mask, int bits);
/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/core/libnetutils/
H A Ddhcp_utils.c119 snprintf(prop_name, sizeof(prop_name), "%s.%s.mask", DHCP_PROP_NAME_PREFIX, p2p_interface);
123 in_addr_t mask = ntohl(inet_addr(prop_value)); local
126 if (mask == INADDR_NONE && strcmp(prop_value, "255.255.255.255") != 0) {
127 snprintf(errmsg, sizeof(errmsg), "DHCP gave invalid net mask %s", prop_value);
131 if (mask == 0) break;
133 if ((mask & 0x80000000) == 0) {
134 snprintf(errmsg, sizeof(errmsg), "DHCP gave invalid net mask %s", prop_value);
137 mask = mask << 1;
H A Ddhcpclient.c96 extern int ipv4NetmaskToPrefixLength(in_addr_t mask);
153 char addr[20], gway[20], mask[20]; local
201 in_addr_t mask; local
202 memcpy(&mask, x, 4);
203 info->prefixLength = ipv4NetmaskToPrefixLength(mask);
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
79 uint32_t m = (uint32_t)ntohl(mask);
428 int ifc_set_mask(const char *name, in_addr_t mask) argument
434 init_sockaddr_in(&ifr.ifr_addr, mask);
651 in_addr_t dest, gway, mask; local
704 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:__anon313
/system/core/libcorkscrew/arch-arm/
H A Dbacktrace-arm.c244 static bool try_pop_registers(const memory_t* memory, unwind_state_t* state, uint32_t mask) { argument
248 if (mask & (1 << i)) {
316 uint32_t mask = (((uint32_t)op & 0x0f) << 12) | ((uint32_t)op2 << 4); local
317 if (mask) {
319 if (!try_pop_registers(memory, state, mask)) {
322 if (mask & (1 << R_PC)) {
340 uint32_t mask = (0x0ff0 >> (7 - (op & 0x07))) & 0x0ff0; local
341 if (!try_pop_registers(memory, state, mask)) {
346 uint32_t mask = ((0x0ff0 >> (7 - (op & 0x07))) & 0x0ff0) | 0x4000; local
347 if (!try_pop_registers(memory, state, mask)) {
[all...]
/system/core/include/private/pixelflinger/
H A Dggl_context.h260 needs_t mask; member in struct:android::needs_filter_t
265 ((filter.value.n ^ n) & filter.mask.n) |
266 ((filter.value.p ^ p) & filter.mask.p) |
267 ((filter.value.t[0] ^ t[0]) & filter.mask.t[0]) |
268 ((filter.value.t[1] ^ t[1]) & filter.mask.t[1]);
515 mask_state_t mask; member in struct:android::state_t
/system/core/sdcard/
H A Dfuse.h448 __u32 mask; member in struct:fuse_access_in
/system/core/adb/
H A Dsysdeps_win32.c105 int mask; member in struct:FHRec_
491 f->mask = 0;
502 f->mask = 0;
2018 if ( flags != fh->mask ) {
2027 fh->mask = flags;
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h734 uint8_t mask[8]; member in struct:__anon55
1486 uint8_t mask[8]; member in struct:__anon147

Completed in 355 milliseconds