/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
ph_disp.h | 129 ; Purpose: Initializes state memory 132 Word16 ph_disp_reset(ph_dispState *state); 137 ; Purpose: The memory used for state memory is freed 140 void ph_disp_exit(ph_dispState **state); 145 ; Purpose: mark phase dispersion as locked in state struct 148 void ph_disp_lock(ph_dispState *state); 153 ; Purpose: mark phase dispersion as unlocked in state struct 157 void ph_disp_release(ph_dispState *state); 169 ph_dispState *state, /* i/o : State struct * [all...] |
sp_dec.cpp | 137 state = pointer to an array of pointers to structures of type 145 to by state is set to NULL 147 by state is set to NULL 149 by state is set to NULL 151 to by state is set to the input no_hp_post_MR122 166 This function allocates memory for filter structure and initializes state 185 int Speech_Decode_Frame_init (Speech_Decode_FrameState **state, 190 if (state == (Speech_Decode_FrameState **) NULL){ 194 *state = NULL; 199 fprintf(stderr, "Speech_Decode_Frame_init: can not malloc state " 376 Speech_Decode_FrameState *state = local 487 Speech_Decode_FrameState **state = local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
FlashlightTile.java | 100 protected void handleUpdateState(BooleanState state, Object arg) { 101 if (state.slash == null) { 102 state.slash = new SlashState(); 104 state.label = mHost.getContext().getString(R.string.quick_settings_flashlight_label); 106 state.icon = mIcon; 107 state.slash.isSlashed = true; 108 state.contentDescription = mContext.getString( 110 state.state = Tile.STATE_UNAVAILABLE; 115 if (value == state.value) [all...] |
/frameworks/native/cmds/surfacereplayer/replayer/ |
Event.cpp | 35 void Event::waitUntil(Event::EventState state) { 37 mCond.wait(lock, [this, state] { return (mState == state); }); 40 void Event::changeState(Event::EventState state) { 42 mState = state;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
StateChangeResult.java | 23 * Stores supplicant state change information passed from WifiMonitor to 24 * a state machine. WifiStateMachine, SupplicantStateTracker and WpsStateMachine 25 * are example state machines that handle it. 30 SupplicantState state) { 31 this.state = state; 40 SupplicantState state; field in class:StateChangeResult 49 sb.append(" state: ").append(state);
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_domimplementationfeaturexml.java | 64 boolean state; 69 state = domImpl.hasFeature("html", "1.0"); 70 assertTrue("supports_html_1.0", state); 72 state = domImpl.hasFeature("xml", "1.0"); 73 assertTrue("supports_xml_1.0", state);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
elementhasattribute03.java | 68 boolean state; 74 state = element.hasAttribute("domestic"); 75 assertFalse("elementhasattribute03_False", state); 77 state = element.hasAttribute("domestic"); 78 assertTrue("elementhasattribute03_True", state);
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
KeyguardControllerStateTest.java | 37 KeyguardControllerState state = KeyguardControllerState.create(testOutput); local 38 Assert.assertNull(state); 51 KeyguardControllerState state = KeyguardControllerState.create(testOutput); local 52 Assert.assertTrue(state.isKeyguardShowing()); 53 Assert.assertFalse(state.isKeyguardOccluded());
|
/external/dhcpcd-6.8.2/ |
dhcp6.c | 300 struct dhcp6_state *state; local 311 state = D6_STATE(ifp); 312 up = uptime() - state->start_uptime; 396 struct dhcp6_state *state; local 401 state = D6_STATE(ifp); 402 if (state == NULL) { 403 ifp->if_data[IF_DATA_DHCP6] = calloc(1, sizeof(*state)); 404 state = D6_STATE(ifp); 405 if (state == NULL) { 410 TAILQ_INIT(&state->addrs) 495 const struct dhcp6_state *state = D6_CSTATE(ifp); local 510 struct dhcp6_state *state; local 967 struct dhcp6_state *state; local 992 struct dhcp6_state *state; local 1012 struct dhcp6_state *state; local 1238 struct dhcp6_state *state; local 1259 const struct dhcp6_state *state; local 1276 struct dhcp6_state *state; local 1320 struct dhcp6_state *state; local 1376 struct dhcp6_state *state; local 1477 struct dhcp6_state *state; local 1521 struct dhcp6_state *state; local 1545 struct dhcp6_state *state; local 1573 struct dhcp6_state *state; local 1619 struct dhcp6_state *state; local 1702 struct dhcp6_state *state; local 1741 struct dhcp6_state *state; local 1822 struct dhcp6_state *state; local 1948 struct dhcp6_state *state; local 2101 struct dhcp6_state *state; local 2133 const struct dhcp6_state *state; local 2154 struct dhcp6_state *state; local 2258 struct dhcp6_state *state; local 2306 struct dhcp6_state *state; local 2375 struct dhcp6_state *state; local 2411 struct dhcp6_state *state, *ifd_state; local 2524 struct dhcp6_state *state; local 2611 struct dhcp6_state *state; local 3165 struct dhcp6_state *state; local 3248 struct dhcp6_state *state; local 3307 struct dhcp6_state *state; local 3329 struct dhcp6_state *state; local 3441 struct dhcp6_state *state; local 3467 const struct dhcp6_state *state; local 3603 struct dhcp6_state *state; local [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_state.c | 50 /* r300_state: Functions used to intialize state context by translating 51 * Gallium state objects into semi-native r300 state objects. */ 54 if (cso != atom.state) { \ 55 atom.state = cso; \ 63 * SRC_ALPHA == 0, and the following state is set, the colorbuffer 84 * SRC_ALPHA == 1, and the following state is set, the colorbuffer 103 * SRC_COLOR == (0,0,0), and the following state is set, the colorbuffer 118 * SRC_COLOR == (1,1,1), and the following state is set, the colorbuffer 133 * SRC_ALPHA_COLOR == (0,0,0,0), and the following state is set 579 struct r300_blend_color_state *state = local 863 struct pipe_framebuffer_state *state = r300->fb_state.state; local 1477 struct r300_textures_state* state = local 1531 struct r300_textures_state* state = local [all...] |
/external/elfutils/libelf/ |
elf_end.c | 70 if (elf->state.ar.ar_sym != (Elf_Arsym *) -1l) 71 free (elf->state.ar.ar_sym); 72 elf->state.ar.ar_sym = NULL; 74 if (elf->state.ar.children != NULL) 85 state of REF_COUNT==0 is handled all over the library, so 91 if (parent->state.ar.children == elf) 92 parent->state.ar.children = elf->next; 95 struct Elf *child = parent->state.ar.children; 110 if (elf->state.ar.long_names != NULL) 111 free (elf->state.ar.long_names) [all...] |
/cts/apps/CameraITS/tests/scene1/ |
test_ae_precapture_trigger.py | 26 """Test the AE state machine when using the precapture trigger. 59 # Capture an auto request and verify the AE state; no trigger. 63 state = cap['metadata']['android.control.aeState'] 64 print "AE state after auto request:", state 65 assert(state in [SEARCHING, CONVERGED]) 70 state = cap['metadata']['android.control.aeState'] 71 print "AE state after auto request with precapture trigger:", state 72 assert(state in [SEARCHING, CONVERGED, PRECAPTURE] [all...] |
/device/generic/goldfish-opengl/system/GLESv2_enc/ |
GL2EncoderUtils.cpp | 28 assert (ctx->state() != NULL); 29 return ctx->state()->pixelDataSize(width, height, 1, format, type, pack); 35 assert (ctx->state() != NULL); 36 return ctx->state()->pixelDataSize(width, height, depth, format, type, pack); 48 assert (ctx->state() != NULL); 49 return ctx->state()->clearBufferNumElts(buffer); 54 assert (ctx->state() != NULL); 55 return ctx->state()->numActiveUniformsInUniformBlock(program, blockIndex); 60 assert (ctx->state() != NULL); 63 return ctx->state()->numActiveUniformsInUniformBlock(program, blockIndex) [all...] |
/external/brotli/java/org/brotli/dec/ |
BrotliInputStream.java | 37 * Decoder state. 39 private final State state = new State(); field in class:BrotliInputStream 79 Decode.initState(state, source); 90 Decode.close(state); 135 state.output = destBuffer; 136 state.outputOffset = destOffset; 137 state.outputLength = destLen; 138 state.outputUsed = 0 [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
BuiltinFunctionChecker.cpp | 34 ProgramStateRef state = C.getState(); local 53 SVal X = state->getSVal(*(CE->arg_begin()), LCtx); 54 C.addTransition(state->BindExpr(CE, LCtx, X)); 68 state->getSVal(*(CE->arg_begin()), LCtx).castAs<DefinedOrUnknownSVal>(); 73 svalBuilder.evalEQ(state, Extent, Size); 74 state = state->assume(extentMatchesSizeArg, true); 75 assert(state && "The region should not have any previous constraints"); 77 C.addTransition(state->BindExpr(CE, LCtx, loc::MemRegionVal(R))); 94 C.addTransition(state->BindExpr(CE, LCtx, V)) [all...] |
/external/google-benchmark/test/ |
filter_test.cc | 38 static void NoPrefix(benchmark::State& state) { 39 for (auto _ : state) { 44 static void BM_Foo(benchmark::State& state) { 45 for (auto _ : state) { 50 static void BM_Bar(benchmark::State& state) { 51 for (auto _ : state) { 56 static void BM_FooBar(benchmark::State& state) [all...] |
/external/libcxx/utils/google-benchmark/test/ |
filter_test.cc | 38 static void NoPrefix(benchmark::State& state) { 39 for (auto _ : state) { 44 static void BM_Foo(benchmark::State& state) { 45 for (auto _ : state) { 50 static void BM_Bar(benchmark::State& state) { 51 for (auto _ : state) { 56 static void BM_FooBar(benchmark::State& state) [all...] |
/external/lzma/C/ |
Delta.c | 8 void Delta_Init(Byte *state)
12 state[i] = 0;
22 void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size)
26 MyMemCpy(buf, state, delta);
41 MyMemCpy(state, buf + j, delta - j);
42 MyMemCpy(state + delta - j, buf, j);
45 void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size)
49 MyMemCpy(buf, state, delta);
62 MyMemCpy(state, buf + j, delta - j);
63 MyMemCpy(state + delta - j, buf, j); [all...] |
/external/mesa3d/src/gallium/state_trackers/xa/ |
README | 30 The XA state tracker is intended as a versioned interface to gallium for 32 composite / video work for the Xorg state tracker. 34 The motivation behind this state tracker is that the Xorg state tracker has 42 Since Gallium3D is not versioned, the Xorg state tracker needs to be compiled 46 Therefore the xa state tracker is intended to supply the following 59 should investigate sharing the loadig mechanism with the EGL state tracker.
|
/external/speex/libspeex/ |
speex_callbacks.c | 43 EXPORT int speex_inband_handler(SpeexBits *bits, SpeexCallback *callback_list, void *state) 53 return callback->func(bits, state, callback->data); 75 EXPORT int speex_std_mode_request_handler(SpeexBits *bits, void *state, void *data) 83 EXPORT int speex_std_low_mode_request_handler(SpeexBits *bits, void *state, void *data) 91 EXPORT int speex_std_high_mode_request_handler(SpeexBits *bits, void *state, void *data) 100 EXPORT int speex_std_vbr_request_handler(SpeexBits *bits, void *state, void *data) 109 EXPORT int speex_std_enh_request_handler(SpeexBits *bits, void *state, void *data) 118 EXPORT int speex_std_vbr_quality_request_handler(SpeexBits *bits, void *state, void *data) 127 EXPORT int speex_std_char_handler(SpeexBits *bits, void *state, void *data) 139 EXPORT int speex_default_user_handler(SpeexBits *bits, void *state, void *data [all...] |
/external/webrtc/webrtc/system_wrappers/include/ |
static_instance.h | 41 CreateOperation state = kInstanceExists; local 61 state = kCreate; 66 state = kDestroy; 69 if (state == kCreate) { 71 } else if (state == kDestroy) { 74 // The state will not change past this point. Release the critical 101 // Sanity to catch corrupt state. 109 state = kCreate; 115 state = kCreate; 121 state = kDestroy [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
sp_enc.cpp | 110 state = pointer to an array of pointers to structures of type 117 by state is set to NULL 119 by state is set to NULL 120 dtx field of the structure pointed to by the pointer pointed to by state 136 This function allocates memory for filter structure and initializes state 168 fprintf(stderr, "Speech_Encode_Frame_init: can not malloc state " 210 [State any special notes, constraints or cautions for users of this function] 233 /* fprintf(stderr, "Speech_Encode_Frame_init: can not malloc state " 264 state = pointer to structures of type Speech_Decode_FrameState 281 This function resets state memor 344 Speech_Encode_FrameState *state = local 453 Speech_Encode_FrameState **state = local [all...] |
/frameworks/base/libs/androidfw/tests/ |
Theme_bench.cpp | 30 static void BM_ThemeApplyStyleFramework(benchmark::State& state) { 33 state.SkipWithError("Failed to load assets"); 40 while (state.KeepRunning()) { 47 static void BM_ThemeApplyStyleFrameworkOld(benchmark::State& state) { 51 state.SkipWithError("Failed to load assets"); 57 while (state.KeepRunning()) { 64 static void BM_ThemeGetAttribute(benchmark::State& state) { [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
BakedOpStateTests.cpp | 38 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false, false); 39 EXPECT_MATRIX_APPROX_EQ(state.transform, translate10x20); 40 EXPECT_EQ(Rect(100, 200), state.clipRect()); 41 EXPECT_EQ(Rect(40, 60, 100, 200), state.clippedBounds); // translated and also clipped 42 EXPECT_EQ(OpClipSideFlags::Right | OpClipSideFlags::Bottom, state.clipSideFlags); 47 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false, false); 51 EXPECT_MATRIX_APPROX_EQ(expectedTranslate, state.transform); 54 EXPECT_EQ(Rect(10, 20, 100, 200), state.clipRect()); 57 EXPECT_EQ(Rect(50, 80, 100, 200), state.clippedBounds); 58 EXPECT_EQ(OpClipSideFlags::Right | OpClipSideFlags::Bottom, state.clipSideFlags) [all...] |
/frameworks/compile/mclinker/include/mcld/LD/ |
Diagnostic.h | 28 unsigned int getID() const { return m_Engine.state().ID; } 30 unsigned int getNumArgs() const { return m_Engine.state().numArgs; } 34 return (DiagnosticEngine::ArgumentKind)m_Engine.state().ArgumentKinds[pIdx]; 40 return m_Engine.state().ArgumentStrs[pIdx]; 46 return reinterpret_cast<const char*>(m_Engine.state().ArgumentVals[pIdx]); 52 return static_cast<int>(m_Engine.state().ArgumentVals[pIdx]); 58 return (unsigned int)m_Engine.state().ArgumentVals[pIdx]; 64 return (unsigned long long)m_Engine.state().ArgumentVals[pIdx]; 70 return static_cast<bool>(m_Engine.state().ArgumentVals[pIdx]); 76 return m_Engine.state().ArgumentVals[pIdx] [all...] |