Home
last modified time | relevance | path

Searched refs:context_t (Results 1 – 25 of 26) sorted by relevance

12

/external/selinux/libselinux/include/selinux/
Dcontext.h16 typedef context_s_t *context_t; typedef
20 extern context_t context_new(const char *);
28 extern char *context_str(context_t);
31 extern void context_free(context_t);
35 extern const char *context_type_get(context_t);
36 extern const char *context_range_get(context_t);
37 extern const char *context_role_get(context_t);
38 extern const char *context_user_get(context_t);
42 extern int context_type_set(context_t, const char *);
43 extern int context_range_set(context_t, const char *);
[all …]
/external/selinux/libselinux/src/
Dcontext.c22 context_t context_new(const char *str) in context_new()
28 context_t result = (context_t) malloc(sizeof(context_s_t)); in context_new()
99 void context_free(context_t context) in context_free()
121 char *context_str(context_t context) in hidden_def()
175 const char * context_ ## name ## _get(context_t context) \
187 int context_ ## name ## _set(context_t context, const char* str) \
Dget_context_list.c20 context_t con; in get_default_context_with_role()
65 context_t con; in hidden_def()
122 context_t con; in find_partialcon()
171 context_t con; in get_context_order()
338 context_t con; in get_ordered_context_list_with_level()
Dselinux_check_securetty_context.c19 context_t con = context_new(tty_context); in selinux_check_securetty_context()
Dsetexecfilecon.c10 context_t con = NULL; in setexecfilecon()
Dis_customizable_type.c68 context_t c; in is_context_customizable()
Dquery_user_context.c117 context_t new_context; /* The new context chosen by the user */ in manual_user_enter_context()
Dselinux_restorecon.c558 context_t cona; in compare_types()
559 context_t conb; in compare_types()
/external/harfbuzz_ng/src/
Dhb-ot-layout-gsub-table.hh275 template <typename context_t, typename ...Ts>
276 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
500 template <typename context_t, typename ...Ts>
501 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
710 template <typename context_t, typename ...Ts>
711 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
1091 template <typename context_t, typename ...Ts>
1092 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
1259 template <typename context_t, typename ...Ts>
1260 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
[all …]
Dhb-ot-kern-table.hh124 template <typename context_t, typename ...Ts>
125 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
317 template <typename context_t, typename ...Ts>
318 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
Dhb-ot-layout-gpos-table.hh732 template <typename context_t, typename ...Ts>
733 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
1189 template <typename context_t, typename ...Ts>
1190 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
1423 template <typename context_t, typename ...Ts>
1424 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
1539 template <typename context_t, typename ...Ts>
1540 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
1664 template <typename context_t, typename ...Ts>
1665 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
[all …]
Dhb-debug.hh456 hb_auto_trace_t<context_t::max_debug_depth, typename context_t::return_t> trace \
460 #define TRACE_DISPATCH(this, format) hb_no_trace_t<typename context_t::return_t> trace
Dhb-ot-layout-gsubgpos.hh1074 template <typename context_t>
1075 static inline void recurse_lookups (context_t *c, in recurse_lookups()
1780 template <typename context_t, typename ...Ts>
1781 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
2710 template <typename context_t, typename ...Ts>
2711 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
2742 template <typename context_t, typename ...Ts>
2743 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
2788 template <typename context_t, typename ...Ts>
2789 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
Dhb-aat-layout-common.hh739 template <typename context_t>
740 void drive (context_t *c) in drive()
764 entry.flags == context_t::DontAdvance)) in drive()
784 if (!(entry.flags & context_t::DontAdvance) || buffer->max_ops-- <= 0) in drive()
Dhb-aat-layout-kerx-table.hh774 template <typename context_t, typename ...Ts>
775 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
Dhb-aat-layout-morx-table.hh886 template <typename context_t, typename ...Ts>
887 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
Dhb-ot-layout-common.hh814 template <typename TSubTable, typename context_t, typename ...Ts>
815 typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const in dispatch()
821 …typename context_t::return_t r = get_subtable<TSubTable> (i).dispatch (c, lookup_type, hb_forward<… in dispatch()
/external/selinux/mcstrans/src/
Dmcscolor.c80 context_t con; in check_dominance()
83 context_t my_tmp; in check_dominance()
274 static int parse_components(context_t con, char **components) { in parse_components()
287 context_t con; in raw_color()
Dmcstrans.c892 context_t con = context_new(incon); in extract_range()
916 context_t con = context_new(incon); in new_context_str()
/external/llvm-project/lldb/source/Plugins/Instruction/ARM64/
DEmulateInstructionARM64.cpp814 Context context_t; in EmulateLDPSTP() local
826 context_t.type = eContextPushRegisterOnStack; in EmulateLDPSTP()
829 context_t.type = eContextRegisterStore; in EmulateLDPSTP()
832 context_t.SetRegisterToRegisterPlusOffset(reg_info_Rt, reg_info_base, 0); in EmulateLDPSTP()
843 if (!WriteMemory(context_t, address + 0, buffer, reg_info_Rt.byte_size)) in EmulateLDPSTP()
863 context_t.type = eContextPopRegisterOffStack; in EmulateLDPSTP()
866 context_t.type = eContextRegisterLoad; in EmulateLDPSTP()
869 context_t.SetAddress(address); in EmulateLDPSTP()
875 if (!ReadMemory(context_t, address, buffer, reg_info_Rt.byte_size)) in EmulateLDPSTP()
886 if (!WriteRegister(context_t, &reg_info_Rt, data_Rt)) in EmulateLDPSTP()
/external/selinux/libselinux/fuzzers/
DContextFuzzer.cpp28 context_t context = context_new(contextName.c_str()); in LLVMFuzzerTestOneInput()
/external/selinux/libselinux/src/android/
Dandroid_platform.c763 static int set_range_from_level(context_t ctx, enum levelFrom levelFrom, uid_t userid, uid_t appid) in set_range_from_level()
802 context_t ctx) in seapp_context_lookup()
985 context_t ctx = context_new(context); in selinux_android_context_with_level()
1033 context_t ctx = NULL; in selinux_android_setcontext()
1205 context_t ctx = NULL; in pkgdir_selabel_lookup()
/external/tensorflow/tensorflow/python/ops/
Dcontrol_flow_ops.py1269 context_t = CondContext(pred, pivot_1, branch=1)
1271 context_t.Enter()
1272 orig_res_t, res_t = context_t.BuildCondBranch(true_fn)
1275 context_t.ExitResult(res_t)
1277 context_t.Exit()
1330 assert context_t.outer_context == context_f.outer_context
1331 if context_t.outer_context is None:
1332 ops.add_to_collection(ops.GraphKeys.COND_CONTEXT, context_t)
/external/selinux/sandbox/
Dseunshare.c572 context_t con; in killall()
600 context_t pidcon = context_new(scon); in killall()
/external/selinux/policycoreutils/secon/
Dsecon.c626 context_t con = NULL; in disp_con()

12