Home
last modified time | relevance | path

Searched refs:state_ptr (Results 1 – 18 of 18) 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/tensorflow/tensorflow/lite/micro/kernels/xtensa/
Dsvdf.cc80 int16_t* const state_ptr = in EvalIntegerSvdfHifimini() local
85 int16_t* new_state_start = state_ptr; in EvalIntegerSvdfHifimini()
86 const int16_t* old_state_start = state_ptr + 1; in EvalIntegerSvdfHifimini()
87 const int16_t* old_state_end = state_ptr + n_batch * n_filter * n_memory; in EvalIntegerSvdfHifimini()
100 int16_t* result_in_batch = state_ptr + (n_memory - 1); in EvalIntegerSvdfHifimini()
168 const int16_t* vector2_ptr = state_ptr + b * n_memory * n_filter; in EvalIntegerSvdfHifimini()
268 int16_t* const state_ptr = in EvalIntegerSvdfHifi4() local
272 int num_bytes = sizeof(*state_ptr) * (n_batch * n_filter * n_memory - 1); in EvalIntegerSvdfHifi4()
273 xa_nn_memmove_16(state_ptr, state_ptr + 1, num_bytes); in EvalIntegerSvdfHifi4()
281 int16_t* result_in_batch = state_ptr + (n_memory - 1); in EvalIntegerSvdfHifi4()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dsvdf.cc59 float* const __restrict__ state_ptr, float* const __restrict__ scratch_ptr, in ApplyTimeWeightsBiasAndActivation() argument
66 const float* vector2_ptr = state_ptr + b * memory_size * num_filters; in ApplyTimeWeightsBiasAndActivation()
137 float* state_ptr = tflite::micro::GetTensorData<float>(activation_state); in EvalFloatSVDF() local
149 float* new_state_start = state_ptr; in EvalFloatSVDF()
150 const float* old_state_start = state_ptr + 1; in EvalFloatSVDF()
152 state_ptr + batch_size * num_filters * memory_size; in EvalFloatSVDF()
169 float* result = &state_ptr[memory_size - 1]; in EvalFloatSVDF()
187 bias_ptr, params->activation, state_ptr, scratch_ptr, output_ptr); in EvalFloatSVDF()
Dsvdf_common.cc57 int16_t* const state_ptr = in EvalIntegerSvdfReference() local
62 int16_t* new_state_start = state_ptr; in EvalIntegerSvdfReference()
63 const int16_t* old_state_start = state_ptr + 1; in EvalIntegerSvdfReference()
64 const int16_t* old_state_end = state_ptr + n_batch * n_filter * n_memory; in EvalIntegerSvdfReference()
/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/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/
Dsvdf.cc75 float* const __restrict__ state_ptr, float* const __restrict__ scratch_ptr, in ApplyTimeWeightsBiasAndActivation() argument
82 const float* vector2_ptr = state_ptr + b * memory_size * num_filters; in ApplyTimeWeightsBiasAndActivation()
153 float* state_ptr = tflite::micro::GetTensorData<float>(activation_state); in EvalFloatSVDF() local
165 float* new_state_start = state_ptr; in EvalFloatSVDF()
166 const float* old_state_start = state_ptr + 1; in EvalFloatSVDF()
168 state_ptr + batch_size * num_filters * memory_size; in EvalFloatSVDF()
185 float* result = &state_ptr[memory_size - 1]; in EvalFloatSVDF()
203 bias_ptr, params->activation, state_ptr, scratch_ptr, output_ptr); in EvalFloatSVDF()
/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/crosvm/sys_util/src/
Dsyslog.rs183 let state_ptr = unsafe { STATE }; in lock() localVariable
184 if state_ptr.is_null() { in lock()
188 let state = unsafe { &*state_ptr }; in lock()
264 let state_ptr = unsafe { STATE }; in echo_syslog() localVariable
265 if state_ptr.is_null() { in echo_syslog()
/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.cc699 llvm::GlobalVariable* state_ptr = in GetOrCreateVariableForRngState() local
701 if (!state_ptr) { in GetOrCreateVariableForRngState()
708 state_ptr = new llvm::GlobalVariable( in GetOrCreateVariableForRngState()
720 return state_ptr; in GetOrCreateVariableForRngState()
725 llvm::GlobalVariable* state_ptr = in RngGetAndUpdateState() local
728 builder->CreateLoad(state_ptr, "load_state"); in RngGetAndUpdateState()
732 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()
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/src/
Drtl.cpp1067 void *state_ptr; in __tgt_rtl_load_binary_locked() local
1071 &state_ptr, &state_ptr_size); in __tgt_rtl_load_binary_locked()
1115 err = DeviceInfo.freesignalpool_memcpy_h2d(state_ptr, &ptr, in __tgt_rtl_load_binary_locked()