Home
last modified time | relevance | path

Searched refs:node (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Mms/src/com/android/mms/dom/
DNodeListImpl.java73 Node node = null; in item() local
77 node = mSearchNodes.get(index); in item()
83 node = mStaticNodes.get(index); in item()
88 return node; in item()
101 private void fillList(Node node) { in fillList() argument
104 if (node == mRootNode) { in fillList()
107 if ((mTagName == null) || node.getNodeName().equals(mTagName)) { in fillList()
108 mSearchNodes.add(node); in fillList()
113 node = node.getFirstChild(); in fillList()
117 while (node != null) { in fillList()
[all …]
DNamedNodeMapImpl.java35 Node node = null; in getNamedItem() local
38 node = mNodes.elementAt(i); in getNamedItem()
42 return node; in getNamedItem()
58 Node node = getNamedItem(name); in removeNamedItem() local
59 if (node == null) { in removeNamedItem()
62 mNodes.remove(node); in removeNamedItem()
64 return node; in removeNamedItem()
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
DAddressListParserVisitor.java7 public Object visit(SimpleNode node, Object data); in visit() argument
8 public Object visit(ASTaddress_list node, Object data); in visit() argument
9 public Object visit(ASTaddress node, Object data); in visit() argument
10 public Object visit(ASTmailbox node, Object data); in visit() argument
11 public Object visit(ASTname_addr node, Object data); in visit() argument
12 public Object visit(ASTgroup_body node, Object data); in visit() argument
13 public Object visit(ASTangle_addr node, Object data); in visit() argument
14 public Object visit(ASTroute node, Object data); in visit() argument
15 public Object visit(ASTphrase node, Object data); in visit() argument
16 public Object visit(ASTaddr_spec node, Object data); in visit() argument
[all …]
/packages/apps/Email/src/org/apache/james/mime4j/field/address/
DBuilder.java58 public AddressList buildAddressList(ASTaddress_list node) { in buildAddressList() argument
60 for (int i = 0; i < node.jjtGetNumChildren(); i++) { in buildAddressList()
61 ASTaddress childNode = (ASTaddress) node.jjtGetChild(i); in buildAddressList()
68 private Address buildAddress(ASTaddress node) { in buildAddress() argument
69 ChildNodeIterator it = new ChildNodeIterator(node); in buildAddress()
98 private MailboxList buildGroupBody(ASTgroup_body node) { in buildGroupBody() argument
100 ChildNodeIterator it = new ChildNodeIterator(node); in buildGroupBody()
111 private Mailbox buildMailbox(ASTmailbox node) { in buildMailbox() argument
112 ChildNodeIterator it = new ChildNodeIterator(node); in buildMailbox()
128 private NamedMailbox buildNameAddr(ASTname_addr node) { in buildNameAddr() argument
[all …]
/packages/inputmethods/PinyinIME/jni/share/
Ddicttrie.cpp86 inline size_t DictTrie::get_son_offset(const LmaNodeGE1 *node) { in get_son_offset() argument
87 return ((size_t)node->son_1st_off_l + ((size_t)node->son_1st_off_h << 16)); in get_son_offset()
90 inline size_t DictTrie::get_homo_idx_buf_offset(const LmaNodeGE1 *node) { in get_homo_idx_buf_offset() argument
91 return ((size_t)node->homo_idx_buf_off_l + in get_homo_idx_buf_offset()
92 ((size_t)node->homo_idx_buf_off_h << 16)); in get_homo_idx_buf_offset()
316 LmaNodeLE0 *node) { in fill_lpi_buffer() argument
319 for (size_t homo = 0; homo < (size_t)node->num_of_homo; homo++) { in fill_lpi_buffer()
320 lpi_items[lpi_num].id = get_lemma_id(node->homo_idx_buf_off + in fill_lpi_buffer()
334 size_t homo_buf_off, LmaNodeGE1 *node, in fill_lpi_buffer() argument
338 for (size_t homo = 0; homo < (size_t)node->num_of_homo; homo++) { in fill_lpi_buffer()
[all …]
Dspellingtrie.cpp260 void SpellingTrie::free_son_trie(SpellingNode* node) { in free_son_trie() argument
261 if (NULL == node) in free_son_trie()
264 for (size_t pos = 0; pos < node->num_of_son; pos++) { in free_son_trie()
265 free_son_trie(node->first_son + pos); in free_son_trie()
268 if (NULL != node->first_son) in free_son_trie()
269 delete [] node->first_son; in free_son_trie()
Ddictbuilder.cpp647 void DictBuilder::set_son_offset(LmaNodeGE1 *node, size_t offset) { in set_son_offset() argument
648 node->son_1st_off_l = static_cast<uint16>(offset); in set_son_offset()
649 node->son_1st_off_h = static_cast<unsigned char>(offset >> 16); in set_son_offset()
652 void DictBuilder:: set_homo_id_buf_offset(LmaNodeGE1 *node, size_t offset) { in set_homo_id_buf_offset() argument
653 node->homo_idx_buf_off_l = static_cast<uint16>(offset); in set_homo_id_buf_offset()
654 node->homo_idx_buf_off_h = static_cast<unsigned char>(offset >> 16); in set_homo_id_buf_offset()
Dmatrixsearch.cpp218 MatrixNode *node = mtrx_nd_pool_ + matrix_[0].mtrx_nd_pos; in reset_search0() local
219 node->id = 0; in reset_search0()
220 node->score = 0; in reset_search0()
221 node->from = NULL; in reset_search0()
222 node->step = 0; in reset_search0()
223 node->dmi_fr = (PoolPosType)-1; in reset_search0()
228 matrix_[0].mtrx_nd_fixed = node; in reset_search0()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DExpandableDictionary.java218 Node node = searchNode(mRoots, word, 0, word.length()); in getWordFrequency() local
219 return (node == null) ? -1 : node.frequency; in getWordFrequency()
258 final Node node = roots.data[i]; in getWordsRec() local
259 final char c = node.code; in getWordsRec()
261 final boolean terminal = node.terminal; in getWordsRec()
262 final NodeArray children = node.children; in getWordsRec()
263 final int freq = node.frequency; in getWordsRec()
444 Node node; in reverseLookUp() local
447 node = nextWord.word; in reverseLookUp()
453 sb.insert(0, node.code); in reverseLookUp()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DCalendarApplication.java47 public void insert(Screen node) { in insert() argument
48 node.next = next; in insert()
49 node.previous = this; in insert()
50 next.previous = node; in insert()
51 next = node; in insert()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndbdic.c100 static NJ_INT16 search_yomi_node(NJ_UINT8 operation, NJ_UINT8 *node,
552 NJ_UINT8 *root, *now, *node, *node_mid; in search_node() local
580 node = NULL; in search_node()
611 node = root; in search_node()
757 node = now; in search_node()
766 node = now; in search_node()
793 now = node; in search_node()
796 if ((node == NULL) || !(NODE_DATA_EXIST(node))) { in search_node()
799 (node != NULL)) { in search_node()
800 while (!NODE_DATA_EXIST(node)) { in search_node()
[all …]
/packages/inputmethods/PinyinIME/jni/include/
Ddicttrie.h98 inline size_t get_son_offset(const LmaNodeGE1 *node);
101 inline size_t get_homo_idx_buf_offset(const LmaNodeGE1 *node);
114 LmaNodeLE0 *node);
121 size_t homo_buf_off, LmaNodeGE1 *node,
Ddictbuilder.h109 void set_son_offset(LmaNodeGE1 *node, size_t offset);
112 void set_homo_id_buf_offset(LmaNodeGE1 *node, size_t offset);
Dspellingtrie.h124 void free_son_trie(SpellingNode* node);
/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowActivity.java117 Node node = map.item(j); in isMMSConformance() local
118 if (node == null) { in isMMSConformance()
121 String attrName = node.getNodeName(); in isMMSConformance()
129 if (node instanceof AttrImpl) { in isMMSConformance()
130 value = ((AttrImpl)node).getValue(); in isMMSConformance()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
Dnj_lib.h120 NJ_UINT8 *node; member