/frameworks/base/media/libdrm/mobile2/src/util/domcore/ |
H A D | NodeIterator.cpp | 25 NodeImpl* NodeIterator::findNextOrderNode(NodeImpl* node)
argument 27 if (node == endNode)
30 if (node != NULL) {
31 if (node->hasChildNodes() == true) {
32 node = node->getFirstChild();
33 }else if (node == scopeNode && node->hasChildNodes() == false) {
34 node = NULL;
35 } else if (node 56 NodeImpl* node = NULL; local 69 NodeImpl* node; local 80 findPreviousOrderNode(NodeImpl* node) argument [all...] |
H A D | ElementImpl.cpp | 57 NodeImpl* node = getFirstChild();
local 59 if (node == NULL || name == NULL || nodeList == NULL)
64 if (node->getNodeType() == ELEMENT_NODE) {
65 ElementImpl* elementNode = static_cast<ElementImpl*>(node);
67 /* if current is element node and tag name is equal to <code>name</code>,put it into nodeList */
68 nodeList->append(node);
71 * get all Elements node whose tage name is equal to name.
76 /* set current node's next sibling node as current node [all...] |
H A D | NodeImpl.cpp | 129 * children's previous sibling node == NULL and next sibling node !=
130 * NULL, means the children node is the first node of its parent.
131 * so set the children's next sibling node as the first node of its parent.
138 * children's previous sibling node != NULL and next sibling node ==
139 * NULL, means the child node is the last node o 169 appendNextSibling(NodeImpl* node) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | UriMatcher.java | 121 * Creates the root node of the URI tree. 160 UriMatcher node = this; 163 ArrayList<UriMatcher> children = node.mChildren; 170 node = child; 185 node.mChildren.add(child); 186 node = child; 189 node.mCode = code; 199 * @return The code for the matched node (added using addURI), 200 * or -1 if there is no matched node. 207 UriMatcher node [all...] |
/frameworks/base/media/libstagefright/include/ |
H A D | OMX.h | 39 const char *name, const sp<IOMXObserver> &observer, node_id *node); 41 virtual status_t freeNode(node_id node); 44 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param); 47 node_id node, OMX_INDEXTYPE index, 51 node_id node, OMX_INDEXTYPE index, 55 node_id node, OMX_INDEXTYPE index, 59 node_id node, OMX_INDEXTYPE index, 63 node_id node, OMX_U32 port_index, const sp<IMemory> ¶ms, 67 node_id node, OMX_U32 port_index, size_t size, 71 node_id node, OMX_U3 [all...] |
/frameworks/base/media/libstagefright/omx/ |
H A D | OMX.cpp | 104 OMXNodeInstance *instance = mOwner->findInstance(msg.node); 106 LOGV("Would have dispatched a message to a node that's already gone."); 208 const char *name, const sp<IOMXObserver> &observer, node_id *node) { 211 *node = 0; 228 *node = makeNodeID(instance); 230 instance->setHandle(*node, handle); 238 status_t OMX::freeNode(node_id node) { argument 239 OMXNodeInstance *instance = findInstance(node); 250 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) { 251 return findInstance(node) 207 allocateNode( const char *name, const sp<IOMXObserver> &observer, node_id *node) argument 249 sendCommand( node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) argument 254 getParameter( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument 261 setParameter( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument 268 getConfig( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument 275 setConfig( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument 282 useBuffer( node_id node, OMX_U32 port_index, const sp<IMemory> ¶ms, buffer_id *buffer) argument 289 allocateBuffer( node_id node, OMX_U32 port_index, size_t size, buffer_id *buffer, void **buffer_data) argument 296 allocateBufferWithBackup( node_id node, OMX_U32 port_index, const sp<IMemory> ¶ms, buffer_id *buffer) argument 303 freeBuffer(node_id node, OMX_U32 port_index, buffer_id buffer) argument 308 fillBuffer(node_id node, buffer_id buffer) argument 312 emptyBuffer( node_id node, buffer_id buffer, OMX_U32 range_offset, OMX_U32 range_length, OMX_U32 flags, OMX_TICKS timestamp) argument 321 getExtensionIndex( node_id node, const char *parameter_name, OMX_INDEXTYPE *index) argument 329 OnEvent( node_id node, OMX_IN OMX_EVENTTYPE eEvent, OMX_IN OMX_U32 nData1, OMX_IN OMX_U32 nData2, OMX_IN OMX_PTR pEventData) argument 349 OnEmptyBufferDone( node_id node, OMX_IN OMX_BUFFERHEADERTYPE *pBuffer) argument 363 OnFillBufferDone( node_id node, OMX_IN OMX_BUFFERHEADERTYPE *pBuffer) argument 386 node_id node = (node_id)++mNodeCounter; local 392 findInstance(node_id node) argument 400 invalidateNodeID(node_id node) argument 405 invalidateNodeID_l(node_id node) argument [all...] |
/frameworks/base/awt/javax/imageio/metadata/ |
H A D | IIOMetadata.java | 121 * @return the node in tree format. 138 * the root node of the metadata tree. 257 * Gets the standard chroma node. 259 * @return the standard chroma node. 266 * Gets the standard compression node. 268 * @return the standard compression node. 275 * Gets the standard data node. 277 * @return the standard data node. 284 * Gets the standard dimension node. 286 * @return the standard dimension node [all...] |
/frameworks/base/media/libdrm/mobile2/include/util/domcore/ |
H A D | NodeIterator.h | 31 NodeImpl* curNode; /** The position of current node.*/
34 * Find the specify node's next order node.
35 * @param node The specify node.
36 * @return The next order node when success.
39 NodeImpl* findNextOrderNode(NodeImpl* node);
42 * Find the specify node's previous order node.
43 * @param node Th [all...] |
/frameworks/base/tools/layoutlib/bridge/tests/com/android/layoutlib/bridge/ |
H A D | BridgeXmlBlockParserTest.java | 83 private void dump(Node node, String prefix) { argument 104 types[node.getNodeType()], 105 node.getNodeName(), 106 node.getNodeValue() == null ? "" : node.getNodeValue().trim()); 110 n = node.getFirstChild(); 115 n = node.getNextSibling();
|
/frameworks/base/media/libstagefright/omx/tests/ |
H A D | OMXHarness.h | 47 IOMX::node_id node, omx_message *msg, int64_t timeoutUs = -1); 50 IOMX::node_id node, 56 IOMX::node_id node, OMX_U32 portIndex, 61 IOMX::node_id node, OMX_U32 portIndex, 64 status_t setRole(IOMX::node_id node, const char *role);
|
H A D | OMXHarness.cpp | 77 IOMX::node_id node, omx_message *msg, int64_t timeoutUs) { 79 node, NULL, NULL, msg, timeoutUs); 124 IOMX::node_id node, 134 if ((*it).node == node) { 162 IOMX::node_id node, OMX_U32 portIndex, 171 node, OMX_IndexParamPortDefinition, def, sizeof(*def)); 184 IOMX::node_id node, OMX_U32 portIndex, 189 status_t err = getPortDefinition(node, portIndex, &def); 199 node, portInde 76 dequeueMessageForNode( IOMX::node_id node, omx_message *msg, int64_t timeoutUs) argument 123 dequeueMessageForNodeIgnoringBuffers( IOMX::node_id node, Vector<Buffer> *inputBuffers, Vector<Buffer> *outputBuffers, omx_message *msg, int64_t timeoutUs) argument 161 getPortDefinition( IOMX::node_id node, OMX_U32 portIndex, OMX_PARAM_PORTDEFINITIONTYPE *def) argument 182 allocatePortBuffers( const sp<MemoryDealer> &dealer, IOMX::node_id node, OMX_U32 portIndex, Vector<Buffer> *buffers) argument 208 setRole(IOMX::node_id node, const char *role) argument 224 NodeReaper(const sp<Harness> &harness, IOMX::node_id node) argument 290 IOMX::node_id node; local [all...] |
/frameworks/base/include/media/ |
H A D | IOMX.h | 58 node_id *node) = 0; 60 virtual status_t freeNode(node_id node) = 0; 63 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) = 0; 66 node_id node, OMX_INDEXTYPE index, 70 node_id node, OMX_INDEXTYPE index, 74 node_id node, OMX_INDEXTYPE index, 78 node_id node, OMX_INDEXTYPE index, 82 node_id node, OMX_U32 port_index, const sp<IMemory> ¶ms, 90 node_id node, OMX_U32 port_index, size_t size, 94 node_id node, OMX_U3 146 IOMX::node_id node; member in struct:android::omx_message [all...] |
/frameworks/base/media/libmedia/ |
H A D | IOMX.cpp | 111 const char *name, const sp<IOMXObserver> &observer, node_id *node) { 120 *node = (void*)reply.readIntPtr(); 122 *node = 0; 128 virtual status_t freeNode(node_id node) { argument 131 data.writeIntPtr((intptr_t)node); 138 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) { 141 data.writeIntPtr((intptr_t)node); 150 node_id node, OMX_INDEXTYPE index, 154 data.writeIntPtr((intptr_t)node); 171 node_id node, OMX_INDEXTYP 110 allocateNode( const char *name, const sp<IOMXObserver> &observer, node_id *node) argument 137 sendCommand( node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) argument 149 getParameter( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument 170 setParameter( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument 184 getConfig( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument 205 setConfig( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument 219 useBuffer( node_id node, OMX_U32 port_index, const sp<IMemory> ¶ms, buffer_id *buffer) argument 241 allocateBuffer( node_id node, OMX_U32 port_index, size_t size, buffer_id *buffer, void **buffer_data) argument 264 allocateBufferWithBackup( node_id node, OMX_U32 port_index, const sp<IMemory> ¶ms, buffer_id *buffer) argument 286 freeBuffer( node_id node, OMX_U32 port_index, buffer_id buffer) argument 298 fillBuffer(node_id node, buffer_id buffer) argument 308 emptyBuffer( node_id node, buffer_id buffer, OMX_U32 range_offset, OMX_U32 range_length, OMX_U32 flags, OMX_TICKS timestamp) argument 326 getExtensionIndex( node_id node, const char *parameter_name, OMX_INDEXTYPE *index) argument 423 node_id node; local 438 node_id node = (void*)data.readIntPtr(); local 449 node_id node = (void*)data.readIntPtr(); local 464 node_id node = (void*)data.readIntPtr(); local 491 node_id node = (void*)data.readIntPtr(); local 506 node_id node = (void*)data.readIntPtr(); local 533 node_id node = (void*)data.readIntPtr(); local 548 node_id node = (void*)data.readIntPtr(); local 568 node_id node = (void*)data.readIntPtr(); local 590 node_id node = (void*)data.readIntPtr(); local 612 node_id node = (void*)data.readIntPtr(); local 624 node_id node = (void*)data.readIntPtr(); local 635 node_id node = (void*)data.readIntPtr(); local 654 node_id node = (void*)data.readIntPtr(); local [all...] |
/frameworks/base/core/tests/coretests/src/android/pim/vcard/ |
H A D | PropertyNode.java | 121 PropertyNode node = (PropertyNode)obj; 123 if (propName == null || !propName.equals(node.propName)) { 125 } else if (!paramMap_TYPE.equals(node.paramMap_TYPE)) { 127 } else if (!paramMap_TYPE.equals(node.paramMap_TYPE)) { 129 } else if (!propGroupSet.equals(node.propGroupSet)) { 133 if (propValue_bytes != null && Arrays.equals(propValue_bytes, node.propValue_bytes)) { 136 if (!propValue.equals(node.propValue)) { 144 return (propValue_vector.equals(node.propValue_vector) || 146 node.propValue_vector.size() == 1);
|
/frameworks/base/media/libdrm/mobile2/src/rights/ |
H A D | Ro.cpp | 155 NodeImpl* node = doc->getDocumentElement(); local 157 return handleRights(node); 165 NodeImpl *node = curNode->getFirstChild(); local 167 while (NULL != node) 171 name = static_cast<const XMLElementImpl*>(node)->getTagName(); 177 token = static_cast<const XMLElementImpl*>(node)->getSoloText(STR_RO_CONTEXT_ID); 185 token = static_cast<const XMLElementImpl*>(node)->getSoloText(STR_RO_CONTEXT_VERSION); 197 if (handleAgreement(node) == false) 203 node = node 213 NodeImpl *node = curNode->getFirstChild(); local 272 NodeImpl* node = curNode->getFirstChild(); local 328 const XMLElementImpl *node = curElement->getSoloElement(STR_RO_RETRIEVAL_METHOD); local 361 NodeImpl* node = curNode->getFirstChild(); local 524 const XMLElementImpl *node = curElement->getSoloElement(STR_RO_TIMEDCOUNT); local [all...] |
/frameworks/base/libs/binder/ |
H A D | MemoryDealer.cpp | 62 void insertAfter(NODE* node, NODE* newNode) { argument 63 newNode->prev = node; 64 newNode->next = node->next; 65 if (node->next == 0) mLast = newNode; 66 else node->next->prev = newNode; 67 node->next = newNode; 70 void insertBefore(NODE* node, NODE* newNode) { argument 71 newNode->prev = node->prev; 72 newNode->next = node; 73 if (node 101 remove(NODE* node) argument 273 chunk_t* node = new chunk_t(0, mHeapSize / kMemoryAlign); local [all...] |
/frameworks/base/media/libdrm/mobile2/src/util/xml/ |
H A D | XMLElementImpl.cpp | 129 const NodeImpl *node = findSoloChildNode(tag); local 130 if (node) 132 return static_cast<const XMLElementImpl*>(node);
|
/frameworks/base/tools/aapt/ |
H A D | XMLNode.cpp | 626 SourcePos(mFilename, child->getStartLineNumber()).error("Child to CDATA node."); 637 SourcePos(mFilename, child->getStartLineNumber()).error("Child to CDATA node."); 649 SourcePos(mFilename, getStartLineNumber()).error("Child to CDATA node."); 682 SourcePos(mFilename, getStartLineNumber()).error("Adding characters to element node."); 723 sp<XMLNode> node = mChildren.itemAt(i); 724 if (node->getType() == TYPE_CDATA) { 725 // This is a CDATA node... 726 const char16_t* p = node->mChars.string(); 731 // (int)(p-node->mChars.string()), 732 // String8(node [all...] |
/frameworks/base/tools/localize/ |
H A D | xmb.cpp | 38 rename_id_attribute(XMLNode* node) argument 40 vector<XMLAttribute>& attrs = node->EditAttributes(); 55 convert_xliff_to_ph(XMLNode* node, int* phID) argument 58 if (node->Type() == XMLNode::ELEMENT) { 59 if (node->Namespace() == XLIFF_XMLNS) { 60 g_tags.insert(node->Name()); 61 node->SetName("", "ph"); 63 err = rename_id_attribute(node); 68 node->EditAttributes().push_back(XMLAttribute("", "name", name)); 72 vector<XMLNode*>& children = node [all...] |
H A D | XLIFFFile_test.cpp | 37 XMLNode* node = XMLNode::NewElement(GENERATED_POS, "", tag, attrs, XMLNode::EXACT); local 38 addTo->EditChildren().push_back(node); 39 return node;
|
H A D | ValuesFile.cpp | 60 XMLNode* node = XMLNode::NewElement(pos, ns, name, attrs, XMLNode::EXACT); local 62 m_id, m_index, node, m_version, m_versionString, 64 *next = new NodeHandler(node, XMLNode::EXACT); 118 XMLNode* node = XMLNode::NewElement(pos, ns, name, attrs, XMLNode::EXACT); local 120 id, -1, node, m_version, m_versionString, 122 *next = new NodeHandler(node, XMLNode::EXACT);
|
/frameworks/base/tools/preload/ |
H A D | sorttable.js | 199 getInnerText: function(node) { 206 hasInputs = (typeof node.getElementsByTagName == 'function') && 207 node.getElementsByTagName('input').length; 209 if (node.getAttribute("sorttable_customkey") != null) { 210 return node.getAttribute("sorttable_customkey"); 212 else if (typeof node.textContent != 'undefined' && !hasInputs) { 213 return node.textContent.replace(/^\s+|\s+$/g, ''); 215 else if (typeof node.innerText != 'undefined' && !hasInputs) { 216 return node.innerText.replace(/^\s+|\s+$/g, ''); 218 else if (typeof node [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | RelativeLayout.java | 845 DependencyGraph.Node node = mGraph.mKeyNodes.get(id); 846 if (node == null) return null; 847 View v = node.view; 852 node = mGraph.mKeyNodes.get((rules[relation])); 853 if (node == null) return null; 854 v = node.view; 1193 * List of nodes in the graph. Each node is identified by its 1223 * @param view The view to be added as a node to the graph. 1227 final Node node = Node.acquire(view); 1230 mKeyNodes.put(id, node); 1356 appendViewId(Resources resources, Node node, StringBuilder buffer) argument 1364 printNode(Resources resources, Node node) argument 1376 printdependents(Resources resources, Node node, StringBuilder buffer) argument [all...] |
/frameworks/base/libs/surfaceflinger/ |
H A D | MessageQueue.cpp | 32 void MessageList::insert(const sp<MessageBase>& node) argument 37 if (*node < **cur) { 38 mList.insert(cur, node); 43 mList.insert(++end, node);
|
/frameworks/base/media/libdrm/mobile1/include/xml/ |
H A D | xml_tinyParser.h | 74 uint8_t *XML_DOM_getNode(uint8_t *buffer, const uint8_t *const node); 75 uint8_t *XML_DOM_getNodeValue(uint8_t *buffer, uint8_t *node, 123 uint8_t *node); 125 uint8_t *node,
|