/third_party/pulseaudio/src/pulsecore/ |
H A D | memblock.c | 161 /* A list of free slots that may be reused */ 263 /* The free list was empty, we have to allocate a new entry */ in mempool_allocate_slot() 620 /* The free list dimensions should easily allow all slots in memblock_free() 622 * the free list fails */ in memblock_free() 861 pa_flist *list; in mempool_free() local 865 list = pa_flist_new(p->n_blocks); in mempool_free() 875 while (pa_flist_push(list, k) < 0) in mempool_free() 885 while ((k = pa_flist_pop(list))) in mempool_free() 890 pa_flist_free(list, NULL); in mempool_free() 925 pa_flist *list; in pa_mempool_vacuum() local [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | alphaindex.cpp | 78 inline UnicodeString *getString(const UVector &list, int32_t i) { in getString() argument 79 return static_cast<UnicodeString *>(list[i]); in getString() 82 inline AlphabeticIndex::Bucket *getBucket(const UVector &list, int32_t i) { in getBucket() argument 83 return static_cast<AlphabeticIndex::Bucket *>(list[i]); in getBucket() 86 inline AlphabeticIndex::Record *getRecord(const UVector &list, int32_t i) { in getRecord() argument 87 return static_cast<AlphabeticIndex::Record *>(list[i]); in getRecord() 96 int32_t binarySearch(const UVector &list, const UnicodeString &s, const Collator &coll) { in binarySearch() argument 97 if (list.size() == 0) { return ~0; } in binarySearch() 99 int32_t limit = list.size(); in binarySearch() 102 const UnicodeString *si = static_cast<UnicodeString *>(list in binarySearch() [all...] |
/third_party/python/Lib/test/ |
H A D | test_copy.py | 445 # There's the entry for the new list, and the keep alive. 654 class C(list): 658 return (list(self) == list(other) and 731 self._keys = list(d.keys()) 747 class C(list): 752 self.assertEqual(list(x), list(y)) 758 class C(list): 763 self.assertEqual(list( [all...] |
H A D | pickletester.py | 327 # For some reason, ndarray() wants a list of integers... 329 items = list(m.tobytes()) 955 self.assertEqual(list(loaded), list(range(5))) 958 self.assertEqual(list(loaded.keys()), ["key"]) 1161 self.assertEqual(list(unpickled), [1, 2, 3, 4, 5, 6]) 1516 self._test_recursive_list(list) 1525 # Tuple containing a list containing the original tuple. 1538 # List containing a tuple containing the original list. 1551 self._test_recursive_tuple_and_list(list) [all...] |
H A D | list_tests.py | 2 Tests common to list and UserList.UserList 36 msg = "list indices must be integers or slices" 42 msg = "list indices must be integers or slices" 83 self.assertEqual(list(r), self.type2test(range(19, -1, -1))) 85 self.assertEqual(list(reversed(self.type2test())), 87 # Bug 3689: make sure list-reversed-iterator doesn't have __len__ 123 msg = "list indices must be integers or slices" 260 self.assertEqual(a, list("spameggs")) 372 # Test modifying the list during index's iteration 486 self.assertEqual(u, list("ha [all...] |
/third_party/selinux/libselinux/src/ |
H A D | label_file.c | 610 struct selabel_sub *list = NULL, *sub = NULL; in selabel_subs_init() local 661 sub->next = list; in selabel_subs_init() 662 list = sub; in selabel_subs_init() 669 *out_subs = list; in selabel_subs_init() 679 while (list) { in selabel_subs_init() 680 sub = list->next; in selabel_subs_init() 681 free(list->src); in selabel_subs_init() 682 free(list->dst); in selabel_subs_init() 683 free(list); in selabel_subs_init() 684 list in selabel_subs_init() [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | js-date-time-format.cc | 949 std::vector<Handle<String>> list( in ToDateTimeOptions() 951 list.push_back(factory->month_string()); in ToDateTimeOptions() 952 list.push_back(factory->day_string()); in ToDateTimeOptions() 953 Maybe<bool> maybe_needs_default = NeedsDefault(isolate, options, list); in ToDateTimeOptions() 962 std::vector<Handle<String>> list; in ToDateTimeOptions() local 963 list.push_back(factory->dayPeriod_string()); in ToDateTimeOptions() 964 list.push_back(factory->hour_string()); in ToDateTimeOptions() 965 list.push_back(factory->minute_string()); in ToDateTimeOptions() 966 list.push_back(factory->second_string()); in ToDateTimeOptions() 967 list in ToDateTimeOptions() [all...] |
/third_party/node/deps/v8/src/regexp/ |
H A D | regexp-compiler-tonode.cc | 10 #include "src/zone/zone-list-inl.h" 439 // Clear the ranges list without freeing the backing store. in AddUnicodeCaseEquivalents() 1387 // in the same list. Handles overlapping source and target areas. in RationalizeConsecutiveAtoms() 1388 void MoveRanges(ZoneList<CharacterRange>* list, int from, int to, int count) { in RationalizeConsecutiveAtoms() argument 1392 list->at(to + i) = list->at(from + i); in RationalizeConsecutiveAtoms() 1396 list->at(to + i) = list->at(from + i); in RationalizeConsecutiveAtoms() 1401 int InsertRangeInCanonicalList(ZoneList<CharacterRange>* list, int count, in RationalizeConsecutiveAtoms() argument 1403 // Inserts a range into list[ in RationalizeConsecutiveAtoms() [all...] |
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | verifier_test.cc | 487 auto list = MakeUnique<type::List>(); in TEST_F() local 488 list->AddMember(FormatComponentType::kR, FormatMode::kSFloat, 16); in TEST_F() 489 list->AddMember(FormatComponentType::kG, FormatMode::kSFloat, 11); in TEST_F() 490 list->AddMember(FormatComponentType::kB, FormatMode::kSFloat, 10); in TEST_F() 492 Format format(list.get()); in TEST_F() 529 auto list = MakeUnique<type::List>(); in TEST_F() local 530 list->AddMember(FormatComponentType::kR, FormatMode::kSFloat, 11); in TEST_F() 531 list->AddMember(FormatComponentType::kG, FormatMode::kSFloat, 16); in TEST_F() 532 list->AddMember(FormatComponentType::kB, FormatMode::kSFloat, 10); in TEST_F() 534 Format format(list in TEST_F() 571 auto list = MakeUnique<type::List>(); TEST_F() local [all...] |
/third_party/glslang/glslang/MachineIndependent/ |
H A D | SymbolTable.h | 13 // notice, this list of conditions and the following disclaimer. 16 // copyright notice, this list of conditions and the following 211 TVector<TExtensionList>* memberExtensions; // per-member extension list, allocated only when needed 262 // Non-'this' parameters are reflected in both the list of parameters and the 275 // 'this' is reflected in the list of parameters, but not the mangled name. 495 void findFunctionNameList(const TString& name, TVector<const TFunction*>& list) in findFunctionNameList() argument 504 list.push_back(it->second->getAsFunction()); in findFunctionNameList() 848 void findFunctionNameList(const TString& name, TVector<const TFunction*>& list, bool& builtIn) in findFunctionNameList() argument 854 table[level]->findFunctionNameList(name, list); in findFunctionNameList() 856 } while (list in findFunctionNameList() [all...] |
/third_party/alsa-lib/src/topology/ |
H A D | dapm.c | 112 ref = list_entry(pos, struct tplg_ref, list); in tplg_build_widget() 125 ref = list_entry(pos, struct tplg_ref, list); in tplg_build_widget() 179 elem = list_entry(pos, struct tplg_elem, list); in tplg_build_widgets() 205 elem = list_entry(pos, struct tplg_elem, list); in tplg_build_routes() 270 list_add_tail(&elem->list, &tplg->route_list); in tplg_elem_new_route() 432 elem = list_entry(pos, struct tplg_elem, list); in tplg_save_dapm_graph() 459 elem = list_entry(pos, struct tplg_elem, list); in tplg_save_dapm_graph() 820 /* add controls to the widget's reference list */ in tplg_add_widget_object()
|
/third_party/icu/icu4c/source/common/ |
H A D | localematcher.cpp | 179 LocalePriorityList list(locales, errorCode_); in setSupportedLocalesFromListString() 183 int32_t length = list.getLengthIncludingRemoved(); in setSupportedLocalesFromListString() 185 Locale *locale = list.orphanLocaleAt(i); in setSupportedLocalesFromListString() 398 // and an ordered list of (LSR, supported index) for in LocaleMatcher() 627 LocalePriorityList list(desiredLocaleList, errorCode); in getBestMatchForListString() 628 LocalePriorityList::Iterator iter = list.iterator(); in getBestMatchForListString() 822 LocalePriorityList list(httpAcceptLanguage, *status); in uloc_acceptLanguageFromHTTP() 823 LocalePriorityList::Iterator desiredLocales = list.iterator(); in uloc_acceptLanguageFromHTTP()
|
/third_party/node/deps/icu-small/source/common/ |
H A D | localematcher.cpp | 179 LocalePriorityList list(locales, errorCode_); in setSupportedLocalesFromListString() 183 int32_t length = list.getLengthIncludingRemoved(); in setSupportedLocalesFromListString() 185 Locale *locale = list.orphanLocaleAt(i); in setSupportedLocalesFromListString() 398 // and an ordered list of (LSR, supported index) for in LocaleMatcher() 627 LocalePriorityList list(desiredLocaleList, errorCode); in getBestMatchForListString() 628 LocalePriorityList::Iterator iter = list.iterator(); in getBestMatchForListString() 822 LocalePriorityList list(httpAcceptLanguage, *status); in uloc_acceptLanguageFromHTTP() 823 LocalePriorityList::Iterator desiredLocales = list.iterator(); in uloc_acceptLanguageFromHTTP()
|
/third_party/littlefs/scripts/ |
H A D | summary.py | 263 fields = list(k for k, v in fields.items() if v) 266 fields = list(co.OrderedDict.fromkeys(fields).keys()) 279 by = list(by.keys()) 282 by = list(co.OrderedDict.fromkeys(by).keys()) 315 **{k: r[k] if k in r and isinstance(r[k], list) 410 names = list(table.keys() | diff_table.keys()) 570 renames = list(it.chain.from_iterable(
|
/third_party/libabigail/include/ |
H A D | abg-fwd.h | 14 #include <list> 44 The mailing list to send messages and patches to is 1093 std::list<string>&); 1096 components_to_type_name(const std::list<string>&); 1158 lookup_class_type_through_scopes(const std::list<string>&, 1344 lookup_type_through_scopes(const std::list<string>&, 1372 lookup_type_in_scope(const std::list<string>&, 1380 lookup_var_decl_in_scope(const std::list<string>&,
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | gen-tag-table.py | 7 languages system tag list to the language subtags of the BCP 47 language 243 subtags (List[str]): The list of subtags in this tag. 506 ``'\\n'``-separated list of names. 605 for ls in list (self.macrolanguages.values ()): 613 inverted = collections.defaultdict (list) 883 name (str): A list of language names from the BCP 47 registry, 898 a (str): A list of language names from the BCP 47 registry, 900 b (str): A list of language names from the BCP 47 registry, 970 complex_tags = collections.defaultdict (list) 1105 primary_tags = list ( [all...] |
/third_party/python/Lib/ |
H A D | _collections_abc.py | 12 GenericAlias = type(list[int]) 35 # Private list of types that we want to register with the various ABCs 41 # are not included on this list. 433 if isinstance(t_args, (tuple, list)): 436 raise TypeError(f"Expected a list of types, an ellipsis, " 450 args = list(args[:-1]), args[-1] 471 if not isinstance(new_args[0], (tuple, list)): 478 """Checks if obj matches either a list of types, ``...``, ``ParamSpec`` or 483 if isinstance(obj, list): 1097 values = list(value [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | localematcher.cpp | 182 LocalePriorityList list(locales, errorCode_); in setSupportedLocalesFromListString() 186 int32_t length = list.getLengthIncludingRemoved(); in setSupportedLocalesFromListString() 188 Locale *locale = list.orphanLocaleAt(i); in setSupportedLocalesFromListString() 416 // and an ordered list of (LSR, supported index) for in LocaleMatcher() 645 LocalePriorityList list(desiredLocaleList, errorCode); in getBestMatchForListString() 646 LocalePriorityList::Iterator iter = list.iterator(); in getBestMatchForListString() 840 LocalePriorityList list(httpAcceptLanguage, *status); in uloc_acceptLanguageFromHTTP() 841 LocalePriorityList::Iterator desiredLocales = list.iterator(); in uloc_acceptLanguageFromHTTP()
|
/third_party/python/Lib/tomllib/ |
H A D | _parser.py | 91 # - append dict to list (and move to its namespace) 209 if access_lists and isinstance(cont, list): 220 if not isinstance(list_, list): 221 raise KeyError("An object other than list found behind this key") 309 # Free the namespace now that it points to another empty list item... 351 if isinstance(value, (dict, list)): 412 def parse_array(src: str, pos: Pos, parse_float: ParseFloat) -> tuple[Pos, list]: 414 array: list = [] 462 if isinstance(value, (dict, list)): 687 if isinstance(float_value, (dict, list)) [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | wpa_supplicant_i.h | 13 #include "utils/list.h" 247 struct dl_list list; member 253 struct dl_list list; member 320 struct dl_list work; /* struct wpa_radio_work::list entries */ 330 struct dl_list list; member 443 struct dl_list list; member 452 struct dl_list list; member 470 struct dl_list list; member 475 struct dl_list list; member 491 struct dl_list radio_list; /* list hea [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fBufferWriteTests.cpp | 37 #include <list> 77 std::vector<DataStoreSpec>& list; member 80 : list(list_) in DataStoreSpecVecBuilder() 86 list.push_back(spec); in operator <<() 93 std::vector<tcu::IVec2>& list; member 96 : list(list_) in RangeVecBuilder() 102 list.push_back(vec); in operator <<() 144 //! Updates range list (start, len) with a new range.
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fBufferWriteTests.cpp | 37 #include <list> 77 std::vector<DataStoreSpec>& list; member 80 : list(list_) in DataStoreSpecVecBuilder() 86 list.push_back(spec); in operator <<() 93 std::vector<tcu::IVec2>& list; member 96 : list(list_) in RangeVecBuilder() 102 list.push_back(vec); in operator <<() 144 //! Updates range list (start, len) with a new range.
|
/third_party/alsa-lib/src/control/ |
H A D | control_remap.c | 344 static int snd_ctl_remap_elem_list(snd_ctl_t *ctl, snd_ctl_elem_list_t *list) in snd_ctl_remap_elem_list() argument 355 err = snd_ctl_elem_list(priv->child, list); in snd_ctl_remap_elem_list() 358 for (index = 0; index < list->used; index++) { in snd_ctl_remap_elem_list() 359 id = &list->pids[index]; in snd_ctl_remap_elem_list() 370 if (list->offset >= list->count + priv->map_items) in snd_ctl_remap_elem_list() 373 if (list->offset > list->count) in snd_ctl_remap_elem_list() 374 index2 = list->offset - list in snd_ctl_remap_elem_list() [all...] |
/third_party/toybox/toys/pending/ |
H A D | vi.c | 25 int vi_mode, tabstop, list; 133 struct double_list **list, char *data) in dlist_add_before() 137 if (*list == *head) *head = new; in dlist_add_before() 139 dlist_add_nomalloc(list, new); in dlist_add_before() 144 struct double_list **list, char *data) in dlist_add_after() 149 if (*list) { in dlist_add_after() 150 new->prev = *list; in dlist_add_after() 151 new->next = (*list)->next; in dlist_add_after() 152 (*list)->next->prev = new; in dlist_add_after() 153 (*list) in dlist_add_after() 132 dlist_add_before(struct double_list **head, struct double_list **list, char *data) dlist_add_before() argument 143 dlist_add_after(struct double_list **head, struct double_list **list, char *data) dlist_add_after() argument [all...] |
/third_party/googletest/googlemock/test/ |
H A D | gmock-matchers-containers_test.cc | 9 // notice, this list of conditions and the following disclaimer. 11 // copyright notice, this list of conditions and the following disclaimer 1226 list<std::string> words; in TEST() 1277 list<std::string> words; in TEST() 1361 ConstIter(const Streamlike* s, typename std::list<value_type>::iterator pos) in ConstIter() 1396 typename std::list<value_type>::iterator pos_; 1401 typedef typename std::list<value_type>::const_iterator Iter; in operator <<() 1411 mutable std::list<value_type> remainder_; // modified by iteration 1559 ::std::list<int> expected; in TEST() 1685 ::std::list<in in TEST() [all...] |