Searched refs:state_ptr (Results 1 – 5 of 5) sorted by relevance
76 auto& state_ptr = GetStorageSlot().Get(); in GetOrCreate() local77 if (!state_ptr) in GetOrCreate()78 state_ptr = std::make_unique<SequenceLocalState>(); in GetOrCreate()79 return state_ptr->weak_ptr_factory_.GetWeakPtr(); in GetOrCreate()
191 StateSettingGuard(T* state_ptr, T new_state_value) in StateSettingGuard() argument192 : state_ptr_(state_ptr), previous_state_(*state_ptr) in StateSettingGuard()194 *state_ptr = new_state_value; in StateSettingGuard()196 StateSettingGuard(T* state_ptr) : state_ptr_(state_ptr), previous_state_(*state_ptr) {} in StateSettingGuard() argument
45 int16_t* state_ptr = &state[state_length - 1]; in WebRtcSpl_FilterAR() local59 o -= *a_ptr * *state_ptr--; in WebRtcSpl_FilterAR()
695 llvm::GlobalVariable* state_ptr = in GetOrCreateVariableForPhiloxRngState() local697 if (!state_ptr) { in GetOrCreateVariableForPhiloxRngState()698 state_ptr = new llvm::GlobalVariable( in GetOrCreateVariableForPhiloxRngState()706 return state_ptr; in GetOrCreateVariableForPhiloxRngState()711 llvm::GlobalVariable* state_ptr = in IncrementVariableForPhiloxRngState() local713 llvm::Value* state_value_old = builder->CreateLoad(state_ptr, "load_state"); in IncrementVariableForPhiloxRngState()719 builder->CreateStore(state_value_new, state_ptr); in IncrementVariableForPhiloxRngState()
266 float* state_ptr = state_ptr_batch + c * memory_size; in EvalFloat() local267 state_ptr[memory_size - 1] = 0.0f; in EvalFloat()327 float* state_ptr = state_ptr_batch + c * memory_size; in EvalHybrid() local328 state_ptr[memory_size - 1] = 0.0; in EvalHybrid()