/third_party/curl/lib/ |
H A D | http_negotiate.c | 53 curlnegotiate state; in Curl_input_negotiate() local 63 state = conn->proxy_negotiate_state; in Curl_input_negotiate() 75 state = conn->http_negotiate_state; in Curl_input_negotiate() 93 if(state == GSS_AUTHSUCC) { in Curl_input_negotiate() 97 else if(state != GSS_AUTHNONE) { in Curl_input_negotiate() 125 struct auth *authp = proxy ? &data->state.authproxy : &data->state.authhost; in Curl_output_negotiate() 126 curlnegotiate *state = proxy ? &conn->proxy_negotiate_state : in Curl_output_negotiate() local 135 if(*state == GSS_AUTHRECV) { in Curl_output_negotiate() 140 else if(*state in Curl_output_negotiate() [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_opt_preamble.c | 97 can_move_src(nir_src *src, void *state) in can_move_src() argument 99 opt_preamble_ctx *ctx = state; in can_move_src() 297 def_state *state = &ctx->states[ctx->def->index]; in update_src_value() local 317 state->value += src_state->value; in update_src_value() 355 def_state *state = &ctx.states[def->index]; in nir_opt_preamble() local 357 state->can_move = can_move_instr(instr, &ctx); in nir_opt_preamble() 381 def_state *state = &ctx.states[def->index]; in nir_opt_preamble() local 382 if (!state->can_move) in nir_opt_preamble() 385 state->value = get_instr_cost(instr, options); in nir_opt_preamble() 387 state in nir_opt_preamble() 442 def_state *state = &ctx.states[def->index]; nir_opt_preamble() local 499 def_state *state = candidates[i]; nir_opt_preamble() local 531 def_state *state = &ctx.states[def->index]; nir_opt_preamble() local 574 def_state *state = &ctx.states[def->index]; nir_opt_preamble() local [all...] |
/third_party/rust/crates/cxx/gen/build/src/syntax/ |
H A D | impls.rs | 43 fn hash<H: Hasher>(&self, state: &mut H) { in hash() 44 mem::discriminant(self).hash(state); in hash() 46 Type::Ident(t) => t.hash(state), in hash() 47 Type::RustBox(t) => t.hash(state), in hash() 48 Type::UniquePtr(t) => t.hash(state), in hash() 49 Type::SharedPtr(t) => t.hash(state), in hash() 50 Type::WeakPtr(t) => t.hash(state), in hash() 51 Type::Ref(t) => t.hash(state), in hash() 52 Type::Ptr(t) => t.hash(state), in hash() 53 Type::Str(t) => t.hash(state), in hash() [all...] |
/third_party/rust/crates/cxx/gen/lib/src/syntax/ |
H A D | impls.rs | 43 fn hash<H: Hasher>(&self, state: &mut H) { in hash() 44 mem::discriminant(self).hash(state); in hash() 46 Type::Ident(t) => t.hash(state), in hash() 47 Type::RustBox(t) => t.hash(state), in hash() 48 Type::UniquePtr(t) => t.hash(state), in hash() 49 Type::SharedPtr(t) => t.hash(state), in hash() 50 Type::WeakPtr(t) => t.hash(state), in hash() 51 Type::Ref(t) => t.hash(state), in hash() 52 Type::Ptr(t) => t.hash(state), in hash() 53 Type::Str(t) => t.hash(state), in hash() [all...] |
/third_party/rust/crates/cxx/macro/src/syntax/ |
H A D | impls.rs | 43 fn hash<H: Hasher>(&self, state: &mut H) { in hash() 44 mem::discriminant(self).hash(state); in hash() 46 Type::Ident(t) => t.hash(state), in hash() 47 Type::RustBox(t) => t.hash(state), in hash() 48 Type::UniquePtr(t) => t.hash(state), in hash() 49 Type::SharedPtr(t) => t.hash(state), in hash() 50 Type::WeakPtr(t) => t.hash(state), in hash() 51 Type::Ref(t) => t.hash(state), in hash() 52 Type::Ptr(t) => t.hash(state), in hash() 53 Type::Str(t) => t.hash(state), in hash() [all...] |
/third_party/rust/crates/cxx/syntax/ |
H A D | impls.rs | 43 fn hash<H: Hasher>(&self, state: &mut H) { in hash() 44 mem::discriminant(self).hash(state); in hash() 46 Type::Ident(t) => t.hash(state), in hash() 47 Type::RustBox(t) => t.hash(state), in hash() 48 Type::UniquePtr(t) => t.hash(state), in hash() 49 Type::SharedPtr(t) => t.hash(state), in hash() 50 Type::WeakPtr(t) => t.hash(state), in hash() 51 Type::Ref(t) => t.hash(state), in hash() 52 Type::Ptr(t) => t.hash(state), in hash() 53 Type::Str(t) => t.hash(state), in hash() [all...] |
/third_party/rust/crates/cxx/gen/cmd/src/syntax/ |
H A D | impls.rs | 43 fn hash<H: Hasher>(&self, state: &mut H) { in hash() 44 mem::discriminant(self).hash(state); in hash() 46 Type::Ident(t) => t.hash(state), in hash() 47 Type::RustBox(t) => t.hash(state), in hash() 48 Type::UniquePtr(t) => t.hash(state), in hash() 49 Type::SharedPtr(t) => t.hash(state), in hash() 50 Type::WeakPtr(t) => t.hash(state), in hash() 51 Type::Ref(t) => t.hash(state), in hash() 52 Type::Ptr(t) => t.hash(state), in hash() 53 Type::Str(t) => t.hash(state), in hash() [all...] |
/third_party/python/Modules/ |
H A D | _dbmmodule.c | 45 void *state = PyModule_GetState(module); in get_dbm_state() local 46 assert(state != NULL); in get_dbm_state() 47 return (_dbm_state *)state; in get_dbm_state() 72 newdbmobject(_dbm_state *state, const char *file, int flags, int mode) in newdbmobject() argument 74 dbmobject *dp = PyObject_GC_New(dbmobject, state->dbm_type); in newdbmobject() 84 PyErr_SetFromErrnoWithFilename(state->dbm_error, file); in newdbmobject() 114 _dbm_state *state = PyType_GetModuleState(Py_TYPE(dp)); in dbm_length() local 115 assert(state != NULL); in dbm_length() 117 PyErr_SetString(state->dbm_error, "DBM object has already been closed"); in dbm_length() 138 _dbm_state *state in dbm_subscript() local 170 _dbm_state *state = PyType_GetModuleState(Py_TYPE(dp)); dbm_ass_sub() local 246 _dbm_state *state = PyType_GetModuleState(cls); _dbm_dbm_keys_impl() local 277 _dbm_state *state = PyType_GetModuleState(Py_TYPE(dp)); dbm_contains() local 320 _dbm_state *state = PyType_GetModuleState(cls); _dbm_dbm_get_impl() local 353 _dbm_state *state = PyType_GetModuleState(cls); _dbm_dbm_setdefault_impl() local 463 _dbm_state *state = get_dbm_state(module); dbmopen_impl() local 511 _dbm_state *state = get_dbm_state(module); _dbm_exec() local 533 _dbm_state *state = get_dbm_state(module); _dbm_module_traverse() local 542 _dbm_state *state = get_dbm_state(module); _dbm_module_clear() local [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | load-elimination.cc | 90 if (AbstractState const* const state = node_states_.Get(effect)) { in Reduce() 91 PrintF(" state[%i]: #%d:%s\n", i, effect->id(), in Reduce() 93 state->Print(); in Reduce() 95 PrintF(" no state[%i]: #%d:%s\n", i, effect->id(), in Reduce() 273 AliasStateInfo(const AbstractState* state, Node* object, Handle<Map> map) in AliasStateInfo() argument 274 : state_(state), object_(object), map_(map) {} in AliasStateInfo() 275 AliasStateInfo(const AbstractState* state, Node* object) in AliasStateInfo() argument 276 : state_(state), object_(object) {} in AliasStateInfo() 732 Node* node, AbstractState const* state) { in Set() 735 info_for_node_[id] = state; in Set() 731 Set( Node* node, AbstractState const* state) Set() argument 742 AbstractState const* state = node_states_.Get(effect); ReduceMapGuard() local 757 AbstractState const* state = node_states_.Get(effect); ReduceCheckMaps() local 772 AbstractState const* state = node_states_.Get(effect); ReduceCompareMaps() local 790 AbstractState const* state = node_states_.Get(effect); ReduceEnsureWritableFastElements() local 817 AbstractState const* state = node_states_.Get(effect); ReduceMaybeGrowFastElements() local 847 AbstractState const* state = node_states_.Get(effect); ReduceTransitionElementsKind() local 886 AbstractState const* state = node_states_.Get(effect); ReduceTransitionAndStoreElement() local 911 AbstractState const* state = node_states_.Get(effect); ReduceLoadField() local 975 AbstractState const* state = node_states_.Get(effect); ReduceStoreField() local 1058 AbstractState const* state = node_states_.Get(effect); ReduceLoadElement() local 1109 AbstractState const* state = node_states_.Get(effect); ReduceStoreElement() local 1148 AbstractState const* state = node_states_.Get(effect); ReduceStoreTypedElement() local 1153 UpdateStateForPhi( AbstractState const* state, Node* effect_phi, Node* phi) UpdateStateForPhi() argument 1183 AbstractState const* state = ComputeLoopState(node, state0); ReduceEffectPhi() local 1197 AbstractState* state = zone()->New<AbstractState>(*state0); ReduceEffectPhi() local 1223 AbstractState const* state = node_states_.Get(effect); ReduceOtherNode() local 1243 UpdateState(Node* node, AbstractState const* state) UpdateState() argument 1257 ComputeLoopStateForStoreField( Node* current, LoadElimination::AbstractState const* state, FieldAccess const& access) const ComputeLoopStateForStoreField() argument [all...] |
/third_party/libwebsockets/lib/roles/h2/ |
H A D | minihuf.c | 4 * High efficiency lexical state parser 305 struct state { struct 307 int state[PARALLEL]; member 313 struct state state[2000]; variable 342 while (m < LWS_ARRAY_SIZE(state)) { in main() 344 state[m].state[j] = 0xffff; in main() 345 state[m].terminal = 0; in main() 359 if (state[wal in main() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | raw_hash_set_benchmark.cc | 150 // Model a cache in steady state. 153 void BM_CacheInSteadyState(benchmark::State& state) { in BM_CacheInSteadyState() argument 159 while (t.size() < state.range(0)) { in BM_CacheInSteadyState() 163 ABSL_RAW_CHECK(state.range(0) >= 10, ""); in BM_CacheInSteadyState() 164 while (state.KeepRunning()) { in BM_CacheInSteadyState() 183 state.SetItemsProcessed(state.iterations()); in BM_CacheInSteadyState() 184 state.SetLabel(absl::StrFormat("load_factor=%.2f", t.load_factor())); in BM_CacheInSteadyState() 191 // When the cache is at the steady state, the probe sequence will equal in CacheInSteadyStateArgs() 204 void BM_EndComparison(benchmark::State& state) { in BM_EndComparison() argument 223 BM_CopyCtor(benchmark::State& state) BM_CopyCtor() argument 240 BM_CopyAssign(benchmark::State& state) BM_CopyAssign() argument 257 BM_RangeCtor(benchmark::State& state) BM_RangeCtor() argument 274 BM_NoOpReserveIntTable(benchmark::State& state) BM_NoOpReserveIntTable() argument 284 BM_NoOpReserveStringTable(benchmark::State& state) BM_NoOpReserveStringTable() argument 294 BM_ReserveIntTable(benchmark::State& state) BM_ReserveIntTable() argument 306 BM_ReserveStringTable(benchmark::State& state) BM_ReserveStringTable() argument 326 BM_Group_Match(benchmark::State& state) BM_Group_Match() argument 338 BM_Group_MatchEmpty(benchmark::State& state) BM_Group_MatchEmpty() argument 346 BM_Group_MatchEmptyOrDeleted(benchmark::State& state) BM_Group_MatchEmptyOrDeleted() argument 354 BM_Group_CountLeadingEmptyOrDeleted(benchmark::State& state) BM_Group_CountLeadingEmptyOrDeleted() argument 363 BM_Group_MatchFirstEmptyOrDeleted(benchmark::State& state) BM_Group_MatchFirstEmptyOrDeleted() argument 371 BM_DropDeletes(benchmark::State& state) BM_DropDeletes() argument [all...] |
/drivers/peripheral/audio/test/benchmarktest/render/ |
H A D | audio_render_benchmarktest.cpp | 58 virtual void SetUp(const ::benchmark::State &state);
59 virtual void TearDown(const ::benchmark::State &state);
153 void AudioRenderBenchmarkTest::SetUp(const ::benchmark::State &state)
in SetUp() argument 176 void AudioRenderBenchmarkTest::TearDown(const ::benchmark::State &state)
in TearDown() argument 194 BENCHMARK_F(AudioRenderBenchmarkTest, StartAndStop)(benchmark::State &state)
in BENCHMARK_F() 198 for (auto _ : state) {
in BENCHMARK_F() 209 BENCHMARK_F(AudioRenderBenchmarkTest, Pause)(benchmark::State &state)
in BENCHMARK_F() 215 for (auto _ : state) {
in BENCHMARK_F() 227 BENCHMARK_F(AudioRenderBenchmarkTest, Resume)(benchmark::State &state)
in BENCHMARK_F() 236 for (auto _ : state) {
in BENCHMARK_F() [all...] |
/test/xts/hats/hdf/audio/idl/benchmarktest/render/ |
H A D | audio_render_benchmarktest.cpp | 57 virtual void SetUp(const ::benchmark::State &state);
58 virtual void TearDown(const ::benchmark::State &state);
152 void AudioRenderBenchmarkTest::SetUp(const ::benchmark::State &state)
in SetUp() argument 175 void AudioRenderBenchmarkTest::TearDown(const ::benchmark::State &state)
in TearDown() argument 194 BENCHMARK_F(AudioRenderBenchmarkTest, StartAndStop)(benchmark::State &state)
in BENCHMARK_F() 198 for (auto _ : state) {
in BENCHMARK_F() 209 BENCHMARK_F(AudioRenderBenchmarkTest, Pause)(benchmark::State &state)
in BENCHMARK_F() 215 for (auto _ : state) {
in BENCHMARK_F() 230 BENCHMARK_F(AudioRenderBenchmarkTest, Resume)(benchmark::State &state)
in BENCHMARK_F() 243 for (auto _ : state) {
in BENCHMARK_F() [all...] |
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_cmd_buffer.c | 132 cmd_buffer->state.render_pass_info.attachments); in pvr_cmd_buffer_destroy() 134 cmd_buffer->state.render_pass_info.clear_values); in pvr_cmd_buffer_destroy() 177 cmd_buffer->state.status = VK_SUCCESS; in pvr_cmd_buffer_create() 223 struct pvr_cmd_buffer_state *state = &cmd_buffer->state; in pvr_cmd_buffer_update_barriers() local 245 for (uint32_t i = 0; i < ARRAY_SIZE(state->barriers_needed); i++) in pvr_cmd_buffer_update_barriers() 246 state->barriers_needed[i] |= barriers; in pvr_cmd_buffer_update_barriers() 300 cmd_buffer->state.render_pass_info.framebuffer; in pvr_cmd_buffer_emit_ppp_state() 535 &cmd_buffer->state.render_pass_info; in pvr_load_op_constants_create_and_upload() 580 &cmd_buffer->state in pvr_load_op_pds_data_create_and_upload() 1332 struct pvr_cmd_buffer_state *state = &cmd_buffer->state; pvr_compute_generate_idfwdf() local 1419 struct pvr_cmd_buffer_state *state = &cmd_buffer->state; pvr_cmd_buffer_end_sub_cmd() local 1508 pvr_reset_graphics_dirty_state(struct pvr_cmd_buffer_state *state, bool start_geom) pvr_reset_graphics_dirty_state() argument 1583 struct pvr_cmd_buffer_state *state = &cmd_buffer->state; pvr_cmd_buffer_start_sub_cmd() local 1872 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_CmdSetViewport() local 1904 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_CmdSetScissor() local 1924 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_CmdSetLineWidth() local 1936 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_CmdSetDepthBias() local 1948 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_CmdSetBlendConstants() local 1970 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_CmdSetStencilCompareMask() local 1986 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_CmdSetStencilWriteMask() local 2002 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_CmdSetStencilReference() local 2091 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_CmdBindIndexBuffer() local 2117 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_CmdPushConstants() local 2133 struct pvr_cmd_buffer_state *state = &cmd_buffer->state; pvr_cmd_buffer_setup_attachments() local 2335 pvr_stash_depth_format(struct pvr_cmd_buffer_state *state, struct pvr_sub_cmd_gfx *const sub_cmd) pvr_stash_depth_format() argument 2380 struct pvr_cmd_buffer_state *state = &cmd_buffer->state; pvr_cmd_buffer_set_clear_values() local 2422 struct pvr_cmd_buffer_state *state = &cmd_buffer->state; pvr_CmdBeginRenderPass2() local 2509 struct pvr_cmd_buffer_state *state; pvr_BeginCommandBuffer() local 2604 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_setup_vertex_buffers() local 2938 struct pvr_cmd_buffer_state *state = &cmd_buffer->state; pvr_compute_update_shared() local 3038 struct pvr_cmd_buffer_state *state = &cmd_buffer->state; pvr_compute_update_kernel() local 3112 struct pvr_cmd_buffer_state *state = &cmd_buffer->state; pvr_CmdDispatch() local 3188 pvr_update_draw_state(struct pvr_cmd_buffer_state *const state, const struct pvr_cmd_buffer_draw_state *const draw_state) pvr_update_draw_state() argument 3239 const struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_emit_dirty_pds_state() local 3728 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_setup_fragment_state_pointers() local 3835 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_setup_viewport() local 3883 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_setup_ppp_control() local 3958 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_emit_ppp_state() local 4162 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_emit_dirty_ppp_state() local 4289 const struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_emit_dirty_vdm_state() local 4416 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_validate_draw_state() local 4615 struct pvr_cmd_buffer_state *state = &cmd_buffer->state; pvr_emit_vdm_index_list() local 4707 struct pvr_cmd_buffer_state *state = &cmd_buffer->state; pvr_CmdDraw() local 4742 struct pvr_cmd_buffer_state *state = &cmd_buffer->state; pvr_CmdDrawIndexed() local 4798 struct pvr_cmd_buffer_state *state = &cmd_buffer->state; pvr_CmdEndRenderPass2() local 4851 struct pvr_cmd_buffer_state *const state = &cmd_buffer->state; pvr_CmdPipelineBarrier2() local 4993 struct pvr_cmd_buffer_state *state = &cmd_buffer->state; pvr_EndCommandBuffer() local [all...] |
/device/soc/rockchip/common/sdk_linux/kernel/cgroup/ |
H A D | legacy_freezer.c | 28 * set if "FROZEN" is written to freezer.state cgroupfs file, and cleared 45 unsigned int state; member 70 ret = task_freezer(task)->state & CGROUP_FREEZING; in cgroup_freezing() 76 static const char *freezer_state_strs(unsigned int state) in freezer_state_strs() argument 78 if (state & CGROUP_FROZEN) { in freezer_state_strs() 81 if (state & CGROUP_FREEZING) { in freezer_state_strs() 104 * parent's freezing state while holding both parent's and our 114 freezer->state |= CGROUP_FREEZER_ONLINE; in freezer_css_online() 116 if (parent && (parent->state & CGROUP_FREEZING)) { in freezer_css_online() 117 freezer->state | in freezer_css_online() 360 freezer_apply_state(struct freezer *freezer, bool freeze, unsigned int state) freezer_apply_state() argument [all...] |
/foundation/multimedia/av_session/frameworks/native/session/test/benchmarktest/avsession_manager_test/ |
H A D | avsession_manager_test.cpp | 92 BENCHMARK_F(AVSessionManagerTest, CreatSession)(benchmark::State& state) in BENCHMARK_F() 98 while (state.KeepRunning()) { in BENCHMARK_F() 105 state.SkipWithError("CreatSession failed, return error."); in BENCHMARK_F() 118 BENCHMARK_F(AVSessionManagerTest, GetAllSessionDescriptors)(benchmark::State& state) in BENCHMARK_F() 128 state.SkipWithError("GetSessionDescriptorsBySessionId failed, return error."); in BENCHMARK_F() 131 while (state.KeepRunning()) { in BENCHMARK_F() 136 state.SkipWithError("GetAllSessionDescriptors failed, return error."); in BENCHMARK_F() 151 BENCHMARK_F(AVSessionManagerTest, GetActivatedSessionDescriptors)(benchmark::State& state) in BENCHMARK_F() 161 state.SkipWithError("GetSessionDescriptorsBySessionId failed, return error."); in BENCHMARK_F() 164 while (state in BENCHMARK_F() [all...] |
/third_party/benchmark/test/ |
H A D | multiple_ranges_test.cc | 31 void SetUp(const ::benchmark::State& state) override { 32 std::vector<int64_t> ranges = {state.range(0), state.range(1), 33 state.range(2)}; 67 BENCHMARK_DEFINE_F(MultipleRangesFixture, Empty)(benchmark::State& state) { in BENCHMARK_DEFINE_F() 68 for (auto _ : state) { in BENCHMARK_DEFINE_F() 69 int64_t product = state.range(0) * state.range(1) * state.range(2); in BENCHMARK_DEFINE_F() 81 void BM_CheckDefaultArgument(benchmark::State& state) { in BM_CheckDefaultArgument() argument [all...] |
/third_party/skia/third_party/externals/expat/expat/xmlwf/ |
H A D | xmlmime.c | 42 int state = init; in getTok() local 47 if (state == inAtom) in getTok() 54 if (state == inAtom) in getTok() 58 if (state == inAtom) in getTok() 60 if (state != inString) in getTok() 61 state++; in getTok() 64 if (state > init) in getTok() 65 --state; in getTok() 66 else if (state != inString) in getTok() 72 if (state in getTok() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | str_join_benchmark.cc | 26 void BM_Join2_Strings(benchmark::State& state) { in BM_Join2_Strings() argument 27 const int string_len = state.range(0); in BM_Join2_Strings() 28 const int num_strings = state.range(1); in BM_Join2_Strings() 31 for (auto _ : state) { in BM_Join2_Strings() 47 void BM_Join2_Ints(benchmark::State& state) { in BM_Join2_Ints() argument 48 const int num_ints = state.range(0); in BM_Join2_Ints() 50 for (auto _ : state) { in BM_Join2_Ints() 57 void BM_Join2_KeysAndValues(benchmark::State& state) { in BM_Join2_KeysAndValues() argument 58 const int string_len = state.range(0); in BM_Join2_KeysAndValues() 59 const int num_pairs = state in BM_Join2_KeysAndValues() 79 BM_JoinStreamable(benchmark::State& state) BM_JoinStreamable() argument [all...] |
H A D | escaping_benchmark.cc | 27 void BM_CUnescapeHexString(benchmark::State& state) { in BM_CUnescapeHexString() argument 33 for (auto _ : state) { in BM_CUnescapeHexString() 39 void BM_WebSafeBase64Escape_string(benchmark::State& state) { in BM_WebSafeBase64Escape_string() argument 49 for (auto _ : state) { in BM_WebSafeBase64Escape_string() 67 void CEscapeBenchmarkHelper(benchmark::State& state, const char* string_value, in CEscapeBenchmarkHelper() argument 74 for (auto _ : state) { in CEscapeBenchmarkHelper() 79 void BM_CEscape_NoEscape(benchmark::State& state) { in BM_CEscape_NoEscape() argument 80 CEscapeBenchmarkHelper(state, kStringValueNoEscape, state.range(0)); in BM_CEscape_NoEscape() 84 void BM_CEscape_SomeEscaped(benchmark::State& state) { in BM_CEscape_SomeEscaped() argument 89 BM_CEscape_MostEscaped(benchmark::State& state) BM_CEscape_MostEscaped() argument [all...] |
/device/soc/rockchip/common/sdk_linux/kernel/ |
H A D | cpu.c | 50 * cpuhp_cpu_state - Per cpu hotplug state storage 51 * @state: The current cpu state 52 * @target: The target state 58 * @cb_state: The state for a single callback (install/uninstall) 64 enum cpuhp_state state; member 115 * cpuhp_step - Hotplug state machine step 139 static struct cpuhp_step *cpuhp_get_step(enum cpuhp_state state) in cpuhp_get_step() argument 141 return cpuhp_hp_states + state; in cpuhp_get_step() 145 * cpuhp_invoke_callback _ Invoke the callbacks for a given state 154 cpuhp_invoke_callback(unsigned int cpu, enum cpuhp_state state, bool bringup, struct hlist_node *node, struct hlist_node **lastp) cpuhp_invoke_callback() argument 248 cpuhp_is_ap_state(enum cpuhp_state state) cpuhp_is_ap_state() argument 272 cpuhp_is_atomic_state(enum cpuhp_state state) cpuhp_is_atomic_state() argument 702 enum cpuhp_state state; cpuhp_thread_fun() local 773 cpuhp_invoke_ap_callback(int cpu, enum cpuhp_state state, bool bringup, struct hlist_node *node) cpuhp_invoke_ap_callback() argument 1279 cpuhp_online_idle(enum cpuhp_state state) cpuhp_online_idle() argument 1824 cpuhp_cb_check(enum cpuhp_state state) cpuhp_cb_check() argument 1837 cpuhp_reserve_state(enum cpuhp_state state) cpuhp_reserve_state() argument 1864 cpuhp_store_callbacks(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu), bool multi_instance) cpuhp_store_callbacks() argument 1900 cpuhp_get_teardown_cb(enum cpuhp_state state) cpuhp_get_teardown_cb() argument 1909 cpuhp_issue_call(int cpu, enum cpuhp_state state, bool bringup, struct hlist_node *node) cpuhp_issue_call() argument 1943 cpuhp_rollback_install(int failedcpu, enum cpuhp_state state, struct hlist_node *node) cpuhp_rollback_install() argument 1964 __cpuhp_state_add_instance_cpuslocked(enum cpuhp_state state, struct hlist_node *node, bool invoke) __cpuhp_state_add_instance_cpuslocked() argument 2012 __cpuhp_state_add_instance(enum cpuhp_state state, struct hlist_node *node, bool invoke) __cpuhp_state_add_instance() argument 2040 __cpuhp_setup_state_cpuslocked(enum cpuhp_state state, const char *name, bool invoke, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu), bool multi_instance) __cpuhp_setup_state_cpuslocked() argument 2102 __cpuhp_setup_state(enum cpuhp_state state, const char *name, bool invoke, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu), bool multi_instance) __cpuhp_setup_state() argument 2114 __cpuhp_state_remove_instance(enum cpuhp_state state, struct hlist_node *node, bool invoke) __cpuhp_state_remove_instance() argument 2165 __cpuhp_remove_state_cpuslocked(enum cpuhp_state state, bool invoke) __cpuhp_remove_state_cpuslocked() argument 2204 __cpuhp_remove_state(enum cpuhp_state state, bool invoke) __cpuhp_remove_state() argument 2492 const char *state = smt_states[cpu_smt_control]; show_smt_control() local [all...] |
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | resource_adapter_impl_v2.cpp | 288 auto state = manager->GetPatternByName(patternTag.c_str(), attrMap); in GetPatternByName() local 289 if (state != Global::Resource::SUCCESS) { in GetPatternByName() 305 auto state = manager->GetColorById(resId, result); in GetColor() local 306 if (state != Global::Resource::SUCCESS) { in GetColor() 319 auto state = manager->GetColorByName(actualResName.c_str(), result); in GetColorByName() local 320 if (state != Global::Resource::SUCCESS) { in GetColorByName() 322 resName.c_str(), state); in GetColorByName() 334 auto state = manager->GetFloatById(resId, dimensionFloat, unit); in GetDimension() local 335 if (state != Global::Resource::SUCCESS) { in GetDimension() 337 resId, state); in GetDimension() 373 auto state = manager->GetFloatByName(actualResName.c_str(), dimensionFloat, unit); GetDimensionByName() local 386 auto state = manager->GetStringById(resId, strResult); GetString() local 399 auto state = manager->GetStringByName(actualResName.c_str(), strResult); GetStringByName() local 412 auto state = manager->GetPluralStringById(resId, quantity, strResult); GetPluralString() local 426 auto state = manager->GetPluralStringByName(actualResName.c_str(), quantity, strResult); GetPluralStringByName() local 439 auto state = manager->GetStringArrayById(resId, strResults); GetStringArray() local 453 auto state = manager->GetStringArrayByName(actualResName.c_str(), strResults); GetStringArrayByName() local 466 auto state = manager->GetFloatById(resId, result); GetDouble() local 479 auto state = manager->GetFloatByName(actualResName.c_str(), result); GetDoubleByName() local 492 auto state = manager->GetIntegerById(resId, result); GetInt() local 505 auto state = manager->GetIntegerByName(actualResName.c_str(), result); GetIntByName() local 519 auto state = manager->GetIntArrayById(resId, intVectorResult); GetIntArray() local 539 auto state = manager->GetIntArrayByName(actualResName.c_str(), intVectorResult); GetIntArrayByName() local 556 auto state = manager->GetBooleanById(resId, result); GetBoolean() local 569 auto state = manager->GetBooleanByName(actualResName.c_str(), result); GetBooleanByName() local 583 Global::Resource::RState state; GetPixelMap() local 600 auto state = manager->GetMediaById(resId, mediaPath); GetMediaPath() local 622 auto state = manager->GetMediaByName(actualResName.c_str(), mediaPath); GetMediaPathByName() local 654 auto state = manager->GetRawFilePathByName(newFileName, outPath); GetRawfile() local 675 auto state = manager->GetRawFileFromHap(rawFile, len, dest); GetRawFileData() local 689 auto state = manager->GetRawFileFromHap(rawFile, len, dest); GetRawFileData() local 704 auto state = manager->GetMediaDataById(resId, len, dest); GetMediaData() local 717 auto state = manager->GetMediaDataById(resId, len, dest); GetMediaData() local 731 auto state = manager->GetMediaDataByName(resName.c_str(), len, dest); GetMediaData() local 745 auto state = manager->GetMediaDataByName(resName.c_str(), len, dest); GetMediaData() local 762 auto state = manager->GetRawFileDescriptorFromHap(rawfileName, descriptor); GetRawFileDescription() local 778 auto state = manager->CloseRawFileDescriptor(rawfileName); CloseRawFileDescription() local 790 auto state = manager->GetMediaById(resId, mediaPath); GetMediaById() local 820 auto state = manager->GetSymbolByName(actualResName.c_str(), result); GetSymbolByName() local [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_nir_apply_pipeline_layout.c | 32 * that we don't end up emitting too much state on-the-fly. 66 struct apply_pipeline_layout_state *state) in addr_format_for_desc_type() 71 return state->ssbo_addr_format; in addr_format_for_desc_type() 75 return state->ubo_addr_format; in addr_format_for_desc_type() 78 return state->desc_addr_format; in addr_format_for_desc_type() 86 add_binding(struct apply_pipeline_layout_state *state, in add_binding() argument 90 &state->layout->set[set].layout->binding[binding]; in add_binding() 92 if (state->set[set].use_count[binding] < UINT8_MAX) in add_binding() 93 state->set[set].use_count[binding]++; in add_binding() 100 state in add_binding() 65 addr_format_for_desc_type(VkDescriptorType desc_type, struct apply_pipeline_layout_state *state) addr_format_for_desc_type() argument 104 add_deref_src_binding(struct apply_pipeline_layout_state *state, nir_src src) add_deref_src_binding() argument 112 add_tex_src_binding(struct apply_pipeline_layout_state *state, nir_tex_instr *tex, nir_tex_src_type deref_src_type) add_tex_src_binding() argument 125 struct apply_pipeline_layout_state *state = _state; get_used_bindings() local 180 find_descriptor_for_index_src(nir_src src, struct apply_pipeline_layout_state *state) find_descriptor_for_index_src() argument 195 descriptor_has_bti(nir_intrinsic_instr *intrin, struct apply_pipeline_layout_state *state) descriptor_has_bti() argument 216 descriptor_address_format(nir_intrinsic_instr *intrin, struct apply_pipeline_layout_state *state) descriptor_address_format() argument 225 nir_deref_find_descriptor(nir_deref_instr *deref, struct apply_pipeline_layout_state *state) nir_deref_find_descriptor() argument 248 build_load_descriptor_mem(nir_builder *b, nir_ssa_def *desc_addr, unsigned desc_offset, unsigned num_components, unsigned bit_size, struct apply_pipeline_layout_state *state) build_load_descriptor_mem() argument 306 build_res_index(nir_builder *b, uint32_t set, uint32_t binding, nir_ssa_def *array_index, nir_address_format addr_format, struct apply_pipeline_layout_state *state) build_res_index() argument 434 build_desc_addr(nir_builder *b, const struct anv_descriptor_set_binding_layout *bind_layout, const VkDescriptorType desc_type, nir_ssa_def *index, nir_address_format addr_format, struct apply_pipeline_layout_state *state) build_desc_addr() argument 492 build_buffer_addr_for_res_index(nir_builder *b, const VkDescriptorType desc_type, nir_ssa_def *res_index, nir_address_format addr_format, struct apply_pipeline_layout_state *state) build_buffer_addr_for_res_index() argument 570 build_load_var_deref_descriptor_mem(nir_builder *b, nir_deref_instr *deref, unsigned desc_offset, unsigned num_components, unsigned bit_size, struct apply_pipeline_layout_state *state) build_load_var_deref_descriptor_mem() argument 618 build_res_index_for_chain(nir_builder *b, nir_intrinsic_instr *intrin, nir_address_format addr_format, uint32_t *set, uint32_t *binding, struct apply_pipeline_layout_state *state) build_res_index_for_chain() argument 649 build_buffer_addr_for_idx_intrin(nir_builder *b, nir_intrinsic_instr *idx_intrin, nir_address_format addr_format, struct apply_pipeline_layout_state *state) build_buffer_addr_for_idx_intrin() argument 674 build_buffer_addr_for_deref(nir_builder *b, nir_deref_instr *deref, nir_address_format addr_format, struct apply_pipeline_layout_state *state) build_buffer_addr_for_deref() argument 698 try_lower_direct_buffer_intrinsic(nir_builder *b, nir_intrinsic_instr *intrin, bool is_atomic, struct apply_pipeline_layout_state *state) try_lower_direct_buffer_intrinsic() argument 752 lower_load_accel_struct_desc(nir_builder *b, nir_intrinsic_instr *load_desc, struct apply_pipeline_layout_state *state) lower_load_accel_struct_desc() argument 796 struct apply_pipeline_layout_state *state = _state; lower_direct_buffer_instr() local 862 lower_res_index_intrinsic(nir_builder *b, nir_intrinsic_instr *intrin, struct apply_pipeline_layout_state *state) lower_res_index_intrinsic() argument 887 lower_res_reindex_intrinsic(nir_builder *b, nir_intrinsic_instr *intrin, struct apply_pipeline_layout_state *state) lower_res_reindex_intrinsic() argument 911 lower_load_vulkan_descriptor(nir_builder *b, nir_intrinsic_instr *intrin, struct apply_pipeline_layout_state *state) lower_load_vulkan_descriptor() argument 959 lower_get_ssbo_size(nir_builder *b, nir_intrinsic_instr *intrin, struct apply_pipeline_layout_state *state) lower_get_ssbo_size() argument 1007 lower_image_intrinsic(nir_builder *b, nir_intrinsic_instr *intrin, struct apply_pipeline_layout_state *state) lower_image_intrinsic() argument 1062 lower_load_constant(nir_builder *b, nir_intrinsic_instr *intrin, struct apply_pipeline_layout_state *state) lower_load_constant() argument 1110 lower_tex_deref(nir_builder *b, nir_tex_instr *tex, nir_tex_src_type deref_src_type, unsigned *base_index, unsigned plane, struct apply_pipeline_layout_state *state) lower_tex_deref() argument 1238 lower_gfx7_tex_swizzle(nir_builder *b, nir_tex_instr *tex, unsigned plane, struct apply_pipeline_layout_state *state) lower_gfx7_tex_swizzle() argument 1305 lower_tex(nir_builder *b, nir_tex_instr *tex, struct apply_pipeline_layout_state *state) lower_tex() argument 1328 lower_ray_query_globals(nir_builder *b, nir_intrinsic_instr *intrin, struct apply_pipeline_layout_state *state) lower_ray_query_globals() argument 1345 struct apply_pipeline_layout_state *state = _state; apply_pipeline_layout() local 1422 struct apply_pipeline_layout_state state = { anv_nir_apply_pipeline_layout() local [all...] |
/base/notification/common_event_service/test/benchmarktest/common_event_service_test/ |
H A D | common_event_manager_service_test.cpp | 44 void SetUp(const ::benchmark::State &state) override
46 void TearDown(const ::benchmark::State &state) override
68 BENCHMARK_F(BenchmarkCommonEventManagerService, CommonEventSubscribeTestCase001)(benchmark::State &state)
in BENCHMARK_F() 77 while (state.KeepRunning()) {
in BENCHMARK_F() 81 state.SkipWithError("SubscribeCommonEvent failed.");
in BENCHMARK_F() 92 BENCHMARK_F(BenchmarkCommonEventManagerService, CommonEventSubscribeTestCase002)(benchmark::State &state)
in BENCHMARK_F() 101 while (state.KeepRunning()) {
in BENCHMARK_F() 105 state.SkipWithError("SubscribeCommonEvent failed.");
in BENCHMARK_F() 116 BENCHMARK_F(BenchmarkCommonEventManagerService, CommonEventSubscribeTestCase003)(benchmark::State &state)
in BENCHMARK_F() 125 while (state in BENCHMARK_F() [all...] |
/third_party/pulseaudio/src/pulsecore/resampler/ |
H A D | speex.c | 60 SpeexResamplerState *state; in speex_resample_float() local 67 state = r->impl.data; in speex_resample_float() 82 pa_assert_se(speex_resampler_process_interleaved_float(state, in, &inf, out, &outf) == 0); in speex_resample_float() 96 SpeexResamplerState *state; in speex_resample_int() local 103 state = r->impl.data; in speex_resample_int() 108 pa_assert_se(speex_resampler_process_interleaved_int(state, in, &inf, out, &outf) == 0); in speex_resample_int() 120 SpeexResamplerState *state; in speex_update_rates() local 123 state = r->impl.data; in speex_update_rates() 125 pa_assert_se(speex_resampler_set_rate(state, r->i_ss.rate, r->o_ss.rate) == 0); in speex_update_rates() 129 SpeexResamplerState *state; in speex_reset() local 139 SpeexResamplerState *state; speex_free() local 151 SpeexResamplerState *state; pa_resampler_speex_init() local [all...] |