Home
last modified time | relevance | path

Searched refs:state_ (Results 1 – 24 of 24) sorted by relevance

/frameworks/av/media/libeffects/loudness/dsp/core/
Ddynamic_range_compression.cpp58 state_ = 0.0f; in Initialize()
86 const float prev_state = state_; in Compress()
87 if (cv <= state_) { in Compress()
88 state_ = alpha_attack_ * state_ + (1.0f - alpha_attack_) * cv; in Compress()
90 state_ = alpha_release_ * state_ + (1.0f - alpha_release_) * cv; in Compress()
93 math::ExpApproximationViaTaylorExpansionOrder5(state_ - prev_state); in Compress()
115 const float prev_state = state_; in Compress()
116 if (cv <= state_) { in Compress()
117 state_ = alpha_attack_ * state_ + (1.0f - alpha_attack_) * cv; in Compress()
119 state_ = alpha_release_ * state_ + (1.0f - alpha_release_) * cv; in Compress()
[all …]
Dinterpolator_linear.h58 using BaseClass::state_;
73 state_ = NULL; in SetInternalState()
Dinterpolator_base-inl.h43 state_ = NULL; in InterpolatorBase()
48 delete [] state_; in ~InterpolatorBase()
105 state_ = NULL; in Initialize()
Ddynamic_range_compression.h97 float state_; variable
Dinterpolator_base.h100 double *state_; variable
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBCodedInputStream.m334 state_.bytes = (const uint8_t *)[data bytes];
335 state_.bufferSize = [data length];
336 state_.currentLimit = state_.bufferSize;
353 return GPBCodedInputStreamReadTag(&state_);
357 GPBCodedInputStreamCheckLastTagWas(&state_, value);
364 GPBCodedInputStreamReadInt32(&state_);
367 SkipRawData(&state_, sizeof(int64_t));
370 SkipRawData(&state_, ReadRawVarint32(&state_));
375 &state_, GPBWireFormatMakeTag(GPBWireFormatGetTagFieldNumber(tag),
381 SkipRawData(&state_, sizeof(int32_t));
[all …]
DGPBCodedOutputStream.m50 GPBOutputBufferState state_;
165 [state_.output close];
166 [state_.output release];
189 state_.bytes = [data mutableBytes];
190 state_.size = [data length];
191 state_.output = [output retain];
213 GPBWriteRawLittleEndian64(&state_, GPBConvertDoubleToInt64(value));
217 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatFixed64);
218 GPBWriteRawLittleEndian64(&state_, GPBConvertDoubleToInt64(value));
222 GPBWriteRawLittleEndian32(&state_, GPBConvertFloatToInt32(value));
[all …]
DGPBCodedInputStream_PackagePrivate.h58 struct GPBCodedInputStreamState state_; in GPBCodedInputStream() local
DGPBExtensionInternals.m279 GPBCodedInputStreamState *state = &input->state_;
340 GPBCodedInputStreamState *state = &input->state_;
DGPBUnknownFieldSet.m364 GPBCodedInputStreamState *state = &input->state_;
413 int32_t tag = GPBCodedInputStreamReadTag(&input->state_);
DGPBMessage.m1884 GPBCodedInputStreamState *state = &input->state_;
1969 GPBCodedInputStreamState *state = &input->state_;
2070 TYPE val = GPBCodedInputStreamRead##NAME(&input->state_); \
2076 id val = GPBCodedInputStreamReadRetained##NAME(&input->state_); \
2133 int32_t val = GPBCodedInputStreamReadEnum(&input->state_);
2149 GPBCodedInputStreamState *state = &input->state_;
2202 GPBCodedInputStreamState *state = &input->state_;
2269 GPBCodedInputStreamState *state = &input->state_;
DGPBDictionary.m385 valueToFill->valueBool = GPBCodedInputStreamReadBool(&stream->state_);
388 valueToFill->valueUInt32 = GPBCodedInputStreamReadFixed32(&stream->state_);
391 valueToFill->valueInt32 = GPBCodedInputStreamReadSFixed32(&stream->state_);
394 valueToFill->valueFloat = GPBCodedInputStreamReadFloat(&stream->state_);
397 valueToFill->valueUInt64 = GPBCodedInputStreamReadFixed64(&stream->state_);
400 valueToFill->valueInt64 = GPBCodedInputStreamReadSFixed64(&stream->state_);
403 valueToFill->valueDouble = GPBCodedInputStreamReadDouble(&stream->state_);
406 valueToFill->valueInt32 = GPBCodedInputStreamReadInt32(&stream->state_);
409 valueToFill->valueInt64 = GPBCodedInputStreamReadInt32(&stream->state_);
412 valueToFill->valueInt32 = GPBCodedInputStreamReadSInt32(&stream->state_);
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dmap_field_test.cc74 bool IsMapClean() { return state_ != 0; } in IsMapClean()
75 bool IsRepeatedClean() { return state_ != 1; } in IsRepeatedClean()
76 void SetMapDirty() { state_ = 0; } in SetMapDirty()
77 void SetRepeatedDirty() { state_ = 1; } in SetRepeatedDirty()
215 MapFieldStateTest() : state_(GetParam()) { in MapFieldStateTest()
227 switch (state_) { in MapFieldStateTest()
304 State state_; member in google::protobuf::internal::MapFieldStateTest
313 if (state_ != MAP_DIRTY) { in TEST_P()
322 if (state_ != MAP_DIRTY) { in TEST_P()
335 if (state_ != MAP_DIRTY) { in TEST_P()
[all …]
Dmap_field.cc101 void MapFieldBase::SetMapDirty() { state_ = STATE_MODIFIED_MAP; } in SetMapDirty()
103 void MapFieldBase::SetRepeatedDirty() { state_ = STATE_MODIFIED_REPEATED; } in SetRepeatedDirty()
110 Atomic32 state = google::protobuf::internal::Acquire_Load(&state_); in SyncRepeatedFieldWithMap()
115 if (state_ == STATE_MODIFIED_MAP) { in SyncRepeatedFieldWithMap()
119 google::protobuf::internal::Release_Store(&state_, CLEAN); in SyncRepeatedFieldWithMap()
134 Atomic32 state = google::protobuf::internal::Acquire_Load(&state_); in SyncMapWithRepeatedField()
139 if (state_ == STATE_MODIFIED_REPEATED) { in SyncMapWithRepeatedField()
143 google::protobuf::internal::Release_Store(&state_, CLEAN); in SyncMapWithRepeatedField()
Dmap_field.h67 state_(STATE_MODIFIED_MAP) {} in MapFieldBase()
73 state_(STATE_MODIFIED_MAP) { in MapFieldBase()
150 mutable volatile Atomic32 state_; // 0: STATE_MODIFIED_MAP variable
Dmap_field_inl.h344 std::swap(MapFieldBase::state_, down_other->state_); in Swap()
/frameworks/native/libs/vr/libpdx/
Dclient.cpp132 client_.GetChannel()->FreeTransactionState(state_); in ~Transaction()
137 state_ = client_.GetChannel()->AllocateTransactionState(); in EnsureStateAllocated()
157 state_, opcode, send_vector, send_count, receive_vector, receive_count); in SendTransaction()
183 state_, opcode, send_vector, send_count, receive_vector, receive_count); in SendTransaction()
204 state_, opcode, send_vector, send_count, receive_vector, receive_count); in SendTransaction()
225 state_, opcode, send_vector, send_count, receive_vector, receive_count); in SendTransaction()
232 return client_.GetChannel()->PushFileHandle(state_, handle); in PushFileHandle()
239 return client_.GetChannel()->PushFileHandle(state_, handle); in PushFileHandle()
250 return client_.GetChannel()->PushChannelHandle(state_, handle); in PushChannelHandle()
257 return client_.GetChannel()->PushChannelHandle(state_, handle); in PushChannelHandle()
[all …]
Dservice.cpp29 state_ = svc->endpoint()->AllocateMessageState();
44 std::swap(state_, other.state_); in operator =()
61 svc->endpoint()->FreeMessageState(state_); in Destroy()
63 state_ = nullptr; in Destroy()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Donce_unittest.cc52 state_ = INIT_NOT_STARTED; in SetUp()
145 return state_; in CurrentState()
159 State state_; member in google::protobuf::__anon0b0cb4b50111::OnceInitTest
165 EXPECT_EQ(INIT_NOT_STARTED, state_); in Init()
166 state_ = INIT_STARTED; in Init()
171 state_ = INIT_DONE; in Init()
Donce.h145 GoogleOnceDynamic() : state_(GOOGLE_PROTOBUF_ONCE_INIT) { } in GoogleOnceDynamic()
153 GoogleOnceInit<T>(&this->state_, in Init()
158 ProtobufOnceType state_;
/frameworks/native/services/vr/virtual_touchpad/
DEvdevInjector.cpp61 state_ = State::CLOSED; in Close()
82 state_ = State::CLOSED; in ConfigureBegin()
85 state_ = State::CONFIGURING; in ConfigureBegin()
226 state_ = State::READY; in ConfigureEnd()
310 if (state_ != required_state) { in RequireState()
311 ALOGE("in state %d but require state %d", static_cast<int>(state_), in RequireState()
334 result.appendFormat("injector_state = %d\n", static_cast<int>(state_)); in dumpInternal()
DEvdevInjector.h135 State state_ = State::NEW; variable
/frameworks/native/libs/vr/libpdx/private/pdx/
Dservice.h345 const void* GetState() const { return state_; } in GetState()
346 void* GetState() { return state_; } in GetState()
358 void* state_{nullptr};
Dclient.h295 void* state_{nullptr};