/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
VoLteServiceStateTest.java | 31 VoLteServiceState state = new VoLteServiceState(VoLteServiceState.HANDOVER_STARTED); local 32 assertEquals(VoLteServiceState.HANDOVER_STARTED, state.getSrvccState()); 37 VoLteServiceState state = new VoLteServiceState(VoLteServiceState.HANDOVER_FAILED); local 39 state.writeToParcel(p, 0); 42 assertEquals(state, newState); 56 VoLteServiceState state = new VoLteServiceState(VoLteServiceState.HANDOVER_CANCELED); local 57 state.fillInNotifierBundle(b); 63 VoLteServiceState state = new VoLteServiceState(VoLteServiceState.HANDOVER_STARTED); local 64 VoLteServiceState newState = new VoLteServiceState(state); 65 assertEquals(state, newState) [all...] |
/frameworks/rs/ |
rsApiMesh.cpp | 24 *numVtx = sm->mHal.state.vertexBuffersCount; 29 *numIdx = sm->mHal.state.primitivesCount; 34 rsAssert(vtxDataCount == sm->mHal.state.vertexBuffersCount); 37 vtxData[ct] = sm->mHal.state.vertexBuffers[ct]; 38 sm->mHal.state.vertexBuffers[ct]->incUserRef(); 44 rsAssert(idxDataCount == sm->mHal.state.primitivesCount); 47 va[ct] = sm->mHal.state.indexBuffers[ct]; 48 primType[ct] = sm->mHal.state.primitives[ct]; 49 if (sm->mHal.state.indexBuffers[ct]) { 50 sm->mHal.state.indexBuffers[ct]->incUserRef() [all...] |
/prebuilts/misc/windows/sdl2/test/ |
testdropfile.c | 18 static SDLTest_CommonState *state; variable 24 SDLTest_CommonQuit(state); 38 state = SDLTest_CommonCreateState(argv, SDL_INIT_VIDEO); 39 if (!state) { 46 consumed = SDLTest_CommonArg(state, i); 55 SDL_Log("Usage: %s %s\n", argv[0], SDLTest_CommonUsage(state)); 60 if (!SDLTest_CommonInit(state)) { 64 for (i = 0; i < state->num_windows; ++i) { 65 SDL_Renderer *renderer = state->renderers[i]; 78 SDLTest_CommonEvent(state, &event, &done) [all...] |
testgles.c | 27 static SDLTest_CommonState *state; variable 38 for (i = 0; i < state->num_windows; i++) { 47 SDLTest_CommonQuit(state); 121 state = SDLTest_CommonCreateState(argv, SDL_INIT_VIDEO); 122 if (!state) { 128 consumed = SDLTest_CommonArg(state, i); 150 SDLTest_CommonUsage(state)); 157 state->window_flags |= SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_BORDERLESS; 158 state->gl_red_size = 5; 159 state->gl_green_size = 5 [all...] |
/external/mesa3d/src/compiler/nir/ |
nir_lower_clamp_color_outputs.c | 34 is_color_output(lower_state *state, nir_variable *out) 36 switch (state->shader->stage) { 63 lower_intrinsic(lower_state *state, nir_intrinsic_instr *intr) 66 nir_builder *b = &state->b; 75 nir_foreach_variable(var, &state->shader->outputs) { 91 if (is_color_output(state, out)) { 100 lower_block(lower_state *state, nir_block *block) 104 lower_intrinsic(state, nir_instr_as_intrinsic(instr)); 110 lower_impl(lower_state *state, nir_function_impl *impl) 112 nir_builder_init(&state->b, impl) 123 lower_state state = { local [all...] |
nir_lower_two_sided_color.c | 83 setup_inputs(lower_2side_state *state) 88 nir_foreach_variable(var, &state->shader->inputs) { 99 assert(state->colors_count < ARRAY_SIZE(state->colors)); 100 state->colors[state->colors_count].front = var; 101 state->colors_count++; 107 if (state->colors_count == 0) 111 for (int i = 0; i < state->colors_count; i++) { 114 if (state->colors[i].front->data.location == VARYING_SLOT_COL0 188 lower_2side_state state = { local [all...] |
nir_clone.c | 56 init_clone_state(clone_state *state, struct hash_table *remap_table, 59 state->global_clone = global; 60 state->allow_remap_fallback = allow_remap_fallback; 63 state->remap_table = remap_table; 65 state->remap_table = _mesa_hash_table_create(NULL, _mesa_hash_pointer, 69 list_inithead(&state->phi_srcs); 73 free_clone_state(clone_state *state) 75 _mesa_hash_table_destroy(state->remap_table, NULL); 79 _lookup_ptr(clone_state *state, const void *ptr, bool global) 86 if (!state->global_clone && global 697 clone_state state; local 737 clone_state state; local [all...] |
/external/mesa3d/src/gallium/winsys/svga/drm/ |
vmw_query.c | 81 SVGA3dQueryState *state; local 83 state = (SVGA3dQueryState *) vmw_svga_winsys_buffer_map(sws, 86 if (!state) { 91 /* Initialize the query state for the specified query slot */ 92 state = (SVGA3dQueryState *)((char *)state + offset); 93 *state = queryState; 109 SVGA3dQueryState *state; local 111 state = (SVGA3dQueryState *) vmw_svga_winsys_buffer_map(sws, 114 if (!state) { [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
lpc.cpp | 100 state = pointer to pointer of state data of type lpcState 117 This function initializes the state data for the LPC module. 135 if (state == (lpcState **) NULL){ 139 *state = NULL; 143 // fprintf(stderr, "lpc_init: can not malloc state structure\n"); 157 *state = s; 179 [State any special notes, constraints or cautions for users of this function] 183 Word16 lpc_init(lpcState **state) 187 if (state == (lpcState **) NULL [all...] |
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_qir_schedule.c | 160 block_until_tex_result(struct schedule_setup_state *state, struct schedule_node *n) 162 add_dep(state->dir, state->tex_fifo[0].node, n); 164 state->tfreq_count -= state->tex_fifo[0].coords; 165 state->tfrcv_count--; 167 memmove(&state->tex_fifo[0], 168 &state->tex_fifo[1], 169 state->tex_fifo_pos * sizeof(state->tex_fifo[0])) 296 struct schedule_setup_state state; local 415 struct schedule_setup_state state; local 696 struct schedule_state state = { { 0 } }; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
PatternStringParser.java | 28 ParserState state = new ParserState(patternString); local 30 consumePattern(state, result); 238 private static void consumePattern(ParserState state, ParsedPatternInfo result) { 241 consumeSubpattern(state, result.positive); 242 if (state.peek() == ';') { 243 state.next(); // consume the ';' 245 if (state.peek() != -1) { 247 consumeSubpattern(state, result.negative); 250 if (state.peek() != -1) { 251 throw state.toParseException("Found unquoted special character") [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
PatternStringParser.java | 26 ParserState state = new ParserState(patternString); local 28 consumePattern(state, result); 236 private static void consumePattern(ParserState state, ParsedPatternInfo result) { 239 consumeSubpattern(state, result.positive); 240 if (state.peek() == ';') { 241 state.next(); // consume the ';' 243 if (state.peek() != -1) { 245 consumeSubpattern(state, result.negative); 248 if (state.peek() != -1) { 249 throw state.toParseException("Found unquoted special character") [all...] |
/external/zlib/src/contrib/infback9/ |
infback9.c | 25 struct inflate_state FAR *state; local 38 state = (struct inflate_state FAR *)ZALLOC(strm, 1, 40 if (state == Z_NULL) return Z_MEM_ERROR; 42 strm->state = (voidpf)state; 43 state->window = window; 58 struct inflate_state state; local 63 while (sym < 144) state.lens[sym++] = 8; 64 while (sym < 256) state.lens[sym++] = 9; 65 while (sym < 280) state.lens[sym++] = 7 224 struct inflate_state FAR *state; local [all...] |
/frameworks/base/core/java/android/nfc/ |
NfcActivityManager.java | 51 final List<NfcApplicationState> mApps; // Application(s) that have NFC state. Usually one 52 final List<NfcActivityState> mActivities; // Activities that have NFC state 55 * NFC State associated with an {@link Application}. 107 * NFC state associated with an {@link Activity} 161 /** find activity state from mActivities */ 163 for (NfcActivityState state : mActivities) { 164 if (state.activity == activity) { 165 return state; 171 /** find or create activity state from mActivities */ 173 NfcActivityState state = findActivityState(activity) local 209 NfcActivityState state = getActivityState(activity); local 225 NfcActivityState state = getActivityState(activity); local 250 NfcActivityState state = getActivityState(activity); local 268 NfcActivityState state = getActivityState(activity); local 284 NfcActivityState state = getActivityState(activity); local 302 NfcActivityState state = getActivityState(activity); local 320 NfcActivityState state = getActivityState(activity); local 364 NfcActivityState state = findResumedActivityState(); local 421 NfcActivityState state = findResumedActivityState(); local 437 NfcActivityState state = findResumedActivityState(); local 464 NfcActivityState state = findActivityState(activity); local 484 NfcActivityState state = findActivityState(activity); local 509 NfcActivityState state = findActivityState(activity); local [all...] |
/toolchain/binutils/binutils-2.27/zlib/contrib/infback9/ |
infback9.c | 25 struct inflate_state FAR *state; local 38 state = (struct inflate_state FAR *)ZALLOC(strm, 1, 40 if (state == Z_NULL) return Z_MEM_ERROR; 42 strm->state = (voidpf)state; 43 state->window = window; 58 struct inflate_state state; local 63 while (sym < 144) state.lens[sym++] = 8; 64 while (sym < 256) state.lens[sym++] = 9; 65 while (sym < 280) state.lens[sym++] = 7 224 struct inflate_state FAR *state; local [all...] |
/external/elfutils/tests/ |
allregs.c | 66 struct state struct 106 struct state *state = arg; local 108 if (regno >= state->nregs) 110 state->info = realloc (state->info, (regno + 1) * sizeof state->info[0]); 111 memset (&state->info[state->nregs], 0, 112 ((void *) &state->info[regno + 1 164 struct state state = { NULL, 0 }; local [all...] |
/external/python/cpython3/Modules/_sha3/kcp/ |
KeccakP-1600-64.macros | 470 #define copyFromState(X, state) \ 471 X##ba = state[ 0]; \ 472 X##be = state[ 1]; \ 473 X##bi = state[ 2]; \ 474 X##bo = state[ 3]; \ 475 X##bu = state[ 4]; \ 476 X##ga = state[ 5]; \ 477 X##ge = state[ 6]; \ 478 X##gi = state[ 7]; \ 479 X##go = state[ 8]; [all...] |
KeccakP-1600-opt64.c | 80 void KeccakP1600_Initialize(void *state) 82 memset(state, 0, 200); 84 ((UINT64*)state)[ 1] = ~(UINT64)0; 85 ((UINT64*)state)[ 2] = ~(UINT64)0; 86 ((UINT64*)state)[ 8] = ~(UINT64)0; 87 ((UINT64*)state)[12] = ~(UINT64)0; 88 ((UINT64*)state)[17] = ~(UINT64)0; 89 ((UINT64*)state)[20] = ~(UINT64)0; 95 void KeccakP1600_AddBytesInLane(void *state, unsigned int lanePosition, const unsigned char *data, unsigned int offset, unsigned int length) 114 ((UINT64*)state)[lanePosition] ^= lane [all...] |
/external/deqp/modules/gles3/functional/ |
es3fVertexArrayObjectTests.cpp | 126 VertexArrayState state; member in struct:deqp::gles3::Functional::__anon18588::Spec 164 void logVertexArrayState (tcu::TestLog& log, const VertexArrayState& state, const std::string& msg); 167 glu::ShaderProgram* createProgram (const VertexArrayState& state); 168 void setState (const VertexArrayState& state); 170 void makeDrawCall (const VertexArrayState& state); 194 void VertexArrayObjectTest::logVertexArrayState (tcu::TestLog& log, const VertexArrayState& state, const std::string& msg) 199 message << "GL_ELEMENT_ARRAY_BUFFER : " << state.elementArrayBuffer << "\n"; 201 for (int attribNdx = 0; attribNdx < (int)state.attributes.size(); attribNdx++) 205 << "\tGL_VERTEX_ATTRIB_ARRAY_ENABLED : " << (state.attributes[attribNdx].enabled ? "GL_TRUE" : "GL_FALSE") << "\n" 206 << "\tGL_VERTEX_ATTRIB_ARRAY_SIZE : " << state.attributes[attribNdx].size << "\n 1261 VertexArrayState state; local 1298 VertexArrayState state; local 1336 VertexArrayState state; local 1374 VertexArrayState state; local 1411 VertexArrayState state; local 1448 VertexArrayState state; local 1498 VertexArrayState state; local 1535 VertexArrayState state; local 1572 VertexArrayState state; local [all...] |
/bootable/recovery/edify/ |
expr.cpp | 45 bool Evaluate(State* state, const std::unique_ptr<Expr>& expr, std::string* result) { 50 std::unique_ptr<Value> v(expr->fn(expr->name.c_str(), state, expr->argv)); 55 ErrorAbort(state, kArgsParsingFailure, "expecting string, got value type %d", v->type); 63 Value* EvaluateValue(State* state, const std::unique_ptr<Expr>& expr) { 64 return expr->fn(expr->name.c_str(), state, expr->argv); 78 Value* ConcatFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { 85 if (!Evaluate(state, argv[i], &str)) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/events/ |
CombinedEventsManager.java | 84 for (EventState state : states) { 85 list.add(state.getEventHandler()); 98 /** Get all the events state wrapping the handlers that have been added to the manager. 139 for (EventState state : states) { 140 state.reinitializeBegin(interpolator); 148 for (EventState state : states) { 150 if (state.evaluateStep(interpolator)) { 152 first = state; 155 if (state.getEventTime() < first.getEventTime()) { 156 first = state; [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
UserState.java | 39 // User is in the locked state. 41 // User is in the unlocking state. 43 // User is in the running state. 55 public int state = STATE_BOOTING; field in class:UserState 74 if (state == oldState) { 78 Slog.w(TAG, "Expected user " + mHandle.getIdentifier() + " in state " 79 + stateToString(oldState) + " but was in state " + stateToString(state)); 85 if (newState == state) { 89 if (state != STATE_BOOTING) [all...] |
/external/mesa3d/src/compiler/glsl/ |
ast_array_index.cpp | 46 * loc and state to report the error. 50 struct _mesa_glsl_parse_state *state) 60 check_builtin_array_max_size(var->name, idx+1, *loc, state); 107 state); 116 get_implicit_array_size(struct _mesa_glsl_parse_state *state, 124 if (state->stage == MESA_SHADER_TESS_CTRL && 126 return state->Const.MaxPatchVertices; 132 if (state->stage == MESA_SHADER_TESS_EVAL && 135 return state->Const.MaxPatchVertices; 144 struct _mesa_glsl_parse_state *state, [all...] |
/frameworks/base/libs/androidfw/tests/ |
AssetManager2_bench.cpp | 38 static void BM_AssetManagerLoadAssets(benchmark::State& state) { 40 while (state.KeepRunning()) { 48 static void BM_AssetManagerLoadAssetsOld(benchmark::State& state) { 50 while (state.KeepRunning()) { 61 static void BM_AssetManagerLoadFrameworkAssets(benchmark::State& state) { 63 while (state.KeepRunning()) { 71 static void BM_AssetManagerLoadFrameworkAssetsOld(benchmark::State& state) [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
IsSupported.java | 60 boolean state; 63 state = rootNode.isSupported("XXX", "1.0"); 64 assertFalse("throw_False", state); 69 boolean state; 72 state = rootNode.isSupported("XML", "9.0"); 73 assertFalse("throw_False", state); 78 boolean state; 81 state = rootNode.isSupported("xml", "1.0"); 82 assertTrue("throw_True", state); 87 boolean state; [all...] |