Home
last modified time | relevance | path

Searched refs:Container (Results 1 – 8 of 8) sorted by relevance

/system/chre/util/include/chre/util/
Dblocking_segmented_queue.h36 using Container = ::chre::SegmentedQueue<ElementType, kBlockSize>; variable
39 Container>;
57 return Container::block_count(); in block_count()
60 size_t removeMatchedFromBack(typename Container::MatchingFunction *matchFunc, in removeMatchedFromBack()
63 typename Container::FreeFunction *freeFunction, in removeMatchedFromBack()
66 return Container::removeMatchedFromBack( in removeMatchedFromBack()
/system/libziparchive/incfs_support/include/incfs_support/
Dutil.h30 template <class Container>
31 void clearAndFree(Container& c) { in clearAndFree()
32 Container().swap(c); in clearAndFree()
/system/secretkeeper/dice_policy/src/
Dlib.rs288 fn get_container_from_value(container: &Value) -> Result<Container, Error> { in get_container_from_value() argument
295 .map(|m| Container::Map(Cow::Owned(m))) in get_container_from_value()
297 Value::Map(map) => Ok(Container::Map(Cow::Borrowed(map))), in get_container_from_value()
298 Value::Array(array) => Ok(Container::Array(array)), in get_container_from_value()
304 enum Container<'a> { enum
309 fn lookup_value_in_container<'a>(container: &'a Container<'a>, key: i64) -> Option<&'a Value> { in lookup_value_in_container()
311 Container::Array(array) => array.get(key as usize), in lookup_value_in_container()
312 Container::Map(map) => { in lookup_value_in_container()
/system/update_engine/payload_generator/
Dextent_utils.h153 template <typename Container>
154 size_t GetNthBlock(const Container& extents, const size_t n) { in GetNthBlock()
Dextent_utils.cc88 template <typename Container>
89 string ExtentsToStringTemplate(const Container& extents) { in ExtentsToStringTemplate()
/system/media/audio_utils/tests/
Daudio_mutex_tests.cpp131 class Container : public IContainer { class
227 TEST(audio_mutex_tests, Container) { in TEST() argument
228 Container c; in TEST()
251 Container c; in TEST()
/system/libvintf/
DHalManifest.cpp312 template <typename Container>
313 void multilineIndent(std::ostream& os, size_t indent, const Container& lines) { in multilineIndent()
Dparse_xml.cpp407 template <typename Container, typename T = typename Container::value_type,
408 typename = typename Container::key_compare>
409 inline bool parseChildren(NodeType* root, const XmlNodeConverter<T>& conv, Container* s, in parseChildren()