/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/ |
H A D | jni-bridge.cpp | 407 auto state = oboeStream->getState(); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getState() local 408 if (state != oboe::StreamState::Starting && state != oboe::StreamState::Started) { in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getState() 411 &state, 0); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getState() 415 state = oboe::StreamState::Closed; in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getState() 417 state = oboe::StreamState::Disconnected; in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getState() 419 state = oboe::StreamState::Unknown; in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getState() 423 return (jint) state; in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getState() 592 jint state) { in Java_com_google_sample_oboe_manualtest_GlitchActivity_getStateFrameCount() 593 return engine.mActivityGlitches.getGlitchAnalyzer()->getStateFrameCount(state); in Java_com_google_sample_oboe_manualtest_GlitchActivity_getStateFrameCount() 590 Java_com_google_sample_oboe_manualtest_GlitchActivity_getStateFrameCount(JNIEnv *env, jobject instance, jint state) Java_com_google_sample_oboe_manualtest_GlitchActivity_getStateFrameCount() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | tlsv1_client.c | 153 if (conn->state == CLIENT_HELLO) { in tlsv1_client_handshake() 242 conn->state = FAILED; in tlsv1_client_handshake() 451 conn->state = CLIENT_HELLO; in tlsv1_client_init() 509 return conn->state == ESTABLISHED; in tlsv1_client_established() 533 if (conn->state != ESTABLISHED) in tlsv1_client_prf() 666 conn->state = CLIENT_HELLO; in tlsv1_client_shutdown() 748 if (conn->state == CLIENT_HELLO) in tlsv1_client_get_random() 754 if (conn->state != SERVER_HELLO) { in tlsv1_client_get_random() 771 if (conn->state == CLIENT_HELLO || conn->state in tlsv1_client_get_keyblock_size() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | tlsv1_client.c | 177 if (conn->state == CLIENT_HELLO) { in tlsv1_client_handshake() 266 conn->state = FAILED; in tlsv1_client_handshake() 475 conn->state = CLIENT_HELLO; in tlsv1_client_init() 533 return conn->state == ESTABLISHED; in tlsv1_client_established() 557 if (conn->state != ESTABLISHED) in tlsv1_client_prf() 690 conn->state = CLIENT_HELLO; in tlsv1_client_shutdown() 772 if (conn->state == CLIENT_HELLO) in tlsv1_client_get_random() 778 if (conn->state != SERVER_HELLO) { in tlsv1_client_get_random() 795 if (conn->state == CLIENT_HELLO || conn->state in tlsv1_client_get_keyblock_size() [all...] |
/third_party/zlib/ |
H A D | crc32.c | 236 invoke once() at the same time. The state must be a once_t initialized with 239 local void once(once_t *state, void (*init)(void)) in once() argument 241 if (!atomic_load(&state->done)) { in once() 242 if (atomic_flag_test_and_set(&state->begun)) in once() 243 while (!atomic_load(&state->done)) in once() 247 atomic_store(&state->done, 1); in once() 273 local void once(once_t *state, void (*init)(void)) in once() argument 275 if (!state->done) { in once() 276 if (test_and_set(&state->begun)) in once() 277 while (!state in once() [all...] |
/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | touch_event.cpp | 462 if (!state.empty()) { in Dump() 464 << "state: " << state << ", " in Dump() 475 if (!state.empty()) { in Dump() 476 json->Put("state", state.c_str()); in Dump() 483 const std::string& procedure, const std::string& state, const std::string& disposal, int64_t timestamp) in AddProcedure() 488 stateHistory.emplace_back(StateRecord(procedure, state, disposal, timestamp)); in AddProcedure() 491 bool GestureSnapshot::CheckNeedAddMove(const std::string& state, const std::string& disposal) in CheckNeedAddMove() argument 493 return stateHistory.empty() || stateHistory.back().state ! in CheckNeedAddMove() 482 AddProcedure( const std::string& procedure, const std::string& state, const std::string& disposal, int64_t timestamp) AddProcedure() argument [all...] |
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | sweeper.cc | 494 for (SpaceState& state : *states_) { in Sweep() 495 while (auto page = state.unswept_pages.Pop()) { in Sweep() 506 for (SpaceState& state : *states_) { in SweepWithDeadline() 516 if (!finalizer.FinalizeSpaceWithDeadline(&state, deadline_in_seconds)) { in SweepWithDeadline() 521 if (!SweepSpaceWithDeadline(&state, deadline_in_seconds)) { in SweepWithDeadline() 533 bool SweepSpaceWithDeadline(SpaceState* state, double deadline_in_seconds) { in SweepSpaceWithDeadline() argument 536 while (auto page = state->unswept_pages.Pop()) { in SweepSpaceWithDeadline() 608 for (SpaceState& state : *states_) { 609 while (auto page = state.unswept_pages.Pop()) { 658 SpaceState& state in VisitLargePage() local [all...] |
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_state.c | 146 /* None of this state is actually used for anything yet. 294 cso->state[0] |= SS2_MAX_ANISO_4; in i915_create_sampler_state() 300 cso->state[0] |= ((b << SS2_LOD_BIAS_SHIFT) & SS2_LOD_BIAS_MASK); in i915_create_sampler_state() 306 cso->state[0] |= (SS2_SHADOW_ENABLE | i915_translate_shadow_compare_func( in i915_create_sampler_state() 313 cso->state[0] |= in i915_create_sampler_state() 317 cso->state[1] |= ((translate_wrap_mode(ws) << SS3_TCX_ADDR_MODE_SHIFT) | in i915_create_sampler_state() 322 cso->state[1] |= SS3_NORMALIZED_COORDS; in i915_create_sampler_state() 342 cso->state[2] = I915PACKCOLOR8888(r, g, b, a); in i915_create_sampler_state() 385 /** XXX move someday? Or consolidate all these simple state setters 554 ifs->state in i915_create_fs_state() [all...] |
/third_party/pulseaudio/src/modules/raop/ |
H A D | raop-sink.c | 125 static void raop_state_cb(pa_raop_state_t state, void *userdata) { in raop_state_cb() argument 132 pa_asyncmsgq_post(u->thread_mq.inq, PA_MSGOBJECT(u->sink), PA_SINK_MESSAGE_SET_RAOP_STATE, PA_INT_TO_PTR(state), 0, NULL, NULL); in raop_state_cb() 169 if (u->sink->state == PA_SINK_RUNNING) { in sink_process_msg() 197 if (u->autoreconnect && u->sink->state == PA_SINK_RUNNING) { in sink_process_msg() 232 if (u->sink->thread_info.state == PA_SINK_SUSPENDED) { in sink_process_msg() 264 if (u->sink->thread_info.state == PA_SINK_SUSPENDED) { in sink_process_msg() 271 if (u->sink->thread_info.state != PA_SINK_IDLE) { in sink_process_msg() 277 if (u->sink->thread_info.state != PA_SINK_IDLE) in sink_process_msg() 301 if (new_state == s->thread_info.state) in sink_set_state_in_io_thread_cb() 308 pa_assert(PA_SINK_IS_OPENED(s->thread_info.state)); in sink_set_state_in_io_thread_cb() [all...] |
/foundation/ability/ability_runtime/test/unittest/cj_ui_ability_test/ |
H A D | cj_ui_ability_test.cpp | 226 AbilityLifecycleExecutor::LifecycleState state = cjAbility_->GetState(); in HWTEST_F() local 228 EXPECT_EQ(AbilityLifecycleExecutor::LifecycleState::UNINITIALIZED, state); in HWTEST_F() 252 AbilityLifecycleExecutor::LifecycleState state = cjAbility_->GetState(); in HWTEST_F() local 255 EXPECT_EQ(AbilityLifecycleExecutor::LifecycleState::INITIAL, state); in HWTEST_F() 279 AbilityLifecycleExecutor::LifecycleState state = cjAbility_->GetState(); in HWTEST_F() local 283 EXPECT_NE(AbilityLifecycleExecutor::LifecycleState::INITIAL, state); in HWTEST_F() 349 AbilityLifecycleExecutor::LifecycleState state = cjAbility_->GetState(); in HWTEST_F() local 354 EXPECT_EQ(AbilityLifecycleExecutor::LifecycleState::INITIAL, state); in HWTEST_F() 414 AbilityLifecycleExecutor::LifecycleState state = cjAbility_->GetState(); in HWTEST_F() local 417 EXPECT_EQ(AbilityLifecycleExecutor::LifecycleState::FOREGROUND_NEW, state); in HWTEST_F() 432 AbilityLifecycleExecutor::LifecycleState state = cjAbility_->GetState(); HWTEST_F() local 459 AbilityLifecycleExecutor::LifecycleState state = cjAbility_->GetState(); HWTEST_F() local 565 AbilityLifecycleExecutor::LifecycleState state = cjAbility_->GetState(); HWTEST_F() local 589 AbilityLifecycleExecutor::LifecycleState state = cjAbility_->GetState(); HWTEST_F() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_nnedi.c | 244 float state[12]; in process_old() local 251 state[n] = dot_dsp(s, m_data->kernel_l0[n], input, 48, 1.0f, m_data->bias_l0[n]); in process_old() 252 transform_elliott(state + 1, 3); in process_old() 256 state[n + 4] = dot_dsp(s, m_data->kernel_l1[n], state, 4, 1.0f, m_data->bias_l1[n]); in process_old() 257 transform_elliott(state + 4, 3); in process_old() 261 state[n + 8] = dot_dsp(s, m_data->kernel_l2[n], state, 8, 1.0f, m_data->bias_l2[n]); in process_old() 263 prescreen[j] = FFMAX(state[10], state[1 in process_old() 280 float state[8]; process_new() local [all...] |
/third_party/curl/lib/ |
H A D | openldap.c | 80 OLDAP_STOP, /* Do nothing state, stops the state machine */ 191 ldapstate state; /* Current machine state. */ member 204 * This is the ONLY way to change LDAP state! 224 if(ldapc->state != newstate) in oldap_state() 225 infof(data, "LDAP %p state change from %s to %s", in oldap_state() 226 (void *)ldapc, names[ldapc->state], names[newstate]); in oldap_state() 229 ldapc->state = newstate; in oldap_state() 271 if(!data->state in oldap_url_parse() [all...] |
/third_party/gptfdisk/ |
H A D | basicmbr.cc | 39 state = invalid; in BasicMBRData() 62 state = orig.state; in BasicMBRData() 82 state = invalid; in BasicMBRData() 119 state = orig.state; in operator =() 217 state = invalid; in ReadMBRData() 242 state = mbr; in ReadMBRData() 244 state = invalid; in ReadMBRData() 252 state in ReadMBRData() [all...] |
/third_party/libwebsockets/plugins/acme-client/ |
H A D | protocol_lws_acme_client.c | 77 lws_acme_state state; member 568 lws_acme_report_status(struct lws_vhost *v, int state, const char *json) in lws_acme_report_status() argument 571 (void *)json, (unsigned int)state); in lws_acme_report_status() 645 "state", 726 vhd->ac->state = ACME_STATE_DIRECTORY; in lws_acme_start_acquisition() 730 vhd->ac->state = ACME_STATE_NEW_ACCOUNT; in lws_acme_start_acquisition() 951 switch (ac->state) { in callback_acme_client() 964 ac->state = ACME_STATE_NEW_ACCOUNT; in callback_acme_client() 1037 switch (ac->state) { in callback_acme_client() 1178 switch (ac->state) { in callback_acme_client() [all...] |
/third_party/lzma/Asm/arm64/ |
H A D | LzmaDecOpt.S | 167 #define state w13 define 686 # prob = probs + IsMatch + (state << kNumPosBitsMax) + posState; 778 LOAD_LZMA_VAR state, offset_state 782 shl state, PSHIFT 795 cmp state, 4 * PMULT 797 cmp state, kNumLitStates * PMULT 810 mov state, wzr 857 or state, (1 << FLAG_STATE_BITS) 899 tbz state, FLAG_STATE_BITS, copy_match 1029 // state [all...] |
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | v3_utl.c | 319 int state; in STACK_OF() local 327 state = HDR_NAME; in STACK_OF() 333 switch (state) { in STACK_OF() 336 state = HDR_VALUE; in STACK_OF() 360 state = HDR_NAME; in STACK_OF() 377 if (state == HDR_VALUE) { in STACK_OF() 747 int state = LABEL_START; in valid_star() local 756 int atstart = (state & LABEL_START); in valid_star() 763 if (star != NULL || (state & LABEL_IDNA) != 0 || dots) in valid_star() 773 state in valid_star() [all...] |
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/b32/x86/ |
H A D | mod.rs | 317 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() 318 self.cwd.hash(state); in hash() 319 self.swd.hash(state); in hash() 320 self.twd.hash(state); in hash() 321 self.fop.hash(state); in hash() 322 self.fip.hash(state); in hash() 323 self.fcs.hash(state); in hash() 324 self.foo.hash(state); in hash() 325 self.fos.hash(state); in hash() 326 self.mxcsr.hash(state); in hash() [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | protocol-dbus.c | 329 void *state = NULL; in find_handler_by_property() local 333 PA_HASHMAP_FOREACH(call_info->iface_entry, call_info->obj_entry->interfaces, state) { in find_handler_by_property() 355 void *state = NULL; in find_handler_by_method() local 359 PA_HASHMAP_FOREACH(call_info->iface_entry, call_info->obj_entry->interfaces, state) { in find_handler_by_method() 609 void *state = NULL; in register_object() local 614 PA_HASHMAP_FOREACH(conn_entry, p->connections, state) in register_object() 680 void *state = NULL; in extract_method_signatures() local 688 PA_HASHMAP_FOREACH(handler, method_handlers, state) { in extract_method_signatures() 811 void *state = NULL; in unregister_object() local 816 PA_HASHMAP_FOREACH(conn_entry, p->connections, state) in unregister_object() 876 void *state = NULL; register_all_objects() local 920 void *state = NULL; unregister_all_objects() local 1041 void *state = NULL; pa_dbus_protocol_send_signal() local 1076 void *state = NULL; pa_dbus_protocol_get_extensions() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/ |
H A D | DisplayEGL.cpp | 112 DisplayEGL::DisplayEGL(const egl::DisplayState &state) : DisplayGL(state) {} in DisplayEGL() argument 116 ImageImpl *DisplayEGL::createImage(const egl::ImageState &state, in createImage() argument 121 return new ImageEGL(state, context, target, attribs, mEGL); in createImage() 412 SurfaceImpl *DisplayEGL::createWindowSurface(const egl::SurfaceState &state, in createWindowSurface() argument 420 const EGLint configAttribList[] = {EGL_CONFIG_ID, mConfigIds[state.config->configID], EGL_NONE}; in createWindowSurface() 424 return new WindowSurfaceEGL(state, mEGL, config, window); in createWindowSurface() 427 SurfaceImpl *DisplayEGL::createPbufferSurface(const egl::SurfaceState &state, in createPbufferSurface() argument 434 const EGLint configAttribList[] = {EGL_CONFIG_ID, mConfigIds[state.config->configID], EGL_NONE}; in createPbufferSurface() 438 return new PbufferSurfaceEGL(state, mEG in createPbufferSurface() 444 ExternalSurfaceEGL(const egl::SurfaceState &state, const FunctionsEGL *egl, EGLConfig config, EGLint width, EGLint height) ExternalSurfaceEGL() argument 464 createPbufferFromClientBuffer(const egl::SurfaceState &state, EGLenum buftype, EGLClientBuffer clientBuffer, const egl::AttributeMap &attribs) createPbufferFromClientBuffer() argument 481 createPixmapSurface(const egl::SurfaceState &state, NativePixmapType nativePixmap, const egl::AttributeMap &attribs) createPixmapSurface() argument 489 createContext(const gl::State &state, gl::ErrorSet *errorSet, const egl::Config *configuration, const gl::Context *shareContext, const egl::AttributeMap &attribs) createContext() argument [all...] |
/third_party/openssl/crypto/x509/ |
H A D | v3_utl.c | 319 int state; in STACK_OF() local 327 state = HDR_NAME; in STACK_OF() 333 switch (state) { in STACK_OF() 336 state = HDR_VALUE; in STACK_OF() 360 state = HDR_NAME; in STACK_OF() 377 if (state == HDR_VALUE) { in STACK_OF() 747 int state = LABEL_START; in valid_star() local 756 int atstart = (state & LABEL_START); in valid_star() 763 if (star != NULL || (state & LABEL_IDNA) != 0 || dots) in valid_star() 773 state in valid_star() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | eap_pwd.c | 25 } state; member 62 static const char * eap_pwd_state_txt(int state) in eap_pwd_state_txt() argument 64 switch (state) { in eap_pwd_state_txt() 84 static void eap_pwd_state(struct eap_pwd_data *data, int state) in eap_pwd_state() argument 87 eap_pwd_state_txt(data->state), eap_pwd_state_txt(state)); in eap_pwd_state() 88 data->state = state; in eap_pwd_state() 169 data->state = PWD_ID_Req; in eap_pwd_init() 208 if (data->state ! in eap_pwd_getkey() [all...] |
H A D | eap_sim.c | 48 } state; member 56 static const char * eap_sim_state_txt(int state) in eap_sim_state_txt() argument 58 switch (state) { in eap_sim_state_txt() 74 static void eap_sim_state(struct eap_sim_data *data, int state) in eap_sim_state() argument 77 eap_sim_state_txt(data->state), in eap_sim_state() 78 eap_sim_state_txt(state)); in eap_sim_state() 79 data->state = state; in eap_sim_state() 838 if (data->state != FAILURE) { in eap_sim_process_challenge() 945 data->state in eap_sim_process_notification() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | eap_pwd.c | 25 } state; member 62 static const char * eap_pwd_state_txt(int state) in eap_pwd_state_txt() argument 64 switch (state) { in eap_pwd_state_txt() 84 static void eap_pwd_state(struct eap_pwd_data *data, int state) in eap_pwd_state() argument 87 eap_pwd_state_txt(data->state), eap_pwd_state_txt(state)); in eap_pwd_state() 88 data->state = state; in eap_pwd_state() 169 data->state = PWD_ID_Req; in eap_pwd_init() 208 if (data->state ! in eap_pwd_getkey() [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | texparam.c | 41 #include "main/state.h" 212 * This is called just prior to changing any texture object state which 223 * This is called just prior to changing any texture object state which 226 * state flag and then mark the texture object as 'incomplete' so that any 227 * per-texture derived state gets recomputed. 287 texObj->Sampler.Attrib.state.min_img_filter = filter_to_gallium(params[0]); in set_tex_parameteri() 288 texObj->Sampler.Attrib.state.min_mip_filter = mipfilter_to_gallium(params[0]); in set_tex_parameteri() 299 texObj->Sampler.Attrib.state.min_img_filter = filter_to_gallium(params[0]); in set_tex_parameteri() 300 texObj->Sampler.Attrib.state.min_mip_filter = mipfilter_to_gallium(params[0]); in set_tex_parameteri() 321 texObj->Sampler.Attrib.state in set_tex_parameteri() [all...] |
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | extension_impl.cpp | 88 * @param targetState The life cycle state to switch to. 97 want.GetElement().GetAbilityName().c_str(), lifecycleState_, targetState.state, targetState.isNewWant); in HandleExtensionTransaction() 98 if (lifecycleState_ == targetState.state) { in HandleExtensionTransaction() 99 TAG_LOGE(AAFwkTag::EXT, "lifecycle state equal"); in HandleExtensionTransaction() 104 switch (targetState.state) { in HandleExtensionTransaction() 134 TAG_LOGE(AAFwkTag::EXT, "error state"); in HandleExtensionTransaction() 141 AAFwk::AbilityManagerClient::GetInstance()->AbilityTransitionDone(token_, targetState.state, restoreData); in HandleExtensionTransaction() 242 auto asyncCallback = [ExtensionImplWeakPtr = weakPtr, state = AAFwk::ABILITY_STATE_INITIAL]() { in Stop() 249 extensionImpl->AbilityTransactionCallback(state); in Stop() 262 void ExtensionImpl::AbilityTransactionCallback(const AAFwk::AbilityLifeCycleState &state) in AbilityTransactionCallback() argument [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/canvas/ |
H A D | canvas_rendering_context_2d_model_impl.cpp | 30 void CanvasRenderingContext2DModelImpl::SetFillText(const PaintState& state, const FillTextInfo& fillTextInfo) in SetFillText() argument 36 void CanvasRenderingContext2DModelImpl::SetStrokeText(const PaintState& state, const FillTextInfo& fillTextInfo) in SetStrokeText() argument 407 double CanvasRenderingContext2DModelImpl::GetMeasureTextWidth(const PaintState& state, const std::string& text) in GetMeasureTextWidth() argument 409 return pattern_ ? pattern_->MeasureText(text, state) : 0.0; in GetMeasureTextWidth() 412 double CanvasRenderingContext2DModelImpl::GetMeasureTextHeight(const PaintState& state, const std::string& text) in GetMeasureTextHeight() argument 414 return pattern_ ? pattern_->MeasureTextHeight(text, state) : 0.0; in GetMeasureTextHeight() 500 TextMetrics CanvasRenderingContext2DModelImpl::GetMeasureTextMetrics(const PaintState& state, const std::string& text) in GetMeasureTextMetrics() argument 502 return pattern_ ? pattern_->MeasureTextMetrics(text, state) : TextMetrics {}; in GetMeasureTextMetrics()
|