Home
last modified time | relevance | path

Searched refs:new_context (Results 1 – 25 of 135) sorted by relevance

123456

/external/compiler-rt/lib/tsan/rtl/
Dtsan_libdispatch_mac.cc84 tsan_block_context_t *new_context = in AllocContext() local
86 new_context->queue = queue; in AllocContext()
87 new_context->orig_context = orig_context; in AllocContext()
88 new_context->orig_work = orig_work; in AllocContext()
89 new_context->free_context_in_callback = true; in AllocContext()
90 new_context->submitted_synchronously = false; in AllocContext()
91 new_context->is_barrier_block = false; in AllocContext()
92 return new_context; in AllocContext()
137 tsan_block_context_t *new_context = \
139 new_context->is_barrier_block = barrier; \
[all …]
/external/selinux/libselinux/src/
Dquery_user_context.c117 context_t new_context; /* The new context chosen by the user */ in manual_user_enter_context() local
124 new_context = context_new("user:role:type:level"); in manual_user_enter_context()
126 new_context = context_new("user:role:type"); in manual_user_enter_context()
128 if (!new_context) in manual_user_enter_context()
135 context_free(new_context); in manual_user_enter_context()
140 if (context_user_set(new_context, user)) { in manual_user_enter_context()
141 context_free(new_context); in manual_user_enter_context()
145 if (context_role_set(new_context, role)) { in manual_user_enter_context()
146 context_free(new_context); in manual_user_enter_context()
150 if (context_type_set(new_context, type)) { in manual_user_enter_context()
[all …]
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors_libdispatch.cpp84 block_context_t *new_context = in AllocContext() local
86 new_context->queue = queue; in AllocContext()
87 new_context->orig_context = orig_context; in AllocContext()
88 new_context->orig_work = orig_work; in AllocContext()
89 new_context->free_context_in_callback = true; in AllocContext()
90 new_context->submitted_synchronously = false; in AllocContext()
91 new_context->is_barrier_block = false; in AllocContext()
92 new_context->non_queue_sync_object = 0; in AllocContext()
93 return new_context; in AllocContext()
165 block_context_t *new_context = \
[all …]
/external/llvm-project/lldb/source/Target/
DThreadPlanStepRange.cpp118 SymbolContext new_context( in InRange() local
121 new_context.line_entry.IsValid()) { in InRange()
123 new_context.line_entry.original_file) { in InRange()
124 if (m_addr_context.line_entry.line == new_context.line_entry.line) { in InRange()
125 m_addr_context = new_context; in InRange()
142 } else if (new_context.line_entry.line == 0) { in InRange()
143 new_context.line_entry.line = m_addr_context.line_entry.line; in InRange()
144 m_addr_context = new_context; in InRange()
161 } else if (new_context.line_entry.range.GetBaseAddress().GetLoadAddress( in InRange()
169 m_addr_context = new_context; in InRange()
[all …]
/external/selinux/policycoreutils/newrole/
Dnewrole.c647 security_context_t new_context, const char *ttyn) in send_audit_message() argument
659 new_context ? new_context : "?") < 0) { in send_audit_message()
682 security_context_t new_context in send_audit_message() argument
698 static int relabel_tty(const char *ttyn, security_context_t new_context, in relabel_tty() argument
738 (security_compute_relabel(new_context, tty_con, in relabel_tty()
820 security_context_t * new_context, in parse_command_line_arguments() argument
973 *new_context = strdup(new_con); in parse_command_line_arguments()
974 if (!*new_context) { in parse_command_line_arguments()
1024 security_context_t new_context = NULL; /* target security context */ in main() local
1105 &new_context, &preserve_environment)) in main()
[all …]
/external/selinux/policycoreutils/run_init/
Drun_init.c357 security_context_t new_context; /* context for the init script context */ local
395 if (get_init_context(&new_context) == 0) {
397 printf("context is %s\n", new_context);
412 if (setexeccon(new_context) < 0) {
414 new_context);
/external/tensorflow/tensorflow/python/eager/
Dcontext_test.py46 new_context = context.Context()
47 weak_c = weakref.ref(new_context)
48 new_context.ensure_initialized()
54 context._set_context(new_context)
66 del new_context
/external/libchrome/third_party/jinja2/
Dasyncsupport.py34 async for event in self.root_render_func(self.new_context(vars)):
64 ctx = self.new_context(vars)
134 context = self.new_context(vars, shared, locals)
Denvironment.py26 from jinja2.runtime import Undefined, new_context, Context
1005 return concat(self.root_render_func(self.new_context(vars)))
1039 for event in self.root_render_func(self.new_context(vars)):
1055 def new_context(self, vars=None, shared=False, locals=None): member in Template
1063 return new_context(self.environment, self.name, self.blocks,
1073 return TemplateModule(self, self.new_context(vars, shared, locals))
1182 context = self._template.new_context(dict(*args, **kwargs))
Dnativetypes.py209 return native_concat(self.root_render_func(self.new_context(vars)))
Druntime.py59 def new_context(environment, template_name, blocks, vars=None, function
273 context = new_context(self.environment, self.name, {},
/external/python/jinja/src/jinja2/
Dasyncsupport.py29 async for event in self.root_render_func(self.new_context(vars)):
57 ctx = self.new_context(vars)
128 context = self.new_context(vars, shared, locals)
Denvironment.py41 from .runtime import new_context
1043 return concat(self.root_render_func(self.new_context(vars)))
1077 yield from self.root_render_func(self.new_context(vars))
1090 def new_context(self, vars=None, shared=False, locals=None): member in Template
1098 return new_context(
1109 return TemplateModule(self, self.new_context(vars, shared, locals))
1238 context = self._template.new_context(dict(*args, **kwargs))
Dnativetypes.py88 return native_concat(self.root_render_func(self.new_context(vars)))
Druntime.py76 def new_context( function
304 context = new_context(
/external/OpenCSD/decoder/include/common/
Dtrc_gen_elem.h63 void setContext(const ocsd_pe_context &new_context) { context = new_context; }; in setContext() argument
/external/tensorflow/tensorflow/compiler/xla/service/
Dcall_graph.cc225 CallContext new_context = in SetCallContexts() local
228 if (new_context != callee_node.context()) { in SetCallContexts()
230 callee_node.set_context(new_context); in SetCallContexts()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_driver.cc402 CUcontext new_context; in CreateContext() local
421 res = cuDevicePrimaryCtxRetain(&new_context, device); in CreateContext()
426 if (former_context == new_context) { in CreateContext()
434 << "primary context is now " << new_context << ". We " in CreateContext()
446 *context = CreatedContexts::Add(new_context); in CreateContext()
449 VLOG(2) << "created or reused context " << new_context in CreateContext()
/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator.cc2088 OpContext new_context; in FusedChildContext() local
2089 new_context.name = op_name; in FusedChildContext()
2090 new_context.device_name = parent.device_name; in FusedChildContext()
2091 new_context.op_info = parent.op_info; in FusedChildContext()
2092 new_context.op_info.set_op(op_name); in FusedChildContext()
2095 new_context.op_info.mutable_inputs()->Clear(); in FusedChildContext()
2097 *new_context.op_info.mutable_inputs()->Add() = input; in FusedChildContext()
2101 new_context.op_info.mutable_outputs()->Clear(); in FusedChildContext()
2102 *new_context.op_info.mutable_outputs()->Add() = output; in FusedChildContext()
2104 return new_context; in FusedChildContext()
/external/crosvm/devices/src/virtio/
Dwl.rs1018 fn new_context(&mut self, id: u32, name: &str) -> WlResult<WlResp> { in new_context() method
1337 self.new_context(ctrl.id.into(), "") in execute()
1375 self.new_context(ctrl.id.into(), name) in execute()
/external/python/cpython3/Lib/
D_pydecimal.py3860 def __init__(self, new_context): argument
3861 self.new_context = new_context.copy()
3864 setcontext(self.new_context)
3865 return self.new_context
/external/python/cpython2/Lib/
Ddecimal.py3754 def __init__(self, new_context): argument
3755 self.new_context = new_context.copy()
3758 setcontext(self.new_context)
3759 return self.new_context
/external/google-breakpad/src/processor/
Dminidump.cc742 scoped_ptr<MDRawContextARM64> new_context(new MDRawContextARM64()); in Read() local
743 ConvertOldARM64Context(*context_arm64.get(), new_context.get()); in Read()
744 SetContextFlags(new_context->context_flags); in Read()
745 SetContextARM64(new_context.release()); in Read()
/external/python/jinja/docs/
Dapi.rst837 .. automethod:: Template.new_context
842 that has to be created by :meth:`new_context` of the same template or
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_test.cc5437 static const uint8_t new_context[] = {4}; in TEST_F() local
5438 ASSERT_TRUE(SSL_set_quic_early_data_context(server_.get(), new_context, in TEST_F()
5439 sizeof(new_context))); in TEST_F()

123456