/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.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);
|
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()
|
/system/core/libutils/ |
D | BitSet_fuzz.cpp | 51 void runOperationFor32Bit(android::BitSet32 bs, uint32_t bit, uint8_t operation) { in runOperationFor32Bit() argument 52 thirtyTwoBitOps[operation](bs, bit); in runOperationFor32Bit() 64 uint32_t bit = dataProvider.ConsumeIntegral<uint32_t>(); in LLVMFuzzerTestOneInput() local 66 thirtyTwoBitOps[op % thirtyTwoBitOps.size()](b1, bit); in LLVMFuzzerTestOneInput() 67 sixtyFourBitOps[op % sixtyFourBitOps.size()](b2, bit); in LLVMFuzzerTestOneInput()
|
/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… 34 echo "Running $1-bit client with $2-bit servers" 40 failed_test_cases+=("$1-bit client with $2-bit servers")
|
/system/extras/ext4_utils/ |
D | ext4_utils.cpp | 59 int bitmap_get_bit(u8 *bitmap, u32 bit) in bitmap_get_bit() argument 61 if (bitmap[bit / 8] & (1 << (bit % 8))) in bitmap_get_bit() 67 void bitmap_clear_bit(u8 *bitmap, u32 bit) in bitmap_clear_bit() argument 69 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/extras/memory_replay/traces/ |
D | TRACES | 37 Process Type: 64 bit 48 Process Type: 64 bit 59 Process Type: 64 bit 71 Process Type: 32 bit
|
/system/core/code_coverage/seccomp_policy/ |
D | code_coverage.policy.def | 5 // size specific: __LP64__ for 64 bit, else 32 bit
|
/system/media/audio_utils/ |
D | primitives.c | 410 uint32_t bit, ormask; \ 414 bit = ormask & -ormask; /* get lowest bit */ \ 415 ormask ^= bit; /* remove lowest bit */ \ 416 if ((dmask) & bit) { \ 417 *(dst)++ = (smask) & bit ? *(src)++ : (zero); \ 533 uint32_t bit, ormask = src_mask | dst_mask; in memcpy_by_index_array_initialization() local 536 bit = ormask & -ormask; /* get lowest bit */ in memcpy_by_index_array_initialization() 537 ormask ^= bit; /* remove lowest bit */ in memcpy_by_index_array_initialization() 538 if (src_mask & dst_mask & bit) { /* matching channel */ in memcpy_by_index_array_initialization() 540 } else if (src_mask & bit) { /* source channel only */ in memcpy_by_index_array_initialization()
|
/system/memory/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/extras/simpleperf/ |
D | etm_branch_list.proto | 32 // Each bit represents a branch: 0 for not branch, 1 for branch. 33 // Bit 0 comes first, bit 7 comes last.
|
/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/extras/ext4_utils/include/ext4_utils/ |
D | ext4_utils.h | 124 int bitmap_get_bit(u8 *bitmap, u32 bit); // vold
|
/system/tools/hidl/test/java_test/ |
D | hidl_test_java | 10 echo "Testing $SIZE bit native client/server"
|
/system/apex/docs/ |
D | README.md | 300 with a single ABI (that is, 32 bit only or 64 bit only), only libraries with the 306 - If the device is 32 bit only, only the 32-bit variant of the binary is 309 `TARGET_PREFER_32_BIT_EXECUTABLES=true`, then only the 32-bit variant of the 311 - If the device is 64 bit only, then only the 64-bit variant of the binary is 314 TARGET_PREFER_32_BIT_EXECUTABLES`=true`, then only the 64-bit variant of the 324 - `lib32`: Matches the 32-bit ABI of the device, if supported. 325 - `lib64`: Matches the 64-bit ABI of the device, it supported. 326 - `prefer32`: Matches the 32-bit ABI of the device, if supported. If the 327 32-bit ABI isn't supported, matches the 64-bit ABI.
|
/system/gatekeeper/ |
D | Android.bp | 42 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
|