/external/libpng/contrib/arm-neon/ |
linux.c | 31 /* This is a simple state machine which reads the input byte-by-byte until 40 } state; local 43 for (state=StartLine, counter=0;;) 56 switch (state) 64 state = Feature; 72 state = Colon; 77 state = SkipLine; 86 state = StartLine; 96 state = StartTag; 103 state = SkipLine [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_state_gs.c | 47 struct lp_geometry_shader *state; local 49 state = CALLOC_STRUCT(lp_geometry_shader); 50 if (!state) 55 debug_printf("llvmpipe: Create geometry shader %p:\n", (void *)state); 60 state->no_tokens = !templ->tokens; 61 memcpy(&state->stream_output, &templ->stream_output, sizeof state->stream_output); 64 state->dgs = draw_create_geometry_shader(llvmpipe->draw, templ); 65 if (state->dgs == NULL) { 70 return state; 98 struct lp_geometry_shader *state = local [all...] |
/external/mesa3d/src/gallium/targets/graw-null/ |
graw_util.c | 20 struct pipe_shader_state state; local 25 memset(&state, 0, sizeof state); 26 state.tokens = tokens; 27 return pipe->create_gs_state(pipe, &state); 35 struct pipe_shader_state state; local 40 memset(&state, 0, sizeof state); 41 state.tokens = tokens; 42 return pipe->create_vs_state(pipe, &state); 50 struct pipe_shader_state state; local [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/benchmarks/ |
string.bench.cpp | 11 static void BM_StringFindNoMatch(benchmark::State &state) { 12 std::string s1(state.range(0), '-'); 14 while (state.KeepRunning()) 20 static void BM_StringFindAllMatch(benchmark::State &state) { 22 std::string s2(state.range(0), '-'); 23 while (state.KeepRunning()) 29 static void BM_StringFindMatch1(benchmark::State &state) { [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/test/ |
multiple_ranges_test.cc | 29 void SetUp(const ::benchmark::State& state) { 30 std::vector<int> ranges = {state.range(0), state.range(1), state.range(2)}; 45 BENCHMARK_DEFINE_F(MultipleRangesFixture, Empty)(benchmark::State& state) { 46 while (state.KeepRunning()) { 47 int product = state.range(0) * state.range(1) * state.range(2) [all...] |
diagnostics_test.cc | 2 // State::PauseTiming() 3 // State::ResumeTiming() 28 void try_invalid_pause_resume(benchmark::State& state) { 31 state.PauseTiming(); 36 state.ResumeTiming(); 41 (void)state; // avoid unused warning 45 void BM_diagnostic_test(benchmark::State& state) { 48 if (called_once == false) try_invalid_pause_resume(state); [all...] |
/bionic/benchmarks/ |
time_benchmark.cpp | 25 static void BM_time_clock_gettime(benchmark::State& state) { 28 while (state.KeepRunning()) { 34 static void BM_time_clock_gettime_syscall(benchmark::State& state) { 37 while (state.KeepRunning()) { 43 static void BM_time_clock_gettime_MONOTONIC_COARSE(benchmark::State& state) { 46 while (state.KeepRunning()) { 52 static void BM_time_clock_gettime_MONOTONIC_RAW(benchmark::State& state) [all...] |
/device/google/marlin/power/ |
Power.cpp | 72 struct PowerStatePlatformSleepState *state; local 84 state = &states[platform_mode_id::RPM_MODE_XO]; 85 state->name = "XO_shutdown"; 87 state->residencyInMsecSinceBoot = stats[platform_param_id::ACCUMULATED_VLOW_TIME]; 88 state->totalTransitions = stats[platform_param_id::VLOW_COUNT]; 89 state->supportedOnlyInSuspend = false; 90 state->voters.resize(XO_VOTERS); 93 state->voters[0].name = "APSS"; 94 state->voters[0].totalTimeInMsecVotedForSinceBoot = 96 state->voters[0].totalNumberOfTimesVotedSinceBoot = stats[platform_param_id::XO_COUNT_APSS] 138 struct PowerStateSubsystemSleepState *state; local [all...] |
/external/deqp/framework/randomshaders/ |
rsgStatement.hpp | 43 virtual Statement* createNextChild (GeneratorState& state) = DE_NULL; 44 virtual void tokenize (GeneratorState& state, TokenStream& str) const = DE_NULL; 58 ExpressionStatement (GeneratorState& state); 61 Statement* createNextChild (GeneratorState& state) { DE_UNREF(state); return DE_NULL; } 62 void tokenize (GeneratorState& state, TokenStream& str) const; 65 static float getWeight (const GeneratorState& state); 74 DeclarationStatement (GeneratorState& state, Variable* variable = DE_NULL); 77 Statement* createNextChild (GeneratorState& state) { DE_UNREF(state); return DE_NULL; [all...] |
/bionic/libc/bionic/ |
mbrtoc16.cpp | 36 static inline bool mbspartialc16(const mbstate_t* state) { 37 return mbstate_get_byte(state, 3) != 0; 41 size_t nconv, mbstate_t* state) { 45 mbstate_set_byte(state, 0, trail & 0x00ff); 46 mbstate_set_byte(state, 1, (trail & 0xff00) >> 8); 47 mbstate_set_byte(state, 3, nconv & 0xff); 54 static size_t finish_surrogate(char16_t* pc16, mbstate_t* state) { 55 char16_t trail = mbstate_get_byte(state, 1) << 8 | 56 mbstate_get_byte(state, 0); 58 return mbstate_reset_and_return(mbstate_get_byte(state, 3), state) 63 mbstate_t* state = (ps == NULL) ? &__private_state : ps; local [all...] |
grp_pwd.cpp | 55 // okay for all the <grp.h> functions to share state, and all the <passwd.h> 56 // functions to share state, but <grp.h> functions can't clobber <passwd.h> 57 // functions' state and vice versa. 67 static void init_group_state(group_state_t* state) { 68 memset(state, 0, sizeof(group_state_t) - sizeof(state->getgrent_idx)); 69 state->group_.gr_mem = state->group_members_; 140 static passwd* android_iinfo_to_passwd(passwd_state_t* state, 142 snprintf(state->name_buffer_, sizeof(state->name_buffer_), "%s", iinfo->name) 518 passwd_state_t* state = get_passwd_tls_buffer(); local 536 passwd_state_t* state = get_passwd_tls_buffer(); local 585 passwd_state_t* state = get_passwd_tls_buffer(); local 596 passwd_state_t* state = get_passwd_tls_buffer(); local 650 group_state_t* state = __group_state(); local 678 group_state_t* state = __group_state(); local 694 group_state_t* state = reinterpret_cast<group_state_t*>(p); local 715 group_state_t* state = get_group_tls_buffer(); local 726 group_state_t* state = get_group_tls_buffer(); local [all...] |
/device/google/contexthub/lib/nanohub/ |
sha2.c | 21 void sha2init(struct Sha2state *state) 23 state->h[0] = 0x6a09e667; 24 state->h[1] = 0xbb67ae85; 25 state->h[2] = 0x3c6ef372; 26 state->h[3] = 0xa54ff53a; 27 state->h[4] = 0x510e527f; 28 state->h[5] = 0x9b05688c; 29 state->h[6] = 0x1f83d9ab; 30 state->h[7] = 0x5be0cd19; 31 state->msgLen = 0 [all...] |
/external/ltp/utils/ffsb-6.0-rc2/ |
rand.c | 46 /* pre: state->size must be set and state->mt must be allocated! */ 47 static void sgenrand(randdata_t * state) 50 got = read(randfd, state->mt, state->size); 51 if (got != state->size) { 56 for (i = got; i < state->size; i += 4) { 59 lrand48_r(&(state->data), &rand); 64 state->mt[i] = (rand >> 24) & (512 - 1); 65 state->mt[i + 1] = (rand >> 16) & (512 - 1) [all...] |
/external/libxkbcommon/xkbcommon/src/ |
state.c | 70 bool (*func)(struct xkb_state *state, 94 * Before updating the state, we keep a copy of just this struct. This 95 * allows us to report which components of the state have changed. 101 * modifiers, and apply them at the end. These keep track of this state. 120 get_entry_for_key_state(struct xkb_state *state, const struct xkb_key *key, 124 xkb_mod_mask_t active_mods = state->components.mods & type->mods.mask; 143 * Returns the level to use for the given key and state, or 147 xkb_state_key_get_level(struct xkb_state *state, xkb_keycode_t kc, 150 const struct xkb_key *key = XkbKey(state->keymap, kc); 157 entry = get_entry_for_key_state(state, key, layout) [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_dump.h | 100 util_dump_resource(FILE *stream, const struct pipe_resource *state); 104 const struct pipe_rasterizer_state *state); 108 const struct pipe_poly_stipple *state); 112 const struct pipe_viewport_state *state); 116 const struct pipe_scissor_state *state); 120 const struct pipe_clip_state *state); 124 const struct pipe_shader_state *state); 128 const struct pipe_depth_stencil_alpha_state *state); 132 const struct pipe_rt_blend_state *state); 136 const struct pipe_blend_state *state); [all...] |
/external/google-benchmark/test/ |
diagnostics_test.cc | 2 // State::PauseTiming() 3 // State::ResumeTiming() 28 void try_invalid_pause_resume(benchmark::State& state) { 31 state.PauseTiming(); 36 state.ResumeTiming(); 41 (void)state; // avoid unused warning 45 void BM_diagnostic_test(benchmark::State& state) { 48 if (called_once == false) try_invalid_pause_resume(state); [all...] |
benchmark_test.cc | 54 static void BM_Factorial(benchmark::State& state) { 56 for (auto _ : state) fac_42 = Factorial(8); 60 state.SetLabel(ss.str()); 65 static void BM_CalculatePiRange(benchmark::State& state) { 67 for (auto _ : state) pi = CalculatePi(state.range(0)); 70 state.SetLabel(ss.str()); 74 static void BM_CalculatePi(benchmark::State& state) [all...] |
skip_with_error_test.cc | 64 void BM_error_before_running(benchmark::State& state) { 65 state.SkipWithError("error message"); 66 while (state.KeepRunning()) { 73 void BM_error_before_running_range_for(benchmark::State& state) { 74 state.SkipWithError("error message"); 75 for (auto _ : state) { 82 void BM_error_during_running(benchmark::State& state) { [all...] |
/external/libcxx/utils/google-benchmark/test/ |
diagnostics_test.cc | 2 // State::PauseTiming() 3 // State::ResumeTiming() 28 void try_invalid_pause_resume(benchmark::State& state) { 31 state.PauseTiming(); 36 state.ResumeTiming(); 41 (void)state; // avoid unused warning 45 void BM_diagnostic_test(benchmark::State& state) { 48 if (called_once == false) try_invalid_pause_resume(state); [all...] |
benchmark_test.cc | 54 static void BM_Factorial(benchmark::State& state) { 56 for (auto _ : state) fac_42 = Factorial(8); 60 state.SetLabel(ss.str()); 65 static void BM_CalculatePiRange(benchmark::State& state) { 67 for (auto _ : state) pi = CalculatePi(state.range(0)); 70 state.SetLabel(ss.str()); 74 static void BM_CalculatePi(benchmark::State& state) [all...] |
/external/wpa_supplicant_8/src/utils/ |
state_machine.h | 2 * wpa_supplicant/hostapd - State machine definitions 9 * implement a state machine. In addition to including this header file, each 10 * file implementing a state machine must define STATE_MACHINE_DATA to be the 11 * data structure including state variables (enum machine_state, 14 * a group of state machines with shared data structure, STATE_MACHINE_ADDR 16 * SM_ENTRY_M macro can be used to define similar group of state machines 24 * SM_STATE - Declaration of a state machine function 25 * @machine: State machine name 26 * @state: State machine stat [all...] |
/system/core/init/ |
tokenizer.cpp | 6 int next_token(struct parse_state *state) 8 char *x = state->ptr; 11 if (state->nexttoken) { 12 int t = state->nexttoken; 13 state->nexttoken = 0; 20 state->ptr = x; 24 state->ptr = x; 34 state->ptr = x+1; 37 state->ptr = x; 46 state->ptr = x [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ |
dlgauto.h | 45 int zzchar; /* character to determine next state */
93 #define ZZNEWSTATE (newstate = dfa[state][zzclass])
198 /* saves dlg state, but not what feeds dlg (such as file position) */
201 zzsave_dlg_state(struct zzdlg_state *state)
203 zzsave_dlg_state(state)
204 struct zzdlg_state *state;
207 state->stream = zzstream_in;
208 state->func_ptr = zzfunc_in;
209 state->str = zzstr_in;
210 state->auto_num = zzauto; 351 register int state, newstate; local [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
dlgauto.h | 45 int zzchar; /* character to determine next state */
93 #define ZZNEWSTATE (newstate = dfa[state][zzclass])
198 /* saves dlg state, but not what feeds dlg (such as file position) */
201 zzsave_dlg_state(struct zzdlg_state *state)
203 zzsave_dlg_state(state)
204 struct zzdlg_state *state;
207 state->stream = zzstream_in;
208 state->func_ptr = zzfunc_in;
209 state->str = zzstr_in;
210 state->auto_num = zzauto; 346 register int state, newstate; local [all...] |
/external/jemalloc/include/jemalloc/internal/ |
prng.h | 42 uint32_t prng_state_next_u32(uint32_t state); 43 uint64_t prng_state_next_u64(uint64_t state); 44 size_t prng_state_next_zu(size_t state); 46 uint32_t prng_lg_range_u32(uint32_t *state, unsigned lg_range, 48 uint64_t prng_lg_range_u64(uint64_t *state, unsigned lg_range); 49 size_t prng_lg_range_zu(size_t *state, unsigned lg_range, bool atomic); 51 uint32_t prng_range_u32(uint32_t *state, uint32_t range, bool atomic); 52 uint64_t prng_range_u64(uint64_t *state, uint64_t range); 53 size_t prng_range_zu(size_t *state, size_t range, bool atomic); 58 prng_state_next_u32(uint32_t state) [all...] |