Home
last modified time | relevance | path

Searched refs:newcontext (Results 1 – 6 of 6) 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/chromium_org/third_party/mesa/src/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/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.c1202 newcontext) in compute_sid_handle_invalid_context() argument
1212 context_to_string(NULL, policydb, newcontext, &n, &nlen); in compute_sid_handle_invalid_context()
1228 context_struct_t *scontext = 0, *tcontext = 0, newcontext; in sepol_compute_sid() local
1248 context_init(&newcontext); in sepol_compute_sid()
1255 newcontext.user = scontext->user; in sepol_compute_sid()
1259 newcontext.user = tcontext->user; in sepol_compute_sid()
1267 newcontext.role = scontext->role; in sepol_compute_sid()
1268 newcontext.type = scontext->type; in sepol_compute_sid()
1272 newcontext.role = OBJECT_R_VAL; in sepol_compute_sid()
1274 newcontext.type = tcontext->type; in sepol_compute_sid()
[all …]
Dmls.h62 uint32_t specified, context_struct_t * newcontext);
/external/libselinux/src/
Dandroid.c656 char* newcontext = NULL; in selinux_android_restorecon() local
674 if (selabel_lookup(sehandle, &newcontext, pathname, sb.st_mode) < 0) in selinux_android_restorecon()
677 if (strcmp(newcontext, "<<none>>") && strcmp(oldcontext, newcontext)) in selinux_android_restorecon()
678 if (lsetfilecon(pathname, newcontext) < 0) in selinux_android_restorecon()
685 if (newcontext) in selinux_android_restorecon()
686 freecon(newcontext); in selinux_android_restorecon()