Home
last modified time | relevance | path

Searched refs:state (Results 751 - 775 of 4631) sorted by relevance

1...<<31323334353637383940>>...186

/third_party/ffmpeg/libavcodec/
H A Dmpegaudio_parser.c50 uint32_t state= pc->state; in mpegaudio_parse() local
60 state = 0; in mpegaudio_parse()
71 state= (state<<8) + buf[i++]; in mpegaudio_parse()
73 ret = ff_mpa_decode_header(state, &sr, &channels, &frame_size, &bit_rate, &codec_id); in mpegaudio_parse()
79 if((state&SAME_HEADER_MASK) != (s->header&SAME_HEADER_MASK) && s->header) in mpegaudio_parse()
81 s->header= state; in mpegaudio_parse()
114 pc->state= state; in mpegaudio_parse()
[all...]
/third_party/benchmark/test/
H A Dfilter_test.cc42 static void NoPrefix(benchmark::State& state) { in NoPrefix() argument
43 for (auto _ : state) { in NoPrefix()
48 static void BM_Foo(benchmark::State& state) { in BM_Foo() argument
49 for (auto _ : state) { in BM_Foo()
54 static void BM_Bar(benchmark::State& state) { in BM_Bar() argument
55 for (auto _ : state) { in BM_Bar()
60 static void BM_FooBar(benchmark::State& state) { in BM_FooBar() argument
61 for (auto _ : state) { in BM_FooBar()
66 static void BM_FooBa(benchmark::State& state) { in BM_FooBa() argument
67 for (auto _ : state) { in BM_FooBa()
[all...]
/third_party/libwebsockets/lib/drivers/display/
H A Dlws-display.c34 /* we fire both to dim and to blank... if already in dim state, blank */ in sul_autodim_cb()
36 switch (lds->state) { in sul_autodim_cb()
39 lds->state = LWSDISPS_ACTIVE; in sul_autodim_cb()
45 lds->state = LWSDISPS_AUTODIMMED; in sul_autodim_cb()
53 lds->state = LWSDISPS_GOING_OFF; in sul_autodim_cb()
83 lds->state = LWSDISPS_OFF; in lws_display_state_init()
104 if (lds->state == LWSDISPS_OFF) { in lws_display_state_active()
107 lds->state = LWSDISPS_BECOMING_ACTIVE; in lws_display_state_active()
111 if (lds->state != LWSDISPS_ACTIVE) in lws_display_state_active()
115 lds->state in lws_display_state_active()
[all...]
/third_party/node/test/abort/
H A Dtest-addon-uv-handle-leak.js46 let state = 'initial';
92 switch (state) {
95 state = 'handle-start';
99 state = 'assertion-failure';
103 state = 'close-callback';
107 state = 'data';
111 state = 'maybe-first-field';
117 state = 'handle-start';
121 state = 'done';
128 assert.strictEqual(state, 'don
[all...]
/third_party/musl/src/malloc/liteos_a/user_debug/
H A Dbacktrace.c36 struct unwind_state_t *state = (struct unwind_state_t *)arg; in unwind_callback() local
39 if (state->cur != state->end) { in unwind_callback()
40 *state->cur = (_Unwind_Word *)pc; in unwind_callback()
45 ++state->cur; in unwind_callback()
52 struct unwind_state_t state; in backtrace() local
58 state.cur = (_Unwind_Word **)buffer; in backtrace()
59 state.end = (_Unwind_Word **)(buffer + size); in backtrace()
60 _Unwind_Backtrace(&unwind_callback, &state); in backtrace()
62 return (void **)state in backtrace()
[all...]
/third_party/musl/porting/liteos_a/user_debug/src/malloc/
H A Dbacktrace.c21 struct unwind_state_t *state = (struct unwind_state_t *)arg; in unwind_callback() local
24 if (state->cur != state->end) { in unwind_callback()
25 *state->cur = (_Unwind_Word *)pc; in unwind_callback()
30 ++state->cur; in unwind_callback()
37 struct unwind_state_t state; in backtrace() local
43 state.cur = (_Unwind_Word **)buffer; in backtrace()
44 state.end = (_Unwind_Word **)(buffer + size); in backtrace()
45 _Unwind_Backtrace(&unwind_callback, &state); in backtrace()
47 return (void **)state in backtrace()
[all...]
/third_party/pulseaudio/src/pulse/
H A Doperation.c47 o->state = PA_OPERATION_RUNNING; in pa_operation_new()
102 if (st == o->state) in operation_set_state()
105 if ((o->state == PA_OPERATION_DONE) || (o->state == PA_OPERATION_CANCELED)) in operation_set_state()
110 o->state = st; in operation_set_state()
115 if ((o->state == PA_OPERATION_DONE) || (o->state == PA_OPERATION_CANCELED)) in operation_set_state()
139 return o->state; in pa_operation_get_state()
149 if (o->state == PA_OPERATION_DONE || o->state in pa_operation_set_state_callback()
[all...]
/third_party/skia/third_party/externals/brotli/go/cbrotli/
H A Dreader.go46 var errInvalidState = errors.New("cbrotli: invalid state")
53 state *C.BrotliDecoderState
68 state: C.BrotliDecoderCreateInstance(nil, nil, nil),
75 if r.state == nil {
78 // Close despite the state; i.e. there might be some unread decoded data.
79 C.BrotliDecoderDestroyInstance(r.state)
80 r.state = nil
85 if r.state == nil {
88 if int(C.BrotliDecoderHasMoreOutput(r.state)) == 0 && len(r.in) == 0 {
107 result := C.DecompressStream(r.state,
[all...]
H A Dwriter.go65 state *C.BrotliEncoderState
77 state := C.BrotliEncoderCreateInstance(nil, nil, nil)
79 state, C.BROTLI_PARAM_QUALITY, (C.uint32_t)(options.Quality))
82 state, C.BROTLI_PARAM_LGWIN, (C.uint32_t)(options.LGWin))
86 state: state,
91 if w.state == nil {
100 result := C.CompressStream(w.state, op, data, C.size_t(len(p)))
139 C.BrotliEncoderDestroyInstance(w.state)
140 w.state
[all...]
/third_party/typescript/tests/baselines/reference/
H A DautoAccessor2(target=es2015).js21 var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
23 if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
24 return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
26 var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
29 if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
30 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state
[all...]
H A DautoAccessor5(target=es5).js15 var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
17 if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
18 return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
20 var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
23 if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
24 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state
[all...]
H A DautoAccessorExperimentalDecorators(target=es2015).js28 var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
30 if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
31 return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
33 var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
36 if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
37 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state
[all...]
H A DconstructorWithParameterPropertiesAndPrivateFields.es2015.js34 var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
37 if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
38 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
40 var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
42 if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
43 return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state
[all...]
H A DprivateNameComputedPropertyName1(target=es2015).js41 var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
44 if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
45 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
47 var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
49 if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
50 return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state
[all...]
H A DprivateNamesInGenericClasses.js32 var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
34 if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
35 return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
37 var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
40 if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
41 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state
[all...]
/third_party/python/Modules/_sqlite/
H A Dutil.c29 get_exception_class(pysqlite_state *state, int errorcode) in get_exception_class() argument
37 return state->InternalError; in get_exception_class()
53 return state->OperationalError; in get_exception_class()
55 return state->DatabaseError; in get_exception_class()
57 return state->DataError; in get_exception_class()
60 return state->IntegrityError; in get_exception_class()
63 return state->InterfaceError; in get_exception_class()
65 return state->DatabaseError; in get_exception_class()
121 _pysqlite_seterror(pysqlite_state *state, sqlite3 *db) in _pysqlite_seterror() argument
124 PyObject *exc_class = get_exception_class(state, errorcod in _pysqlite_seterror()
[all...]
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_postsched.c369 #define dep_reg(state, idx) \
371 assert((idx) < ARRAY_SIZE((state)->regs)); \
372 &(state)->regs[(idx)]; \
376 add_dep(struct ir3_postsched_deps_state *state, in add_dep() argument
385 if (state->direction == F) { in add_dep()
393 add_single_reg_dep(struct ir3_postsched_deps_state *state, in add_single_reg_dep() argument
397 struct ir3_postsched_node *dep = dep_reg(state, num); in add_single_reg_dep()
400 if (src_n >= 0 && dep && state->direction == F) { in add_single_reg_dep()
402 unsigned dst_n = state->dst_n[num]; in add_single_reg_dep()
412 add_dep(state, de in add_single_reg_dep()
429 add_reg_dep(struct ir3_postsched_deps_state *state, struct ir3_postsched_node *node, const struct ir3_register *reg, unsigned num, int src_n, int dst_n) add_reg_dep() argument
454 calculate_deps(struct ir3_postsched_deps_state *state, struct ir3_postsched_node *node) calculate_deps() argument
500 struct ir3_postsched_deps_state state = { calculate_forward_deps() local
514 struct ir3_postsched_deps_state state = { calculate_reverse_deps() local
538 sched_dag_max_delay_cb(struct dag_node *node, void *state) sched_dag_max_delay_cb() argument
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fRandomFragmentOpTests.cpp153 static void setGLState (glu::CallLogWrapper& wrapper, const RenderState& state, int viewportX, int viewportY)
155 if (state.scissorTestEnabled)
158 wrapper.glScissor(viewportX+state.scissorRectangle.left, viewportY+state.scissorRectangle.bottom,
159 state.scissorRectangle.width, state.scissorRectangle.height);
164 if (state.stencilTestEnabled)
171 const StencilState& sParams = state.stencil[face];
181 if (state.depthTestEnabled)
184 wrapper.glDepthFunc(state
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
H A Deap_server_pax.c26 enum { PAX_STD_1, PAX_STD_3, SUCCESS, FAILURE } state; member
53 data->state = PAX_STD_1; in eap_pax_init()
83 data->state = FAILURE; in eap_pax_build_std_1()
93 data->state = FAILURE; in eap_pax_build_std_1()
114 data->state = FAILURE; in eap_pax_build_std_1()
139 data->state = FAILURE; in eap_pax_build_std_3()
156 data->state = FAILURE; in eap_pax_build_std_3()
170 data->state = FAILURE; in eap_pax_build_std_3()
184 switch (data->state) { in eap_pax_buildReq()
190 wpa_printf(MSG_DEBUG, "EAP-PAX: Unknown state in eap_pax_buildReq()
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fRandomFragmentOpTests.cpp153 static void setGLState (glu::CallLogWrapper& wrapper, const RenderState& state, int viewportX, int viewportY)
155 if (state.scissorTestEnabled)
158 wrapper.glScissor(viewportX+state.scissorRectangle.left, viewportY+state.scissorRectangle.bottom,
159 state.scissorRectangle.width, state.scissorRectangle.height);
164 if (state.stencilTestEnabled)
171 const StencilState& sParams = state.stencil[face];
181 if (state.depthTestEnabled)
184 wrapper.glDepthFunc(state
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
H A Deap_server_pax.c26 enum { PAX_STD_1, PAX_STD_3, SUCCESS, FAILURE } state; member
53 data->state = PAX_STD_1; in eap_pax_init()
83 data->state = FAILURE; in eap_pax_build_std_1()
93 data->state = FAILURE; in eap_pax_build_std_1()
114 data->state = FAILURE; in eap_pax_build_std_1()
139 data->state = FAILURE; in eap_pax_build_std_3()
156 data->state = FAILURE; in eap_pax_build_std_3()
170 data->state = FAILURE; in eap_pax_build_std_3()
184 switch (data->state) { in eap_pax_buildReq()
190 wpa_printf(MSG_DEBUG, "EAP-PAX: Unknown state in eap_pax_buildReq()
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_group_loads.c170 struct check_sources_state *state = (struct check_sources_state *)data; in has_only_sources_less_than() local
173 return state->block != src->ssa->parent_instr->block || in has_only_sources_less_than()
174 src->ssa->parent_instr->index < state->first_index; in has_only_sources_less_than()
217 struct check_sources_state state; in group_loads() local
218 state.block = first->block; in group_loads()
219 state.first_index = first->index; in group_loads()
232 if (nir_foreach_src(instr, has_only_sources_less_than, &state)) { in group_loads()
329 struct indirection_state *state = (struct indirection_state *)data; in gather_indirections() local
333 if (instr->block == state->block) { in gather_indirections()
339 state in gather_indirections()
358 struct indirection_state state; get_num_indirections() local
[all...]
/third_party/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_encode.h57 static inline void virgl_encoder_write_dword(struct virgl_cmd_buf *state, in virgl_encoder_write_dword() argument
60 state->buf[state->cdw++] = dword; in virgl_encoder_write_dword()
63 static inline void virgl_encoder_write_qword(struct virgl_cmd_buf *state, in virgl_encoder_write_qword() argument
66 memcpy(state->buf + state->cdw, &qword, sizeof(uint64_t)); in virgl_encoder_write_qword()
67 state->cdw += 2; in virgl_encoder_write_qword()
70 static inline void virgl_encoder_write_block(struct virgl_cmd_buf *state, in virgl_encoder_write_block() argument
74 memcpy(state->buf + state in virgl_encoder_write_block()
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_nir_lower_cs_intrinsics.c35 lower_cs_intrinsics_convert_block(struct lower_intrinsics_state *state, in lower_cs_intrinsics_convert_block() argument
39 nir_builder *b = &state->builder; in lower_cs_intrinsics_convert_block()
40 nir_shader *nir = state->nir; in lower_cs_intrinsics_convert_block()
92 if (state->nir->info.workgroup_size_variable) { in lower_cs_intrinsics_convert_block()
120 switch (state->nir->info.cs.derivative_group) { in lower_cs_intrinsics_convert_block()
224 if (state->nir->info.workgroup_size_variable) { in lower_cs_intrinsics_convert_block()
254 state->progress = true; in lower_cs_intrinsics_convert_block()
261 lower_cs_intrinsics_convert_impl(struct lower_intrinsics_state *state) in lower_cs_intrinsics_convert_impl() argument
263 nir_builder_init(&state->builder, state in lower_cs_intrinsics_convert_impl()
278 struct lower_intrinsics_state state = { brw_nir_lower_cs_intrinsics() local
[all...]
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_vs_exec.c75 if (evs->machine->Tokens != shader->state.tokens) { in vs_exec_prepare()
77 shader->state.tokens, in vs_exec_prepare()
213 FREE((void*) dvs->state.tokens); in vs_exec_delete()
220 const struct pipe_shader_state *state) in draw_create_vs_exec()
227 if (state->type == PIPE_SHADER_IR_NIR) { in draw_create_vs_exec()
228 vs->base.state.type = PIPE_SHADER_IR_TGSI; in draw_create_vs_exec()
229 vs->base.state.tokens = nir_to_tgsi(state->ir.nir, draw->pipe->screen); in draw_create_vs_exec()
231 assert(state->type == PIPE_SHADER_IR_TGSI); in draw_create_vs_exec()
232 vs->base.state in draw_create_vs_exec()
219 draw_create_vs_exec(struct draw_context *draw, const struct pipe_shader_state *state) draw_create_vs_exec() argument
[all...]

Completed in 11 milliseconds

1...<<31323334353637383940>>...186