/external/libcxx/utils/google-benchmark/test/ |
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...] |
/device/linaro/bootloader/arm-trusted-firmware/include/plat/arm/css/common/ |
css_pm.h | 17 /* Macros to read the CSS power domain state */ 18 #define CSS_CORE_PWR_STATE(state) (state)->pwr_domain_state[ARM_PWR_LVL0] 19 #define CSS_CLUSTER_PWR_STATE(state) (state)->pwr_domain_state[ARM_PWR_LVL1] 20 #define CSS_SYSTEM_PWR_STATE(state) \ 22 (state)->pwr_domain_state[CSS_SYSTEM_PWR_DMN_LVL] : 0)
|
/external/mesa3d/src/compiler/nir/ |
nir_lower_drawpixels.c | 42 get_texcoord(lower_drawpixels_state *state) 44 if (state->texcoord == NULL) { 48 nir_foreach_variable(var, &state->shader->inputs) { 57 texcoord = nir_variable_create(state->shader, 64 state->texcoord = texcoord; 66 return nir_load_var(&state->b, state->texcoord); 84 get_scale(lower_drawpixels_state *state) 86 if (state->scale == NULL) { 87 state->scale = create_uniform(state->shader, "gl_PTscale" 248 lower_drawpixels_state state = { local [all...] |
nir_repair_ssa.c | 38 prep_build_phi(struct repair_ssa_state *state) 40 const unsigned num_words = BITSET_WORDS(state->impl->num_blocks); 43 if (state->phi_builder == NULL) { 44 state->phi_builder = nir_phi_builder_create(state->impl); 45 state->def_set = ralloc_array(NULL, BITSET_WORD, num_words); 49 state->progress = true; 52 memset(state->def_set, 0, num_words * sizeof(*state->def_set)); 54 return state->phi_builder 70 struct repair_ssa_state *state = void_state; local 107 struct repair_ssa_state state; local [all...] |
nir_lower_io_to_temporaries.c | 77 emit_output_copies_impl(struct lower_io_state *state, nir_function_impl *impl) 79 if (state->shader->stage == MESA_SHADER_GEOMETRY) { 91 emit_copies(cursor, state->shader, &state->shader->outputs, 92 &state->old_outputs); 96 } else if (impl == state->entrypoint) { 98 emit_copies(cursor, state->shader, &state->old_outputs, 99 &state->shader->outputs); 108 emit_copies(cursor, state->shader, &state->shader->outputs 152 struct lower_io_state state; local [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
once.cc | 66 internal::AtomicWord state = internal::Acquire_Load(once); local 68 if (state == ONCE_STATE_DONE) { 76 // First, try to change the state from UNINITIALIZED to EXECUTING_CLOSURE 78 state = internal::Acquire_CompareAndSwap( 80 if (state == ONCE_STATE_UNINITIALIZED) { 88 while (state == ONCE_STATE_EXECUTING_CLOSURE) { 91 state = internal::Acquire_Load(once);
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_state_shader.c | 81 /* draw's fs state */ 123 struct sp_fragment_shader *state = CALLOC_STRUCT(sp_fragment_shader); local 130 state->shader.tokens = tgsi_dup_tokens(templ->tokens); 132 /* draw's fs state */ 133 state->draw_shader = draw_create_fragment_shader(softpipe->draw, 134 &state->shader); 135 if (!state->draw_shader) { 136 tgsi_free_tokens(state->shader.tokens); 137 FREE(state); 141 return state; 149 struct sp_fragment_shader *state = (struct sp_fragment_shader *) fs; local 177 struct sp_fragment_shader *state = fs; local 208 struct sp_vertex_shader *state; local 257 struct sp_vertex_shader *state = (struct sp_vertex_shader *) vs; local 270 struct sp_geometry_shader *state; local 327 struct sp_geometry_shader *state = local 387 struct sp_compute_shader *state; local 412 struct sp_compute_shader *state = (struct sp_compute_shader *)cs; local 424 struct sp_compute_shader *state = (struct sp_compute_shader *)cs; local [all...] |
/external/libxkbcommon/xkbcommon/test/ |
state.c | 38 print_state(struct xkb_state *state) 45 group = xkb_state_serialize_layout(state, XKB_STATE_LAYOUT_EFFECTIVE); 46 mod = xkb_state_serialize_mods(state, XKB_STATE_MODS_EFFECTIVE); 47 /* led = xkb_state_serialize_leds(state, XKB_STATE_LEDS); */ 49 fprintf(stderr, "\tno state\n"); 53 keymap = xkb_state_get_keymap(state); 56 if (xkb_state_layout_index_is_active(state, group, 65 xkb_state_layout_index_is_active(state, group, XKB_STATE_LAYOUT_EFFECTIVE) > 0 ? 67 xkb_state_layout_index_is_active(state, group, XKB_STATE_LAYOUT_DEPRESSED) > 0 ? 69 xkb_state_layout_index_is_active(state, group, XKB_STATE_LAYOUT_LATCHED) > 0 107 struct xkb_state *state = xkb_state_new(keymap); local 249 struct xkb_state *state = xkb_state_new(keymap); local 302 struct xkb_state *state = xkb_state_new(keymap); local 381 struct xkb_state *state; local 491 struct xkb_state *state = xkb_state_new(keymap); local 559 struct xkb_state *state = xkb_state_new(keymap); local 634 struct xkb_state *state = xkb_state_new(keymap); local [all...] |
/frameworks/rs/ |
rsProgram.cpp | 32 mHal.state.inputElementsCount++; 35 mHal.state.constantsCount++; 38 mHal.state.texturesCount++; 42 mTextures = new ObjectBaseRef<Allocation>[mHal.state.texturesCount]; 43 mSamplers = new ObjectBaseRef<Sampler>[mHal.state.texturesCount]; 44 mInputElements = new ObjectBaseRef<Element>[mHal.state.inputElementsCount]; 45 mConstantTypes = new ObjectBaseRef<Type>[mHal.state.constantsCount]; 46 mConstants = new ObjectBaseRef<Allocation>[mHal.state.constantsCount]; 48 mHal.state.textures = new Allocation*[mHal.state.texturesCount] [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
pre_proc.cpp | 131 state = pointer to an array of pointer to structures of type 135 Structure pointed to by the pointer pointed to by state is 137 state points to the allocated memory 152 Allocates state memory and initializes state memory. 167 int Pre_Process_init (Pre_ProcessState **state) 171 if (state == (Pre_ProcessState **) NULL){ 175 *state = NULL; 179 fprintf(stderr, "Pre_Process_init: can not malloc state structure\n"); 184 *state = s [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/ |
ShaderSourceDetailsProvider.java | 19 import com.android.ide.eclipse.gltrace.state.GLCompositeProperty; 20 import com.android.ide.eclipse.gltrace.state.GLStateType; 21 import com.android.ide.eclipse.gltrace.state.GLStringProperty; 22 import com.android.ide.eclipse.gltrace.state.IGLProperty; 37 public boolean isApplicable(IGLProperty state) { 38 return getShaderSourceProperty(state) != null; 58 public void updateControl(IGLProperty state) { 59 IGLProperty shaderSrcProperty = getShaderSourceProperty(state); 72 * the state hierarchy. 73 * @param state any node in the GL state hierarch [all...] |
/external/curl/docs/examples/ |
xmlstream.c | 57 struct ParserStruct *state = (struct ParserStruct *) userData; local 58 state->tags++; 59 state->depth++; 62 free(state->characters.memory); 63 state->characters.memory = NULL; 64 state->characters.size = 0; 69 struct ParserStruct *state = (struct ParserStruct *) userData; local 70 struct MemoryStruct *mem = &state->characters; 76 state->ok = 0; 87 struct ParserStruct *state = (struct ParserStruct *) userData local 98 struct ParserStruct *state = (struct ParserStruct *) XML_GetUserData(parser); local 117 struct ParserStruct state; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
ph_disp.cpp | 52 product of state->prevCbGain and ONFACTPLUS1 in the ph_disp 133 state = pointer to a structure of type ph_dispState 136 Structure pointed to by state is initialized to zeros 165 int ph_disp_reset (ph_dispState *state) 169 if (state == (ph_dispState *) NULL){ 175 state->gainMem[i] = 0; 177 state->prevState = 0; 178 state->prevCbGain = 0; 179 state->lockFull = 0; 180 state->onset = 0; // assume no onset in star [all...] |
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
VrPipline1.java | 36 public void initBuffers(VrState state) { 37 super.initBuffers(state); 55 private void creatOpacityAllocation(VrState state) { 56 scriptC_vr.set_opacity(state.mMaterial.getOpacityAllocation(state.mRs)); 59 private void creatColorMapAllocation(VrState state) { 60 scriptC_vr.set_color_map(state.mMaterial.getColorMapAllocation(state.mRs)); 64 public void setupTriangles(VrState state) { 65 super.setupTriangles(state); [all...] |
/external/webrtc/webrtc/common_audio/signal_processing/ |
resample.c | 46 WebRtcSpl_State22khzTo16khz* state, int32_t* tmpmem) 57 WebRtcSpl_UpBy2ShortToInt(in, 220 / SUB_BLOCKS_22_16, tmpmem + 16, state->S_22_44); 63 // copy state to and from input array 64 tmpmem[8] = state->S_44_32[0]; 65 tmpmem[9] = state->S_44_32[1]; 66 tmpmem[10] = state->S_44_32[2]; 67 tmpmem[11] = state->S_44_32[3]; 68 tmpmem[12] = state->S_44_32[4]; 69 tmpmem[13] = state->S_44_32[5]; 70 tmpmem[14] = state->S_44_32[6] [all...] |
/external/swiftshader/src/Renderer/ |
SetupProcessor.cpp | 34 unsigned int *state = (unsigned int*)this; local 39 hash ^= state[i]; 45 SetupProcessor::State::State(int i) 47 memset(this, 0, sizeof(State)); 50 bool SetupProcessor::State::operator==(const State &state) const 52 if(hash != state.hash) 57 return memcmp(static_cast<const States*>(this), static_cast<const States*>(&state), sizeof(States)) == 0 74 State state; local [all...] |
/bionic/libc/private/ |
bionic_lock.h | 44 _Atomic(LockState) state; member in class:Lock 49 atomic_init(&state, Unlocked); 55 return __predict_true(atomic_compare_exchange_strong_explicit(&state, &old_state, 61 if (__predict_true(atomic_compare_exchange_strong_explicit(&state, &old_state, 65 while (atomic_exchange_explicit(&state, LockedWithWaiter, memory_order_acquire) != Unlocked) { 67 __futex_wait_ex(&state, process_shared, LockedWithWaiter); 73 if (atomic_exchange_explicit(&state, Unlocked, memory_order_release) == LockedWithWaiter) { 74 __futex_wake_ex(&state, process_shared, 1);
|
/cts/tools/dasm/src/java_cup/runtime/ |
symbol.java | 6 * keep track of state on the parse stack. The symbol currently on top 7 * of the stack contains the current state in the parse_state field. 24 public symbol(int sym_num, int state) 27 parse_state = state; 32 /** Constructor without a known state. */ 45 /** The parse state to be recorded on the parse stack with this symbol.
|
/external/deqp/executor/ |
xeCommLink.cpp | 29 const char* getCommLinkStateName (CommLinkState state) 31 switch (state)
|
/external/libxkbcommon/xkbcommon/src/x11/ |
state.c | 27 update_initial_state(struct xkb_state *state, xcb_connection_t *conn, 38 xkb_state_update_mask(state, 54 struct xkb_state *state; local 61 state = xkb_state_new(keymap); 62 if (!state) 65 if (!update_initial_state(state, conn, device_id)) { 66 xkb_state_unref(state); 70 return state;
|
/external/mesa3d/src/mesa/main/tests/ |
program_state_string.cpp | 34 const gl_state_index state[STATE_LENGTH] = { local 38 char *str = _mesa_program_state_string(state); 41 EXPECT_STREQ("state.depth.range", str);
|
/external/skia/include/utils/ |
SkCanvasStateUtils.h | 16 * A set of functions that are useful for copying the state of an SkCanvas 33 * Captures the current state of the canvas into an opaque ptr that is safe 41 * canvases that have been created using its captured state have been dereferenced. 46 * @param canvas The canvas you wish to capture the current state of. 49 * ReleaseCanvasState to free the memory associated with this state. 54 * Create a new SkCanvas from the captured state of another SkCanvas. The 57 * 1) the captured state is in an unrecognized format 60 * @param state Opaque object created by CaptureCanvasState. 61 * @return NULL or an SkCanvas* whose devices and matrix/clip state are 65 static std::unique_ptr<SkCanvas> MakeFromCanvasState(const SkCanvasState* state); [all...] |
/external/skqp/include/utils/ |
SkCanvasStateUtils.h | 16 * A set of functions that are useful for copying the state of an SkCanvas 33 * Captures the current state of the canvas into an opaque ptr that is safe 41 * canvases that have been created using its captured state have been dereferenced. 46 * @param canvas The canvas you wish to capture the current state of. 49 * ReleaseCanvasState to free the memory associated with this state. 54 * Create a new SkCanvas from the captured state of another SkCanvas. The 57 * 1) the captured state is in an unrecognized format 60 * @param state Opaque object created by CaptureCanvasState. 61 * @return NULL or an SkCanvas* whose devices and matrix/clip state are 65 static std::unique_ptr<SkCanvas> MakeFromCanvasState(const SkCanvasState* state); [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
ISoftApCallback.aidl | 27 * Service to manager callback providing current soft AP state. The possible 30 * @param state new AP state. One of WIFI_AP_STATE_DISABLED, 33 * @param failureReason reason when in failed state. One of 36 void onStateChanged(int state, int failureReason);
|
/frameworks/support/lifecycle/compiler/ |
reset_results.py | 41 state = 0 variable 46 if (state == 0 and line.startswith(expected)): 47 state = 1 variable 51 if state == 1 and line.startswith("Actual Source:"): 52 state = 2 variable 55 if state == 2: 58 if state == 2 and line.rstrip() == "}": 60 state = 0 variable
|