Searched refs:newc (Results 1 – 8 of 8) sorted by relevance
/external/quake/quake/src/WinQuake/ |
D | zone.cpp | 577 cache_system_t *newc; in Cache_Move() local 580 newc = Cache_TryAlloc (c->size, true); in Cache_Move() 581 if (newc) in Cache_Move() 585 Q_memcpy ( newc+1, c+1, c->size - sizeof(cache_system_t) ); in Cache_Move() 586 newc->user = c->user; in Cache_Move() 587 Q_memcpy (newc->name, c->name, sizeof(newc->name)); in Cache_Move() 589 newc->user->data = (void *)(newc+1); in Cache_Move() 682 cache_system_t *cs, *newc; in Cache_TryAlloc() local 691 newc = (cache_system_t *) (hunk_base + hunk_low_used); in Cache_TryAlloc() 692 memset (newc, 0, sizeof(*newc)); in Cache_TryAlloc() [all …]
|
D | gl_warp.cpp | 860 int newc[2]; in ClipSkyPolygon() local 901 newc[0] = newc[1] = 0; in ClipSkyPolygon() 908 VectorCopy (v, newv[0][newc[0]]); in ClipSkyPolygon() 909 newc[0]++; in ClipSkyPolygon() 912 VectorCopy (v, newv[1][newc[1]]); in ClipSkyPolygon() 913 newc[1]++; in ClipSkyPolygon() 916 VectorCopy (v, newv[0][newc[0]]); in ClipSkyPolygon() 917 newc[0]++; in ClipSkyPolygon() 918 VectorCopy (v, newv[1][newc[1]]); in ClipSkyPolygon() 919 newc[1]++; in ClipSkyPolygon() [all …]
|
/external/checkpolicy/ |
D | policy_define.c | 282 ocontext_t *newc = 0, *c, *head; in define_initial_sid() local 295 newc = (ocontext_t *) malloc(sizeof(ocontext_t)); in define_initial_sid() 296 if (!newc) { in define_initial_sid() 300 memset(newc, 0, sizeof(ocontext_t)); in define_initial_sid() 301 newc->u.name = id; in define_initial_sid() 302 context_init(&newc->context[0]); in define_initial_sid() 306 if (!strcmp(newc->u.name, c->u.name)) { in define_initial_sid() 313 newc->sid[0] = head->sid[0] + 1; in define_initial_sid() 315 newc->sid[0] = 1; in define_initial_sid() 317 newc->next = head; in define_initial_sid() [all …]
|
/external/quake/quake/src/QW/client/ |
D | gl_warp.c | 811 int newc[2]; in ClipSkyPolygon() local 852 newc[0] = newc[1] = 0; in ClipSkyPolygon() 859 VectorCopy (v, newv[0][newc[0]]); in ClipSkyPolygon() 860 newc[0]++; in ClipSkyPolygon() 863 VectorCopy (v, newv[1][newc[1]]); in ClipSkyPolygon() 864 newc[1]++; in ClipSkyPolygon() 867 VectorCopy (v, newv[0][newc[0]]); in ClipSkyPolygon() 868 newc[0]++; in ClipSkyPolygon() 869 VectorCopy (v, newv[1][newc[1]]); in ClipSkyPolygon() 870 newc[1]++; in ClipSkyPolygon() [all …]
|
/external/valgrind/main/memcheck/tests/linux/ |
D | stack_changes.c | 18 void hello(mycontext *newc) in hello() argument 22 newc = &oldc; in hello() 23 setcontext(newc); in hello()
|
/external/dnsmasq/src/ |
D | rfc1035.c | 744 struct crec *newc; in extract_addresses() local 785 newc = cache_insert(name, NULL, now, attl, F_CNAME | F_FORWARD); in extract_addresses() 786 if (newc && cpp) in extract_addresses() 788 cpp->addr.cname.cache = newc; in extract_addresses() 789 cpp->addr.cname.uid = newc->uid; in extract_addresses() 792 cpp = newc; in extract_addresses() 815 newc = cache_insert(name, &addr, now, attl, flags | F_FORWARD); in extract_addresses() 816 if (newc && cpp) in extract_addresses() 818 cpp->addr.cname.cache = newc; in extract_addresses() 819 cpp->addr.cname.uid = newc->uid; in extract_addresses() [all …]
|
/external/libsepol/src/ |
D | policydb.c | 2630 ocontext_t *l, *c, *newc = NULL; in genfs_read() local 2680 newc = calloc(1, sizeof(ocontext_t)); in genfs_read() 2681 if (!newc) { in genfs_read() 2688 newc->u.name = malloc(len + 1); in genfs_read() 2689 if (!newc->u.name) { in genfs_read() 2692 rc = next_entry(newc->u.name, fp, len); in genfs_read() 2695 newc->u.name[len] = 0; in genfs_read() 2699 newc->v.sclass = le32_to_cpu(buf[0]); in genfs_read() 2700 if (context_read_and_validate(&newc->context[0], p, fp)) in genfs_read() 2704 if (!strcmp(newc->u.name, c->u.name) && in genfs_read() [all …]
|
D | expand.c | 2183 ocontext_t *c, *newc, *l; in genfs_copy() local 2203 newc = malloc(sizeof(ocontext_t)); in genfs_copy() 2204 if (!newc) { in genfs_copy() 2210 memset(newc, 0, sizeof(ocontext_t)); in genfs_copy() 2211 newc->u.name = strdup(c->u.name); in genfs_copy() 2212 if (!newc->u.name) { in genfs_copy() 2214 free(newc); in genfs_copy() 2219 newc->v.sclass = c->v.sclass; in genfs_copy() 2220 context_copy(&newc->context[0], &c->context[0], state); in genfs_copy() 2222 l->next = newc; in genfs_copy() [all …]
|