/system/sepolicy/tools/sepolicy-analyze/ |
D | attribute.c | 11 unsigned int bit; in retrieve_mapping() local 14 ebitmap_for_each_bit(&policydb->type_attr_map[dat->s.value - 1], n, bit) { in retrieve_mapping() 15 if (!ebitmap_node_get_bit(n, bit)) in retrieve_mapping() 17 if (!strcmp(policydb->p_type_val_to_name[bit], name)) in retrieve_mapping() 19 printf("%s\n", policydb->p_type_val_to_name[bit]); in retrieve_mapping() 22 ebitmap_for_each_bit(&policydb->attr_type_map[dat->s.value - 1], n, bit) { in retrieve_mapping() 23 if (!ebitmap_node_get_bit(n, bit)) in retrieve_mapping() 25 printf("%s\n", policydb->p_type_val_to_name[bit]); in retrieve_mapping()
|
D | perm.c | 10 unsigned int bit; in list_permissive() local 15 ebitmap_for_each_bit(&policydb->permissive_map, n, bit) in list_permissive() 17 if (ebitmap_node_get_bit(n, bit)) { in list_permissive() 18 printf("%s\n", policydb->p_type_val_to_name[bit -1]); in list_permissive()
|
D | neverallow.c | 30 unsigned int bit; in read_typeset() local 144 for (bit = 0; bit < policydb->p_types.nprim; bit++) { in read_typeset() 145 if (ebitmap_get_bit(&typeset->negset, bit)) in read_typeset() 147 if (policydb->type_val_to_struct[bit] && in read_typeset() 148 policydb->type_val_to_struct[bit]->flavor == TYPE_ATTRIB) in read_typeset() 150 if (ebitmap_set_bit(&typeset->types, bit, 1)) in read_typeset() 155 ebitmap_for_each_bit(&typeset->negset, n, bit) { in read_typeset() 156 if (!ebitmap_node_get_bit(n, bit)) in read_typeset() 158 if (ebitmap_set_bit(&typeset->types, bit, 0)) in read_typeset() 163 for (bit = 0; bit < policydb->p_types.nprim; bit++) { in read_typeset() [all …]
|
/system/sepolicy/tests/ |
D | sepol_wrap.cpp | 95 unsigned int bit; member 111 out->bit = 0; in init_type_iter() 135 out->bit = ebitmap_start(&db->attr_type_map[out->d->s.value - 1], &out->n); in init_type_iter() 138 out->bit = ebitmap_start(&db->type_attr_map[out->d->s.value - 1], &out->n); in init_type_iter() 166 for (; i->bit < i->length; i->bit = ebitmap_next(&i->n, i->bit)) { in get_type() 167 if (!ebitmap_node_get_bit(i->n, i->bit)) { in get_type() 173 while (i->bit < i->length && in get_type() 175 && db->type_val_to_struct[i->bit]->flavor != TYPE_ATTRIB) in get_type() 177 && db->type_val_to_struct[i->bit]->flavor != TYPE_TYPE))) { in get_type() 178 i->bit++; in get_type() [all …]
|
/system/libvintf/include/vintf/ |
D | CheckFlags.h | 28 #define VINTF_CHECK_FLAGS_FIELD(name, bit) \ argument 29 [[nodiscard]] constexpr Type enable##name() const { return Type(mValue | (1 << bit)); } \ 30 [[nodiscard]] constexpr Type disable##name() const { return Type(mValue & ~(1 << bit)); } \ 31 constexpr bool is##name##Enabled() const { return mValue & (1 << bit); }
|
D | SerializeFlags.h | 31 #define VINTF_SERIALIZE_FLAGS_FIELD(name, bit) \ argument 32 constexpr Type enable##name() const { return Type(mValue | (1 << bit)); } \ 33 constexpr Type disable##name() const { return Type(mValue & ~(1 << bit)); } \ 34 constexpr bool is##name##Enabled() const { return mValue & (1 << bit); }
|
/system/core/init/ |
D | keychords.cpp | 50 Keychords::Mask::Mask(size_t bit) : bits_((bit + sizeof(mask_t) - 1) / sizeof(mask_t), 0) {} in Mask() argument 52 void Keychords::Mask::SetBit(size_t bit, bool value) { in SetBit() argument 53 auto idx = bit / (kBitsPerByte * sizeof(mask_t)); in SetBit() 56 bits_[idx] |= mask_t(1) << (bit % (kBitsPerByte * sizeof(mask_t))); in SetBit() 58 bits_[idx] &= ~(mask_t(1) << (bit % (kBitsPerByte * sizeof(mask_t)))); in SetBit() 62 bool Keychords::Mask::GetBit(size_t bit) const { in GetBit() 63 auto idx = bit / (kBitsPerByte * sizeof(mask_t)); in GetBit() 64 return bits_[idx] & (mask_t(1) << (bit % (kBitsPerByte * sizeof(mask_t)))); in GetBit() 79 void Keychords::Mask::resize(size_t bit) { in resize() argument 80 auto idx = bit / (kBitsPerByte * sizeof(mask_t)); in resize()
|
D | keychords.h | 46 explicit Mask(size_t bit = 0); 48 void SetBit(size_t bit, bool value = true); 49 bool GetBit(size_t bit) const; 54 void resize(size_t bit);
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_helper | 4 …| CLIENT64_SERVER32 | CLIENT32_SERVER64] configures whether to run 32-bit or 64-bit versions of th… 28 echo "Running $1-bit client with $2-bit servers" 34 failed_test_cases+=("$1-bit client with $2-bit servers")
|
/system/extras/ext4_utils/ |
D | ext4_utils.cpp | 57 int bitmap_get_bit(u8 *bitmap, u32 bit) in bitmap_get_bit() argument 59 if (bitmap[bit / 8] & (1 << (bit % 8))) in bitmap_get_bit() 65 void bitmap_clear_bit(u8 *bitmap, u32 bit) in bitmap_clear_bit() argument 67 bitmap[bit / 8] &= ~(1 << (bit % 8)); in bitmap_clear_bit()
|
D | mke2fs.conf | 19 features = has_journal,extent,huge_file,flex_bg,inline_data,64bit,dir_nlink,extra_isize
|
/system/media/audio_utils/ |
D | primitives.c | 384 uint32_t bit, ormask; \ 388 bit = ormask & -ormask; /* get lowest bit */ \ 389 ormask ^= bit; /* remove lowest bit */ \ 390 if ((dmask) & bit) { \ 391 *(dst)++ = (smask) & bit ? *(src)++ : (zero); \ 507 uint32_t bit, ormask = src_mask | dst_mask; in memcpy_by_index_array_initialization() local 510 bit = ormask & -ormask; /* get lowest bit */ in memcpy_by_index_array_initialization() 511 ormask ^= bit; /* remove lowest bit */ in memcpy_by_index_array_initialization() 512 if (src_mask & dst_mask & bit) { /* matching channel */ in memcpy_by_index_array_initialization() 514 } else if (src_mask & bit) { /* source channel only */ in memcpy_by_index_array_initialization()
|
/system/core/libmemunreachable/ |
D | Allocator.cpp | 253 unsigned int bit = __builtin_ffs(free_bitmap_[i]) - 1; in Alloc() local 254 assert(free_bitmap_[i] & (1U << bit)); in Alloc() 255 free_bitmap_[i] &= ~(1U << bit); in Alloc() 256 unsigned int n = i * 32 + bit; in Alloc() 277 unsigned int bit = n % 32; in Free() local 280 assert(!(free_bitmap_[i] & (1U << bit))); in Free() 281 free_bitmap_[i] |= 1U << bit; in Free()
|
/system/libhidl/transport/base/1.0/ |
D | types.hal | 23 * arch: 64bit or 32bit
|
/system/core/libpixelflinger/ |
D | fixed.cpp | 101 GGLfixed bit = 0x800000; in gglSqrtx() local 104 GGLfixed temp = bit + (r<<1); in gglSqrtx() 108 r += bit; in gglSqrtx() 112 } while (bit>>=1); in gglSqrtx()
|
/system/bt/stack/btm/ |
D | btm_ble_privacy.cc | 141 uint8_t bit; in btm_ble_clear_irk_index() local 145 bit = index % 8; in btm_ble_clear_irk_index() 146 btm_cb.ble_ctr_cb.irk_list_mask[byte] &= (~(1 << bit)); in btm_ble_clear_irk_index() 162 uint8_t bit; in btm_ble_find_irk_index() local 166 bit = i % 8; in btm_ble_find_irk_index() 168 if ((btm_cb.ble_ctr_cb.irk_list_mask[byte] & (1 << bit)) == 0) { in btm_ble_find_irk_index() 169 btm_cb.ble_ctr_cb.irk_list_mask[byte] |= (1 << bit); in btm_ble_find_irk_index()
|
/system/keymaster/ |
D | Android.bp | 45 "-fno-sanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp" 135 "-fno-sanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp" 182 "-fno-sanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp" 221 "-fno-sanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp" 268 "-fno-sanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp" 309 "-fno-sanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp"
|
/system/tools/aidl/docs/ |
D | constants.md | 17 These map to appropriate 32 bit integer class constants in Java and C++ (e.g.
|
/system/tools/hidl/test/java_test/ |
D | hidl_test_java | 9 echo "Testing $SIZE bit native client/server"
|
/system/extras/ext4_utils/include/ext4_utils/ |
D | ext4_utils.h | 130 int bitmap_get_bit(u8 *bitmap, u32 bit); // vold
|
/system/gatekeeper/ |
D | Android.bp | 41 clang_cflags: ["-fno-sanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp"],
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | netd.te | 16 # the setgid bit should be cleared, regardless of whether the setgid 17 # bit was even set. We do not appear to truly need this capability
|
/system/ca-certificates/files/ |
D | 0d69c7e1.0 | 27 Public-Key: (256 bit)
|
D | 7a7c655d.0 | 26 Public-Key: (256 bit)
|
/system/ca-certificates/google/files/ |
D | 0d69c7e1.0 | 27 Public-Key: (256 bit)
|