Searched defs:newc (Results 1 - 5 of 5) sorted by relevance

/external/valgrind/main/memcheck/tests/linux/
H A Dstack_changes.c18 void hello(mycontext *newc) argument
22 newc = &oldc;
23 setcontext(newc);
/external/dnsmasq/src/
H A Drfc1035.c744 struct crec *newc; local
785 newc = cache_insert(name, NULL, now, attl, F_CNAME | F_FORWARD);
786 if (newc && cpp)
788 cpp->addr.cname.cache = newc;
789 cpp->addr.cname.uid = newc->uid;
792 cpp = newc;
815 newc = cache_insert(name, &addr, now, attl, flags | F_FORWARD);
816 if (newc && cpp)
818 cpp->addr.cname.cache = newc;
819 cpp->addr.cname.uid = newc
[all...]
/external/checkpolicy/
H A Dpolicy_define.c284 ocontext_t *newc = 0, *c, *head; local
297 newc = (ocontext_t *) malloc(sizeof(ocontext_t));
298 if (!newc) {
302 memset(newc, 0, sizeof(ocontext_t));
303 newc->u.name = id;
304 context_init(&newc->context[0]);
308 if (!strcmp(newc->u.name, c->u.name)) {
315 newc->sid[0] = head->sid[0] + 1;
317 newc->sid[0] = 1;
319 newc
3821 ocontext_t *newc, *c, *head; local
3882 ocontext_t *newc, *c, *l, *head; local
3936 ocontext_t *newc, *c, *l, *head; local
4000 ocontext_t *newc, *c, *l, *head; local
4064 ocontext_t *newc, *c, *l, *head; local
4119 ocontext_t *newc, *c, *l, *head; local
4208 ocontext_t *newc, *c, *head; local
4269 ocontext_t *newc, *c, *l, *head; local
4355 ocontext_t *newc, *c, *l, *head; local
4446 ocontext_t *newc, *c, *head; local
4499 ocontext_t *newc, *c, *head, *p; local
[all...]
/external/libsepol/src/
H A Dexpand.c2303 ocontext_t *c, *newc, *l; local
2328 newc = malloc(sizeof(ocontext_t));
2329 if (!newc) {
2333 memset(newc, 0, sizeof(ocontext_t));
2334 newc->u.name = strdup(c->u.name);
2335 if (!newc->u.name) {
2337 free(newc);
2340 newc->v.sclass = c->v.sclass;
2341 context_copy(&newc->context[0], &c->context[0], state);
2343 l->next = newc;
[all...]
H A Dpolicydb.c2688 ocontext_t *l, *c, *newc = NULL; local
2738 newc = calloc(1, sizeof(ocontext_t));
2739 if (!newc) {
2746 newc->u.name = malloc(len + 1);
2747 if (!newc->u.name) {
2750 rc = next_entry(newc->u.name, fp, len);
2753 newc->u.name[len] = 0;
2757 newc->v.sclass = le32_to_cpu(buf[0]);
2758 if (context_read_and_validate(&newc->context[0], p, fp))
2762 if (!strcmp(newc
[all...]

Completed in 190 milliseconds