Home
last modified time | relevance | path

Searched refs:state (Results 1 – 25 of 5253) sorted by relevance

12345678910>>...211

/external/chromium_org/base/third_party/symbolize/
Ddemangle.cc187 static void InitState(State *state, const char *mangled, in InitState() argument
189 state->mangled_cur = mangled; in InitState()
190 state->out_cur = out; in InitState()
191 state->out_begin = out; in InitState()
192 state->out_end = out + out_size; in InitState()
193 state->prev_name = NULL; in InitState()
194 state->prev_name_length = -1; in InitState()
195 state->nest_level = -1; in InitState()
196 state->append = true; in InitState()
197 state->overflowed = false; in InitState()
[all …]
/external/chromium_org/cc/scheduler/
Dscheduler_state_machine_unittest.cc13 EXPECT_EQ(action, state.NextAction()) << state.AsValue()->ToString(); \
17 state.begin_impl_frame_state()) \
18 << state.AsValue()->ToString(); \
20 state.UpdateState(action); \
22 if (state.begin_impl_frame_state() == \
24 state.OnBeginImplFrameDeadlinePending(); \
25 if (state.begin_impl_frame_state() == \
27 state.OnBeginImplFrameIdle(); \
111 StateMachine state(default_scheduler_settings); in TEST() local
112 state.SetCanStart(); in TEST()
[all …]
/external/libvterm/src/
Dstate.c20 static void putglyph(VTermState *state, const uint32_t chars[], int width, VTermPos pos) in putglyph() argument
25 .protected_cell = state->protected_cell, in putglyph()
28 if(state->callbacks && state->callbacks->putglyph) in putglyph()
29 if((*state->callbacks->putglyph)(&info, pos, state->cbdata)) in putglyph()
35 static void updatecursor(VTermState *state, VTermPos *oldpos, int cancel_phantom) in updatecursor() argument
37 if(state->pos.col == oldpos->col && state->pos.row == oldpos->row) in updatecursor()
41 state->at_phantom = 0; in updatecursor()
43 if(state->callbacks && state->callbacks->movecursor) in updatecursor()
44 …if((*state->callbacks->movecursor)(state->pos, *oldpos, state->mode.cursor_visible, state->cbdata)) in updatecursor()
48 static void erase(VTermState *state, VTermRect rect, int selective) in erase() argument
[all …]
Dpen.c96 static void setpenattr(VTermState *state, VTermAttr attr, VTermValueType type, VTermValue *val) in setpenattr() argument
105 if(state->callbacks && state->callbacks->setpenattr) in setpenattr()
106 (*state->callbacks->setpenattr)(attr, val, state->cbdata); in setpenattr()
109 static void setpenattr_bool(VTermState *state, VTermAttr attr, int boolean) in setpenattr_bool() argument
112 setpenattr(state, attr, VTERM_VALUETYPE_BOOL, &val); in setpenattr_bool()
115 static void setpenattr_int(VTermState *state, VTermAttr attr, int number) in setpenattr_int() argument
118 setpenattr(state, attr, VTERM_VALUETYPE_INT, &val); in setpenattr_int()
121 static void setpenattr_col(VTermState *state, VTermAttr attr, VTermColor color) in setpenattr_col() argument
124 setpenattr(state, attr, VTERM_VALUETYPE_COLOR, &val); in setpenattr_col()
127 static void set_pen_col_ansi(VTermState *state, VTermAttr attr, long col) in set_pen_col_ansi() argument
[all …]
/external/qemu/distrib/zlib-1.2.8/
Dinflate.c95 local void fixedtables OF((struct inflate_state FAR *state));
107 struct inflate_state FAR *state; local
109 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
110 state = (struct inflate_state FAR *)strm->state;
111 strm->total_in = strm->total_out = state->total = 0;
113 if (state->wrap) /* to support ill-conceived Java test suite */
114 strm->adler = state->wrap & 1;
115 state->mode = HEAD;
116 state->last = 0;
117 state->havedict = 0;
[all …]
Dgzread.c20 local int gz_load(state, buf, len, have) in gz_load() argument
21 gz_statep state; in gz_load()
30 ret = read(state->fd, buf + *have, len - *have);
36 gz_error(state, Z_ERRNO, zstrerror());
40 state->eof = 1;
51 local int gz_avail(state) in gz_avail() argument
52 gz_statep state; in gz_avail()
55 z_streamp strm = &(state->strm);
57 if (state->err != Z_OK && state->err != Z_BUF_ERROR)
59 if (state->eof == 0) {
[all …]
Dinfback.c19 local void fixedtables OF((struct inflate_state FAR *state));
35 struct inflate_state FAR *state; local
58 state = (struct inflate_state FAR *)ZALLOC(strm, 1,
60 if (state == Z_NULL) return Z_MEM_ERROR;
62 strm->state = (struct internal_state FAR *)state;
63 state->dmax = 32768U;
64 state->wbits = windowBits;
65 state->wsize = 1U << windowBits;
66 state->window = window;
67 state->wnext = 0;
[all …]
/external/zlib/src/
Dinflate.c95 local void fixedtables OF((struct inflate_state FAR *state));
107 struct inflate_state FAR *state; local
109 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
110 state = (struct inflate_state FAR *)strm->state;
111 strm->total_in = strm->total_out = state->total = 0;
113 if (state->wrap) /* to support ill-conceived Java test suite */
114 strm->adler = state->wrap & 1;
115 state->mode = HEAD;
116 state->last = 0;
117 state->havedict = 0;
[all …]
Dgzread.c20 local int gz_load(state, buf, len, have) in gz_load() argument
21 gz_statep state; in gz_load()
30 ret = read(state->fd, buf + *have, len - *have);
36 gz_error(state, Z_ERRNO, zstrerror());
40 state->eof = 1;
51 local int gz_avail(state) in gz_avail() argument
52 gz_statep state; in gz_avail()
55 z_streamp strm = &(state->strm);
57 if (state->err != Z_OK && state->err != Z_BUF_ERROR)
59 if (state->eof == 0) {
[all …]
Dinfback.c19 local void fixedtables OF((struct inflate_state FAR *state));
35 struct inflate_state FAR *state; local
58 state = (struct inflate_state FAR *)ZALLOC(strm, 1,
60 if (state == Z_NULL) return Z_MEM_ERROR;
62 strm->state = (struct internal_state FAR *)state;
63 state->dmax = 32768U;
64 state->wbits = windowBits;
65 state->wsize = 1U << windowBits;
66 state->window = window;
67 state->wnext = 0;
[all …]
Dgzwrite.c15 local int gz_init(state) in gz_init() argument
16 gz_statep state; in gz_init()
19 z_streamp strm = &(state->strm);
22 state->in = (unsigned char *)malloc(state->want);
23 if (state->in == NULL) {
24 gz_error(state, Z_MEM_ERROR, "out of memory");
29 if (!state->direct) {
31 state->out = (unsigned char *)malloc(state->want);
32 if (state->out == NULL) {
33 free(state->in);
[all …]
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
Dfx_zlib_inflate.c95 local void fixedtables OF((struct inflate_state FAR *state));
107 struct inflate_state FAR *state; in inflateResetKeep() local
109 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateResetKeep()
110 state = (struct inflate_state FAR *)strm->state; in inflateResetKeep()
111 strm->total_in = strm->total_out = state->total = 0; in inflateResetKeep()
113 if (state->wrap) /* to support ill-conceived Java test suite */ in inflateResetKeep()
114 strm->adler = state->wrap & 1; in inflateResetKeep()
115 state->mode = HEAD; in inflateResetKeep()
116 state->last = 0; in inflateResetKeep()
117 state->havedict = 0; in inflateResetKeep()
[all …]
Dgzread.c21 gz_statep state, in gz_load() argument
30 ret = read(state->fd, buf + *have, len - *have); in gz_load()
36 gz_error(state, Z_ERRNO, zstrerror()); in gz_load()
40 state->eof = 1; in gz_load()
52 gz_statep state) in gz_avail() argument
55 z_streamp strm = &(state->strm); in gz_avail()
57 if (state->err != Z_OK && state->err != Z_BUF_ERROR) in gz_avail()
59 if (state->eof == 0) { in gz_avail()
61 unsigned char *p = state->in; in gz_avail()
68 if (gz_load(state, state->in + strm->avail_in, in gz_avail()
[all …]
Dgzlib.c76 gz_statep state) in gz_reset() argument
78 state->x.have = 0; /* no output data available */ in gz_reset()
79 if (state->mode == GZ_READ) { /* for reading ... */ in gz_reset()
80 state->eof = 0; /* not at end of file */ in gz_reset()
81 state->past = 0; /* have not read past end yet */ in gz_reset()
82 state->how = LOOK; /* look for gzip header */ in gz_reset()
84 state->seek = 0; /* no seek request pending */ in gz_reset()
85 gz_error(state, Z_OK, NULL); /* clear error */ in gz_reset()
86 state->x.pos = 0; /* no uncompressed data yet */ in gz_reset()
87 state->strm.avail_in = 0; /* no input data yet */ in gz_reset()
[all …]
/external/chromium_org/third_party/zlib/
Dinflate.c95 local void fixedtables OF((struct inflate_state FAR *state));
106 struct inflate_state FAR *state; local
108 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
109 state = (struct inflate_state FAR *)strm->state;
110 strm->total_in = strm->total_out = state->total = 0;
113 state->mode = HEAD;
114 state->last = 0;
115 state->havedict = 0;
116 state->dmax = 32768U;
117 state->head = Z_NULL;
[all …]
Dgzread.c21 local int gz_load(state, buf, len, have) in gz_load() argument
22 gz_statep state; in gz_load()
31 ret = read(state->fd, buf + *have, len - *have);
37 gz_error(state, Z_ERRNO, zstrerror());
41 state->eof = 1;
50 local int gz_avail(state) in gz_avail() argument
51 gz_statep state; in gz_avail()
53 z_streamp strm = &(state->strm);
55 if (state->err != Z_OK)
57 if (state->eof == 0) {
[all …]
Dgzlib.c73 local void gz_reset(state) in gz_reset() argument
74 gz_statep state; in gz_reset()
76 if (state->mode == GZ_READ) { /* for reading ... */
77 state->have = 0; /* no output data available */
78 state->eof = 0; /* not at end of file */
79 state->how = LOOK; /* look for gzip header */
80 state->direct = 1; /* default for empty file */
82 state->seek = 0; /* no seek request pending */
83 gz_error(state, Z_OK, NULL); /* clear error */
84 state->pos = 0; /* no uncompressed data yet */
[all …]
/external/srtp/crypto/cipher/
Daes.c1505 aes_round(v128_t *state, const v128_t *round_key) { in aes_round() argument
1511 column0 = T0[state->v8[0]] ^ T1[state->v8[5]] in aes_round()
1512 ^ T2[state->v8[10]] ^ T3[state->v8[15]]; in aes_round()
1514 column1 = T0[state->v8[4]] ^ T1[state->v8[9]] in aes_round()
1515 ^ T2[state->v8[14]] ^ T3[state->v8[3]]; in aes_round()
1517 column2 = T0[state->v8[8]] ^ T1[state->v8[13]] in aes_round()
1518 ^ T2[state->v8[2]] ^ T3[state->v8[7]]; in aes_round()
1520 column3 = T0[state->v8[12]] ^ T1[state->v8[1]] in aes_round()
1521 ^ T2[state->v8[6]] ^ T3[state->v8[11]]; in aes_round()
1523 state->v32[0] = column0 ^ round_key->v32[0]; in aes_round()
[all …]
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
Dglsl_parser.output950 state 0
954 VERSION_TOK shift, and go to state 1
958 translation_unit go to state 2
959 version_statement go to state 3
962 state 1
966 INTCONSTANT shift, and go to state 4
969 state 2
973 $end shift, and go to state 5
976 state 3
982 extension_statement_list go to state 6
[all …]
Dglcpp-parse.output248 state 0
254 input go to state 1
257 state 1
262 $end shift, and go to state 2
263 ELIF_EXPANDED shift, and go to state 3
264 HASH shift, and go to state 4
265 HASH_DEFINE shift, and go to state 5
266 HASH_ELIF shift, and go to state 6
267 HASH_ELSE shift, and go to state 7
268 HASH_ENDIF shift, and go to state 8
[all …]
/external/webrtc/src/common_audio/signal_processing/
Dresample_by_2_internal.c32 WebRtc_Word32 *state) in WebRtcSpl_DownBy2IntToShort() argument
43 diff = tmp0 - state[1]; in WebRtcSpl_DownBy2IntToShort()
46 tmp1 = state[0] + diff * kResampleAllpass[1][0]; in WebRtcSpl_DownBy2IntToShort()
47 state[0] = tmp0; in WebRtcSpl_DownBy2IntToShort()
48 diff = tmp1 - state[2]; in WebRtcSpl_DownBy2IntToShort()
53 tmp0 = state[1] + diff * kResampleAllpass[1][1]; in WebRtcSpl_DownBy2IntToShort()
54 state[1] = tmp1; in WebRtcSpl_DownBy2IntToShort()
55 diff = tmp0 - state[3]; in WebRtcSpl_DownBy2IntToShort()
60 state[3] = state[2] + diff * kResampleAllpass[1][2]; in WebRtcSpl_DownBy2IntToShort()
61 state[2] = tmp0; in WebRtcSpl_DownBy2IntToShort()
[all …]
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
Dresample_by_2_internal.c32 int32_t *state) in WebRtcSpl_DownBy2IntToShort() argument
43 diff = tmp0 - state[1]; in WebRtcSpl_DownBy2IntToShort()
46 tmp1 = state[0] + diff * kResampleAllpass[1][0]; in WebRtcSpl_DownBy2IntToShort()
47 state[0] = tmp0; in WebRtcSpl_DownBy2IntToShort()
48 diff = tmp1 - state[2]; in WebRtcSpl_DownBy2IntToShort()
53 tmp0 = state[1] + diff * kResampleAllpass[1][1]; in WebRtcSpl_DownBy2IntToShort()
54 state[1] = tmp1; in WebRtcSpl_DownBy2IntToShort()
55 diff = tmp0 - state[3]; in WebRtcSpl_DownBy2IntToShort()
60 state[3] = state[2] + diff * kResampleAllpass[1][2]; in WebRtcSpl_DownBy2IntToShort()
61 state[2] = tmp0; in WebRtcSpl_DownBy2IntToShort()
[all …]
/external/mesa3d/src/gallium/drivers/trace/
Dtr_dump_state.c110 void trace_dump_rasterizer_state(const struct pipe_rasterizer_state *state) in trace_dump_rasterizer_state() argument
115 if(!state) { in trace_dump_rasterizer_state()
122 trace_dump_member(bool, state, flatshade); in trace_dump_rasterizer_state()
123 trace_dump_member(bool, state, light_twoside); in trace_dump_rasterizer_state()
124 trace_dump_member(bool, state, clamp_vertex_color); in trace_dump_rasterizer_state()
125 trace_dump_member(bool, state, clamp_fragment_color); in trace_dump_rasterizer_state()
126 trace_dump_member(uint, state, front_ccw); in trace_dump_rasterizer_state()
127 trace_dump_member(uint, state, cull_face); in trace_dump_rasterizer_state()
128 trace_dump_member(uint, state, fill_front); in trace_dump_rasterizer_state()
129 trace_dump_member(uint, state, fill_back); in trace_dump_rasterizer_state()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/trace/
Dtr_dump_state.c110 void trace_dump_rasterizer_state(const struct pipe_rasterizer_state *state) in trace_dump_rasterizer_state() argument
115 if(!state) { in trace_dump_rasterizer_state()
122 trace_dump_member(bool, state, flatshade); in trace_dump_rasterizer_state()
123 trace_dump_member(bool, state, light_twoside); in trace_dump_rasterizer_state()
124 trace_dump_member(bool, state, clamp_vertex_color); in trace_dump_rasterizer_state()
125 trace_dump_member(bool, state, clamp_fragment_color); in trace_dump_rasterizer_state()
126 trace_dump_member(uint, state, front_ccw); in trace_dump_rasterizer_state()
127 trace_dump_member(uint, state, cull_face); in trace_dump_rasterizer_state()
128 trace_dump_member(uint, state, fill_front); in trace_dump_rasterizer_state()
129 trace_dump_member(uint, state, fill_back); in trace_dump_rasterizer_state()
[all …]
/external/chromium_org/third_party/boringssl/src/crypto/poly1305/
Dpoly1305.c52 void CRYPTO_poly1305_init_neon(poly1305_state *state, const uint8_t key[32]);
54 void CRYPTO_poly1305_update_neon(poly1305_state *state, const uint8_t *in,
57 void CRYPTO_poly1305_finish_neon(poly1305_state *state, uint8_t mac[16]);
74 static void poly1305_update(struct poly1305_state_st *state, const uint8_t *in, in poly1305_update() argument
96 state->h0 += t0 & 0x3ffffff; in poly1305_update()
97 state->h1 += ((((uint64_t)t1 << 32) | t0) >> 26) & 0x3ffffff; in poly1305_update()
98 state->h2 += ((((uint64_t)t2 << 32) | t1) >> 20) & 0x3ffffff; in poly1305_update()
99 state->h3 += ((((uint64_t)t3 << 32) | t2) >> 14) & 0x3ffffff; in poly1305_update()
100 state->h4 += (t3 >> 8) | (1 << 24); in poly1305_update()
103 t[0] = mul32x32_64(state->h0, state->r0) + mul32x32_64(state->h1, state->s4) + in poly1305_update()
[all …]

12345678910>>...211