/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-set.cc | 27 #include "hb-set.hh" 31 * SECTION:hb-set 32 * @title: hb-set 33 * @short_description: Objects representing a set of integers 36 * Set objects represent a mathematical set of integer values. They are 45 * Creates a new, initially empty set. 54 hb_set_t *set; in hb_set_create() local 56 if (!(set = hb_object_create<hb_set_t> ())) in hb_set_create() 59 set->init_shallow (); in hb_set_create() 61 return set; in hb_set_create() 90 hb_set_reference(hb_set_t *set) hb_set_reference() argument 106 hb_set_destroy(hb_set_t *set) hb_set_destroy() argument 130 hb_set_set_user_data(hb_set_t *set, hb_user_data_key_t *key, void * data, hb_destroy_func_t destroy, hb_bool_t replace) hb_set_set_user_data() argument 152 hb_set_get_user_data(hb_set_t *set, hb_user_data_key_t *key) hb_set_get_user_data() argument 170 hb_set_allocation_successful(const hb_set_t *set) hb_set_allocation_successful() argument 186 hb_set_copy(const hb_set_t *set) hb_set_copy() argument 202 hb_set_clear(hb_set_t *set) hb_set_clear() argument 219 hb_set_is_empty(const hb_set_t *set) hb_set_is_empty() argument 236 hb_set_has(const hb_set_t *set, hb_codepoint_t codepoint) hb_set_has() argument 252 hb_set_add(hb_set_t *set, hb_codepoint_t codepoint) hb_set_add() argument 271 hb_set_add_range(hb_set_t *set, hb_codepoint_t first, hb_codepoint_t last) hb_set_add_range() argument 289 hb_set_del(hb_set_t *set, hb_codepoint_t codepoint) hb_set_del() argument 311 hb_set_del_range(hb_set_t *set, hb_codepoint_t first, hb_codepoint_t last) hb_set_del_range() argument 332 hb_set_is_equal(const hb_set_t *set, const hb_set_t *other) hb_set_is_equal() argument 350 hb_set_is_subset(const hb_set_t *set, const hb_set_t *larger_set) hb_set_is_subset() argument 366 hb_set_set(hb_set_t *set, const hb_set_t *other) hb_set_set() argument 383 hb_set_union(hb_set_t *set, const hb_set_t *other) hb_set_union() argument 400 hb_set_intersect(hb_set_t *set, const hb_set_t *other) hb_set_intersect() argument 417 hb_set_subtract(hb_set_t *set, const hb_set_t *other) hb_set_subtract() argument 435 hb_set_symmetric_difference(hb_set_t *set, const hb_set_t *other) hb_set_symmetric_difference() argument 451 hb_set_invert(hb_set_t *set) hb_set_invert() argument 468 hb_set_get_population(const hb_set_t *set) hb_set_get_population() argument 484 hb_set_get_min(const hb_set_t *set) hb_set_get_min() argument 500 hb_set_get_max(const hb_set_t *set) hb_set_get_max() argument 520 hb_set_next(const hb_set_t *set, hb_codepoint_t *codepoint) hb_set_next() argument 541 hb_set_previous(const hb_set_t *set, hb_codepoint_t *codepoint) hb_set_previous() argument 564 hb_set_next_range(const hb_set_t *set, hb_codepoint_t *first, hb_codepoint_t *last) hb_set_next_range() argument 588 hb_set_previous_range(const hb_set_t *set, hb_codepoint_t *first, hb_codepoint_t *last) hb_set_previous_range() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | arg_parsing.c | 6 static void init_test_filter_set(struct test_filter_set *set) in init_test_filter_set() argument 8 set->cnt = 0; in init_test_filter_set() 9 set->tests = NULL; in init_test_filter_set() 12 static void free_test_filter_set(struct test_filter_set *set) in free_test_filter_set() argument 16 for (i = 0; i < set->cnt; i++) { in free_test_filter_set() 17 for (j = 0; j < set->tests[i].subtest_cnt; j++) in free_test_filter_set() 18 free((void *)set->tests[i].subtests[j]); in free_test_filter_set() 19 free(set->tests[i].subtests); in free_test_filter_set() 20 free(set->tests[i].name); in free_test_filter_set() 23 free(set in free_test_filter_set() 29 struct test_filter_set set; test_parse_test_list() local 118 struct test_filter_set set; test_parse_test_list_file() local [all...] |
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | set.js | 16 var set = new Set(); 18 assert (set.size === 0); 19 assert (set.add (int) === set); 20 assert (set.has (int)); 21 assert (set.size === 1); 24 assert (set.add (str) === set); 25 assert (set.has (str)); 26 assert (set [all...] |
/third_party/mesa3d/src/util/ |
H A D | set.h | 43 struct set { struct 59 _mesa_set_init(struct set *ht, void *mem_ctx, 64 struct set * 69 struct set * 72 struct set * 73 _mesa_set_clone(struct set *set, void *dst_mem_ctx); 76 _mesa_set_destroy(struct set *set, 79 _mesa_set_resize(struct set *se [all...] |
H A D | set.c | 42 #include "set.h" 120 _mesa_set_init(struct set *ht, void *mem_ctx, in _mesa_set_init() 140 struct set * 146 struct set *ht; in _mesa_set_create() 148 ht = ralloc(mem_ctx, struct set); in _mesa_set_create() 174 struct set * 180 struct set * 181 _mesa_set_clone(struct set *set, void *dst_mem_ctx) in _mesa_set_clone() argument 183 struct set *clon in _mesa_set_clone() 238 _mesa_set_clear(struct set *set, void (*delete_function)(struct set_entry *entry)) _mesa_set_clear() argument 293 _mesa_set_search(const struct set *set, const void *key) _mesa_set_search() argument 300 _mesa_set_search_pre_hashed(const struct set *set, uint32_t hash, const void *key) _mesa_set_search_pre_hashed() argument 372 _mesa_set_resize(struct set *set, uint32_t entries) _mesa_set_resize() argument 480 _mesa_set_add(struct set *set, const void *key) _mesa_set_add() argument 487 _mesa_set_add_pre_hashed(struct set *set, uint32_t hash, const void *key) _mesa_set_add_pre_hashed() argument 495 _mesa_set_search_and_add(struct set *set, const void *key, bool *replaced) _mesa_set_search_and_add() argument 504 _mesa_set_search_and_add_pre_hashed(struct set *set, uint32_t hash, const void *key, bool *replaced) _mesa_set_search_and_add_pre_hashed() argument 522 _mesa_set_search_or_add(struct set *set, const void *key, bool *found) _mesa_set_search_or_add() argument 529 _mesa_set_search_or_add_pre_hashed(struct set *set, uint32_t hash, const void *key, bool *found) _mesa_set_search_or_add_pre_hashed() argument 558 _mesa_set_remove_key(struct set *set, const void *key) _mesa_set_remove_key() argument [all...] |
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | fpsp.h | 79 .set LOCAL_SIZE,192 | bytes needed for local variables 80 .set LV,-LOCAL_SIZE | convenient base value 82 .set USER_DA,LV+0 | save space for D0-D1,A0-A1 83 .set USER_D0,LV+0 | saved user D0 84 .set USER_D1,LV+4 | saved user D1 85 .set USER_A0,LV+8 | saved user A0 86 .set USER_A1,LV+12 | saved user A1 87 .set USER_FP0,LV+16 | saved user FP0 88 .set USER_FP1,LV+28 | saved user FP1 89 .set USER_FP [all...] |
/kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
H A D | fpsp.h | 79 .set LOCAL_SIZE,192 | bytes needed for local variables 80 .set LV,-LOCAL_SIZE | convenient base value 82 .set USER_DA,LV+0 | save space for D0-D1,A0-A1 83 .set USER_D0,LV+0 | saved user D0 84 .set USER_D1,LV+4 | saved user D1 85 .set USER_A0,LV+8 | saved user A0 86 .set USER_A1,LV+12 | saved user A1 87 .set USER_FP0,LV+16 | saved user FP0 88 .set USER_FP1,LV+28 | saved user FP1 89 .set USER_FP [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/ |
H A D | enum_set_test.cpp | 31 EnumSet<uint32_t> set; in TEST() local 32 EXPECT_TRUE(set.IsEmpty()); in TEST() 33 set.Add(0); in TEST() 34 EXPECT_FALSE(set.IsEmpty()); in TEST() 38 EnumSet<uint32_t> set; in TEST() local 39 EXPECT_TRUE(set.IsEmpty()); in TEST() 40 set.Add(150); in TEST() 41 EXPECT_FALSE(set.IsEmpty()); in TEST() 45 EnumSet<uint32_t> set(4); in TEST() 46 EXPECT_FALSE(set in TEST() 55 const EnumSet<uint32_t> set; TEST() local 62 EnumSet<uint32_t> set; TEST() local 70 EnumSet<uint32_t> set; TEST() local 78 EnumSet<uint32_t> set; TEST() local 88 EnumSet<uint32_t> set; TEST() local 120 EnumSet<uint32_t> set; TEST() local 175 EnumSet<uint32_t> set; TEST() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
H A D | enum_set_test.cpp | 31 EnumSet<uint32_t> set; in TEST() local 32 EXPECT_TRUE(set.IsEmpty()); in TEST() 33 set.Add(0); in TEST() 34 EXPECT_FALSE(set.IsEmpty()); in TEST() 38 EnumSet<uint32_t> set; in TEST() local 39 EXPECT_TRUE(set.IsEmpty()); in TEST() 40 set.Add(150); in TEST() 41 EXPECT_FALSE(set.IsEmpty()); in TEST() 45 EnumSet<uint32_t> set(4); in TEST() 46 EXPECT_FALSE(set in TEST() 55 const EnumSet<uint32_t> set; TEST() local 62 EnumSet<uint32_t> set; TEST() local 70 EnumSet<uint32_t> set; TEST() local 78 EnumSet<uint32_t> set; TEST() local 88 EnumSet<uint32_t> set; TEST() local 120 EnumSet<uint32_t> set; TEST() local 175 EnumSet<uint32_t> set; TEST() local [all...] |
/third_party/vixl/test/ |
H A D | test-invalset.cc | 96 TestSet set; in TEST() local 97 VIXL_CHECK(set.empty() && (set.size() == 0)); in TEST() 100 set.insert(Obj(i, i)); in TEST() 102 VIXL_CHECK(set.size() == kNPreallocatedElements); in TEST() 104 set.insert(Obj(-123, 456)); in TEST() 105 set.insert(Obj(2718, 2871828)); in TEST() 106 VIXL_CHECK(set.size() == kNPreallocatedElements + 2); in TEST() 107 VIXL_CHECK(set.GetMinElement() == Obj(-123, 456)); in TEST() 109 set in TEST() 126 TestSet set; TEST() local 145 TestSet set; TEST() local 178 TestSet set; TEST() local 213 TestSet set; TEST() local 285 TestSet set; TEST() local [all...] |
/third_party/curl/lib/ |
H A D | setopt.c | 83 copy of blob. If CURL_BLOB_COPY is set, the data is copied. */ in Curl_setblobopt() 214 data->set.dns_cache_timeout = (int)arg; in Curl_vsetopt() 223 data->set.general_ssl.ca_cache_timeout = (int)arg; in Curl_vsetopt() 229 /* set a list of cipher we want to use in the SSL connection */ in Curl_vsetopt() 230 result = Curl_setstropt(&data->set.str[STRING_SSL_CIPHER_LIST], in Curl_vsetopt() 235 /* set a list of cipher we want to use in the SSL connection for proxy */ in Curl_vsetopt() 236 result = Curl_setstropt(&data->set.str[STRING_SSL_CIPHER_LIST_PROXY], in Curl_vsetopt() 242 /* set preferred list of TLS 1.3 cipher suites */ in Curl_vsetopt() 243 result = Curl_setstropt(&data->set.str[STRING_SSL_CIPHER13_LIST], in Curl_vsetopt() 252 /* set preferre in Curl_vsetopt() 2258 struct Curl_share *set; Curl_vsetopt() local [all...] |
/third_party/FreeBSD/sys/sys/ |
H A D | linker_set.h | 36 * For ELF, this is done by constructing a separate segment for each set. 67 #define __MAKE_SET_QV(set, sym, qv) \ 68 __GLOBL(__CONCAT(__start_set_,set)); \ 69 __GLOBL(__CONCAT(__stop_set_,set)); \ 71 __set_##set##_sym_##sym __section(".set_" #set) \ 74 #define __MAKE_SET(set, sym) __MAKE_SET_QV(set, sym, __MAKE_SET_CONST) 82 #define TEXT_SET(set, sym) __MAKE_SET(set, sy [all...] |
/third_party/skia/samplecode/ |
H A D | vertexdump.cpp | 12 verts[0].set(107, 189); in setup_vertexbug() 13 texs[0].set(0, 0); in setup_vertexbug() 14 verts[1].set(116, 189); in setup_vertexbug() 15 texs[1].set(9, 0); in setup_vertexbug() 16 verts[2].set(203, 189); in setup_vertexbug() 17 texs[2].set(35, 0); in setup_vertexbug() 18 verts[3].set(212, 189); in setup_vertexbug() 19 texs[3].set(44, 0); in setup_vertexbug() 20 verts[4].set(107, 198); in setup_vertexbug() 21 texs[4].set( in setup_vertexbug() [all...] |
/third_party/gn/src/gn/ |
H A D | pointer_set_unittest.cc | 24 TestPointerSet set; in TEST() local 25 EXPECT_TRUE(set.empty()); in TEST() 26 EXPECT_EQ(0u, set.size()); in TEST() 27 EXPECT_FALSE(set.contains(kFoo1)); in TEST() 31 TestPointerSet set(kFullList.begin(), kFullList.end()); in TEST() 32 EXPECT_FALSE(set.empty()); in TEST() 33 EXPECT_EQ(3u, set.size()); in TEST() 34 EXPECT_TRUE(set.contains(kFoo1)); in TEST() 35 EXPECT_TRUE(set.contains(kFoo2)); in TEST() 36 EXPECT_TRUE(set in TEST() 63 TestPointerSet set; TEST() local 115 TestPointerSet set; TEST() local 152 TestPointerSet set = set1.intersection_with(set2); TEST() local [all...] |
/kernel/linux/linux-6.6/arch/mips/include/asm/ |
H A D | asmmacro.h | 22 /* preprocessor replaces the fp in ".set fp=64" with $30 otherwise */ 85 .set push 86 .set hardfloat 105 .set pop 109 .set push 110 .set mips64r2 111 .set fp=64 112 .set hardfloat 129 .set pop 144 .set pus [all...] |
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | strset.c | 18 /* lookup index for each unique string in strings set */ 41 struct strset *set = calloc(1, sizeof(*set)); in strset__new() local 45 if (!set) in strset__new() 48 hash = hashmap__new(strset_hash_fn, strset_equal_fn, set); in strset__new() 52 set->strs_data_max_len = max_data_sz; in strset__new() 53 set->strs_hash = hash; in strset__new() 58 set->strs_data = malloc(init_data_sz); in strset__new() 59 if (!set->strs_data) in strset__new() 62 memcpy(set in strset__new() 84 strset__free(struct strset *set) strset__free() argument 94 strset__data_size(const struct strset *set) strset__data_size() argument 99 strset__data(const struct strset *set) strset__data() argument 104 strset_add_str_mem(struct strset *set, size_t add_sz) strset_add_str_mem() argument 116 strset__find_str(struct strset *set, const char *s) strset__find_str() argument 142 strset__add_str(struct strset *set, const char *s) strset__add_str() argument [all...] |
/third_party/libbpf/src/ |
H A D | strset.c | 18 /* lookup index for each unique string in strings set */ 41 struct strset *set = calloc(1, sizeof(*set)); in strset__new() local 45 if (!set) in strset__new() 48 hash = hashmap__new(strset_hash_fn, strset_equal_fn, set); in strset__new() 52 set->strs_data_max_len = max_data_sz; in strset__new() 53 set->strs_hash = hash; in strset__new() 58 set->strs_data = malloc(init_data_sz); in strset__new() 59 if (!set->strs_data) in strset__new() 62 memcpy(set in strset__new() 84 strset__free(struct strset *set) strset__free() argument 94 strset__data_size(const struct strset *set) strset__data_size() argument 99 strset__data(const struct strset *set) strset__data() argument 104 strset_add_str_mem(struct strset *set, size_t add_sz) strset_add_str_mem() argument 116 strset__find_str(struct strset *set, const char *s) strset__find_str() argument 142 strset__add_str(struct strset *set, const char *s) strset__add_str() argument [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | uset.cpp | 44 uset_close(USet* set) { in uset_close() argument 45 delete (UnicodeSet*) set; in uset_close() 49 uset_clone(const USet *set) { in uset_clone() argument 50 return (USet*) (((UnicodeSet*) set)->UnicodeSet::clone()); in uset_clone() 54 uset_isFrozen(const USet *set) { in uset_isFrozen() argument 55 return ((UnicodeSet*) set)->UnicodeSet::isFrozen(); in uset_isFrozen() 59 uset_freeze(USet *set) { in uset_freeze() argument 60 ((UnicodeSet*) set)->UnicodeSet::freeze(); in uset_freeze() 64 uset_cloneAsThawed(const USet *set) { in uset_cloneAsThawed() argument 65 return (USet*) (((UnicodeSet*) set) in uset_cloneAsThawed() 69 uset_set(USet* set, UChar32 start, UChar32 end) uset_set() argument 75 uset_addAll(USet* set, const USet *additionalSet) uset_addAll() argument 80 uset_add(USet* set, UChar32 c) uset_add() argument 85 uset_addRange(USet* set, UChar32 start, UChar32 end) uset_addRange() argument 90 uset_addString(USet* set, const UChar* str, int32_t strLen) uset_addString() argument 97 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen) uset_addAllCodePoints() argument 104 uset_remove(USet* set, UChar32 c) uset_remove() argument 109 uset_removeRange(USet* set, UChar32 start, UChar32 end) uset_removeRange() argument 114 uset_removeString(USet* set, const UChar* str, int32_t strLen) uset_removeString() argument 120 uset_removeAllCodePoints(USet *set, const UChar *str, int32_t length) uset_removeAllCodePoints() argument 126 uset_removeAll(USet* set, const USet* remove) uset_removeAll() argument 131 uset_retain(USet* set, UChar32 start, UChar32 end) uset_retain() argument 136 uset_retainString(USet *set, const UChar *str, int32_t length) uset_retainString() argument 142 uset_retainAllCodePoints(USet *set, const UChar *str, int32_t length) uset_retainAllCodePoints() argument 148 uset_retainAll(USet* set, const USet* retain) uset_retainAll() argument 153 uset_compact(USet* set) uset_compact() argument 158 uset_complement(USet* set) uset_complement() argument 163 uset_complementRange(USet *set, UChar32 start, UChar32 end) uset_complementRange() argument 168 uset_complementString(USet *set, const UChar *str, int32_t length) uset_complementString() argument 174 uset_complementAllCodePoints(USet *set, const UChar *str, int32_t length) uset_complementAllCodePoints() argument 180 uset_complementAll(USet* set, const USet* complement) uset_complementAll() argument 185 uset_clear(USet* set) uset_clear() argument 190 uset_removeAllStrings(USet* set) uset_removeAllStrings() argument 195 uset_isEmpty(const USet* set) uset_isEmpty() argument 200 uset_hasStrings(const USet* set) uset_hasStrings() argument 205 uset_contains(const USet* set, UChar32 c) uset_contains() argument 210 uset_containsRange(const USet* set, UChar32 start, UChar32 end) uset_containsRange() argument 215 uset_containsString(const USet* set, const UChar* str, int32_t strLen) uset_containsString() argument 226 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen) uset_containsAllCodePoints() argument 243 uset_span(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition) uset_span() argument 248 uset_spanBack(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition) uset_spanBack() argument 253 uset_spanUTF8(const USet *set, const char *s, int32_t length, USetSpanCondition spanCondition) uset_spanUTF8() argument 258 uset_spanBackUTF8(const USet *set, const char *s, int32_t length, USetSpanCondition spanCondition) uset_spanBackUTF8() argument 268 uset_indexOf(const USet* set, UChar32 c) uset_indexOf() argument 273 uset_charAt(const USet* set, int32_t index) uset_charAt() argument 278 uset_size(const USet* set) uset_size() argument 291 getStringCount(const UnicodeSet& set) getStringCount() argument 294 getString(const UnicodeSet& set, int32_t i) getString() argument 305 uset_getRangeCount(const USet *set) uset_getRangeCount() argument 311 const UnicodeSet& set = *(const UnicodeSet*)uset; uset_getItemCount() local 321 const UnicodeSet& set = *(const UnicodeSet*)uset; uset_getItem() local 374 uset_serialize(const USet* set, uint16_t* dest, int32_t destCapacity, UErrorCode* ec) uset_serialize() argument 450 uset_serializedContains(const USerializedSet* set, UChar32 c) uset_serializedContains() argument 508 uset_getSerializedRangeCount(const USerializedSet* set) uset_getSerializedRangeCount() argument 517 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex, UChar32* pStart, UChar32* pEnd) uset_getSerializedRange() argument [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | uset.cpp | 44 uset_close(USet* set) { in uset_close() argument 45 delete (UnicodeSet*) set; in uset_close() 49 uset_clone(const USet *set) { in uset_clone() argument 50 return (USet*) (((UnicodeSet*) set)->UnicodeSet::clone()); in uset_clone() 54 uset_isFrozen(const USet *set) { in uset_isFrozen() argument 55 return ((UnicodeSet*) set)->UnicodeSet::isFrozen(); in uset_isFrozen() 59 uset_freeze(USet *set) { in uset_freeze() argument 60 ((UnicodeSet*) set)->UnicodeSet::freeze(); in uset_freeze() 64 uset_cloneAsThawed(const USet *set) { in uset_cloneAsThawed() argument 65 return (USet*) (((UnicodeSet*) set) in uset_cloneAsThawed() 69 uset_set(USet* set, UChar32 start, UChar32 end) uset_set() argument 75 uset_addAll(USet* set, const USet *additionalSet) uset_addAll() argument 80 uset_add(USet* set, UChar32 c) uset_add() argument 85 uset_addRange(USet* set, UChar32 start, UChar32 end) uset_addRange() argument 90 uset_addString(USet* set, const char16_t* str, int32_t strLen) uset_addString() argument 97 uset_addAllCodePoints(USet* set, const char16_t *str, int32_t strLen) uset_addAllCodePoints() argument 104 uset_remove(USet* set, UChar32 c) uset_remove() argument 109 uset_removeRange(USet* set, UChar32 start, UChar32 end) uset_removeRange() argument 114 uset_removeString(USet* set, const char16_t* str, int32_t strLen) uset_removeString() argument 120 uset_removeAllCodePoints(USet *set, const char16_t *str, int32_t length) uset_removeAllCodePoints() argument 126 uset_removeAll(USet* set, const USet* remove) uset_removeAll() argument 131 uset_retain(USet* set, UChar32 start, UChar32 end) uset_retain() argument 136 uset_retainString(USet *set, const char16_t *str, int32_t length) uset_retainString() argument 142 uset_retainAllCodePoints(USet *set, const char16_t *str, int32_t length) uset_retainAllCodePoints() argument 148 uset_retainAll(USet* set, const USet* retain) uset_retainAll() argument 153 uset_compact(USet* set) uset_compact() argument 158 uset_complement(USet* set) uset_complement() argument 163 uset_complementRange(USet *set, UChar32 start, UChar32 end) uset_complementRange() argument 168 uset_complementString(USet *set, const char16_t *str, int32_t length) uset_complementString() argument 174 uset_complementAllCodePoints(USet *set, const char16_t *str, int32_t length) uset_complementAllCodePoints() argument 180 uset_complementAll(USet* set, const USet* complement) uset_complementAll() argument 185 uset_clear(USet* set) uset_clear() argument 190 uset_removeAllStrings(USet* set) uset_removeAllStrings() argument 195 uset_isEmpty(const USet* set) uset_isEmpty() argument 200 uset_hasStrings(const USet* set) uset_hasStrings() argument 205 uset_contains(const USet* set, UChar32 c) uset_contains() argument 210 uset_containsRange(const USet* set, UChar32 start, UChar32 end) uset_containsRange() argument 215 uset_containsString(const USet* set, const char16_t* str, int32_t strLen) uset_containsString() argument 226 uset_containsAllCodePoints(const USet* set, const char16_t *str, int32_t strLen) uset_containsAllCodePoints() argument 243 uset_span(const USet *set, const char16_t *s, int32_t length, USetSpanCondition spanCondition) uset_span() argument 248 uset_spanBack(const USet *set, const char16_t *s, int32_t length, USetSpanCondition spanCondition) uset_spanBack() argument 253 uset_spanUTF8(const USet *set, const char *s, int32_t length, USetSpanCondition spanCondition) uset_spanUTF8() argument 258 uset_spanBackUTF8(const USet *set, const char *s, int32_t length, USetSpanCondition spanCondition) uset_spanBackUTF8() argument 268 uset_indexOf(const USet* set, UChar32 c) uset_indexOf() argument 273 uset_charAt(const USet* set, int32_t index) uset_charAt() argument 278 uset_size(const USet* set) uset_size() argument 291 getStringCount(const UnicodeSet& set) getStringCount() argument 294 getString(const UnicodeSet& set, int32_t i) getString() argument 305 uset_getRangeCount(const USet *set) uset_getRangeCount() argument 311 const UnicodeSet& set = *(const UnicodeSet*)uset; uset_getItemCount() local 321 const UnicodeSet& set = *(const UnicodeSet*)uset; uset_getItem() local 374 uset_serialize(const USet* set, uint16_t* dest, int32_t destCapacity, UErrorCode* ec) uset_serialize() argument 450 uset_serializedContains(const USerializedSet* set, UChar32 c) uset_serializedContains() argument 508 uset_getSerializedRangeCount(const USerializedSet* set) uset_getSerializedRangeCount() argument 517 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex, UChar32* pStart, UChar32* pEnd) uset_getSerializedRange() argument [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | usettest.c | 31 static void expect(const USet* set, 35 static void expectContainment(const USet* set, 39 static void expectItems(const USet* set, 86 USet* set; in TestAPI() local 91 set = uset_openEmpty(); in TestAPI() 92 expect(set, "", "abc{ab}", NULL); in TestAPI() 93 uset_close(set); in TestAPI() 95 set = uset_open(1, 0); in TestAPI() 96 expect(set, "", "abc{ab}", NULL); in TestAPI() 97 uset_close(set); in TestAPI() 291 expect(const USet* set, const char* inList, const char* outList, UErrorCode* ec) expect() argument 308 expectContainment(const USet* set, const char* list, UBool isIn) expectContainment() argument 410 expectItems(const USet* set, const char* items) expectItems() argument 546 USet *set; TestSerialized() local 596 USet *set = uset_openPattern(buf, len, &ec); TestNonInvariantPattern() local [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | uset.cpp | 44 uset_close(USet* set) { in uset_close() argument 45 delete (UnicodeSet*) set; in uset_close() 49 uset_clone(const USet *set) { in uset_clone() argument 50 return (USet*) (((UnicodeSet*) set)->UnicodeSet::clone()); in uset_clone() 54 uset_isFrozen(const USet *set) { in uset_isFrozen() argument 55 return ((UnicodeSet*) set)->UnicodeSet::isFrozen(); in uset_isFrozen() 59 uset_freeze(USet *set) { in uset_freeze() argument 60 ((UnicodeSet*) set)->UnicodeSet::freeze(); in uset_freeze() 64 uset_cloneAsThawed(const USet *set) { in uset_cloneAsThawed() argument 65 return (USet*) (((UnicodeSet*) set) in uset_cloneAsThawed() 69 uset_set(USet* set, UChar32 start, UChar32 end) uset_set() argument 75 uset_addAll(USet* set, const USet *additionalSet) uset_addAll() argument 80 uset_add(USet* set, UChar32 c) uset_add() argument 85 uset_addRange(USet* set, UChar32 start, UChar32 end) uset_addRange() argument 90 uset_addString(USet* set, const UChar* str, int32_t strLen) uset_addString() argument 97 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen) uset_addAllCodePoints() argument 104 uset_remove(USet* set, UChar32 c) uset_remove() argument 109 uset_removeRange(USet* set, UChar32 start, UChar32 end) uset_removeRange() argument 114 uset_removeString(USet* set, const UChar* str, int32_t strLen) uset_removeString() argument 120 uset_removeAllCodePoints(USet *set, const UChar *str, int32_t length) uset_removeAllCodePoints() argument 126 uset_removeAll(USet* set, const USet* remove) uset_removeAll() argument 131 uset_retain(USet* set, UChar32 start, UChar32 end) uset_retain() argument 136 uset_retainString(USet *set, const UChar *str, int32_t length) uset_retainString() argument 142 uset_retainAllCodePoints(USet *set, const UChar *str, int32_t length) uset_retainAllCodePoints() argument 148 uset_retainAll(USet* set, const USet* retain) uset_retainAll() argument 153 uset_compact(USet* set) uset_compact() argument 158 uset_complement(USet* set) uset_complement() argument 163 uset_complementRange(USet *set, UChar32 start, UChar32 end) uset_complementRange() argument 168 uset_complementString(USet *set, const UChar *str, int32_t length) uset_complementString() argument 174 uset_complementAllCodePoints(USet *set, const UChar *str, int32_t length) uset_complementAllCodePoints() argument 180 uset_complementAll(USet* set, const USet* complement) uset_complementAll() argument 185 uset_clear(USet* set) uset_clear() argument 190 uset_removeAllStrings(USet* set) uset_removeAllStrings() argument 195 uset_isEmpty(const USet* set) uset_isEmpty() argument 200 uset_contains(const USet* set, UChar32 c) uset_contains() argument 205 uset_containsRange(const USet* set, UChar32 start, UChar32 end) uset_containsRange() argument 210 uset_containsString(const USet* set, const UChar* str, int32_t strLen) uset_containsString() argument 221 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen) uset_containsAllCodePoints() argument 238 uset_span(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition) uset_span() argument 243 uset_spanBack(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition) uset_spanBack() argument 248 uset_spanUTF8(const USet *set, const char *s, int32_t length, USetSpanCondition spanCondition) uset_spanUTF8() argument 253 uset_spanBackUTF8(const USet *set, const char *s, int32_t length, USetSpanCondition spanCondition) uset_spanBackUTF8() argument 263 uset_indexOf(const USet* set, UChar32 c) uset_indexOf() argument 268 uset_charAt(const USet* set, int32_t index) uset_charAt() argument 273 uset_size(const USet* set) uset_size() argument 286 getStringCount(const UnicodeSet& set) getStringCount() argument 289 getString(const UnicodeSet& set, int32_t i) getString() argument 301 const UnicodeSet& set = *(const UnicodeSet*)uset; uset_getItemCount() local 311 const UnicodeSet& set = *(const UnicodeSet*)uset; uset_getItem() local 369 uset_serialize(const USet* set, uint16_t* dest, int32_t destCapacity, UErrorCode* ec) uset_serialize() argument 445 uset_serializedContains(const USerializedSet* set, UChar32 c) uset_serializedContains() argument 503 uset_getSerializedRangeCount(const USerializedSet* set) uset_getSerializedRangeCount() argument 512 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex, UChar32* pStart, UChar32* pEnd) uset_getSerializedRange() argument [all...] |
/kernel/linux/linux-5.10/drivers/s390/cio/ |
H A D | idset.c | 26 struct idset *set; in idset_new() local 28 set = vmalloc(sizeof(struct idset) + bitmap_size(num_ssid, num_id)); in idset_new() 29 if (set) { in idset_new() 30 set->num_ssid = num_ssid; in idset_new() 31 set->num_id = num_id; in idset_new() 32 memset(set->bitmap, 0, bitmap_size(num_ssid, num_id)); in idset_new() 34 return set; in idset_new() 37 void idset_free(struct idset *set) in idset_free() argument 39 vfree(set); in idset_free() 42 void idset_fill(struct idset *set) in idset_fill() argument 47 idset_add(struct idset *set, int ssid, int id) idset_add() argument 52 idset_del(struct idset *set, int ssid, int id) idset_del() argument 57 idset_contains(struct idset *set, int ssid, int id) idset_contains() argument 67 idset_sch_add(struct idset *set, struct subchannel_id schid) idset_sch_add() argument 72 idset_sch_del(struct idset *set, struct subchannel_id schid) idset_sch_del() argument 78 idset_sch_del_subseq(struct idset *set, struct subchannel_id schid) idset_sch_del_subseq() argument 85 idset_sch_contains(struct idset *set, struct subchannel_id schid) idset_sch_contains() argument 90 idset_is_empty(struct idset *set) idset_is_empty() argument [all...] |
/kernel/linux/linux-6.6/drivers/s390/cio/ |
H A D | idset.c | 26 struct idset *set; in idset_new() local 28 set = vmalloc(sizeof(struct idset) + bitmap_size(num_ssid, num_id)); in idset_new() 29 if (set) { in idset_new() 30 set->num_ssid = num_ssid; in idset_new() 31 set->num_id = num_id; in idset_new() 32 memset(set->bitmap, 0, bitmap_size(num_ssid, num_id)); in idset_new() 34 return set; in idset_new() 37 void idset_free(struct idset *set) in idset_free() argument 39 vfree(set); in idset_free() 42 void idset_fill(struct idset *set) in idset_fill() argument 47 idset_add(struct idset *set, int ssid, int id) idset_add() argument 52 idset_del(struct idset *set, int ssid, int id) idset_del() argument 57 idset_contains(struct idset *set, int ssid, int id) idset_contains() argument 67 idset_sch_add(struct idset *set, struct subchannel_id schid) idset_sch_add() argument 72 idset_sch_del(struct idset *set, struct subchannel_id schid) idset_sch_del() argument 78 idset_sch_del_subseq(struct idset *set, struct subchannel_id schid) idset_sch_del_subseq() argument 85 idset_sch_contains(struct idset *set, struct subchannel_id schid) idset_sch_contains() argument 90 idset_is_empty(struct idset *set) idset_is_empty() argument [all...] |
/third_party/skia/third_party/externals/tint/src/utils/ |
H A D | enum_set_test.cc | 43 EnumSet<E> set; in TEST() local 44 EXPECT_FALSE(set.Contains(E::A)); in TEST() 45 EXPECT_FALSE(set.Contains(E::B)); in TEST() 46 EXPECT_FALSE(set.Contains(E::C)); in TEST() 47 EXPECT_TRUE(set.Empty()); in TEST() 51 EnumSet<E> set(E::B); in TEST() 52 EXPECT_FALSE(set.Contains(E::A)); in TEST() 53 EXPECT_TRUE(set.Contains(E::B)); in TEST() 54 EXPECT_FALSE(set.Contains(E::C)); in TEST() 55 EXPECT_FALSE(set in TEST() 67 EnumSet<E> set; TEST() local 83 EnumSet<E> set; TEST() local 99 EnumSet<E> set; TEST() local 115 EnumSet<E> set; TEST() local 131 EnumSet<E> set = EnumSet<E>{E::B} + E::C; TEST() local 138 EnumSet<E> set = EnumSet<E>{E::A, E::B} - E::B; TEST() local 145 EnumSet<E> set = EnumSet<E>{E::B} + EnumSet<E>{E::B, E::C}; TEST() local 152 EnumSet<E> set = EnumSet<E>{E::A, E::B} - EnumSet<E>{E::B, E::C}; TEST() local 159 EnumSet<E> set = EnumSet<E>{E::A, E::B} & EnumSet<E>{E::B, E::C}; TEST() local 208 auto set = EnumSet<E>(E::C, E::A); TEST() local 221 auto set = EnumSet<E>(); TEST() local 226 auto set = EnumSet<E>(E::C, E::A); TEST() local [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/select/ |
H A D | pselect.c | 34 fd_set set; in pselect_fdset_0100() local 35 FD_ZERO(&set); in pselect_fdset_0100() 37 EXPECT_FALSE("pselect_fdset_0100", FD_ISSET(i, &set)); in pselect_fdset_0100() 39 FD_SET(STDIN_FILENO, &set); in pselect_fdset_0100() 40 EXPECT_TRUE("pselect_fdset_0100", FD_ISSET(STDIN_FILENO, &set)); in pselect_fdset_0100() 41 EXPECT_FALSE("pselect_fdset_0100", FD_ISSET(STDOUT_FILENO, &set)); in pselect_fdset_0100() 42 FD_SET(STDOUT_FILENO, &set); in pselect_fdset_0100() 43 EXPECT_TRUE("pselect_fdset_0100", FD_ISSET(STDIN_FILENO, &set)); in pselect_fdset_0100() 44 EXPECT_TRUE("pselect_fdset_0100", FD_ISSET(STDOUT_FILENO, &set)); in pselect_fdset_0100() 45 FD_CLR(STDIN_FILENO, &set); in pselect_fdset_0100() 60 fd_set set; pselect_normal_0100() local 79 fd_set set; pselect_error_0100() local 97 fd_set set; pselect_timeout_0100() local 119 fd_set set; pselect_time64_normal_0100() local [all...] |