Home
last modified time | relevance | path

Searched refs:newcontext (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/glx/apple/
Dapple_glx_pbuffer.c203 CGLContextObj newcontext; in get_max_size() local
220 err = apple_cgl.create_context(pfobj, NULL, &newcontext); in get_max_size()
233 err = apple_cgl.set_current_context(newcontext); in get_max_size()
245 apple_cgl.destroy_context(newcontext); in get_max_size()
/external/selinux/libsepol/src/
Dmls.c609 uint32_t specified, context_struct_t * newcontext) in mls_compute_sid() argument
623 return mls_range_set(newcontext, in mls_compute_sid()
631 return mls_copy_context(newcontext, scontext); in mls_compute_sid()
634 return mls_scopy_context(newcontext, scontext); in mls_compute_sid()
638 if (newcontext->type != tcontext->type) { in mls_compute_sid()
640 return mls_scopy_context(newcontext, scontext); in mls_compute_sid()
643 return mls_copy_context(newcontext, tcontext); in mls_compute_sid()
Dservices.c1278 newcontext) in compute_sid_handle_invalid_context() argument
1288 context_to_string(NULL, policydb, newcontext, &n, &nlen); in compute_sid_handle_invalid_context()
1304 context_struct_t *scontext = 0, *tcontext = 0, newcontext; in sepol_compute_sid() local
1324 context_init(&newcontext); in sepol_compute_sid()
1331 newcontext.user = scontext->user; in sepol_compute_sid()
1335 newcontext.user = tcontext->user; in sepol_compute_sid()
1343 newcontext.role = scontext->role; in sepol_compute_sid()
1344 newcontext.type = scontext->type; in sepol_compute_sid()
1348 newcontext.role = OBJECT_R_VAL; in sepol_compute_sid()
1350 newcontext.type = tcontext->type; in sepol_compute_sid()
[all …]
Dmls.h62 uint32_t specified, context_struct_t * newcontext);