HomeSort by relevance Sort by last modified time
    Searched refs:state (Results 126 - 150 of 11024) sorted by null

1 2 3 4 56 7 8 91011>>

  /frameworks/base/cmds/statsd/benchmark/
hello_world_benchmark.cpp 18 static void BM_StringCreation(benchmark::State& state) {
19 while (state.KeepRunning()) std::string empty_string;
25 static void BM_StringCopy(benchmark::State& state) {
27 while (state.KeepRunning()) std::string copy(x);
  /frameworks/base/services/core/java/com/android/server/connectivity/tethering/
IControlsTethering.java 36 public static String getStateString(int state) {
37 switch (state) {
43 return "UNKNOWN: " + state;
47 * Notify that |who| has changed its tethering state.
52 * @param state one of IControlsTethering.STATE_*
55 public void updateInterfaceState(TetherInterfaceStateMachine who, int state, int lastError) {}
  /frameworks/base/services/core/java/com/android/server/display/
DisplayBlanker.java 20 * Interface used to update the actual display state.
23 void requestDisplayState(int state, int brightness);
  /frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
StateChangeListener.java 20 void onStateChanged(int state);
  /frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Pipeline.java 35 * @param state
37 public void initBuffers(VrState state);
41 * @param state
43 public void setupTriangles(VrState state);
47 * @param state
49 public void rasterizeTriangles(VrState state);
53 * @param state
55 public void raycast(VrState state);
  /external/mesa3d/src/compiler/nir/
nir_validate.c 41 * Per-register validation state.
63 /* map of register -> validation state (struct above) */
107 log_error(validate_state *state, const char *cond, const char *file, int line)
111 if (state->instr)
112 obj = state->instr;
113 else if (state->var)
114 obj = state->var;
118 char *msg = ralloc_asprintf(state->errors, "error: %s (%s:%d)",
121 _mesa_hash_table_insert(state->errors, obj, msg);
124 #define validate_assert(state, cond) do {
580 validate_alu_instr(nir_instr_as_alu(instr), state); local
584 validate_call_instr(nir_instr_as_call(instr), state); local
588 validate_intrinsic_instr(nir_instr_as_intrinsic(instr), state); local
592 validate_tex_instr(nir_instr_as_tex(instr), state); local
596 validate_load_const_instr(nir_instr_as_load_const(instr), state); local
600 validate_phi_instr(nir_instr_as_phi(instr), state); local
604 validate_ssa_undef_instr(nir_instr_as_ssa_undef(instr), state); local
648 validate_phi_src(nir_instr_as_phi(instr), block, state); local
836 validate_block(nir_cf_node_as_block(node), state); local
840 validate_if(nir_cf_node_as_if(node), state); local
844 validate_loop(nir_cf_node_as_loop(node), state); local
973 validate_state *state = void_state; local
    [all...]
  /packages/apps/Dialer/java/com/android/incallui/contactgrid/
TopRow.java 28 import com.android.incallui.call.DialerCall.State;
63 public static Info getInfo(Context context, PrimaryCallState state, PrimaryInfo primaryInfo) {
65 Drawable icon = state.connectionIcon();
68 if (state.isWifi() && icon == null) {
72 if (state.state() == State.INCOMING || state.state() == State.CALL_WAITING)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/expat/
xmlrole.c 93 #define setTopLevel(state) \
94 ((state)->handler = ((state)->documentEntity \
98 #define setTopLevel(state) ((state)->handler = internalSubset)
101 typedef int PTRCALL PROLOG_HANDLER(PROLOG_STATE *state,
125 static int FASTCALL common(PROLOG_STATE *state, int tok);
128 prolog0(PROLOG_STATE *state,
136 state->handler = prolog1;
139 state->handler = prolog1;
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/
xmlrole.c 87 #define setTopLevel(state) \
88 ((state)->handler = ((state)->documentEntity \
92 #define setTopLevel(state) ((state)->handler = internalSubset)
95 typedef int PTRCALL PROLOG_HANDLER(PROLOG_STATE *state,
119 static int FASTCALL common(PROLOG_STATE *state, int tok);
122 prolog0(PROLOG_STATE *state,
130 state->handler = prolog1;
133 state->handler = prolog1;
    [all...]
  /external/expat/lib/
xmlrole.c 115 #define setTopLevel(state) \
116 ((state)->handler = ((state)->documentEntity \
120 #define setTopLevel(state) ((state)->handler = internalSubset)
123 typedef int PTRCALL PROLOG_HANDLER(PROLOG_STATE *state,
147 static int FASTCALL common(PROLOG_STATE *state, int tok);
150 prolog0(PROLOG_STATE *state,
158 state->handler = prolog1;
161 state->handler = prolog1
    [all...]
  /external/python/cpython2/Modules/expat/
xmlrole.c 93 #define setTopLevel(state) \
94 ((state)->handler = ((state)->documentEntity \
98 #define setTopLevel(state) ((state)->handler = internalSubset)
101 typedef int PTRCALL PROLOG_HANDLER(PROLOG_STATE *state,
125 static int FASTCALL common(PROLOG_STATE *state, int tok);
128 prolog0(PROLOG_STATE *state,
136 state->handler = prolog1;
139 state->handler = prolog1
    [all...]
  /external/python/cpython3/Modules/expat/
xmlrole.c 93 #define setTopLevel(state) \
94 ((state)->handler = ((state)->documentEntity \
98 #define setTopLevel(state) ((state)->handler = internalSubset)
101 typedef int PTRCALL PROLOG_HANDLER(PROLOG_STATE *state,
125 static int FASTCALL common(PROLOG_STATE *state, int tok);
128 prolog0(PROLOG_STATE *state,
136 state->handler = prolog1;
139 state->handler = prolog1
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
DLexerBase.cpp 105 /* saves dlg state, but not what feeds dlg (such as file position) */
107 saveState(DLGState *state)
109 state->input = input;
110 state->interactive = interactive;
111 state->track_columns = track_columns;
112 state->auto_num = automaton;
113 state->add_erase = add_erase;
114 state->lookc = ch;
115 state->char_full = charfull;
116 state->begcol = _begcol;
    [all...]
  /external/speex/include/speex/
speex_callbacks.h 88 typedef int (*speex_callback_func)(SpeexBits *bits, void *state, void *data);
100 int speex_inband_handler(SpeexBits *bits, SpeexCallback *callback_list, void *state);
103 int speex_std_mode_request_handler(SpeexBits *bits, void *state, void *data);
106 int speex_std_high_mode_request_handler(SpeexBits *bits, void *state, void *data);
109 int speex_std_char_handler(SpeexBits *bits, void *state, void *data);
112 int speex_default_user_handler(SpeexBits *bits, void *state, void *data);
117 int speex_std_low_mode_request_handler(SpeexBits *bits, void *state, void *data);
120 int speex_std_vbr_request_handler(SpeexBits *bits, void *state, void *data);
123 int speex_std_enh_request_handler(SpeexBits *bits, void *state, void *data);
126 int speex_std_vbr_quality_request_handler(SpeexBits *bits, void *state, void *data)
    [all...]
  /external/freetype/src/gzip/
inflate.c 29 /* inflate private state */
49 *blocks; /* current inflate_blocks state */
57 if (z == Z_NULL || z->state == Z_NULL)
61 z->state->mode = z->state->nowrap ? BLOCKS : METHOD;
62 inflate_blocks_reset(z->state->blocks, z, Z_NULL);
71 if (z == Z_NULL || z->state == Z_NULL || z->zfree == Z_NULL)
73 if (z->state->blocks != Z_NULL)
74 inflate_blocks_free(z->state->blocks, z);
75 ZFREE(z, z->state);
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_dump_state.c 293 util_dump_resource(FILE *stream, const struct pipe_resource *state)
295 if (!state) {
302 util_dump_member(stream, enum_tex_target, state, target);
303 util_dump_member(stream, format, state, format);
305 util_dump_member(stream, uint, state, width0);
306 util_dump_member(stream, uint, state, height0);
307 util_dump_member(stream, uint, state, depth0);
308 util_dump_member(stream, uint, state, array_size);
310 util_dump_member(stream, uint, state, last_level);
311 util_dump_member(stream, uint, state, nr_samples)
    [all...]
  /external/libchrome/base/
lazy_instance.cc 16 bool NeedsLazyInstance(subtle::AtomicWord* state) {
19 // The memory access has no memory ordering as state 0 and
22 if (subtle::NoBarrier_CompareAndSwap(state, 0,
32 while (subtle::Acquire_Load(state) == kLazyInstanceStateCreating) {
39 void CompleteLazyInstance(subtle::AtomicWord* state,
46 subtle::Release_Store(state, new_instance);
  /external/vboot_reference/firmware/lib/include/
stateful_util.h 27 void StatefulInit(MemcpyState *state, void *buf, uint64_t len);
30 * Skip [len] bytes only if there's enough data to skip according to [state].
32 * On success, return a meaningless but non-NULL pointer and updates [state].
33 * On failure, return NULL, set state->overrun to 1.
38 void *StatefulSkip(MemcpyState *state, uint64_t len);
42 * to [state].
44 * On success, return [dst] and update [state].
45 * On failure, return NULL, set state->overrun to 1.
50 void *StatefulMemcpy(MemcpyState *state, void *dst, uint64_t len);
54 * data from [src] into the buffer encapsulated in state [state]
    [all...]
  /external/elfutils/libdw/
libdw_visit_scopes.c 80 walk_children (struct walk_children_state *state);
94 struct walk_children_state state = local
103 state.child.parent = root;
105 if ((ret = INTUSE(dwarf_child) (&root->die, &state.child.die)) != 0)
108 return walk_children (&state);
112 walk_children (struct walk_children_state *state)
121 while (INTUSE(dwarf_tag) (&state->child.die) == DW_TAG_imported_unit)
123 Dwarf_Die orig_child_die = state->child.die;
125 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (&state->child.die,
128 if (INTUSE(dwarf_formref_die) (attr, &state->child.die) != NUL
    [all...]
  /external/mesa3d/src/gallium/drivers/trace/
tr_dump_state.c 103 void trace_dump_rasterizer_state(const struct pipe_rasterizer_state *state)
108 if (!state) {
115 trace_dump_member(bool, state, flatshade);
116 trace_dump_member(bool, state, light_twoside);
117 trace_dump_member(bool, state, clamp_vertex_color);
118 trace_dump_member(bool, state, clamp_fragment_color);
119 trace_dump_member(uint, state, front_ccw);
120 trace_dump_member(uint, state, cull_face);
121 trace_dump_member(uint, state, fill_front);
122 trace_dump_member(uint, state, fill_back)
    [all...]
  /external/clang/tools/scan-build-py/libscanbuild/
shell.py 22 state checking. """
26 state = 0
28 if state == 0 and current in reserved:
30 elif state == 0 and current == '\\':
31 state = 1
32 elif state == 1 and current in reserved | {'\\'}:
33 state = 0
34 elif state == 0 and current == '"':
35 state = 2
36 elif state == 2 and current == '"'
    [all...]
  /external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
esextcDrawBuffersIndexedSetGet.cpp 61 BlendMaskStateMachine state(m_context, m_testCtx.getLog(), maxDrawBuffers);
63 state.SetEnable();
64 state.SetColorMask(0, 0, 0, 0);
65 state.SetBlendEquation(GL_FUNC_SUBTRACT);
66 state.SetBlendFunc(GL_ONE_MINUS_CONSTANT_ALPHA, GL_SRC_ALPHA_SATURATE);
67 if (!state.CheckAll())
69 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Failed to change blending and color mask state");
73 state.SetDisablei(1);
74 state.SetColorMaski(1, 1, 1, 1, 1);
75 state.SetBlendEquationi(1, GL_MIN)
    [all...]
  /external/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 for (auto _ : state) {
47 int product = state.range(0) * state.range(1) * state.range(2)
    [all...]
  /external/libcxx/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...]
  /external/libcxx/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 for (auto _ : state) {
47 int product = state.range(0) * state.range(1) * state.range(2)
    [all...]

Completed in 2384 milliseconds

1 2 3 4 56 7 8 91011>>