/hardware/interfaces/tests/extension/light/2.0/default/ |
Light.cpp | 27 Return<Status> Light::setLight(Type type, const OldLightState& state) { 30 LightState extState{.state = state, 33 static_cast<Brightness>(state.brightnessMode)}; 52 Return<Status> Light::setLightExt(Type /* type */, const LightState& /* state */) {
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
display_null.cpp | 48 DisplayError DisplayNull::GetDisplayState(DisplayState *state) { 49 *state = state_; 53 DisplayError DisplayNull::SetDisplayState(DisplayState state) { 54 state_ = state;
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
display_null.cpp | 48 DisplayError DisplayNull::GetDisplayState(DisplayState *state) { 49 *state = state_; 53 DisplayError DisplayNull::SetDisplayState(DisplayState state) { 54 state_ = state;
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
HasAttribute.java | 53 boolean state; 57 state = testNode.hasAttribute("domestic"); 58 assertFalse("throw_False", state); 66 // boolean state; 70 // state = testNode.hasAttribute("street"); 71 // assertTrue("throw_True", state); 77 boolean state; 81 state = testNode.hasAttribute("nomatch"); 82 assertFalse("throw_False", state); 88 boolean state; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
IPredicate.java | 17 package com.android.ide.eclipse.gltrace.state.transforms;
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/arm/ |
blx-bl-convert.l | 2 [^:]*:7: Warning: blx to Thumb func 'label' from Thumb ISA state changed to bl 3 [^:]*:16: Warning: blx to 'label3' an ARM ISA state function changed to bl
|
branch-reloc.l | 2 [^:]*:[0-9]*: Warning: blx to 'arm_sym1' an ARM ISA state function changed to bl 3 [^:]*:[0-9]*: Warning: blx to Thumb func 'thumb_sym2' from Thumb ISA state changed to b
|
/external/elfutils/libelf/ |
elf_getshdrstrndx.c | 63 assert (offsetof (struct Elf, state.elf.ehdr) 64 == offsetof (struct Elf, state.elf32.ehdr)); 65 assert (sizeof (elf->state.elf.ehdr) 66 == sizeof (elf->state.elf32.ehdr)); 67 assert (offsetof (struct Elf, state.elf.ehdr) 68 == offsetof (struct Elf, state.elf64.ehdr)); 69 assert (sizeof (elf->state.elf.ehdr) 70 == sizeof (elf->state.elf64.ehdr)); 72 if (unlikely (elf->state.elf.ehdr == NULL)) 82 ? elf->state.elf32.ehdr->e_shstrnd [all...] |
/external/libopus/silk/fixed/x86/ |
prefilter_FIX_sse.c | 39 opus_int32 state[], /* I/O State [order + 1] */ 79 state_0123 = _mm_loadu_si128( (__m128i *)(&state[ 0 ] ) ); 80 state_4567 = _mm_loadu_si128( (__m128i *)(&state[ 4 ] ) ); 85 state_8 = state[ 8 ]; 86 state_9 = state[ 9 ]; 126 _mm_storeu_si128( (__m128i *)( &state[ 0 ] ), _mm_shuffle_epi32( state_0123, _MM_SHUFFLE( 0, 1, 2, 3 ) ) ); 127 _mm_storeu_si128( (__m128i *)( &state[ 4 ] ), _mm_shuffle_epi32( state_4567, _MM_SHUFFLE( 0, 1, 2, 3 ) ) ); 128 state[ 8 ] = state_8; 129 state[ 9 ] = state_9 [all...] |
/system/media/audio_utils/tests/ |
primitives_benchmark.cpp | 25 static void BM_MemcpyToFloatFromFloatWithClamping(benchmark::State& state) { 26 const size_t count = state.range(0); 27 const float srcMax = state.range(1); 43 while (state.KeepRunning()) { 51 state.SkipWithError("Incorrect clamping!"); 53 state.SetComplexityN(state.range(0)); 58 static void BM_MemcpyFloat(benchmark::State& state) { [all...] |
/external/mesa3d/src/compiler/glsl/ |
ast_to_hir.cpp | 65 detect_conflicting_assignments(struct _mesa_glsl_parse_state *state, 69 _mesa_glsl_parse_state *state, ir_variable_mode mode); 124 _mesa_ast_to_hir(exec_list *instructions, struct _mesa_glsl_parse_state *state) 126 _mesa_glsl_initialize_variables(instructions, state); 128 state->symbols->separate_function_namespace = state->language_version == 110; 130 state->current_function = NULL; 132 state->toplevel_ir = instructions; 134 state->gs_input_prim_type_specified = false; 135 state->tcs_output_vertices_specified = false [all...] |
/external/selinux/libsepol/src/ |
link.c | 128 link_state_t *state = (link_state_t *) data; local 130 class_datum_t *src_class = state->src_class; 131 class_datum_t *dest_class = state->dest_class; 132 policy_module_t *mod = state->cur; 147 if (state->dest_class_req) { 151 ERR(state->handle, "Memory error"); 158 ERR(state->handle, "Memory error"); 166 ERR(state->handle, 174 ERR(state->handle, 176 state->cur_mod_name, perm_id 248 link_state_t *state = (link_state_t *) data; local 352 link_state_t *state = (link_state_t *) data; local 442 link_state_t *state = (link_state_t *) data; local 537 link_state_t *state = (link_state_t *) data; local 604 link_state_t *state = (link_state_t *) data; local 672 link_state_t *state = (link_state_t *) data; local 714 link_state_t *state = (link_state_t *) data; local 763 link_state_t *state = (link_state_t *) data; local 792 link_state_t *state = (link_state_t *) data; local 821 link_state_t *state = (link_state_t *) data; local 858 link_state_t *state = (link_state_t *) data; local 1098 link_state_t *state = (link_state_t *) data; local 1166 link_state_t *state = (link_state_t *) data; local 1218 link_state_t *state = (link_state_t *) data; local 1844 link_state_t *state = (link_state_t *) data; local 2422 link_state_t *state; local 2482 link_state_t *state = (link_state_t *)data; local 2543 link_state_t state; local [all...] |
/external/python/cpython3/Modules/ |
sre_lib.h | 16 SRE(at)(SRE_STATE* state, SRE_CHAR* ptr, SRE_CODE at) 26 return ((void*) ptr == state->beginning); 29 return ((void*) ptr == state->beginning || 33 return (((SRE_CHAR *)state->end - ptr == 1 && 35 ((void*) ptr == state->end)); 38 return ((void*) ptr == state->end || 42 return ((void*) ptr == state->end); 45 if (state->beginning == state->end) 47 thatp = ((void*) ptr > state->beginning) [all...] |
/external/mesa3d/src/compiler/nir/ |
nir_opt_gcm.c | 75 gcm_build_block_info(struct exec_list *cf_list, struct gcm_state *state, 82 state->blocks[block->index].loop_depth = loop_depth; 87 gcm_build_block_info(&if_stmt->then_list, state, loop_depth); 88 gcm_build_block_info(&if_stmt->else_list, state, loop_depth); 93 gcm_build_block_info(&loop->body, state, loop_depth + 1); 109 gcm_pin_instructions_block(nir_block *block, struct gcm_state *state) 186 exec_list_push_tail(&state->instrs, &instr->node); 194 gcm_schedule_early_instr(nir_instr *instr, struct gcm_state *state); 206 struct gcm_state *state = void_state; local 207 nir_instr *instr = state->instr 277 struct gcm_state *state = void_state; local 462 struct gcm_state state; local [all...] |
nir_split_var_copies.c | 81 * \param state The current split_var_copies_state object 87 struct split_var_copies_state *state) 98 nir_deref_array *deref = nir_deref_array_create(state->dead_ctx); 112 dest_tail->child, src_tail->child, state); 129 nir_deref_struct *deref = nir_deref_struct_create(state->dead_ctx, i); 142 dest_tail->child, src_tail->child, state); 155 nir_deref_array *deref = nir_deref_array_create(state->dead_ctx); 169 dest_tail->child, src_tail->child, state); 179 nir_intrinsic_instr_create(state->shader, nir_intrinsic_copy_var); 192 state->progress = true 255 struct split_var_copies_state state; local [all...] |
nir_to_lcssa.c | 87 lcssa_state *state = void_state; local 91 nir_cf_node_as_block(nir_cf_node_next(&state->loop->cf_node)); 99 if (!is_use_inside_loop(use, state->loop)) { 105 if (!is_if_use_inside_loop(use, state->loop)) { 115 nir_phi_instr *phi = nir_phi_instr_create(state->shader); 142 if (!is_use_inside_loop(use, state->loop)) { 149 if (!is_if_use_inside_loop(use, state->loop)) { 159 convert_to_lcssa(nir_cf_node *cf_node, lcssa_state *state) 164 nir_foreach_ssa_def(instr, convert_loop_exit_for_ssa, state); 169 convert_to_lcssa(nested_node, state); 195 lcssa_state *state = rzalloc(NULL, lcssa_state); local [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/drivers/mce/ |
nvg.c | 16 int32_t nvg_enter_cstate(uint32_t ari_base, uint32_t state, uint32_t wake_time) 22 /* check for allowed power state */ 23 if ((state != TEGRA_ARI_CORE_C0) && (state != TEGRA_ARI_CORE_C1) && 24 (state != TEGRA_ARI_CORE_C6) && (state != TEGRA_ARI_CORE_C7)) { 25 ERROR("%s: unknown cstate (%d)\n", __func__, state); 32 write_actlr_el1(state); 108 uint64_t nvg_read_cstate_stats(uint32_t ari_base, uint32_t state) 114 /* sanity check state */ [all...] |
/external/google-breakpad/src/client/mac/handler/ |
minidump_generator.h | 136 uint64_t CurrentPCForStack(breakpad_thread_state_data_t state); 137 bool GetThreadState(thread_act_t target_thread, thread_state_t state, 141 bool WriteStack(breakpad_thread_state_data_t state, 143 bool WriteContext(breakpad_thread_state_data_t state, 153 bool WriteStackARM(breakpad_thread_state_data_t state, 155 bool WriteContextARM(breakpad_thread_state_data_t state, 157 uint64_t CurrentPCForStackARM(breakpad_thread_state_data_t state); 160 bool WriteStackARM64(breakpad_thread_state_data_t state, 162 bool WriteContextARM64(breakpad_thread_state_data_t state, 164 uint64_t CurrentPCForStackARM64(breakpad_thread_state_data_t state); [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
BaseRecognizer.java | 51 /** State of a lexer, parser, or tree parser are collected into a state 52 * object so the state can be shared. This sharing is needed to 54 * and other state variables. It's a kind of explicit multiple 55 * inheritance via delegation of methods and shared state. 57 protected RecognizerSharedState state; field in class:BaseRecognizer 60 state = new RecognizerSharedState(); 63 public BaseRecognizer(RecognizerSharedState state) { 64 if ( state==null ) { 65 state = new RecognizerSharedState() [all...] |
/external/mesa3d/src/mesa/program/ |
program_parse.y | 44 static struct asm_symbol *declare_variable(struct asm_parser_state *state, 60 static int yyparse(struct asm_parser_state *state); 64 static void yyerror(struct YYLTYPE *locp, struct asm_parser_state *state, 68 struct asm_parser_state *state); 122 %lex-param { struct asm_parser_state *state } 123 %parse-param { struct asm_parser_state *state } 139 gl_state_index state[STATE_LENGTH]; 183 %token SCENECOLOR SECONDARY SHININESS SIZE_TOK SPECULAR SPOT STATE 230 %type <state> stateSingleItem stateMultipleItem 231 %type <state> stateMaterialIte [all...] |
/device/google/contexthub/firmware/os/drivers/tilt_detection/ |
tilt_detection.c | 82 struct TiltAlgoState *state = &mTask.algoState; local 94 if (state->this_batch_init_ts == 0) { 95 state->this_batch_init_ts = sample_ts; 98 state->this_batch_sample_sum[0] += sample->x; 99 state->this_batch_sample_sum[1] += sample->y; 100 state->this_batch_sample_sum[2] += sample->z; 102 state->this_batch_num_samples++; 104 dt = (sample_ts - state->this_batch_init_ts); 107 invN = 1.0f / state->this_batch_num_samples; 108 state->this_batch_g[0] = state->this_batch_sample_sum[0] * invN [all...] |
/external/google-benchmark/test/ |
reporter_output_test.cc | 57 void BM_basic(benchmark::State& state) { 58 for (auto _ : state) { 76 void BM_bytes_per_second(benchmark::State& state) { 77 for (auto _ : state) { 79 state.SetBytesProcessed(1); 98 void BM_items_per_second(benchmark::State& state) { 99 for (auto _ : state) { [all...] |
/external/libcxx/utils/google-benchmark/test/ |
reporter_output_test.cc | 57 void BM_basic(benchmark::State& state) { 58 for (auto _ : state) { 76 void BM_bytes_per_second(benchmark::State& state) { 77 for (auto _ : state) { 79 state.SetBytesProcessed(1); 98 void BM_items_per_second(benchmark::State& state) { 99 for (auto _ : state) { [all...] |
/external/mesa3d/src/glx/ |
pixelstore.c | 72 __GLXattribute *state = gc->client_state_private; local 86 state->storePack.rowLength = a; 94 state->storePack.imageHeight = a; 102 state->storePack.skipRows = a; 110 state->storePack.skipPixels = a; 118 state->storePack.skipImages = a; 127 state->storePack.alignment = a; 135 state->storePack.swapEndian = (param != 0); 138 state->storePack.lsbFirst = (param != 0); 147 state->storeUnpack.rowLength = a 222 __GLXattribute *state = gc->client_state_private; local [all...] |
/system/core/libpixelflinger/ |
clear.cpp | 42 c->state.clear.dirty = GGL_STENCIL_BUFFER_BIT | 45 c->state.clear.depth = FIXED_ONE; 99 const uint32_t l = c->state.scissor.left; 100 const uint32_t t = c->state.scissor.top; 101 uint32_t w = c->state.scissor.right - l; 102 uint32_t h = c->state.scissor.bottom - t; 108 if (c->state.buffers.color.format == 0) 111 if (c->state.buffers.depth.format == 0) 114 if (c->state.buffers.stencil.format == 0) 118 if (c->state.clear.dirty & GGL_COLOR_BUFFER_BIT) [all...] |