/external/libcap-ng/libcap-ng-0.7/utils/ |
D | proc-llist.c | 38 lnode* newnode; in list_append() local 43 newnode = malloc(sizeof(lnode)); in list_append() 44 if (newnode == NULL) in list_append() 47 newnode->ppid = node->ppid; in list_append() 48 newnode->pid = node->pid; in list_append() 49 newnode->uid = node->uid; in list_append() 50 newnode->inode = node->inode; in list_append() 52 newnode->cmd = node->cmd; in list_append() 53 newnode->capabilities = node->capabilities; in list_append() 54 newnode->bounds = node->bounds; in list_append() [all …]
|
/external/selinux/checkpolicy/ |
D | queue.c | 28 queue_node_ptr_t newnode; in queue_insert() local 33 newnode = (queue_node_ptr_t) malloc(sizeof(struct queue_node)); in queue_insert() 34 if (newnode == NULL) in queue_insert() 37 newnode->element = e; in queue_insert() 38 newnode->next = NULL; in queue_insert() 41 q->head = q->tail = newnode; in queue_insert() 43 q->tail->next = newnode; in queue_insert() 44 q->tail = newnode; in queue_insert() 52 queue_node_ptr_t newnode; in queue_push() local 57 newnode = (queue_node_ptr_t) malloc(sizeof(struct queue_node)); in queue_push() [all …]
|
/external/selinux/libsepol/src/ |
D | hashtab.c | 69 hashtab_ptr_t prev, cur, newnode; in hashtab_insert() local 85 newnode = (hashtab_ptr_t) malloc(sizeof(hashtab_node_t)); in hashtab_insert() 86 if (newnode == NULL) in hashtab_insert() 88 memset(newnode, 0, sizeof(struct hashtab_node)); in hashtab_insert() 89 newnode->key = key; in hashtab_insert() 90 newnode->datum = datum; in hashtab_insert() 92 newnode->next = prev->next; in hashtab_insert() 93 prev->next = newnode; in hashtab_insert() 95 newnode->next = h->htable[hvalue]; in hashtab_insert() 96 h->htable[hvalue] = newnode; in hashtab_insert() [all …]
|
D | avtab.c | 95 avtab_ptr_t newnode; in avtab_insert_node() local 98 newnode = (avtab_ptr_t) malloc(sizeof(struct avtab_node)); in avtab_insert_node() 99 if (newnode == NULL) in avtab_insert_node() 101 memset(newnode, 0, sizeof(struct avtab_node)); in avtab_insert_node() 102 newnode->key = *key; in avtab_insert_node() 107 free(newnode); in avtab_insert_node() 113 newnode->datum.xperms = xperms; in avtab_insert_node() 118 newnode->datum.data = datum->data; in avtab_insert_node() 120 newnode->datum = *datum; in avtab_insert_node() 124 newnode->next = prev->next; in avtab_insert_node() [all …]
|
D | sidtab.c | 46 sidtab_node_t *prev, *cur, *newnode; in sepol_sidtab_insert() local 64 newnode = (sidtab_node_t *) malloc(sizeof(sidtab_node_t)); in sepol_sidtab_insert() 65 if (newnode == NULL) in sepol_sidtab_insert() 67 newnode->sid = sid; in sepol_sidtab_insert() 68 if (context_cpy(&newnode->context, context)) { in sepol_sidtab_insert() 69 free(newnode); in sepol_sidtab_insert() 74 newnode->next = prev->next; in sepol_sidtab_insert() 75 prev->next = newnode; in sepol_sidtab_insert() 77 newnode->next = s->htable[hvalue]; in sepol_sidtab_insert() 78 s->htable[hvalue] = newnode; in sepol_sidtab_insert()
|
/external/selinux/policycoreutils/newrole/ |
D | hashtab.c | 48 hashtab_ptr_t prev, cur, newnode; in hashtab_insert() local 64 newnode = (hashtab_ptr_t) malloc(sizeof(hashtab_node_t)); in hashtab_insert() 65 if (newnode == NULL) in hashtab_insert() 67 memset(newnode, 0, sizeof(struct hashtab_node)); in hashtab_insert() 68 newnode->key = key; in hashtab_insert() 69 newnode->datum = datum; in hashtab_insert() 71 newnode->next = prev->next; in hashtab_insert() 72 prev->next = newnode; in hashtab_insert() 74 newnode->next = h->htable[hvalue]; in hashtab_insert() 75 h->htable[hvalue] = newnode; in hashtab_insert() [all …]
|
/external/python/cpython2/Lib/lib2to3/pgen2/ |
D | parse.py | 107 newnode = (start, None, None, []) 108 stackentry = (self.grammar.dfas[start], 0, newnode) 178 newnode = (type, value, context, None) 179 newnode = self.convert(self.grammar, newnode) 180 if newnode is not None: 181 node[-1].append(newnode) 187 newnode = (type, None, context, []) 189 self.stack.append((newdfa, 0, newnode)) 194 newnode = self.convert(self.grammar, popnode) 195 if newnode is not None: [all …]
|
/external/python/cpython3/Lib/lib2to3/pgen2/ |
D | parse.py | 107 newnode = (start, None, None, []) 108 stackentry = (self.grammar.dfas[start], 0, newnode) 178 newnode = (type, value, context, None) 179 newnode = self.convert(self.grammar, newnode) 180 if newnode is not None: 181 node[-1].append(newnode) 187 newnode = (type, None, context, []) 189 self.stack.append((newdfa, 0, newnode)) 194 newnode = self.convert(self.grammar, popnode) 195 if newnode is not None: [all …]
|
/external/selinux/libselinux/src/ |
D | avc_sidtab.c | 52 struct sidtab_node *newnode; in sidtab_insert() local 55 newnode = (struct sidtab_node *)avc_malloc(sizeof(*newnode)); in sidtab_insert() 56 if (!newnode) { in sidtab_insert() 63 avc_free(newnode); in sidtab_insert() 68 newnode->next = s->htable[hvalue]; in sidtab_insert() 69 newnode->sid_s.ctx = newctx; in sidtab_insert() 70 newnode->sid_s.refcnt = 1; /* unused */ in sidtab_insert() 71 s->htable[hvalue] = newnode; in sidtab_insert()
|
/external/toybox/toys/pending/ |
D | tcpsvd.c | 92 struct list_pid *newnode = xmalloc(sizeof(struct list_pid)); in insert() local 93 newnode->pid = pid; in insert() 94 newnode->ip = addr; in insert() 95 newnode->next = NULL; in insert() 96 if (!*l) *l = newnode; in insert() 98 newnode->next = (*l); in insert() 99 *l = newnode; in insert() 270 struct list *head, *newnode; in tcpsvd_main() local 338 newnode = (struct list*)xzalloc(sizeof(struct list)); in tcpsvd_main() 339 newnode->d = addr; in tcpsvd_main() [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
D | DTMNodeProxy.java | 340 int newnode = dtm.getParent(node); in getParentNode() local 342 return (newnode == DTM.NULL) ? null : dtm.getNode(newnode); in getParentNode() 353 int newnode = dtm.getParent(node); in getOwnerNode() local 355 return (newnode == DTM.NULL) ? null : dtm.getNode(newnode); in getOwnerNode() 382 int newnode = dtm.getFirstChild(node); in getFirstChild() local 384 return (newnode == DTM.NULL) ? null : dtm.getNode(newnode); in getFirstChild() 395 int newnode = dtm.getLastChild(node); in getLastChild() local 397 return (newnode == DTM.NULL) ? null : dtm.getNode(newnode); in getLastChild() 408 int newnode = dtm.getPreviousSibling(node); in getPreviousSibling() local 410 return (newnode == DTM.NULL) ? null : dtm.getNode(newnode); in getPreviousSibling() [all …]
|
/external/libxml2/doc/tutorial/ |
D | includeaddattribute.c | 14 xmlNodePtr newnode; 38 newnode = xmlNewTextChild (cur, NULL, "reference", NULL); 39 newattr = xmlNewProp (newnode, "uri", uri);
|
/external/iptables/iptables/ |
D | xtables-eb.c | 668 struct ebt_match *newnode; in ebt_add_match() local 686 newnode = calloc(1, sizeof(struct ebt_match)); in ebt_add_match() 687 if (newnode == NULL) in ebt_add_match() 690 newnode->ismatch = true; in ebt_add_match() 691 newnode->u.match = newm; in ebt_add_match() 694 cs->match_list = newnode; in ebt_add_match() 696 cs->match_list->next = newnode; in ebt_add_match() 702 struct ebt_match *i, *newnode; in ebt_add_watcher() local 713 newnode = calloc(1, sizeof(struct ebt_match)); in ebt_add_watcher() 714 if (newnode == NULL) in ebt_add_watcher() [all …]
|
/external/curl/lib/ |
D | splay.h | 41 struct Curl_tree *newnode);
|
/external/e2fsprogs/lib/support/ |
D | dict.c | 1067 void dict_load_next(dict_load_t *load, dnode_t *newnode, const void *key) in dict_load_next() argument 1072 dict_assert (!dnode_is_in_a_dict(newnode)); in dict_load_next() 1084 newnode->key = key; in dict_load_next() 1085 nil->right->left = newnode; in dict_load_next() 1086 nil->right = newnode; in dict_load_next() 1087 newnode->left = nil; in dict_load_next()
|
/external/f2fs-tools/fsck/ |
D | dict.c | 1037 void dict_load_next(dict_load_t *load, dnode_t *newnode, const void *key) in dict_load_next() argument 1042 dict_assert(!dnode_is_in_a_dict(newnode)); in dict_load_next() 1054 newnode->key = key; in dict_load_next() 1055 nil->right->left = newnode; in dict_load_next() 1056 nil->right = newnode; in dict_load_next() 1057 newnode->left = nil; in dict_load_next()
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/ |
D | DOM2DTM.java | 1028 Node newnode=(Node)m_nodes.elementAt(id); in getLocalName() 1029 String newname=newnode.getLocalName(); in getLocalName() 1033 String qname = newnode.getNodeName(); in getLocalName()
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ACBTree.m | 184 // newnode.lnodeid = tnew.btNodes[0].nodeid;
|