/third_party/musl/Benchmark/musl/ |
H A D | libc_network.cpp | 25 static void Bm_function_Getaddrinfo_Freeaddrinfo_external_network(benchmark::State &state) in Bm_function_Getaddrinfo_Freeaddrinfo_external_network() argument 28 for (auto _ : state) { in Bm_function_Getaddrinfo_Freeaddrinfo_external_network() 37 state.SetBytesProcessed(state.iterations()); in Bm_function_Getaddrinfo_Freeaddrinfo_external_network() 40 static void Bm_function_Getaddrinfo_Freeaddrinfo_intranet1(benchmark::State &state) in Bm_function_Getaddrinfo_Freeaddrinfo_intranet1() argument 47 for (auto _ : state) { in Bm_function_Getaddrinfo_Freeaddrinfo_intranet1() 56 state.SetBytesProcessed(state.iterations()); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet1() 59 static void Bm_function_Getaddrinfo_Freeaddrinfo_intranet2(benchmark::State &state) in Bm_function_Getaddrinfo_Freeaddrinfo_intranet2() argument 66 for (auto _ : state) { in Bm_function_Getaddrinfo_Freeaddrinfo_intranet2() 78 Bm_function_Getaddrinfo_Freeaddrinfo_intranet3(benchmark::State &state) Bm_function_Getaddrinfo_Freeaddrinfo_intranet3() argument 97 Bm_function_Getaddrinfo_Freeaddrinfo_intranet4(benchmark::State &state) Bm_function_Getaddrinfo_Freeaddrinfo_intranet4() argument 116 Bm_function_Getaddrinfo_Freeaddrinfo_intranet5(benchmark::State &state) Bm_function_Getaddrinfo_Freeaddrinfo_intranet5() argument 135 Bm_function_Getaddrinfo_Freeaddrinfo_intranet6(benchmark::State &state) Bm_function_Getaddrinfo_Freeaddrinfo_intranet6() argument 154 Bm_function_Getaddrinfo_Freeaddrinfo_intranet7(benchmark::State &state) Bm_function_Getaddrinfo_Freeaddrinfo_intranet7() argument 169 Bm_function_Network_ntohs(benchmark::State &state) Bm_function_Network_ntohs() argument 177 Bm_function_Inet_pton(benchmark::State &state) Bm_function_Inet_pton() argument 185 Bm_function_Inet_ntop(benchmark::State &state) Bm_function_Inet_ntop() argument 196 Bm_function_Inet_ntop_ipv6(benchmark::State &state) Bm_function_Inet_ntop_ipv6() argument [all...] |
H A D | libc_time.cpp | 31 static void Bm_function_Nanosleep_0ns(benchmark::State &state) in Bm_function_Nanosleep_0ns() argument 35 for (auto _ : state) { in Bm_function_Nanosleep_0ns() 40 static void Bm_function_Nanosleep_10ns(benchmark::State &state) in Bm_function_Nanosleep_10ns() argument 44 for (auto _ : state) { in Bm_function_Nanosleep_10ns() 49 static void Bm_function_Nanosleep_100ns(benchmark::State &state) in Bm_function_Nanosleep_100ns() argument 53 for (auto _ : state) { in Bm_function_Nanosleep_100ns() 59 static void Bm_function_Tzset(benchmark::State &state) in Bm_function_Tzset() argument 61 while (state.KeepRunning()) { in Bm_function_Tzset() 65 static void Bm_function_Clock_nanosleep_realtime(benchmark::State &state) in Bm_function_Clock_nanosleep_realtime() argument 69 for (auto _ : state) { in Bm_function_Clock_nanosleep_realtime() 74 Bm_function_Clock_nanosleep_realtime_raw(benchmark::State &state) Bm_function_Clock_nanosleep_realtime_raw() argument 83 Bm_function_Clock_nanosleep_realtime_coarse(benchmark::State &state) Bm_function_Clock_nanosleep_realtime_coarse() argument 92 Bm_function_Clock_nanosleep_monotonic(benchmark::State &state) Bm_function_Clock_nanosleep_monotonic() argument 100 Bm_function_Clock_nanosleep_monotonic_coarse(benchmark::State &state) Bm_function_Clock_nanosleep_monotonic_coarse() argument 108 Bm_function_Clock_nanosleep_monotonic_raw(benchmark::State &state) Bm_function_Clock_nanosleep_monotonic_raw() argument 116 Bm_function_Clock_nanosleep_boottime(benchmark::State &state) Bm_function_Clock_nanosleep_boottime() argument 127 Bm_function_Strftime(benchmark::State &state) Bm_function_Strftime() argument 137 Bm_function_Mktime(benchmark::State &state) Bm_function_Mktime() argument 146 Bm_function_Gmtime(benchmark::State &state) Bm_function_Gmtime() argument 154 Bm_function_Timerfd_settime(benchmark::State &state) Bm_function_Timerfd_settime() argument 182 Bm_function_Ctime_r(benchmark::State &state) Bm_function_Ctime_r() argument 210 Bm_function_Setitimer_realtime(benchmark::State &state) Bm_function_Setitimer_realtime() argument 228 Bm_function_Setitimer_peoftime(benchmark::State &state) Bm_function_Setitimer_peoftime() argument 246 Bm_function_Setitimer_virtualtime(benchmark::State &state) Bm_function_Setitimer_virtualtime() argument 269 Bm_function_Timer(benchmark::State &state) Bm_function_Timer() argument 305 Bm_function_Asctime(benchmark::State &state) Bm_function_Asctime() argument 322 Bm_function_Gmtime_r(benchmark::State &state) Bm_function_Gmtime_r() argument 331 Bm_function_Timegm(benchmark::State &state) Bm_function_Timegm() argument 349 Bm_function_Strptime(benchmark::State &state) Bm_function_Strptime() argument [all...] |
/third_party/python/Modules/_sre/ |
H A D | sre.c | 77 #define SRE_ERROR_STATE -2 /* illegal state */ 89 /* search engine state */ 198 data_stack_dealloc(SRE_STATE* state) in data_stack_dealloc() argument 200 if (state->data_stack) { in data_stack_dealloc() 201 PyMem_Free(state->data_stack); in data_stack_dealloc() 202 state->data_stack = NULL; in data_stack_dealloc() 204 state->data_stack_size = state->data_stack_base = 0; in data_stack_dealloc() 208 data_stack_grow(SRE_STATE* state, Py_ssize_t size) in data_stack_grow() argument 211 minsize = state in data_stack_grow() 262 _sremodulestate *state = (_sremodulestate *)_PyModule_GetState(m); get_sre_module_state() local 357 state_reset(SRE_STATE* state) state_reset() argument 411 state_init(SRE_STATE* state, PatternObject* pattern, PyObject* string, Py_ssize_t start, Py_ssize_t end) state_init() argument 485 state_fini(SRE_STATE* state) state_fini() argument 519 state_getslice(SRE_STATE* state, Py_ssize_t index, PyObject* string, int empty) state_getslice() argument 648 SRE_STATE state; _sre_SRE_Pattern_match_impl() local 691 SRE_STATE state; _sre_SRE_Pattern_fullmatch_impl() local 737 SRE_STATE state; _sre_SRE_Pattern_search_impl() local 802 SRE_STATE state; _sre_SRE_Pattern_findall_impl() local 960 SRE_STATE state; _sre_SRE_Pattern_split_impl() local 1057 SRE_STATE state; pattern_subx() local 2447 pattern_new_match(_sremodulestate* module_state, PatternObject* pattern, SRE_STATE* state, Py_ssize_t status) pattern_new_match() argument 2585 SRE_STATE* state = &self->state; _sre_SRE_Scanner_match_impl() local 2635 SRE_STATE* state = &self->state; _sre_SRE_Scanner_search_impl() local 2942 _sremodulestate *state = get_sre_module_state(module); sre_traverse() local 2954 _sremodulestate *state = get_sre_module_state(module); sre_clear() local 2992 _sremodulestate *state; sre_exec() local [all...] |
H A D | sre_lib.h | 16 SRE(at)(SRE_STATE* state, const SRE_CHAR* ptr, SRE_CODE at) in at() argument 26 return ((void*) ptr == state->beginning); in at() 29 return ((void*) ptr == state->beginning || in at() 33 return (((SRE_CHAR *)state->end - ptr == 1 && in at() 35 ((void*) ptr == state->end)); in at() 38 return ((void*) ptr == state->end || in at() 42 return ((void*) ptr == state->end); in at() 45 if (state->beginning == state->end) in at() 47 thatp = ((void*) ptr > state in at() 104 charset(SRE_STATE* state, const SRE_CODE* set, SRE_CODE ch) charset() argument 191 charset_loc_ignore(SRE_STATE* state, const SRE_CODE* set, SRE_CODE ch) charset_loc_ignore() argument 205 count(SRE_STATE* state, const SRE_CODE* pattern, Py_ssize_t maxcount) count() argument 560 match(SRE_STATE* state, const SRE_CODE* pattern, int toplevel) match() argument 1631 search(SRE_STATE* state, SRE_CODE* pattern) search() argument [all...] |
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/ |
H A D | bundlemgr_proxy_test.cpp | 110 static void BenchmarkTestGetApplicationInfoByFlag(benchmark::State &state)
in BenchmarkTestGetApplicationInfoByFlag() argument 115 for (auto _ : state) {
in BenchmarkTestGetApplicationInfoByFlag() 131 static void BenchmarkTestGetApplicationInfoByUserId(benchmark::State &state)
in BenchmarkTestGetApplicationInfoByUserId() argument 137 for (auto _ : state) {
in BenchmarkTestGetApplicationInfoByUserId() 153 static void BenchmarkTestGetApplicationInfosByApplicationFlag(benchmark::State &state)
in BenchmarkTestGetApplicationInfosByApplicationFlag() argument 158 for (auto _ : state) {
in BenchmarkTestGetApplicationInfosByApplicationFlag() 175 static void BenchmarkTestGetApplicationInfosByFlags(benchmark::State &state)
in BenchmarkTestGetApplicationInfosByFlags() argument 181 for (auto _ : state) {
in BenchmarkTestGetApplicationInfosByFlags() 197 static void BenchmarkTestGetBundleInfoByBundleFlag(benchmark::State &state)
in BenchmarkTestGetBundleInfoByBundleFlag() argument 202 for (auto _ : state) {
in BenchmarkTestGetBundleInfoByBundleFlag() 217 BenchmarkTestGetBundleInfoByFlags(benchmark::State &state) BenchmarkTestGetBundleInfoByFlags() argument 239 BenchmarkTestGetBundleInfosByBundleFlag(benchmark::State &state) BenchmarkTestGetBundleInfosByBundleFlag() argument 260 BenchmarkTestGetBundleInfosByFlags(benchmark::State &state) BenchmarkTestGetBundleInfosByFlags() argument 282 BenchmarkTestGetUidByBundleName(benchmark::State &state) BenchmarkTestGetUidByBundleName() argument 300 BenchmarkTestGetAppIdByBundleName(benchmark::State &state) BenchmarkTestGetAppIdByBundleName() argument 318 BenchmarkTestGetBundlesForUid(benchmark::State &state) BenchmarkTestGetBundlesForUid() argument 338 BenchmarkTestGetNameForUid(benchmark::State &state) BenchmarkTestGetNameForUid() argument 358 BenchmarkTestGetAppType(benchmark::State &state) BenchmarkTestGetAppType() argument 377 BenchmarkTestCheckIsSystemAppByUid(benchmark::State &state) BenchmarkTestCheckIsSystemAppByUid() argument 396 BenchmarkTestGetBundleInfosByMetaData(benchmark::State &state) BenchmarkTestGetBundleInfosByMetaData() argument 417 BenchmarkTestQueryAbilityInfo(benchmark::State &state) BenchmarkTestQueryAbilityInfo() argument 440 BenchmarkTestQueryAbilityInfoByFlags(benchmark::State &state) BenchmarkTestQueryAbilityInfoByFlags() argument 467 BenchmarkTestQueryAbilityInfos(benchmark::State &state) BenchmarkTestQueryAbilityInfos() argument 494 BenchmarkTestQueryAbilityInfosByFlags(benchmark::State &state) BenchmarkTestQueryAbilityInfosByFlags() argument 520 BenchmarkTestQueryAbilityInfosById(benchmark::State &state) BenchmarkTestQueryAbilityInfosById() argument 547 BenchmarkTestQueryAbilityInfoByUri(benchmark::State &state) BenchmarkTestQueryAbilityInfoByUri() argument 569 BenchmarkTestQueryAbilityInfoByUriAndId(benchmark::State &state) BenchmarkTestQueryAbilityInfoByUriAndId() argument 591 BenchmarkTestQueryAbilityInfosByUri(benchmark::State &state) BenchmarkTestQueryAbilityInfosByUri() argument 613 BenchmarkTestQueryKeepAliveBundleInfos(benchmark::State &state) BenchmarkTestQueryKeepAliveBundleInfos() argument 634 BenchmarkTestGetAbilityLabel(benchmark::State &state) BenchmarkTestGetAbilityLabel() argument 653 BenchmarkTestGetBundleArchiveInfo(benchmark::State &state) BenchmarkTestGetBundleArchiveInfo() argument 673 BenchmarkTestGetBundleArchiveInfoByFlag(benchmark::State &state) BenchmarkTestGetBundleArchiveInfoByFlag() argument 693 BenchmarkTestGetLaunchWantForBundle(benchmark::State &state) BenchmarkTestGetLaunchWantForBundle() argument 713 BenchmarkTestGetPermissionDef(benchmark::State &state) BenchmarkTestGetPermissionDef() argument 735 BenchmarkTestCleanBundleDataFiles(benchmark::State &state) BenchmarkTestCleanBundleDataFiles() argument 754 BenchmarkTestRegisterBundleStatusCallback(benchmark::State &state) BenchmarkTestRegisterBundleStatusCallback() argument 775 BenchmarkTestClearBundleStatusCallback(benchmark::State &state) BenchmarkTestClearBundleStatusCallback() argument 796 BenchmarkTestUnregisterBundleStatusCallback(benchmark::State &state) BenchmarkTestUnregisterBundleStatusCallback() argument 815 BenchmarkTestDumpInfos(benchmark::State &state) BenchmarkTestDumpInfos() argument 837 BenchmarkTestIsApplicationEnabled(benchmark::State &state) BenchmarkTestIsApplicationEnabled() argument 857 BenchmarkTestSetApplicationEnabled(benchmark::State &state) BenchmarkTestSetApplicationEnabled() argument 876 BenchmarkTestIsAbilityEnabled(benchmark::State &state) BenchmarkTestIsAbilityEnabled() argument 898 BenchmarkTestSetAbilityEnabled(benchmark::State &state) BenchmarkTestSetAbilityEnabled() argument 919 BenchmarkTestGetBundleInstaller(benchmark::State &state) BenchmarkTestGetBundleInstaller() argument 938 BenchmarkTestGetBundleUserMgr(benchmark::State &state) BenchmarkTestGetBundleUserMgr() argument 957 BenchmarkTestGetAllFormsInfo(benchmark::State &state) BenchmarkTestGetAllFormsInfo() argument 978 BenchmarkTestGetFormsInfoByApp(benchmark::State &state) BenchmarkTestGetFormsInfoByApp() argument 999 BenchmarkTestGetFormsInfoByModule(benchmark::State &state) BenchmarkTestGetFormsInfoByModule() argument 1020 BenchmarkTestGetShortcutInfos(benchmark::State &state) BenchmarkTestGetShortcutInfos() argument 1041 BenchmarkTestGetAllCommonEventInfo(benchmark::State &state) BenchmarkTestGetAllCommonEventInfo() argument 1062 BenchmarkTestGetDistributedBundleInfo(benchmark::State &state) BenchmarkTestGetDistributedBundleInfo() argument 1085 BenchmarkTestGetAppPrivilegeLevel(benchmark::State &state) BenchmarkTestGetAppPrivilegeLevel() argument 1104 BenchmarkTestQueryExtensionAbilityInfosByWant(benchmark::State &state) BenchmarkTestQueryExtensionAbilityInfosByWant() argument 1130 BenchmarkTestQueryExtensionAbilityInfosByType(benchmark::State &state) BenchmarkTestQueryExtensionAbilityInfosByType() argument 1150 BenchmarkTestQueryExtensionAbilityInfos(benchmark::State &state) BenchmarkTestQueryExtensionAbilityInfos() argument 1176 BenchmarkTestVerifyCallingPermission(benchmark::State &state) BenchmarkTestVerifyCallingPermission() argument 1196 BenchmarkTestQueryExtensionAbilityInfoByUri(benchmark::State &state) BenchmarkTestQueryExtensionAbilityInfoByUri() argument 1217 BenchmarkTestImplicitQueryInfoByPriority(benchmark::State &state) BenchmarkTestImplicitQueryInfoByPriority() argument 1244 BenchmarkTestGetSandboxBundleInfo(benchmark::State &state) BenchmarkTestGetSandboxBundleInfo() argument 1264 BenchmarkTestGetAbilityInfo(benchmark::State &state) BenchmarkTestGetAbilityInfo() argument 1285 BenchmarkTestGetAbilityInfoByModuleName(benchmark::State &state) BenchmarkTestGetAbilityInfoByModuleName() argument 1305 BenchmarkTestGetAllDependentModuleNames(benchmark::State &state) BenchmarkTestGetAllDependentModuleNames() argument 1325 BenchmarkTestObtainCallingBundleName(benchmark::State &state) BenchmarkTestObtainCallingBundleName() argument [all...] |
/third_party/backends/backend/ |
H A D | sm3600-scanutil.c | 94 if (this->nErrorState) return 0; /* do not overwrite error state */ in SetError() 146 if (this->state.ppchLines) in FreeState() 149 for (i=0; i<this->state.cBacklog; i++) in FreeState() 151 if (this->state.ppchLines[i]) in FreeState() 152 free(this->state.ppchLines[i]); in FreeState() 154 free(this->state.ppchLines); in FreeState() 156 if (this->state.pchLineOut) free(this->state.pchLineOut); in FreeState() 157 if (this->state.pchBuf) free(this->state in FreeState() [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_to_lcssa.c | 124 src_is_invariant(nir_src *src, void *state) in src_is_invariant() argument 127 return def_is_invariant(src->ssa, (nir_loop *)state); in src_is_invariant() 195 lcssa_state *state = void_state; in convert_loop_exit_for_ssa() local 199 if (state->skip_invariants && in convert_loop_exit_for_ssa() 200 (def->bit_size != 1 || state->skip_bool_invariants)) { in convert_loop_exit_for_ssa() 208 use->parent_instr->block == state->block_after_loop) { in convert_loop_exit_for_ssa() 212 if (!is_use_inside_loop(use, state->loop)) { in convert_loop_exit_for_ssa() 218 if (!is_if_use_inside_loop(use, state->loop)) { in convert_loop_exit_for_ssa() 228 nir_phi_instr *phi = nir_phi_instr_create(state->shader); in convert_loop_exit_for_ssa() 235 uint32_t num_exits = state in convert_loop_exit_for_ssa() 286 setup_loop_state(lcssa_state *state, nir_loop *loop) setup_loop_state() argument 297 convert_to_lcssa(nir_cf_node *cf_node, lcssa_state *state) convert_to_lcssa() argument 377 lcssa_state *state = rzalloc(NULL, lcssa_state); nir_convert_loop_to_lcssa() local 395 lcssa_state *state = rzalloc(NULL, lcssa_state); nir_convert_to_lcssa() local [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | builtin_variables.cpp | 423 struct _mesa_glsl_parse_state *state); 516 struct _mesa_glsl_parse_state * const state; member in __anon7160::builtin_variable_generator 544 exec_list *instructions, struct _mesa_glsl_parse_state *state) in builtin_variable_generator() 545 : instructions(instructions), state(state), symtab(state->symbols), in builtin_variable_generator() 546 compatibility(state->compat_shader || state->ARB_compatibility_enable), in builtin_variable_generator() 591 if (state->es_shader) in add_index_variable() 637 if (state in add_variable() 543 builtin_variable_generator( exec_list *instructions, struct _mesa_glsl_parse_state *state) builtin_variable_generator() argument 1662 _mesa_glsl_initialize_variables(exec_list *instructions, struct _mesa_glsl_parse_state *state) _mesa_glsl_initialize_variables() argument [all...] |
H A D | ast_array_index.cpp | 46 * loc and state to report the error. 50 struct _mesa_glsl_parse_state *state) in update_max_array_access() 60 check_builtin_array_max_size(var->name, idx+1, *loc, state); in update_max_array_access() 107 check_builtin_array_max_size(field_name, idx+1, *loc, state); in update_max_array_access() 116 get_implicit_array_size(struct _mesa_glsl_parse_state *state, in get_implicit_array_size() argument 124 if (state->stage == MESA_SHADER_TESS_CTRL && in get_implicit_array_size() 126 return state->Const.MaxPatchVertices; in get_implicit_array_size() 132 if (state->stage == MESA_SHADER_TESS_EVAL && in get_implicit_array_size() 135 return state->Const.MaxPatchVertices; in get_implicit_array_size() 144 struct _mesa_glsl_parse_state *state, in _mesa_ast_array_index_to_hir() 49 update_max_array_access(ir_rvalue *ir, int idx, YYLTYPE *loc, struct _mesa_glsl_parse_state *state) update_max_array_access() argument 143 _mesa_ast_array_index_to_hir(void *mem_ctx, struct _mesa_glsl_parse_state *state, ir_rvalue *array, ir_rvalue *idx, YYLTYPE &loc, YYLTYPE &idx_loc) _mesa_ast_array_index_to_hir() argument [all...] |
/third_party/lz4/lib/ |
H A D | xxhash.c | 396 XXH32_state_t state; in XXH32() 397 XXH32_reset(&state, seed); in XXH32() 398 XXH32_update(&state, input, len); in XXH32() 399 return XXH32_digest(&state); in XXH32() 439 XXH32_state_t state; /* using a local state to memcpy() in order to avoid strict-aliasing warnings */ in XXH32_reset() local 440 memset(&state, 0, sizeof(state)); in XXH32_reset() 441 state.v1 = seed + PRIME32_1 + PRIME32_2; in XXH32_reset() 442 state in XXH32_reset() 452 XXH32_update_endian(XXH32_state_t* state, const void* input, size_t len, XXH_endianess endian) XXH32_update_endian() argument 527 XXH32_digest_endian(const XXH32_state_t* state, XXH_endianess endian) XXH32_digest_endian() argument 900 XXH64_state_t state; /* using a local state to memcpy() in order to avoid strict-aliasing warnings */ XXH64_reset() local 912 XXH64_update_endian(XXH64_state_t* state, const void* input, size_t len, XXH_endianess endian) XXH64_update_endian() argument 981 XXH64_digest_endian(const XXH64_state_t* state, XXH_endianess endian) XXH64_digest_endian() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/common/third_party/xxhash/ |
H A D | xxhash.c | 396 XXH32_state_t state; in XXH32() 397 XXH32_reset(&state, seed); in XXH32() 398 XXH32_update(&state, input, len); in XXH32() 399 return XXH32_digest(&state); in XXH32() 439 XXH32_state_t state; /* using a local state to memcpy() in order to avoid strict-aliasing warnings */ in XXH32_reset() local 440 memset(&state, 0, sizeof(state)); in XXH32_reset() 441 state.v1 = seed + PRIME32_1 + PRIME32_2; in XXH32_reset() 442 state in XXH32_reset() 452 XXH32_update_endian(XXH32_state_t* state, const void* input, size_t len, XXH_endianess endian) XXH32_update_endian() argument 527 XXH32_digest_endian(const XXH32_state_t* state, XXH_endianess endian) XXH32_digest_endian() argument 900 XXH64_state_t state; /* using a local state to memcpy() in order to avoid strict-aliasing warnings */ XXH64_reset() local 912 XXH64_update_endian(XXH64_state_t* state, const void* input, size_t len, XXH_endianess endian) XXH64_update_endian() argument 981 XXH64_digest_endian(const XXH64_state_t* state, XXH_endianess endian) XXH64_digest_endian() argument [all...] |
/third_party/alsa-utils/axfer/ |
H A D | xfer-libasound-irq-rw.c | 15 int (*process_frames)(struct libasound_state *state, 22 static int wait_for_avail(struct libasound_state *state) in wait_for_avail() argument 31 err = snd_pcm_hw_params_get_buffer_time(state->hw_params, in wait_for_avail() 38 err = xfer_libasound_wait_event(state, msec_per_buffer, &revents); in wait_for_avail() 46 if (snd_pcm_stream(state->handle) == SND_PCM_STREAM_CAPTURE) in wait_for_avail() 57 static int read_frames(struct libasound_state *state, unsigned int *frame_count, in read_frames() argument 61 struct rw_closure *closure = state->private_data; in read_frames() 77 handled_frame_count = snd_pcm_readi(state->handle, in read_frames() 81 handled_frame_count = snd_pcm_readn(state->handle, in read_frames() 107 static int r_process_frames_blocking(struct libasound_state *state, in r_process_frames_blocking() argument 155 r_process_frames_nonblocking(struct libasound_state *state, snd_pcm_state_t status, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) r_process_frames_nonblocking() argument 201 write_frames(struct libasound_state *state, unsigned int *frame_count, unsigned int avail_count, struct mapper_context *mapper, struct container_context *cntrs) write_frames() argument 251 w_process_frames_blocking(struct libasound_state *state, snd_pcm_state_t status, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) w_process_frames_blocking() argument 315 w_process_frames_nonblocking(struct libasound_state *state, snd_pcm_state_t pcm_state ATTRIBUTE_UNUSED, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) w_process_frames_nonblocking() argument 358 irq_rw_pre_process(struct libasound_state *state) irq_rw_pre_process() argument 409 irq_rw_process_frames(struct libasound_state *state, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) irq_rw_process_frames() argument 426 irq_rw_post_process(struct libasound_state *state) irq_rw_post_process() argument [all...] |
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/x86_64/ |
H A D | align.rs | 144 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() 145 self.mc_onstack.hash(state); in hash() 146 self.mc_rdi.hash(state); in hash() 147 self.mc_rsi.hash(state); in hash() 148 self.mc_rdx.hash(state); in hash() 149 self.mc_rcx.hash(state); in hash() 150 self.mc_r8.hash(state); in hash() 151 self.mc_r9.hash(state); in hash() 152 self.mc_rax.hash(state); in hash() 153 self.mc_rbx.hash(state); in hash() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
H A D | PatternStringParser.java | 28 ParserState state = new ParserState(patternString); in parseToPatternInfo() 30 consumePattern(state, result); in parseToPatternInfo() 252 private static void consumePattern(ParserState state, ParsedPatternInfo result) { in consumePattern() argument 255 consumeSubpattern(state, result.positive); in consumePattern() 256 if (state.peek() == ';') { in consumePattern() 257 state.next(); // consume the ';' in consumePattern() 259 if (state.peek() != -1) { in consumePattern() 261 consumeSubpattern(state, result.negative); in consumePattern() 264 if (state.peek() != -1) { in consumePattern() 265 throw state in consumePattern() 269 consumeSubpattern(ParserState state, ParsedSubpatternInfo result) consumeSubpattern() argument 281 consumePadding( ParserState state, ParsedSubpatternInfo result, PadPosition paddingLocation) consumePadding() argument 298 consumeAffix(ParserState state, ParsedSubpatternInfo result) consumeAffix() argument 349 consumeLiteral(ParserState state) consumeLiteral() argument 368 consumeFormat(ParserState state, ParsedSubpatternInfo result) consumeFormat() argument 378 consumeIntegerFormat(ParserState state, ParsedSubpatternInfo result) consumeIntegerFormat() argument 456 consumeFractionFormat(ParserState state, ParsedSubpatternInfo result) consumeFractionFormat() argument 501 consumeExponent(ParserState state, ParsedSubpatternInfo result) consumeExponent() argument [all...] |
/third_party/zlib/contrib/infback9/ |
H A D | infback9.c | 21 struct inflate_state FAR *state; in inflateBack9Init_() local 34 state = (struct inflate_state FAR *)ZALLOC(strm, 1, in inflateBack9Init_() 36 if (state == Z_NULL) return Z_MEM_ERROR; in inflateBack9Init_() 38 strm->state = (voidpf)state; in inflateBack9Init_() 39 state->window = window; in inflateBack9Init_() 54 struct inflate_state state; in makefixed9() local 59 while (sym < 144) state.lens[sym++] = 8; in makefixed9() 60 while (sym < 256) state.lens[sym++] = 9; in makefixed9() 61 while (sym < 280) state in makefixed9() 215 struct inflate_state FAR *state; inflateBack9() local [all...] |
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/benchmark/ |
H A D | benchmark_audiomanager_test.cpp | 41 void SetUp(const ::benchmark::State &state) override 48 void TearDown(const ::benchmark::State &state) override 64 benchmark::State &state) in BENCHMARK_F() 66 while (state.KeepRunning()) in BENCHMARK_F() 71 state.SkipWithError("SetDeviceActiveAbilityTestCase audioManager SetDeviceActive true failed."); in BENCHMARK_F() 73 state.PauseTiming(); in BENCHMARK_F() 77 state.SkipWithError("SetDeviceActiveAbilityTestCase audioManager SetDeviceActive false failed."); in BENCHMARK_F() 79 state.ResumeTiming(); in BENCHMARK_F() 86 benchmark::State &state) in BENCHMARK_F() 88 while (state in BENCHMARK_F() [all...] |
/third_party/protobuf/objectivec/ |
H A D | GPBCodedInputStream_PackagePrivate.h | 80 int32_t GPBCodedInputStreamReadTag(GPBCodedInputStreamState *state); 82 double GPBCodedInputStreamReadDouble(GPBCodedInputStreamState *state); 83 float GPBCodedInputStreamReadFloat(GPBCodedInputStreamState *state); 84 uint64_t GPBCodedInputStreamReadUInt64(GPBCodedInputStreamState *state); 85 uint32_t GPBCodedInputStreamReadUInt32(GPBCodedInputStreamState *state); 86 int64_t GPBCodedInputStreamReadInt64(GPBCodedInputStreamState *state); 87 int32_t GPBCodedInputStreamReadInt32(GPBCodedInputStreamState *state); 88 uint64_t GPBCodedInputStreamReadFixed64(GPBCodedInputStreamState *state); 89 uint32_t GPBCodedInputStreamReadFixed32(GPBCodedInputStreamState *state); 90 int32_t GPBCodedInputStreamReadEnum(GPBCodedInputStreamState *state); [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | jpegls.h | 47 void ff_jpegls_init_state(JLSState *state); 84 static inline void ff_jpegls_downscale_state(JLSState *state, int Q) in ff_jpegls_downscale_state() argument 86 if (state->N[Q] == state->reset) { in ff_jpegls_downscale_state() 87 state->A[Q] >>= 1; in ff_jpegls_downscale_state() 88 state->B[Q] >>= 1; in ff_jpegls_downscale_state() 89 state->N[Q] >>= 1; in ff_jpegls_downscale_state() 91 state->N[Q]++; in ff_jpegls_downscale_state() 94 static inline int ff_jpegls_update_state_regular(JLSState *state, in ff_jpegls_update_state_regular() argument 97 if(FFABS(err) > 0xFFFF || FFABS(err) > INT_MAX - state in ff_jpegls_update_state_regular() [all...] |
H A D | dca_parser.c | 43 #define IS_CORE_MARKER(state) \ 44 (((state & 0xFFFFFFFFF0FF) == (((uint64_t)DCA_SYNCWORD_CORE_14B_LE << 16) | 0xF007)) || \ 45 ((state & 0xFFFFFFFFFFF0) == (((uint64_t)DCA_SYNCWORD_CORE_14B_BE << 16) | 0x07F0)) || \ 46 ((state & 0xFFFFFFFF00FC) == (((uint64_t)DCA_SYNCWORD_CORE_LE << 16) | 0x00FC)) || \ 47 ((state & 0xFFFFFFFFFC00) == (((uint64_t)DCA_SYNCWORD_CORE_BE << 16) | 0xFC00))) 49 #define IS_EXSS_MARKER(state) ((state & 0xFFFFFFFF) == DCA_SYNCWORD_SUBSTREAM) 51 #define IS_MARKER(state) (IS_CORE_MARKER(state) || IS_EXSS_MARKER(state)) 72 uint64_t state; dca_find_frame_end() local [all...] |
/third_party/libuv/src/unix/ |
H A D | fsevents.c | 229 uv__cf_loop_state_t* state; in uv__fsevents_event_cb() local 235 state = loop->cf_state; in uv__fsevents_event_cb() 236 assert(state != NULL); in uv__fsevents_event_cb() 240 uv_mutex_lock(&state->fsevent_mutex); in uv__fsevents_event_cb() 241 uv__queue_foreach(q, &state->fsevent_handles) { in uv__fsevents_event_cb() 327 uv_mutex_unlock(&state->fsevent_mutex); in uv__fsevents_event_cb() 332 static int uv__fsevents_create_stream(uv__cf_loop_state_t* state, in uv__fsevents_create_stream() argument 375 pFSEventStreamScheduleWithRunLoop(ref, state->loop, *pkCFRunLoopDefaultMode); in uv__fsevents_create_stream() 382 state->fsevent_stream = ref; in uv__fsevents_create_stream() 388 static void uv__fsevents_destroy_stream(uv__cf_loop_state_t* state) { in uv__fsevents_destroy_stream() argument 403 uv__fsevents_reschedule(uv__cf_loop_state_t* state, uv_loop_t* loop, uv__cf_loop_signal_type_t type) uv__fsevents_reschedule() argument 586 uv__cf_loop_state_t* state; uv__fsevents_loop_init() local 677 uv__cf_loop_state_t* state; uv__fsevents_loop_delete() local 711 uv__cf_loop_state_t* state; uv__cf_loop_runner() local 737 uv__cf_loop_state_t* state; uv__cf_loop_cb() local 771 uv__cf_loop_state_t* state; uv__cf_loop_signal() local 797 uv__cf_loop_state_t* state; uv__fsevents_init() local 867 uv__cf_loop_state_t* state; uv__fsevents_close() local [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | fsevents.c | 231 uv__cf_loop_state_t* state; in uv__fsevents_event_cb() local 237 state = loop->cf_state; in uv__fsevents_event_cb() 238 assert(state != NULL); in uv__fsevents_event_cb() 242 uv_mutex_lock(&state->fsevent_mutex); in uv__fsevents_event_cb() 243 QUEUE_FOREACH(q, &state->fsevent_handles) { in uv__fsevents_event_cb() 329 uv_mutex_unlock(&state->fsevent_mutex); in uv__fsevents_event_cb() 335 uv__cf_loop_state_t* state; in uv__fsevents_create_stream() local 376 state = loop->cf_state; in uv__fsevents_create_stream() 378 state->loop, in uv__fsevents_create_stream() 386 state in uv__fsevents_create_stream() 393 uv__cf_loop_state_t* state; uv__fsevents_destroy_stream() local 413 uv__cf_loop_state_t* state; uv__fsevents_reschedule() local 597 uv__cf_loop_state_t* state; uv__fsevents_loop_init() local 688 uv__cf_loop_state_t* state; uv__fsevents_loop_delete() local 722 uv__cf_loop_state_t* state; uv__cf_loop_runner() local 748 uv__cf_loop_state_t* state; uv__cf_loop_cb() local 782 uv__cf_loop_state_t* state; uv__cf_loop_signal() local 808 uv__cf_loop_state_t* state; uv__fsevents_init() local 878 uv__cf_loop_state_t* state; uv__fsevents_close() local [all...] |
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_draw.c | 72 if (ice->state.prim_mode != info->mode) { in iris_update_draw_info() 73 ice->state.prim_mode = info->mode; in iris_update_draw_info() 74 ice->state.dirty |= IRIS_DIRTY_VF_TOPOLOGY; in iris_update_draw_info() 79 if (points_or_lines != ice->state.prim_is_points_or_lines) { in iris_update_draw_info() 80 ice->state.prim_is_points_or_lines = points_or_lines; in iris_update_draw_info() 81 ice->state.dirty |= IRIS_DIRTY_CLIP; in iris_update_draw_info() 86 ice->state.vertices_per_patch != ice->state.patch_vertices) { in iris_update_draw_info() 87 ice->state.vertices_per_patch = ice->state in iris_update_draw_info() [all...] |
/third_party/benchmark/test/ |
H A D | cxx03_test.cc | 15 void BM_empty(benchmark::State& state) { in BM_empty() argument 16 while (state.KeepRunning()) { in BM_empty() 17 volatile benchmark::IterationCount x = state.iterations(); in BM_empty() 25 void BM_old_arg_range_interface(benchmark::State& state) { in BM_old_arg_range_interface() argument 26 assert((state.range(0) == 1 && state.range(1) == 2) || in BM_old_arg_range_interface() 27 (state.range(0) == 5 && state.range(1) == 6)); in BM_old_arg_range_interface() 28 while (state.KeepRunning()) { in BM_old_arg_range_interface() 34 void BM_template2(benchmark::State& state) { in BM_template2() argument 40 BM_template1(benchmark::State& state) BM_template1() argument 56 BM_counters(benchmark::State& state) BM_counters() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_state.c | 52 /* r300_state: Functions used to initialize state context by translating 53 * Gallium state objects into semi-native r300 state objects. */ 56 if (cso != atom.state) { \ 57 atom.state = cso; \ 65 * SRC_ALPHA == 0, and the following state is set, the colorbuffer in blend_discard_if_src_alpha_0() 86 * SRC_ALPHA == 1, and the following state is set, the colorbuffer in blend_discard_if_src_alpha_1() 105 * SRC_COLOR == (0,0,0), and the following state is set, the colorbuffer in blend_discard_if_src_color_0() 120 * SRC_COLOR == (1,1,1), and the following state is set, the colorbuffer in blend_discard_if_src_color_1() 135 * SRC_ALPHA_COLOR == (0,0,0,0), and the following state i in blend_discard_if_src_alpha_color_0() 334 r300_create_blend_state(struct pipe_context* pipe, const struct pipe_blend_state* state) r300_create_blend_state() argument 527 r300_bind_blend_state(struct pipe_context* pipe, void* state) r300_bind_blend_state() argument 555 r300_delete_blend_state(struct pipe_context* pipe, void* state) r300_delete_blend_state() argument 574 struct r300_blend_color_state *state = r300_set_blend_color() local 651 r300_set_clip_state(struct pipe_context* pipe, const struct pipe_clip_state* state) r300_set_clip_state() argument 679 r300_create_dsa_state(struct pipe_context* pipe, const struct pipe_depth_stencil_alpha_state* state) r300_create_dsa_state() argument 799 r300_bind_dsa_state(struct pipe_context* pipe, void* state) r300_bind_dsa_state() argument 815 r300_delete_dsa_state(struct pipe_context* pipe, void* state) r300_delete_dsa_state() argument 858 struct pipe_framebuffer_state *state = r300->fb_state.state; r300_mark_fb_state_dirty() local 902 r300_set_framebuffer_state(struct pipe_context* pipe, const struct pipe_framebuffer_state* state) r300_set_framebuffer_state() argument 1132 r300_set_polygon_stipple(struct pipe_context* pipe, const struct pipe_poly_stipple* state) r300_set_polygon_stipple() argument 1144 r300_create_rs_state(struct pipe_context* pipe, const struct pipe_rasterizer_state* state) r300_create_rs_state() argument 1361 r300_bind_rs_state(struct pipe_context* pipe, void* state) r300_bind_rs_state() argument 1417 r300_delete_rs_state(struct pipe_context* pipe, void* state) r300_delete_rs_state() argument 1423 r300_create_sampler_state(struct pipe_context* pipe, const struct pipe_sampler_state* state) r300_create_sampler_state() argument 1500 struct r300_textures_state* state = r300_bind_sampler_states() local 1518 r300_delete_sampler_state(struct pipe_context* pipe, void* state) r300_delete_sampler_state() argument 1556 struct r300_textures_state* state = r300_set_sampler_views() local 1709 r300_set_scissor_states(struct pipe_context* pipe, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state* state) r300_set_scissor_states() argument 1722 r300_set_viewport_states(struct pipe_context* pipe, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state* state) r300_set_viewport_states() argument 1912 r300_bind_vertex_elements_state(struct pipe_context *pipe, void *state) r300_bind_vertex_elements_state() argument 1934 r300_delete_vertex_elements_state(struct pipe_context *pipe, void *state) r300_delete_vertex_elements_state() argument [all...] |
/third_party/lwip/src/netif/ |
H A D | zepif.c | 173 struct zepif_state *state; in zepif_linkoutput() local 183 state = (struct zepif_state *)netif->state; in zepif_linkoutput() 184 LWIP_ASSERT("state->pcb != NULL", state->pcb != NULL); in zepif_linkoutput() 200 zep->seq_num = lwip_htonl(state->seqno); in zepif_linkoutput() 201 state->seqno++; in zepif_linkoutput() 207 zepif_udp_recv(netif, state->pcb, pbuf_clone(PBUF_RAW, PBUF_RAM, q), NULL, 0); in zepif_linkoutput() 209 err = udp_sendto(state->pcb, q, state in zepif_linkoutput() 226 struct zepif_state *state = (struct zepif_state *)mem_malloc(sizeof(struct zepif_state)); zepif_init() local [all...] |