Home
last modified time | relevance | path

Searched refs:state_ptr (Results 1 – 17 of 17) sorted by relevance

/external/libchrome/base/trace_event/
Dtrace_category.h32 static const TraceCategory* FromStatePtr(const uint8_t* state_ptr) { in FromStatePtr()
36 return reinterpret_cast<const TraceCategory*>(state_ptr); in FromStatePtr()
50 const uint8_t* state_ptr() const { in state_ptr() function
Dtrace_category_unittest.cc85 ASSERT_EQ(cat_1, CategoryRegistry::GetCategoryByStatePtr(cat_1->state_ptr())); in TEST_F()
89 ASSERT_EQ(TraceCategory::ENABLED_FOR_RECORDING, *cat_1->state_ptr()); in TEST_F()
Dcategory_registry.cc61 ANNOTATE_BENIGN_RACE(g_categories[i].state_ptr(), in Initialize()
Dtrace_log.cc119 CategoryRegistry::kCategoryMetadata->state_ptr(), in InitializeMetadataEvent()
446 return CategoryRegistry::kCategoryAlreadyShutdown->state_ptr(); in GetCategoryGroupEnabled()
460 DCHECK(category->state_ptr()); in GetCategoryGroupEnabled()
461 return category->state_ptr(); in GetCategoryGroupEnabled()
/external/cronet/base/trace_event/
Dtrace_category.h34 static const TraceCategory* FromStatePtr(const uint8_t* state_ptr) { in FromStatePtr()
38 return reinterpret_cast<const TraceCategory*>(state_ptr); in FromStatePtr()
52 constexpr const uint8_t* state_ptr() const { in state_ptr() function
Dtrace_category_unittest.cc90 ASSERT_EQ(cat_1, CategoryRegistry::GetCategoryByStatePtr(cat_1->state_ptr())); in TEST_F()
94 ASSERT_EQ(TraceCategory::ENABLED_FOR_RECORDING, *cat_1->state_ptr()); in TEST_F()
Dcategory_registry.cc48 ANNOTATE_BENIGN_RACE(categories_[i].state_ptr(), in Initialize()
Dtrace_log.h274 return builtin_category->state_ptr(); in GetBuiltinCategoryEnabled()
Dtrace_log.cc729 return CategoryRegistry::kCategoryAlreadyShutdown->state_ptr(); in GetCategoryGroupEnabled()
743 DCHECK(category->state_ptr()); in GetCategoryGroupEnabled()
744 return category->state_ptr(); in GetCategoryGroupEnabled()
/external/libchrome/mojo/public/cpp/bindings/lib/
Dsequence_local_sync_event_watcher.cc76 auto& state_ptr = GetStorageSlot().Get(); in GetOrCreate() local
77 if (!state_ptr) in GetOrCreate()
78 state_ptr = std::make_unique<SequenceLocalState>(); in GetOrCreate()
79 return state_ptr->weak_ptr_factory_.GetWeakPtr(); in GetOrCreate()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DpropagateNoContraction.cpp193 StateSettingGuard(T* state_ptr, T new_state_value) in StateSettingGuard() argument
194 : state_ptr_(state_ptr), previous_state_(*state_ptr) in StateSettingGuard()
196 *state_ptr = new_state_value; in StateSettingGuard()
198 StateSettingGuard(T* state_ptr) : state_ptr_(state_ptr), previous_state_(*state_ptr) {} in StateSettingGuard() argument
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DpropagateNoContraction.cpp193 StateSettingGuard(T* state_ptr, T new_state_value) in StateSettingGuard() argument
194 : state_ptr_(state_ptr), previous_state_(*state_ptr) in StateSettingGuard()
196 *state_ptr = new_state_value; in StateSettingGuard()
198 StateSettingGuard(T* state_ptr) : state_ptr_(state_ptr), previous_state_(*state_ptr) {} in StateSettingGuard() argument
/external/webrtc/common_audio/signal_processing/
Dfilter_ar.c49 int16_t* state_ptr = &state[state_length - 1]; in WebRtcSpl_FilterAR() local
65 o -= *a_ptr * *state_ptr--; in WebRtcSpl_FilterAR()
/external/libjpeg-turbo/simd/arm/aarch32/
Djchuff-neon.c263 working_state *state_ptr = (working_state *)state; in jsimd_huff_encode_one_block_neon() local
264 int free_bits = state_ptr->cur.free_bits; in jsimd_huff_encode_one_block_neon()
265 size_t put_buffer = state_ptr->cur.put_buffer; in jsimd_huff_encode_one_block_neon()
330 state_ptr->cur.put_buffer = put_buffer; in jsimd_huff_encode_one_block_neon()
331 state_ptr->cur.free_bits = free_bits; in jsimd_huff_encode_one_block_neon()
/external/libjpeg-turbo/simd/arm/aarch64/
Djchuff-neon.c238 working_state *state_ptr = (working_state *)state; in jsimd_huff_encode_one_block_neon() local
239 int free_bits = state_ptr->cur.free_bits; in jsimd_huff_encode_one_block_neon()
240 size_t put_buffer = state_ptr->cur.put_buffer; in jsimd_huff_encode_one_block_neon()
399 state_ptr->cur.put_buffer = put_buffer; in jsimd_huff_encode_one_block_neon()
400 state_ptr->cur.free_bits = free_bits; in jsimd_huff_encode_one_block_neon()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dllvm_util.cc665 llvm::GlobalVariable* state_ptr = in GetOrCreateVariableForRngState() local
667 if (!state_ptr) { in GetOrCreateVariableForRngState()
673 state_ptr = new llvm::GlobalVariable( in GetOrCreateVariableForRngState()
685 return state_ptr; in GetOrCreateVariableForRngState()
690 llvm::GlobalVariable* state_ptr = in RngGetAndUpdateState() local
693 builder->CreateLoad(state_ptr->getValueType(), state_ptr, "load_state"); in RngGetAndUpdateState()
697 builder->CreateStore(state_value_new, state_ptr); in RngGetAndUpdateState()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dsvdf.h41 float* const __restrict__ state_ptr, float* const __restrict__ scratch_ptr, in ApplyTimeWeightsBiasAndActivation() argument
45 float* state_ptr_batch = state_ptr + b * memory_size * num_filters; in ApplyTimeWeightsBiasAndActivation()