Home
last modified time | relevance | path

Searched refs:newc (Results 1 – 9 of 9) sorted by relevance

/external/selinux/checkpolicy/
Dpolicy_define.c290 ocontext_t *newc = 0, *c, *head; in define_initial_sid() local
303 newc = (ocontext_t *) malloc(sizeof(ocontext_t)); in define_initial_sid()
304 if (!newc) { in define_initial_sid()
308 memset(newc, 0, sizeof(ocontext_t)); in define_initial_sid()
309 newc->u.name = id; in define_initial_sid()
310 context_init(&newc->context[0]); in define_initial_sid()
314 if (!strcmp(newc->u.name, c->u.name)) { in define_initial_sid()
321 newc->sid[0] = head->sid[0] + 1; in define_initial_sid()
323 newc->sid[0] = 1; in define_initial_sid()
325 newc->next = head; in define_initial_sid()
[all …]
/external/valgrind/memcheck/tests/linux/
Dstack_changes.c18 void hello(mycontext *newc) in hello() argument
22 newc = &oldc; in hello()
23 setcontext(newc); in hello()
/external/dnsmasq/src/
Drfc1035.c746 struct crec *newc; in extract_addresses() local
787 newc = cache_insert(name, NULL, now, attl, F_CNAME | F_FORWARD); in extract_addresses()
788 if (newc && cpp) in extract_addresses()
790 cpp->addr.cname.cache = newc; in extract_addresses()
791 cpp->addr.cname.uid = newc->uid; in extract_addresses()
794 cpp = newc; in extract_addresses()
817 newc = cache_insert(name, &addr, now, attl, flags | F_FORWARD); in extract_addresses()
818 if (newc && cpp) in extract_addresses()
820 cpp->addr.cname.cache = newc; in extract_addresses()
821 cpp->addr.cname.uid = newc->uid; in extract_addresses()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
DLaguerreSolver.java332 Complex newc = c[n-i]; in solveAll() local
336 c[j] = newc; in solveAll()
337 newc = oldc.add(newc.multiply(root[i])); in solveAll()
/external/squashfs-tools/RELEASE-READMEs/
DPERFORMANCE.README55 Time taken to perform "cpio -o --quiet -H newc < /tmp/sort > /dev/null"
91 Time taken to perform "cpio -o --quiet -H newc < /tmp/sort > /dev/null"
132 Time taken to perform "cpio -o --quiet -H newc < /tmp/sort > /dev/null"
165 Time taken to perform "cpio -o --quiet -H newc < /tmp/sort > /dev/null"
/external/selinux/libsepol/src/
Dpolicydb.c2875 ocontext_t *l, *c, *newc = NULL; in genfs_read() local
2927 newc = calloc(1, sizeof(ocontext_t)); in genfs_read()
2928 if (!newc) { in genfs_read()
2937 newc->u.name = malloc(len + 1); in genfs_read()
2938 if (!newc->u.name) { in genfs_read()
2941 rc = next_entry(newc->u.name, fp, len); in genfs_read()
2944 newc->u.name[len] = 0; in genfs_read()
2948 newc->v.sclass = le32_to_cpu(buf[0]); in genfs_read()
2949 if (context_read_and_validate(&newc->context[0], p, fp)) in genfs_read()
2953 if (!strcmp(newc->u.name, c->u.name) && in genfs_read()
[all …]
Dexpand.c2276 ocontext_t *c, *newc, *l; in genfs_copy() local
2301 newc = malloc(sizeof(ocontext_t)); in genfs_copy()
2302 if (!newc) { in genfs_copy()
2306 memset(newc, 0, sizeof(ocontext_t)); in genfs_copy()
2307 newc->u.name = strdup(c->u.name); in genfs_copy()
2308 if (!newc->u.name) { in genfs_copy()
2310 free(newc); in genfs_copy()
2313 newc->v.sclass = c->v.sclass; in genfs_copy()
2314 context_copy(&newc->context[0], &c->context[0], state); in genfs_copy()
2316 l->next = newc; in genfs_copy()
[all …]
/external/autotest/client/profilers/powertop/src/
Dpowertop.c224 char *newc; in do_proc_irq() local
225 count += strtoull(c, &newc, 10); in do_proc_irq()
226 if (newc == c) in do_proc_irq()
228 c = newc; in do_proc_irq()
/external/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp4144 bool newc();
4171 c = newc(); in test4()
4178 if (newc() || !mu.TryLock()) in test5()
4190 } while (newc() && mu.TryLock()); in test6()
4201 if (c && newc() && mu.TryLock()) { in test8()
4208 if (!(c && newc() && mu.TryLock())) in test9()