Searched defs:bitset (Results 1 - 25 of 27) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/futex/
H A Dfutex_wait_bitset.h26 u_int32_t bitset = 0xffffffff; local
35 TEST(futex_wait_bitset(&futex, futex, &to, bitset, flags));
H A Dfutextest.h129 * futex_wait_bitset() - block on uaddr with bitset
130 * @bitset: bitset to be used with futex_wake_bitset
134 u_int32_t bitset, int opflags)
136 return futex(uaddr, FUTEX_WAIT_BITSET, val, timeout, NULL, bitset,
141 * futex_wake_bitset() - wake one or more tasks blocked on uaddr with bitset
142 * @bitset: bitset to compare with that used in futex_wait_bitset
145 futex_wake_bitset(futex_t *uaddr, int nr_wake, u_int32_t bitset, int opflags) argument
147 return futex(uaddr, FUTEX_WAKE_BITSET, nr_wake, NULL, NULL, bitset,
133 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, u_int32_t bitset, int opflags) argument
[all...]
/external/python/cpython2/Include/
H A Dbitset.h12 typedef BYTE *bitset; typedef
14 bitset newbitset(int nbits);
15 void delbitset(bitset bs);
17 int addbit(bitset bs, int ibit); /* Returns 0 if already set */
18 int samebitset(bitset bs1, bitset bs2, int nbits);
19 void mergebitset(bitset bs1, bitset bs2, int nbits);
/external/python/cpython3/Include/
H A Dbitset.h12 typedef BYTE *bitset; typedef
14 bitset newbitset(int nbits);
15 void delbitset(bitset bs);
17 int addbit(bitset bs, int ibit); /* Returns 0 if already set */
18 int samebitset(bitset bs1, bitset bs2, int nbits);
19 void mergebitset(bitset bs1, bitset bs2, int nbits);
/external/compiler-rt/test/asan/TestCases/
H A Dcoverage-reset.cc24 bitset = 0; \
26 if (guards[i]) bitset |= 1U << i; \
27 printf("line %d: bitset %zd total: %zd\n", __LINE__, bitset, \
34 size_t bitset; local
38 size_t main_bit = bitset;
43 size_t foo_bit = bitset & ~main_bit;
48 size_t bar_bit = bitset & ~(main_bit | foo_bit);
54 assert(bitset == 0);
58 assert(bitset
[all...]
/external/linux-kselftest/tools/testing/selftests/futex/include/
H A Dfutextest.h98 * futex_wait_bitset() - block on uaddr with bitset
99 * @bitset: bitset to be used with futex_wake_bitset
103 u_int32_t bitset, int opflags)
105 return futex(uaddr, FUTEX_WAIT_BITSET, val, timeout, NULL, bitset,
110 * futex_wake_bitset() - wake one or more tasks blocked on uaddr with bitset
111 * @bitset: bitset to compare with that used in futex_wait_bitset
114 futex_wake_bitset(futex_t *uaddr, int nr_wake, u_int32_t bitset, int opflags) argument
116 return futex(uaddr, FUTEX_WAKE_BITSET, nr_wake, NULL, NULL, bitset,
102 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, u_int32_t bitset, int opflags) argument
[all...]
/external/llvm/lib/ObjectYAML/
H A DELFYAML.cpp250 void ScalarBitSetTraits<ELFYAML::ELF_EF>::bitset(IO &IO, function in class:llvm::yaml::ScalarBitSetTraits
408 void ScalarBitSetTraits<ELFYAML::ELF_SHF>::bitset(IO &IO, function in class:llvm::yaml::ScalarBitSetTraits
477 void ScalarBitSetTraits<ELFYAML::ELF_STO>::bitset(IO &IO, function in class:llvm::yaml::ScalarBitSetTraits
604 void ScalarBitSetTraits<ELFYAML::MIPS_AFL_ASE>::bitset( function in class:llvm::yaml::ScalarBitSetTraits
623 void ScalarBitSetTraits<ELFYAML::MIPS_AFL_FLAGS1>::bitset( function in class:llvm::yaml::ScalarBitSetTraits
H A DCOFFYAML.cpp193 void ScalarBitSetTraits<COFF::Characteristics>::bitset( function in class:llvm::yaml::ScalarBitSetTraits
212 void ScalarBitSetTraits<COFF::SectionCharacteristics>::bitset( function in class:llvm::yaml::ScalarBitSetTraits
238 void ScalarBitSetTraits<COFF::DLLCharacteristics>::bitset( function in class:llvm::yaml::ScalarBitSetTraits
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3bitset.c43 static void antlr3BitsetORInPlace (pANTLR3_BITSET bitset, pANTLR3_BITSET bitset2);
44 static ANTLR3_UINT32 antlr3BitsetSize (pANTLR3_BITSET bitset);
45 static void antlr3BitsetAdd (pANTLR3_BITSET bitset, ANTLR3_INT32 bit);
47 static ANTLR3_BOOLEAN antlr3BitsetMember (pANTLR3_BITSET bitset, ANTLR3_UINT32 bit);
48 static ANTLR3_UINT32 antlr3BitsetNumBits (pANTLR3_BITSET bitset);
49 static void antlr3BitsetRemove (pANTLR3_BITSET bitset, ANTLR3_UINT32 bit);
50 static ANTLR3_BOOLEAN antlr3BitsetIsNil (pANTLR3_BITSET bitset);
51 static pANTLR3_INT32 antlr3BitsetToIntList (pANTLR3_BITSET bitset);
55 static void growToInclude (pANTLR3_BITSET bitset, ANTLR3_INT32 bit);
56 static void grow (pANTLR3_BITSET bitset, ANTLR3_INT3
63 antlr3BitsetFree(pANTLR3_BITSET bitset) argument
78 pANTLR3_BITSET bitset; local
122 antlr3BitsetSetAPI(pANTLR3_BITSET bitset) argument
143 pANTLR3_BITSET bitset; local
186 pANTLR3_BITSET bitset; local
256 pANTLR3_BITSET bitset; local
319 pANTLR3_BITSET bitset; local
356 pANTLR3_BITSET bitset; local
379 antlr3BitsetAdd(pANTLR3_BITSET bitset, ANTLR3_INT32 bit) argument
395 grow(pANTLR3_BITSET bitset, ANTLR3_INT32 newSize) argument
421 growToInclude(pANTLR3_BITSET bitset, ANTLR3_INT32 bit) argument
440 antlr3BitsetORInPlace(pANTLR3_BITSET bitset, pANTLR3_BITSET bitset2) argument
483 antlr3BitsetSize(pANTLR3_BITSET bitset) argument
571 antlr3BitsetMember(pANTLR3_BITSET bitset, ANTLR3_UINT32 bit) argument
593 antlr3BitsetRemove(pANTLR3_BITSET bitset, ANTLR3_UINT32 bit) argument
605 antlr3BitsetIsNil(pANTLR3_BITSET bitset) argument
633 antlr3BitsetNumBits(pANTLR3_BITSET bitset) argument
646 antlr3BitsetToIntList(pANTLR3_BITSET bitset) argument
[all...]
/external/drm_hwcomposer/
H A Dseparate_rects.h93 IdSet() : bitset(0) {
96 IdSet(TId id) : bitset(0) {
101 bitset |= ((TUInt)1) << id;
105 bitset &= ~(((TUInt)1) << id);
109 return bitset == 0;
113 return bitset;
117 return bitset == rhs.bitset;
121 return bitset < rhs.bitset;
140 TUInt bitset; member in struct:separate_rects::IdSet
[all...]
/external/gptfdisk/
H A Dattributes.cc95 bool bitset; local
98 bitset = (UINT64_C(1) << bitNum) & attributes;
99 if (bitset) {
100 cout << partNum+1 << ":" << bitNum << ":" << bitset
/external/icu/icu4c/source/test/intltest/
H A Dbidiconf.cpp323 uint32_t bitset=(uint32_t)strtoul(start, &end, 16); local
325 errln("input bitset parse error at %s", start);
328 // Loop over the bitset.
332 if(bitset&(1<<i)) {
/external/valgrind/VEX/priv/
H A Dhost_generic_regs.h241 /* Represents sets of real registers. |bitset| is interpreted in the
242 context of |univ|. That is, each bit index |i| in |bitset|
247 ULong bitset; member in struct:__anon28372
/external/clang/test/Sema/
H A Dconversion.c378 unsigned bitset[20]; local
379 SETBIT(bitset, 0);
382 SETBIT(bitset, y);
385 USER_SETBIT(bitset, 0); // expected-warning 2 {{implicit conversion changes signedness}}
/external/v8/src/compiler/
H A Dtypes.cc106 // The largest bitset subsumed by this type.
107 Type::bitset BitsetType::Glb(Type* type) {
117 bitset glb =
125 // The smallest bitset subsuming this type, possibly not a proper one.
126 Type::bitset BitsetType::Lub(Type* type) {
131 // a bitset.
132 int bitset = type->AsUnion()->Get(0)->BitsetLub(); local
135 bitset |= type->AsUnion()->Get(i)->BitsetLub();
137 return bitset;
148 Type::bitset BitsetTyp
461 HeapConstantType(BitsetType::bitset bitset, i::Handle<i::HeapObject> object) argument
718 IntersectRangeAndBitset(Type* range, Type* bitset, Zone* zone) argument
[all...]
H A Dtypes.h97 // Values for bitset types
218 typedef uint32_t bitset; // Internal typedef in class:v8::internal::compiler::BitsetType
227 static bitset SignedSmall();
228 static bitset UnsignedSmall();
230 bitset Bitset() {
231 return static_cast<bitset>(reinterpret_cast<uintptr_t>(this) ^ 1u);
234 static bool IsInhabited(bitset bits) { return bits != kNone; }
236 static bool Is(bitset bits1, bitset bits2) {
240 static double Min(bitset);
353 BitsetType::bitset bitset = BitsetType::Lub(*value); local
416 RangeType(BitsetType::bitset bitset, Limits limits) argument
514 typedef BitsetType::bitset bitset; // Internal typedef in class:v8::internal::compiler::BitsetType::Type
[all...]
/external/v8/src/ast/
H A Dast-types.cc109 // The largest bitset subsumed by this type.
110 AstType::bitset AstBitsetType::Glb(AstType* type) {
120 bitset glb = AST_SEMANTIC(
128 // The smallest bitset subsuming this type, possibly not a proper one.
129 AstType::bitset AstBitsetType::Lub(AstType* type) {
134 // a bitset.
135 int bitset = type->AsUnion()->Get(0)->BitsetLub(); local
138 bitset |= AST_SEMANTIC(type->AsUnion()->Get(i)->BitsetLub());
140 return bitset;
153 AstType::bitset AstBitsetTyp
830 IntersectRangeAndBitset(AstType* range, AstType* bitset, Zone* zone) argument
[all...]
H A Dast-types.h145 // Note that the bitset representation is closed under both Union and Intersect.
148 // Values for bitset types
284 typedef uint32_t bitset; // Internal typedef in class:v8::internal::AstBitsetType
293 static bitset SignedSmall();
294 static bitset UnsignedSmall();
296 bitset Bitset() {
297 return static_cast<bitset>(reinterpret_cast<uintptr_t>(this) ^ 1u);
300 static bool IsInhabited(bitset bits) {
304 static bool SemanticIsInhabited(bitset bits) {
308 static bool Is(bitset bits
414 AstClassType(AstBitsetType::bitset bitset, i::Handle<i::Map> map) argument
435 AstBitsetType::bitset bitset = AstBitsetType::Lub(*value); local
445 AstConstantType(AstBitsetType::bitset bitset, i::Handle<i::Object> object) argument
507 AstRangeType(AstBitsetType::bitset bitset, Limits limits) argument
694 typedef AstBitsetType::bitset bitset; // Internal typedef in class:v8::internal::AstBitsetType::AstType
[all...]
/external/valgrind/coregrind/
H A Dm_translate.c793 UInt i, bitset; local
796 bitset = 0;
806 /* First, compute |bitset|, which specifies which extent(s) need a
868 bitset |= (1 << i);
927 return bitset;
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_coverage_libcdep.cc109 uptr Update8bitCounterBitsetAndClearCounters(u8 *bitset);
474 // Map every 8bit counter to a 8-bit bitset and clear the counter.
475 uptr CoverageData::Update8bitCounterBitsetAndClearCounters(u8 *bitset) { argument
478 // For better speed we map 8 counters to 8 bytes of bitset at once.
480 CHECK_EQ(reinterpret_cast<uptr>(bitset) % kBatchSize, 0);
487 if (!bitset) {
495 u64 *pb64 = reinterpret_cast<u64*>(bitset + cur);
714 InternalScopedBuffer<u8> bitset(n);
715 coverage_data.Update8bitCounterBitsetAndClearCounters(bitset.data());
727 WriteToFile(fd, bitset
1033 __sanitizer_update_counter_bitset_and_clear_counters(u8 *bitset) argument
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
H A DUnicodeSetTest.java2620 private String getCombinations(String[] items, int bitset) { argument
2622 for (int i = 0; bitset != 0; ++i) {
2623 int other = bitset & (1 << i);
2625 bitset ^= other;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
H A DUnicodeSetTest.java2617 private String getCombinations(String[] items, int bitset) { argument
2619 for (int i = 0; bitset != 0; ++i) {
2620 int other = bitset & (1 << i);
2622 bitset ^= other;
/external/llvm/unittests/Support/
H A DYAMLIOTest.cpp724 static void bitset(IO &io, MyFlags &value) { function in struct:llvm::yaml::ScalarBitSetTraits
/external/pcre/dist2/src/
H A Dpcre2_jit_compile.c2842 static BOOL is_char7_bitset(const sljit_u8 *bitset, BOOL nclass) argument
2847 const sljit_u8 *end = bitset + 32;
2849 bitset += 16;
2852 if (*bitset++ != value)
2855 while (bitset < end);
/external/caliper/lib/
H A Dgson-2.2.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/stream/ ...

Completed in 948 milliseconds

12