Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dmls.c611 uint32_t specified, context_struct_t * newcontext) in mls_compute_sid() argument
629 return mls_range_set(newcontext, r); in mls_compute_sid()
639 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid()
641 return mls_context_cpy_high(newcontext, scontext); in mls_compute_sid()
643 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
645 return mls_context_cpy_low(newcontext, tcontext); in mls_compute_sid()
647 return mls_context_cpy_high(newcontext, tcontext); in mls_compute_sid()
649 return mls_context_cpy(newcontext, tcontext); in mls_compute_sid()
656 return mls_copy_context(newcontext, scontext); in mls_compute_sid()
659 return mls_scopy_context(newcontext, scontext); in mls_compute_sid()
[all …]
Dservices.c1342 newcontext) in compute_sid_handle_invalid_context() argument
1352 context_to_string(NULL, policydb, newcontext, &n, &nlen); in compute_sid_handle_invalid_context()
1368 context_struct_t *scontext = 0, *tcontext = 0, newcontext; in sepol_compute_sid() local
1388 context_init(&newcontext); in sepol_compute_sid()
1395 newcontext.user = scontext->user; in sepol_compute_sid()
1399 newcontext.user = tcontext->user; in sepol_compute_sid()
1407 newcontext.role = scontext->role; in sepol_compute_sid()
1408 newcontext.type = scontext->type; in sepol_compute_sid()
1412 newcontext.role = OBJECT_R_VAL; in sepol_compute_sid()
1414 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.py2471 newcontext = context.copy()
2472 newcontext.clear_flags()
2474 newcontext.traps[exception] = 0
2477 ans = ans._fix(newcontext)
2480 newcontext._raise_error(Inexact)
2481 if newcontext.flags[Subnormal]:
2482 newcontext._raise_error(Underflow)
2489 if newcontext.flags[Overflow]:
2492 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
1678 .. doctest:: newcontext
1699 .. doctest:: newcontext
2096 .. doctest:: newcontext
2107 .. doctest:: newcontext
Dssl.rst402 .. doctest:: newcontext