Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dmls.c607 uint32_t specified, context_struct_t * newcontext) in mls_compute_sid() argument
625 return mls_range_set(newcontext, r); in mls_compute_sid()
635 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid()
637 return mls_context_cpy_high(newcontext, scontext); in mls_compute_sid()
639 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
641 return mls_context_cpy_low(newcontext, tcontext); in mls_compute_sid()
643 return mls_context_cpy_high(newcontext, tcontext); in mls_compute_sid()
645 return mls_context_cpy(newcontext, tcontext); in mls_compute_sid()
647 return mls_context_glblub(newcontext, scontext, tcontext); in mls_compute_sid()
654 return mls_copy_context(newcontext, scontext); in mls_compute_sid()
[all …]
Dservices.c1338 newcontext) in compute_sid_handle_invalid_context() argument
1348 context_to_string(NULL, policydb, newcontext, &n, &nlen); in compute_sid_handle_invalid_context()
1364 context_struct_t *scontext = 0, *tcontext = 0, newcontext; in sepol_compute_sid() local
1384 context_init(&newcontext); in sepol_compute_sid()
1391 newcontext.user = scontext->user; in sepol_compute_sid()
1395 newcontext.user = tcontext->user; in sepol_compute_sid()
1403 newcontext.role = scontext->role; in sepol_compute_sid()
1404 newcontext.type = scontext->type; in sepol_compute_sid()
1408 newcontext.role = OBJECT_R_VAL; in sepol_compute_sid()
1410 newcontext.type = tcontext->type; in sepol_compute_sid()
[all …]
Dmls.h62 uint32_t specified, context_struct_t * newcontext);
/external/mesa3d/src/glx/apple/
Dapple_glx_pbuffer.c205 CGLContextObj newcontext; in get_max_size() local
222 err = apple_cgl.create_context(pfobj, NULL, &newcontext); in get_max_size()
235 err = apple_cgl.set_current_context(newcontext); in get_max_size()
247 apple_cgl.destroy_context(newcontext); in get_max_size()
/external/python/cpython2/Lib/
Ddecimal.py2359 newcontext = context.copy()
2360 newcontext.clear_flags()
2362 newcontext.traps[exception] = 0
2365 ans = ans._fix(newcontext)
2368 newcontext._raise_error(Inexact)
2369 if newcontext.flags[Subnormal]:
2370 newcontext._raise_error(Underflow)
2377 if newcontext.flags[Overflow]:
2380 if newcontext.flags[exception]:
/external/python/cpython3/Lib/
D_pydecimal.py2475 newcontext = context.copy()
2476 newcontext.clear_flags()
2478 newcontext.traps[exception] = 0
2481 ans = ans._fix(newcontext)
2484 newcontext._raise_error(Inexact)
2485 if newcontext.flags[Subnormal]:
2486 newcontext._raise_error(Underflow)
2493 if newcontext.flags[Overflow]:
2496 if newcontext.flags[exception]:
/external/python/cpython2/Doc/library/
Ddecimal.rst162 .. doctest:: newcontext
241 .. doctest:: newcontext
285 .. doctest:: newcontext
1100 .. doctest:: newcontext
1618 .. doctest:: newcontext
1639 .. doctest:: newcontext
2032 .. doctest:: newcontext
2043 .. doctest:: newcontext
Dssl.rst413 .. doctest:: newcontext
/external/python/cpython3/Doc/library/
Ddecimal.rst186 .. doctest:: newcontext
275 .. doctest:: newcontext
319 .. doctest:: newcontext
1078 .. doctest:: newcontext
1690 .. doctest:: newcontext
1711 .. doctest:: newcontext
2108 .. doctest:: newcontext
2119 .. doctest:: newcontext
Dssl.rst410 .. doctest:: newcontext