Searched refs:state (Results 1 - 25 of 3423) sorted by relevance

1234567891011>>

/external/mesa3d/src/gallium/state_trackers/vega/
H A Dvg_state.c31 void vg_init_state(struct vg_state *state) argument
33 state->matrix_mode = VG_MATRIX_PATH_USER_TO_SURFACE;
34 state->fill_rule = VG_EVEN_ODD;
35 state->image_quality = VG_IMAGE_QUALITY_FASTER;
36 state->rendering_quality = VG_RENDERING_QUALITY_BETTER;
37 state->blend_mode = VG_BLEND_SRC_OVER;
38 state->image_mode = VG_DRAW_IMAGE_NORMAL;
40 memset(state->scissor_rects, 0, sizeof(state->scissor_rects));
41 state
105 vg_state_matrix(struct vg_state *state) argument
[all...]
/external/vboot_reference/firmware/lib/
H A Dstateful_util.c13 void StatefulInit(MemcpyState *state, void *buf, uint64_t len) argument
15 state->remaining_buf = buf;
16 state->remaining_len = len;
17 state->overrun = 0;
20 void *StatefulSkip(MemcpyState *state, uint64_t len) argument
22 if (state->overrun)
24 if (len > state->remaining_len) {
25 state->overrun = 1;
28 state->remaining_buf += len;
29 state
33 StatefulMemcpy(MemcpyState *state, void *dst, uint64_t len) argument
47 StatefulMemcpy_r(MemcpyState *state, const void *src, uint64_t len) argument
61 StatefulMemset_r(MemcpyState *state, const uint8_t val, uint64_t len) argument
[all...]
/external/libdrm/
H A Dxf86drmRandom.c84 RandomState *state; local
86 state = drmMalloc(sizeof(*state));
87 if (!state) return NULL;
88 state->magic = RANDOM_MAGIC;
91 state->a = 16807;
92 state->m = 2147483647;
93 state->check = 1043618065; /* After 10000 iterations */
96 state->a = 48271;
97 state
112 drmRandomDestroy(void *state) argument
118 drmRandom(void *state) argument
132 drmRandomDouble(void *state) argument
[all...]
/external/mesa3d/src/glsl/
H A Dbuiltin_stubs.cpp36 _mesa_glsl_initialize_functions(_mesa_glsl_parse_state *state) argument
38 (void) state;
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/
H A DState.java31 private int state; field in class:State
36 state = other.state;
40 state = LIT_LIT;
44 return state;
48 state = other.state;
52 if (state <= SHORTREP_LIT_LIT)
53 state = LIT_LIT;
54 else if (state <
[all...]
/external/zlib/src/
H A Dgzread.c17 state->fd, and update state->eof, state->err, and state->msg as appropriate.
20 local int gz_load(state, buf, len, have)
21 gz_statep state;
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)
294 gz_statep state; local
392 gz_statep state; local
427 gz_statep state; local
491 gz_statep state; local
550 gz_statep state; local
571 gz_statep state; local
[all...]
H A Dinflate.c26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset)
30 * - Add comments on state->bits assertion in inffast.c
95 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
132 struct inflate_state FAR *state; local
147 struct inflate_state FAR *state; local
187 struct inflate_state FAR *state; local
235 struct inflate_state FAR *state; local
328 struct inflate_state state; local
384 struct inflate_state FAR *state; local
609 struct inflate_state FAR *state; local
[all...]
H A Dgzlib.c74 /* Reset gzip file state */
75 local void gz_reset(state)
76 gz_statep state;
78 state->x.have = 0; /* no output data available */
79 if (state->mode == GZ_READ) { /* for reading ... */
80 state->eof = 0; /* not at end of file */
81 state->past = 0; /* have not read past end yet */
82 state->how = LOOK; /* look for gzip header */
84 state->seek = 0; /* no seek request pending */
85 gz_error(state, Z_O
96 gz_statep state; local
318 gz_statep state; local
342 gz_statep state; local
369 gz_statep state; local
454 gz_statep state; local
482 gz_statep state; local
514 gz_statep state; local
532 gz_statep state; local
552 gz_statep state; local
[all...]
/external/mesa3d/src/gallium/drivers/trace/
H A Dtr_dump_state.h42 void trace_dump_rasterizer_state(const struct pipe_rasterizer_state *state);
44 void trace_dump_poly_stipple(const struct pipe_poly_stipple *state);
46 void trace_dump_viewport_state(const struct pipe_viewport_state *state);
48 void trace_dump_scissor_state(const struct pipe_scissor_state *state);
50 void trace_dump_clip_state(const struct pipe_clip_state *state);
54 void trace_dump_shader_state(const struct pipe_shader_state *state);
56 void trace_dump_depth_stencil_alpha_state(const struct pipe_depth_stencil_alpha_state *state);
58 void trace_dump_blend_state(const struct pipe_blend_state *state);
60 void trace_dump_blend_color(const struct pipe_blend_color *state);
62 void trace_dump_stencil_ref(const struct pipe_stencil_ref *state);
[all...]
/external/pdfium/third_party/zlib_v128/
H A Dgzread.c17 state->fd, and update state->eof, state->err, and state->msg as appropriate.
21 gz_statep state,
30 ret = read(state->fd, buf + *have, len - *have);
36 gz_error(state, Z_ERRNO, zstrerror());
40 state->eof = 1;
52 gz_statep state)
55 z_streamp strm = &(state
20 gz_load( gz_statep state, unsigned char *buf, unsigned len, unsigned *have) argument
51 gz_avail( gz_statep state) argument
86 gz_look( gz_statep state) argument
172 gz_decomp( gz_statep state) argument
226 gz_fetch( gz_statep state) argument
256 gz_skip( gz_statep state, z_off64_t len) argument
294 gz_statep state; local
392 gz_statep state; local
427 gz_statep state; local
491 gz_statep state; local
550 gz_statep state; local
571 gz_statep state; local
[all...]
H A Dinflate.c26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset)
30 * - Add comments on state->bits assertion in inffast.c
95 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
132 struct inflate_state FAR *state; local
147 struct inflate_state FAR *state; local
187 struct inflate_state FAR *state; local
235 struct inflate_state FAR *state; local
261 fixedtables( struct inflate_state FAR *state) argument
328 struct inflate_state state; local
384 struct inflate_state FAR *state; local
609 struct inflate_state FAR *state; local
[all...]
H A Dgzlib.c74 /* Reset gzip file state */
76 gz_statep state)
78 state->x.have = 0; /* no output data available */
79 if (state->mode == GZ_READ) { /* for reading ... */
80 state->eof = 0; /* not at end of file */
81 state->past = 0; /* have not read past end yet */
82 state->how = LOOK; /* look for gzip header */
84 state->seek = 0; /* no seek request pending */
85 gz_error(state, Z_OK, NULL); /* clear error */
86 state
75 gz_reset( gz_statep state) argument
96 gz_statep state; local
318 gz_statep state; local
342 gz_statep state; local
369 gz_statep state; local
454 gz_statep state; local
482 gz_statep state; local
514 gz_statep state; local
532 gz_statep state; local
552 gz_statep state; local
575 gz_error( gz_statep state, int err, const char *msg) argument
[all...]
/external/icu/icu4c/source/i18n/
H A Dregexcst.pl11 # Compile the regular expression paser state table data into initialized C data.
29 $num_states = 1; # Always the state number for the line being compiled.
32 $states{"pop"} = 255; # Add the "pop" to the list of defined state names.
33 # This prevents any state from being labelled with "pop",
34 # and resolves references to "pop" in the next state field.
57 # Does the first token end with a ":"? If so, it's the name of a state.
58 # Put in a hash, together with the current state number,
63 $state_name =~ s/://; # strip off the colon from the state name.
66 print " rbbicst: at line $line-num duplicate definition of state $state_name\n";
72 # otherwise assume that a state definitio
[all...]
/external/libvterm/src/
H A Dpen.c36 static void lookup_colour_ansi(const VTermState *state, long index, VTermColor *col) argument
39 *col = state->colors[index];
43 static void lookup_colour_palette(const VTermState *state, long index, VTermColor *col) argument
47 lookup_colour_ansi(state, index, col);
67 static int lookup_colour(const VTermState *state, int palette, const long args[], int argcount, VTermColor *col, int *index) argument
84 lookup_colour_palette(state, argcount ? CSI_ARG_OR(args[0], -1) : -1, col);
96 static void setpenattr(VTermState *state, VTermAttr attr, VTermValueType type, VTermValue *val) argument
105 if(state->callbacks && state->callbacks->setpenattr)
106 (*state
109 setpenattr_bool(VTermState *state, VTermAttr attr, int boolean) argument
115 setpenattr_int(VTermState *state, VTermAttr attr, int number) argument
121 setpenattr_col(VTermState *state, VTermAttr attr, VTermColor color) argument
127 set_pen_col_ansi(VTermState *state, VTermAttr attr, long col) argument
136 vterm_state_newpen(VTermState *state) argument
146 vterm_state_resetpen(VTermState *state) argument
162 vterm_state_savepen(VTermState *state, int save) argument
182 vterm_state_get_default_colors(const VTermState *state, VTermColor *default_fg, VTermColor *default_bg) argument
188 vterm_state_get_palette_color(const VTermState *state, int index, VTermColor *col) argument
193 vterm_state_set_default_colors(VTermState *state, const VTermColor *default_fg, const VTermColor *default_bg) argument
199 vterm_state_set_palette_color(VTermState *state, int index, const VTermColor *col) argument
205 vterm_state_set_bold_highbright(VTermState *state, int bold_is_highbright) argument
210 vterm_state_setpen(VTermState *state, const long args[], int argcount) argument
372 vterm_state_getpen(VTermState *state, long args[], int argcount) argument
423 vterm_state_get_penattr(const VTermState *state, VTermAttr attr, VTermValue *val) argument
[all...]
H A Dstate.c20 static void putglyph(VTermState *state, const uint32_t chars[], int width, VTermPos pos) argument
25 .protected_cell = state->protected_cell,
26 .dwl = state->lineinfo[pos.row].doublewidth,
27 .dhl = state->lineinfo[pos.row].doubleheight,
30 if(state->callbacks && state->callbacks->putglyph)
31 if((*state->callbacks->putglyph)(&info, pos, state->cbdata))
37 static void updatecursor(VTermState *state, VTermPos *oldpos, int cancel_phantom) argument
39 if(state
50 erase(VTermState *state, VTermRect rect, int selective) argument
59 VTermState *state = vterm_allocator_malloc(vt, sizeof(VTermState)); local
73 vterm_state_free(VTermState *state) argument
81 scroll(VTermState *state, VTermRect rect, int downward, int rightward) argument
109 linefeed(VTermState *state) argument
125 grow_combine_buffer(VTermState *state) argument
138 set_col_tabstop(VTermState *state, int col) argument
144 clear_col_tabstop(VTermState *state, int col) argument
150 is_col_tabstop(VTermState *state, int col) argument
156 tab(VTermState *state, int count, int direction) argument
177 set_lineinfo(VTermState *state, int row, int force, int dwl, int dhl) argument
203 VTermState *state = user; local
351 VTermState *state = user; local
435 output_mouse(VTermState *state, int code, int pressed, int modifiers, int col, int row) argument
486 VTermState *state = data; local
525 settermprop_bool(VTermState *state, VTermProp prop, int v) argument
531 settermprop_int(VTermState *state, VTermProp prop, int v) argument
537 settermprop_string(VTermState *state, VTermProp prop, const char *str, size_t len) argument
547 savecursor(VTermState *state, int save) argument
574 VTermState *state = user; local
713 set_mode(VTermState *state, int num, int val) argument
730 set_dec_mode(VTermState *state, int num, int val) argument
830 request_dec_mode(VTermState *state, int num) argument
901 VTermState *state = user; local
1432 VTermState *state = user; local
1454 request_status_string(VTermState *state, const char *command, size_t cmdlen) argument
1505 VTermState *state = user; local
1517 VTermState *state = user; local
1623 vterm_state_reset(VTermState *state, int hard) argument
1686 vterm_state_get_cursorpos(const VTermState *state, VTermPos *cursorpos) argument
1691 vterm_state_set_callbacks(VTermState *state, const VTermStateCallbacks *callbacks, void *user) argument
1706 vterm_state_set_termprop(VTermState *state, VTermProp prop, VTermValue *val) argument
1748 vterm_state_get_lineinfo(const VTermState *state, int row) argument
[all...]
/external/skia/src/core/
H A DSkVertState.cpp10 bool VertState::Triangles(VertState* state) { argument
11 int index = state->fCurrIndex;
12 if (index + 3 > state->fCount) {
15 state->f0 = index + 0;
16 state->f1 = index + 1;
17 state->f2 = index + 2;
18 state->fCurrIndex = index + 3;
22 bool VertState::TrianglesX(VertState* state) { argument
23 const uint16_t* indices = state->fIndices;
24 int index = state
35 TriangleStrip(VertState* state) argument
52 TriangleStripX(VertState* state) argument
70 TriangleFan(VertState* state) argument
82 TriangleFanX(VertState* state) argument
[all...]
/external/icu/icu4c/source/common/
H A Drbbicst.pl10 # rbbicst Compile the RBBI rule paser state table data into initialized C data.
30 $num_states = 1; # Always the state number for the line being compiled.
33 $states{"pop"} = 255; # Add the "pop" to the list of defined state names.
34 # This prevents any state from being labelled with "pop",
35 # and resolves references to "pop" in the next state field.
58 # Does the first token end with a ":"? If so, it's the name of a state.
59 # Put in a hash, together with the current state number,
64 $state_name =~ s/://; # strip off the colon from the state name.
67 print " rbbicst: at line $line-num duplicate definition of state $state_name\n";
73 # otherwise assume that a state definitio
[all...]
/external/jmdns/src/javax/jmdns/impl/tasks/state/
H A Dpackage-info.java1 package javax.jmdns.impl.tasks.state;
/external/libxml2/
H A Dxzlib.c50 /* internal lzma file state data structure */
89 xz_error(xz_statep state, int err, const char *msg) argument
92 if (state->msg != NULL) {
93 if (state->err != LZMA_MEM_ERROR)
94 xmlFree(state->msg);
95 state->msg = NULL;
99 state->err = err;
105 state->msg = (char *) msg;
110 if ((state->msg =
111 xmlMalloc(strlen(state
123 xz_reset(xz_statep state) argument
141 xz_statep state; local
189 xz_statep state; local
233 xz_load(xz_statep state, unsigned char *buf, unsigned int len, unsigned int *have) argument
255 xz_avail(xz_statep state) argument
277 xz_avail_zstrm(xz_statep state) argument
290 is_format_xz(xz_statep state) argument
298 is_format_lzma(xz_statep state) argument
366 gz_next4(xz_statep state, unsigned long *ret) argument
385 xz_head(xz_statep state) argument
530 xz_decomp(xz_statep state) argument
634 xz_make(xz_statep state) argument
659 xz_skip(xz_statep state, uint64_t len) argument
692 xz_statep state; local
781 xz_statep state; local
[all...]
/external/libdrm/tests/
H A Drandom.c84 void *state; local
86 state = drmRandomCreate(seed);
87 initial = drmRandom(state);
89 while (initial != drmRandom(state)) {
94 drmRandomDestroy(state);
99 RandomState *state; local
104 state = drmRandomCreate(1);
106 rand = drmRandom(state);
108 ret = rand != state->check;
110 rand, state
[all...]
/external/syslinux/com32/lib/zlib/
H A Dinflate.c26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset)
30 * - Add comments on state->bits assertion in inffast.c
95 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
135 struct inflate_state FAR *state; local
175 struct inflate_state FAR *state; local
214 struct inflate_state FAR *state; local
307 struct inflate_state state; local
362 struct inflate_state FAR *state; local
593 struct inflate_state FAR *state; local
[all...]
/external/elfutils/libdwfl/
H A Ddwfl_frame_pc.c36 dwfl_frame_pc (Dwfl_Frame *state, Dwarf_Addr *pc, bool *isactivation) argument
38 assert (state->pc_state == DWFL_FRAME_STATE_PC_SET);
39 *pc = state->pc;
40 ebl_normalize_pc (state->thread->process->ebl, pc);
44 if (state->initial_frame)
47 state is SIGNAL_FRAME. */
48 else if (state->signal_frame)
54 __libdwfl_frame_unwind (state);
55 if (state->unwound == NULL
56 || state
[all...]
/external/webrtc/webrtc/common_audio/signal_processing/
H A Dresample_48khz.c28 WebRtcSpl_State48khzTo16khz* state, int32_t* tmpmem)
34 WebRtcSpl_LPBy2ShortToInt(in, 480, tmpmem + 16, state->S_48_48);
40 // copy state to and from input array
41 memcpy(tmpmem + 8, state->S_48_32, 8 * sizeof(int32_t));
42 memcpy(state->S_48_32, tmpmem + 488, 8 * sizeof(int32_t));
49 WebRtcSpl_DownBy2IntToShort(tmpmem, 320, out, state->S_32_16);
52 // initialize state of 48 -> 16 resampler
53 void WebRtcSpl_ResetResample48khzTo16khz(WebRtcSpl_State48khzTo16khz* state) argument
55 memset(state->S_48_48, 0, 16 * sizeof(int32_t));
56 memset(state
27 WebRtcSpl_Resample48khzTo16khz(const int16_t* in, int16_t* out, WebRtcSpl_State48khzTo16khz* state, int32_t* tmpmem) argument
65 WebRtcSpl_Resample16khzTo48khz(const int16_t* in, int16_t* out, WebRtcSpl_State16khzTo48khz* state, int32_t* tmpmem) argument
91 WebRtcSpl_ResetResample16khzTo48khz(WebRtcSpl_State16khzTo48khz* state) argument
103 WebRtcSpl_Resample48khzTo8khz(const int16_t* in, int16_t* out, WebRtcSpl_State48khzTo8khz* state, int32_t* tmpmem) argument
135 WebRtcSpl_ResetResample48khzTo8khz(WebRtcSpl_State48khzTo8khz* state) argument
148 WebRtcSpl_Resample8khzTo48khz(const int16_t* in, int16_t* out, WebRtcSpl_State8khzTo48khz* state, int32_t* tmpmem) argument
180 WebRtcSpl_ResetResample8khzTo48khz(WebRtcSpl_State8khzTo48khz* state) argument
[all...]
/external/libcxx/test/support/
H A Dtracked_value.h16 State state; member in struct:TrackedValue
18 TrackedValue() : state(State::CONSTRUCTED) {}
20 TrackedValue(TrackedValue const& t) : state(State::CONSTRUCTED) {
21 assert(t.state != State::MOVED_FROM && "copying a moved-from object");
22 assert(t.state != State::DESTROYED && "copying a destroyed object");
26 TrackedValue(TrackedValue&& t) : state(State::CONSTRUCTED) {
27 assert(t.state != State::MOVED_FROM && "double moving from an object");
28 assert(t.state != State::DESTROYED && "moving from a destroyed object");
29 t.state = State::MOVED_FROM;
34 assert(state !
[all...]
/external/boringssl/src/crypto/poly1305/
H A Dpoly1305.c54 poly1305_state *state) {
55 return (struct poly1305_state_st *)(((uintptr_t)state + 63) & ~63);
58 /* poly1305_blocks updates |state| given some amount of input data. This
61 static void poly1305_update(struct poly1305_state_st *state, const uint8_t *in, argument
83 state->h0 += t0 & 0x3ffffff;
84 state->h1 += ((((uint64_t)t1 << 32) | t0) >> 26) & 0x3ffffff;
85 state->h2 += ((((uint64_t)t2 << 32) | t1) >> 20) & 0x3ffffff;
86 state->h3 += ((((uint64_t)t3 << 32) | t2) >> 14) & 0x3ffffff;
87 state->h4 += (t3 >> 8) | (1 << 24);
90 t[0] = mul32x32_64(state
53 poly1305_aligned_state( poly1305_state *state) argument
156 struct poly1305_state_st *state = poly1305_aligned_state(statep); local
204 struct poly1305_state_st *state = poly1305_aligned_state(statep); local
247 struct poly1305_state_st *state = poly1305_aligned_state(statep); local
[all...]

Completed in 666 milliseconds

1234567891011>>