/system/extras/ext4_utils/ |
H A D | jbd2.h | 117 #define JBD2_HAS_COMPAT_FEATURE(j,mask) ((j)->j_format_version >= 2 && ((j)->j_superblock->s_feature_compat & cpu_to_be32((mask)))) 118 #define JBD2_HAS_RO_COMPAT_FEATURE(j,mask) ((j)->j_format_version >= 2 && ((j)->j_superblock->s_feature_ro_compat & cpu_to_be32((mask)))) 119 #define JBD2_HAS_INCOMPAT_FEATURE(j,mask) ((j)->j_format_version >= 2 && ((j)->j_superblock->s_feature_incompat & cpu_to_be32((mask))))
|
H A D | ext4.h | 471 #define EXT4_HAS_COMPAT_FEATURE(sb,mask) ((EXT4_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask)) != 0) 472 #define EXT4_HAS_RO_COMPAT_FEATURE(sb,mask) ((EXT4_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le32(mask)) != 0) 473 #define EXT4_HAS_INCOMPAT_FEATURE(sb,mask) ((EXT4_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(mask)) != 0) 474 #define EXT4_SET_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask) 475 #define EXT4_SET_RO_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32(mask) [all...] |
/system/core/toolbox/upstream-netbsd/lib/libutil/ |
H A D | raise_default_signal.c | 56 * The original signal mask and signal handler is restored on exit 67 sigset_t origmask, fullmask, mask; local 79 (sigemptyset(&mask) == -1) || 80 (sigaddset(&mask, sig) == -1)) 95 (sigprocmask(SIG_UNBLOCK, &mask, NULL) == -1)) 107 /* Restore the original mask */
|
/system/netd/server/ |
H A D | main.cpp | 106 sigset_t mask; local 108 sigemptyset(&mask); 109 sigaddset(&mask, SIGPIPE); 110 if (sigprocmask(SIG_BLOCK, &mask, NULL) != 0)
|
H A D | RouteController.cpp | 248 // + If |mask| is non-zero, the rule matches the specified fwmark and mask. Otherwise, |fwmark| is 257 uint32_t fwmark, uint32_t mask, const char* iif, 259 // Ensure that if you set a bit in the fwmark, it's not being ignored by the mask. 260 if (fwmark & ~mask) { 261 ALOGE("mask 0x%x does not select all the bits set in fwmark 0x%x", mask, fwmark); 300 { &FRATTR_FWMARK, mask ? sizeof(FRATTR_FWMARK) : 0 }, 301 { &fwmark, mask ? sizeof(fwmark) : 0 }, 302 { &FRATTR_FWMASK, mask 256 modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, uint32_t fwmark, uint32_t mask, const char* iif, const char* oif, uid_t uidStart, uid_t uidEnd) argument 327 modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, uint32_t fwmark, uint32_t mask) argument 467 Fwmark mask; local 495 Fwmark mask; local 520 Fwmark mask; local 543 Fwmark mask; local 560 Fwmark mask; local 589 Fwmark mask; local 607 Fwmark mask; local 638 Fwmark mask; local 654 Fwmark mask; local 747 Fwmark mask; local [all...] |
/system/core/libutils/ |
H A D | Unicode.cpp | 60 // -> (00-7f) 7bit. Bit mask for the first byte is 0x00000000 62 // -> (c0-df)(80-bf) 11bit. Bit mask is 0x000000C0 64 // -> (e0-ef)(80-bf)(80-bf) 16bit. Bit mask is 0x000000E0 66 // -> (f0-f7)(80-bf)(80-bf)(80-bf) 21bit. Bit mask is 0x000000F0 143 char32_t mask, to_ignore_mask; local 146 for (num_to_read = 1, mask = 0x40, to_ignore_mask = 0xFFFFFF80; 147 (first_char & mask); 148 num_to_read++, to_ignore_mask |= mask, mask >>= 1) { 152 to_ignore_mask |= mask; 380 int32_t mask, to_ignore_mask; local 465 int32_t mask; local [all...] |
/system/core/libpixelflinger/codeflinger/ |
H A D | GGLAssembler.cpp | 158 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 950 int mask = 0; local [all...] |
H A D | load_store.cpp | 121 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 D | texturing.cpp | 128 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 D | Arm64Disassembler.cpp | 35 uint32_t mask; member in struct:disasm_table_entry_t 91 uint32_t mask = (1 << width) - 1; local 92 return ((instr >> lsb) & mask); 284 if((code & entry->mask) == entry->value)
|
H A D | GGLAssembler.h | 245 inline int mask(int c) const { return ((1<<size(c))-1) << low(c); } function in struct:android::GGLAssembler::pixel_t 322 uint8_t mask; member in struct:android::GGLAssembler::texture_unit_t 328 uint8_t mask; member in struct:android::GGLAssembler::texture_machine_t 506 void build_depth_test(const fragment_parts_t& parts, uint32_t mask); 515 void build_and_immediate(int d, int s, uint32_t mask, int bits);
|
H A D | disassem.c | 109 u_int mask; member in struct:arm32_insn 316 if ((insn & i_ptr->mask) == i_ptr->pattern) { 329 if ((i_ptr->mask & 0xf0000000) == 0xf0000000)
|
/system/core/libpixelflinger/ |
H A D | clear.cpp | 27 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 D | pixelflinger.cpp | 518 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 D | buffer.cpp | 177 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 D | picker.cpp | 99 n |= GGL_BUILD_NEEDS(c->state.mask.color^0xF, MASK_ARGB); 122 p |= GGL_BUILD_NEEDS(c->state.mask.depth&1, P_MASK_Z);
|
/system/core/toolbox/ |
H A D | notify.c | 98 printf("%s: %08x %08x \"%s\"\n", file_names[event->wd + id_offset], event->mask, event->cookie, event->len ? event->name : ""); 100 printf("%s: %08x \"%s\"\n", file_names[event->wd + id_offset], event->mask, event->len ? event->name : ""); 102 printf("%d: %08x \"%s\"\n", event->wd, event->mask, event->len ? event->name : ""); 103 if(print_files && (event->mask & IN_MODIFY)) {
|
/system/core/libnetutils/ |
H A D | dhcp_utils.c | 121 snprintf(prop_name, sizeof(prop_name), "%s.%s.mask", DHCP_PROP_NAME_PREFIX, p2p_interface); 125 in_addr_t mask = ntohl(inet_addr(prop_value)); local 128 if (mask == INADDR_NONE && strcmp(prop_value, "255.255.255.255") != 0) { 129 snprintf(errmsg, sizeof(errmsg), "DHCP gave invalid net mask %s", prop_value); 133 if (mask == 0) break; 135 if ((mask & 0x80000000) == 0) { 136 snprintf(errmsg, sizeof(errmsg), "DHCP gave invalid net mask %s", prop_value); 139 mask = mask << 1;
|
H A D | ifc_utils.c | 68 in_addr_t mask = 0; local 75 mask = ~mask << (32 - prefix_length); 76 mask = htonl(mask); 78 return mask; 81 int ipv4NetmaskToPrefixLength(in_addr_t mask) argument 84 uint32_t m = (uint32_t)ntohl(mask); 433 int ifc_set_mask(const char *name, in_addr_t mask) argument 439 init_sockaddr_in(&ifr.ifr_addr, mask); [all...] |
H A D | dhcpclient.c | 96 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);
|
/system/core/libmincrypt/ |
H A D | p256_ec.c | 974 /* copy_conditional sets out=in if mask = 0xffffffff in constant time. 976 * On entry: mask is either 0 or 0xffffffff. */ 977 static void copy_conditional(felem out, const felem in, limb mask) { argument 981 const limb tmp = mask & (in[i] ^ out[i]); 996 limb mask = i ^ index; local 997 mask |= mask >> 2; 998 mask |= mask >> 1; 999 mask 1026 limb mask = i ^ index; local 1049 limb n_is_infinity_mask = -1, p_is_noninfinite_mask, mask; local 1119 limb n_is_infinity_mask, index, p_is_noninfinite_mask, mask; local [all...] |
H A D | p256.c | 108 // top, c[] -= MOD[] & mask (0 or -1) 113 p256_digit mask) { 118 borrow -= P256_DIGIT(MOD, i) & mask; 125 // top, c[] += MOD[] & mask (0 or -1) 130 p256_digit mask) { 135 carry += P256_DIGIT(MOD, i) & mask; 110 subM(const p256_int* MOD, p256_digit top, p256_digit* c, p256_digit mask) argument 127 addM(const p256_int* MOD, p256_digit top, p256_digit* c, p256_digit mask) argument
|
/system/core/include/private/pixelflinger/ |
H A D | ggl_context.h | 260 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]); 517 mask_state_t mask; member in struct:android::state_t
|
/system/core/libusbhost/ |
H A D | usbhost.c | 239 if ((event->mask & IN_CREATE) && !strcmp(event->name, "bus")) { 249 if ((event->mask & IN_CREATE) && !strcmp(event->name, "usb")) { 252 } else if ((event->mask & IN_DELETE) && !strcmp(event->name, "usb")) { 263 D("%s subdirectory %s: index: %d\n", (event->mask & IN_CREATE) ? 267 if (event->mask & IN_CREATE) { 274 } else if (event->mask & IN_DELETE) { 283 if (event->mask == IN_CREATE) { 286 } else if (event->mask == IN_DELETE) {
|
/system/core/include/pixelflinger/ |
H A D | format.h | 98 inline uint32_t mask(int i) const { function in struct:__anon43
|