Home
last modified time | relevance | path

Searched refs:container (Results 1 – 19 of 19) sorted by relevance

/system/chre/util/include/chre/util/
Dheap_impl.h31 void siftUp(ContainerType& container, size_t index, in siftUp() argument
33 CHRE_ASSERT(index < container.size()); in siftUp()
37 if (compare(container[parent], container[current])) { in siftUp()
38 container.swap(parent, current); in siftUp()
47 void siftDown(ContainerType& container, size_t index, in siftDown() argument
49 CHRE_ASSERT(index < container.size()); in siftDown()
54 while (index < container.size() - 1) { in siftDown()
58 if (child + 1 < container.size() - 1 && in siftDown()
59 compare(container[child], container[child + 1])) { in siftDown()
65 if (child < container.size() - 1 && in siftDown()
[all …]
Dheap.h39 void push_heap(ContainerType& container, const CompareFunction& compare);
50 void pop_heap(ContainerType& container, const CompareFunction& compare);
63 void remove_heap(ContainerType& container, size_t index,
/system/chre/host/common/
Dhost_protocol_host.cc63 const fbs::MessageContainer *container = fbs::GetMessageContainer(message); in decodeMessageFromChre() local
65 switch (container->message_type()) { in decodeMessageFromChre()
68 container->message()); in decodeMessageFromChre()
80 container->message()); in decodeMessageFromChre()
96 container->message()); in decodeMessageFromChre()
105 container->message()); in decodeMessageFromChre()
114 static_cast<uint8_t>(container->message_type())); in decodeMessageFromChre()
148 const fbs::MessageContainer *container = fbs::GetMessageContainer(message); in extractHostClientId() local
151 *hostClientId = container->host_addr()->client_id(); in extractHostClientId()
165 fbs::MessageContainer *container = fbs::GetMutableMessageContainer(message); in mutateHostClientId() local
[all …]
/system/chre/platform/shared/
Dhost_protocol_chre.cc38 const fbs::MessageContainer *container = fbs::GetMessageContainer(message); in decodeMessageFromHost() local
39 uint16_t hostClientId = container->host_addr()->client_id(); in decodeMessageFromHost()
41 switch (container->message_type()) { in decodeMessageFromHost()
44 container->message()); in decodeMessageFromHost()
64 container->message()); in decodeMessageFromHost()
75 static_cast<uint8_t>(container->message_type())); in decodeMessageFromHost()
Dhost_protocol_common.cc50 auto container = fbs::CreateMessageContainer( in finalize() local
52 builder.Finish(container); in finalize()
/system/security/keystore/
Dauth_token_table.cpp59 typename Container::iterator find_if(Container& container, Predicate pred) { in find_if() argument
60 return std::find_if(container.begin(), container.end(), pred); in find_if()
64 typename Container::iterator remove_if(Container& container, Predicate pred) { in remove_if() argument
65 return std::remove_if(container.begin(), container.end(), pred); in remove_if()
68 template <typename Container> typename Container::iterator min_element(Container& container) { in min_element() argument
69 return std::min_element(container.begin(), container.end()); in min_element()
/system/core/libcutils/include_vndk/cutils/
Dlist.h32 #define node_to_item(node, container, member) \ argument
33 (container *) (((char*) (node)) - offsetof(container, member))
/system/core/libcutils/include/cutils/
Dlist.h32 #define node_to_item(node, container, member) \ argument
33 (container *) (((char*) (node)) - offsetof(container, member))
/system/media/camera/docs/
Dmetadata_template.mako107 % if prop.container is not None:
108 container="${prop.container}"
120 % if prop.container == 'array':
126 % elif prop.container == 'tuple':
Dmetadata_helpers.py188 if entry.container == 'array':
409 if entry.container == 'array':
483 if entry.container == 'array':
Dcamera_metadata_tags.mako36 if entry.container == 'array':
Dhtml.mako264 % if prop.container is not None:
268 % if prop.container == 'array':
272 % elif prop.container == 'tuple':
Dndk_camera_metadata_tags.mako42 if entry.container == 'array':
Dmetadata_model.py1197 def container(self): member in Entry
/system/tools/aidl/
Dtype_namespace.h344 std::string container = Trim(name.substr(0, opening_brace)); in CanonicalizeContainerType() local
368 if ((container == "List" || container == "java.util.List") && in CanonicalizeContainerType()
374 if ((container == "Map" || container == "java.util.Map") && in CanonicalizeContainerType()
381 LOG(ERROR) << "Unknown find container with name " << container in CanonicalizeContainerType()
/system/tools/hidl/
Dhidl-gen_y.yy788 CompoundType *container = new CompoundType($1, $2, convertYYLoc(@2));
789 ast->enterScope(container);
798 CompoundType *container = static_cast<CompoundType *>(ast->scope());
801 if (!container->setFields($4, &errorMsg)) {
808 if (!ast->addScopedType(container, &errorMsg)) {
813 $$ = container;
DAST.cpp192 void AST::enterScope(Scope *container) { in enterScope() argument
193 mScopePath.push_back(container); in enterScope()
DAST.h54 void enterScope(Scope *container);
/system/chre/platform/shared/idl/
Dhost_messages.fbs123 /// The top-level container that encapsulates all possible messages. Note that