HomeSort by relevance Sort by last modified time
    Searched refs:tctx (Results 1 - 25 of 32) sorted by null

1 2

  /external/compiler-rt/lib/sanitizer_common/
sanitizer_thread_registry.cc 125 ThreadContextBase *tctx = QuarantinePop(); local
126 if (tctx) {
127 tid = tctx->tid;
131 tctx = context_factory_(tid);
132 threads_[tid] = tctx;
143 CHECK_NE(tctx, 0);
146 CHECK_EQ(tctx->status, ThreadStatusInvalid);
152 tctx->SetCreated(user_id, total_threads_++, detached,
161 ThreadContextBase *tctx = threads_[tid]; local
162 if (tctx == 0
171 ThreadContextBase *tctx = threads_[tid]; local
182 ThreadContextBase *tctx = threads_[tid]; local
203 ThreadContextBase *tctx = threads_[tid]; local
212 ThreadContextBase *tctx = threads_[tid]; local
224 ThreadContextBase *tctx = threads_[tid]; local
242 ThreadContextBase *tctx = threads_[tid]; local
259 ThreadContextBase *tctx = threads_[tid]; local
273 ThreadContextBase *tctx = threads_[tid]; local
    [all...]
sanitizer_thread_registry.h 98 typedef void (*ThreadCallback)(ThreadContextBase *tctx, void *arg);
103 typedef bool (*FindThreadCallback)(ThreadContextBase *tctx, void *arg);
140 void QuarantinePush(ThreadContextBase *tctx);
  /external/mesa3d/src/mesa/state_tracker/
st_cb_bitmap_shader.c 46 tgsi_bitmap_transform(struct tgsi_transform_context *tctx)
48 return (struct tgsi_bitmap_transform *)tctx;
52 transform_instr(struct tgsi_transform_context *tctx,
55 struct tgsi_bitmap_transform *ctx = tgsi_bitmap_transform(tctx);
63 tctx->emit_instruction(tctx, current_inst);
71 tgsi_transform_temp_decl(tctx, 0);
87 tgsi_transform_input_decl(tctx, texcoord_index,
92 tgsi_transform_sampler_decl(tctx, ctx->sampler_index);
95 tgsi_transform_sampler_view_decl(tctx, ctx->sampler_index
    [all...]
st_tgsi_lower_yuv.c 57 tgsi_yuv_transform(struct tgsi_transform_context *tctx)
59 return (struct tgsi_yuv_transform *)tctx;
145 emit_immed(struct tgsi_transform_context *tctx, int idx,
148 struct tgsi_yuv_transform *ctx = tgsi_yuv_transform(tctx);
158 tctx->emit_immediate(tctx, &immed);
169 emit_samp(struct tgsi_transform_context *tctx, unsigned samp)
171 tgsi_transform_sampler_decl(tctx, samp);
172 tgsi_transform_sampler_view_decl(tctx, samp, PIPE_TEXTURE_2D,
183 emit_decls(struct tgsi_transform_context *tctx)
    [all...]
st_cb_drawpixels_shader.c 50 tgsi_drawpix_transform(struct tgsi_transform_context *tctx)
52 return (struct tgsi_drawpix_transform *)tctx;
72 transform_instr(struct tgsi_transform_context *tctx,
75 struct tgsi_drawpix_transform *ctx = tgsi_drawpix_transform(tctx);
90 tgsi_transform_const_decl(tctx, ctx->scale_const, ctx->scale_const);
94 tgsi_transform_const_decl(tctx, ctx->bias_const, ctx->bias_const);
99 tgsi_transform_const_decl(tctx, ctx->texcoord_const, ctx->texcoord_const);
104 tgsi_transform_temp_decl(tctx, ctx->color_temp);
117 tgsi_transform_input_decl(tctx, texcoord_index, sem_texcoord, 0,
123 tgsi_transform_sampler_decl(tctx, ctx->drawpix_sampler)
    [all...]
st_atifs_to_tgsi.c 625 tgsi_atifs_transform(struct tgsi_transform_context *tctx)
627 return (struct tgsi_atifs_transform *)tctx;
648 transform_decl(struct tgsi_transform_context *tctx,
651 struct tgsi_atifs_transform *ctx = tgsi_atifs_transform(tctx);
660 tctx->emit_declaration(tctx, decl);
664 transform_instr(struct tgsi_transform_context *tctx,
667 struct tgsi_atifs_transform *ctx = tgsi_atifs_transform(tctx);
677 tgsi_transform_temp_decl(tctx, ctx->fog_factor_temp);
681 tgsi_transform_immediate_decl(tctx, 1.0f, 0.0f, 0.0f, 0.0f)
    [all...]
  /external/mesa3d/src/gallium/auxiliary/tgsi/
tgsi_emulate.c 41 tgsi_emulation_context(struct tgsi_transform_context *tctx)
43 return (struct tgsi_emulation_context *)tctx;
47 transform_decl(struct tgsi_transform_context *tctx,
50 struct tgsi_emulation_context *ctx = tgsi_emulation_context(tctx);
58 tctx->emit_declaration(tctx, decl);
62 passthrough_edgeflag(struct tgsi_transform_context *tctx)
64 struct tgsi_emulation_context *ctx = tgsi_emulation_context(tctx);
72 tctx->emit_declaration(tctx, &decl)
    [all...]
tgsi_lowering.c 57 tgsi_lowering_context(struct tgsi_transform_context *tctx)
59 return (struct tgsi_lowering_context *)tctx;
130 create_mov(struct tgsi_transform_context *tctx,
144 tctx->emit_instruction(tctx, &new_inst);
196 transform_dst(struct tgsi_transform_context *tctx,
199 struct tgsi_lowering_context *ctx = tgsi_lowering_context(tctx);
206 create_mov(tctx, &ctx->tmp[A].dst, src0, TGSI_WRITEMASK_YZ, 0);
211 create_mov(tctx, &ctx->tmp[B].dst, src1, TGSI_WRITEMASK_YW, 0);
224 tctx->emit_instruction(tctx, &new_inst)
    [all...]
  /external/libusb/tests/
stress.c 29 static libusb_testlib_result test_init_and_exit(libusb_testlib_ctx * tctx)
36 libusb_testlib_logf(tctx,
49 static libusb_testlib_result test_get_device_list(libusb_testlib_ctx * tctx)
55 libusb_testlib_logf(tctx, "Failed to init libusb: %d", r);
62 libusb_testlib_logf(tctx,
74 static libusb_testlib_result test_many_device_lists(libusb_testlib_ctx * tctx)
84 libusb_testlib_logf(tctx, "Failed to init libusb: %d", r);
92 libusb_testlib_logf(tctx,
115 static libusb_testlib_result test_default_context_change(libusb_testlib_ctx * tctx)
124 libusb_testlib_logf(tctx, "Failed to init libusb: %d", r)
    [all...]
  /external/jemalloc/include/jemalloc/internal/
prof.h 106 * UID that distinguishes multiple tctx's created by the same thread,
109 * - A dumper thread can cause a tctx to be retained in the purgatory
111 * - Although a single "producer" thread must create all tctx's which
283 void prof_alloc_rollback(tsd_t *tsd, prof_tctx_t *tctx, bool updated);
285 prof_tctx_t *tctx);
286 void prof_free_sampled_object(tsd_t *tsd, size_t usize, prof_tctx_t *tctx);
335 prof_tctx_t *tctx);
337 const void *old_ptr, prof_tctx_t *tctx);
343 prof_tctx_t *tctx);
345 prof_tctx_t *tctx, bool prof_active, bool updated, const void *old_ptr
525 prof_malloc_sample_object(tsd_tsdn(tsd), ptr, usize, tctx); local
536 prof_tctx_t *tctx = prof_tctx_get(tsd_tsdn(tsd), ptr); local
    [all...]
huge.h 27 void huge_prof_tctx_set(tsdn_t *tsdn, const void *ptr, prof_tctx_t *tctx);
extent.h 102 void extent_node_prof_tctx_set(extent_node_t *node, prof_tctx_t *tctx);
219 extent_node_prof_tctx_set(extent_node_t *node, prof_tctx_t *tctx)
222 node->en_prof_tctx = tctx;
  /external/jemalloc/src/
prof.c 124 static bool prof_tctx_should_destroy(tsdn_t *tsdn, prof_tctx_t *tctx);
125 static void prof_tctx_destroy(tsd_t *tsd, prof_tctx_t *tctx);
197 prof_alloc_rollback(tsd_t *tsd, prof_tctx_t *tctx, bool updated)
215 if ((uintptr_t)tctx > (uintptr_t)1U) {
216 malloc_mutex_lock(tsd_tsdn(tsd), tctx->tdata->lock);
217 tctx->prepared = false;
218 if (prof_tctx_should_destroy(tsd_tsdn(tsd), tctx))
219 prof_tctx_destroy(tsd, tctx);
221 malloc_mutex_unlock(tsd_tsdn(tsd), tctx->tdata->lock);
227 prof_tctx_t *tctx)
710 idalloctm(tsd_tsdn(tsd), tctx, NULL, true, true); local
1274 } tctx; local
    [all...]
jemalloc.c 1560 prof_tctx_t *tctx; local
1571 prof_malloc(tsd_tsdn(tsd), p, usize, tctx); local
1686 prof_tctx_t *tctx; local
1697 prof_malloc(tsd_tsdn(tsd), p, usize, tctx); local
1863 prof_tctx_t *old_tctx, *tctx; local
2197 prof_tctx_t *tctx; local
2215 prof_malloc(tsd_tsdn(tsd), p, *usize, tctx); local
2335 prof_tctx_t *old_tctx, *tctx; local
2481 prof_tctx_t *old_tctx, *tctx; local
    [all...]
  /external/compiler-rt/lib/tsan/rtl/
tsan_rtl_thread.cc 147 ThreadContext *tctx; member in struct:__tsan::ThreadLeak
153 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local
154 if (tctx->detached || tctx->status != ThreadStatusFinished)
157 if (leaks[i].tctx->creation_stack_id == tctx->creation_stack_id) {
162 ThreadLeak leak = {tctx, 1};
168 static void ReportIgnoresEnabled(ThreadContext *tctx, IgnoreSet *set) {
169 if (tctx->tid == 0) {
173 " created at:\n", tctx->tid, tctx->name)
    [all...]
tsan_rtl_report.cc 188 void ScopedReport::AddThread(const ThreadContext *tctx, bool suppressable) {
190 if ((u32)rep_->threads[i]->id == tctx->tid)
196 rt->id = tctx->tid;
197 rt->os_id = tctx->os_id;
198 rt->running = (tctx->status == ThreadStatusRunning);
199 rt->name = internal_strdup(tctx->name);
200 rt->parent_tid = tctx->parent_tid;
202 rt->stack = SymbolizeStackId(tctx->creation_stack_id);
208 static bool FindThreadByUidLockedCallback(ThreadContextBase *tctx, void *arg) {
210 return tctx->unique_id == (u32)unique_id
228 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local
239 ThreadContext *tctx = static_cast<ThreadContext*>( local
318 ThreadContext *tctx = FindThreadByUidLocked(creat_tid); local
331 ThreadContext *tctx = FindThreadByTidLocked(b->tid); local
654 ThreadContext *tctx = static_cast<ThreadContext*>( local
    [all...]
tsan_rtl_mutex.cc 375 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local
376 if (tctx->status == ThreadStatusRunning)
377 thr->clock.set(tctx->tid, tctx->thr->fast_state.epoch());
379 thr->clock.set(tctx->tid, tctx->epoch1);
418 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local
419 if (tctx->status == ThreadStatusRunning)
420 thr->last_sleep_clock.set(tctx->tid, tctx->thr->fast_state.epoch())
    [all...]
  /external/tcpdump/
signature.c 62 MD5_CTX tctx; local
64 MD5_Init(&tctx);
65 MD5_Update(&tctx, key, key_len);
66 MD5_Final(tk, &tctx);
  /system/sepolicy/tests/
searchpolicy.py 66 rules.append("allow " + r.sctx + " " + r.tctx + ":" + r.tclass + " { " +
69 rules.append("allow " + r.sctx + " " + r.tctx + ":" + r.tclass + " " +
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_thread_registry_test.cc 26 template<typename TCTX>
29 return new(tctx_allocator) TCTX(tid);
52 static bool HasName(ThreadContextBase *tctx, void *arg) {
54 return (0 == internal_strcmp(tctx->name, name));
57 static bool HasUid(ThreadContextBase *tctx, void *arg) {
59 return (tctx->user_id == uid);
62 static void MarkUidAsPresent(ThreadContextBase *tctx, void *arg) {
64 arr[tctx->tid] = true;
  /external/compiler-rt/lib/asan/
asan_thread.cc 328 AsanThreadContext *tctx = static_cast<AsanThreadContext*>(tctx_base); local
329 AsanThread *t = tctx->thread;
347 AsanThreadContext *tctx = GetThreadContextByTidLocked(0); local
348 if (ThreadStackContainsAddress(tctx, &context)) {
349 SetCurrentThread(tctx->thread);
350 return tctx->thread;
375 AsanThreadContext *tctx = static_cast<AsanThreadContext *>( local
378 return tctx ? tctx->thread : nullptr;
asan_stats.cc 77 AsanThreadContext *tctx = static_cast<AsanThreadContext*>(tctx_base); local
78 if (AsanThread *t = tctx->thread)
  /external/compiler-rt/lib/lsan/
lsan_thread.cc 115 static bool FindThreadByUid(ThreadContextBase *tctx, void *arg) {
117 if (tctx->user_id == uid && tctx->status != ThreadStatusInvalid) {
  /system/security/keystore/
permissions.cpp 104 static char* tctx; variable
112 if (getcon(&tctx) != 0) {
138 bool allowed = selinux_check_access(sctx, tctx, selinux_class, str_perm,
  /frameworks/native/cmds/servicemanager/
service_manager.c 64 static bool check_mac_perms(pid_t spid, uid_t uid, const char *tctx, const char *perm, const char *name)
80 int result = selinux_check_access(sctx, tctx, class, perm, (void *) &ad);
95 char *tctx = NULL; local
102 if (selabel_lookup(sehandle, &tctx, name, 0) != 0) {
107 allowed = check_mac_perms(spid, uid, tctx, perm, name);
108 freecon(tctx);

Completed in 368 milliseconds

1 2