Searched refs:state (Results 1 - 25 of 2610) 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/mesa3d/src/glsl/
H A Dbuiltin_stubs.cpp36 _mesa_glsl_initialize_functions(_mesa_glsl_parse_state *state) argument
38 (void) state;
/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/core/src/fxcodec/fx_zlib/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 Dfx_zlib_inflate.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.pl9 # Compile the regular expression paser state table data into initialized C data.
27 $num_states = 1; # Always the state number for the line being compiled.
30 $states{"pop"} = 255; # Add the "pop" to the list of defined state names.
31 # This prevents any state from being labelled with "pop",
32 # and resolves references to "pop" in the next state field.
55 # Does the first token end with a ":"? If so, it's the name of a state.
56 # Put in a hash, together with the current state number,
61 $state_name =~ s/://; # strip off the colon from the state name.
64 print " rbbicst: at line $line-num duplicate definition of state $state_name\n";
70 # 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.pl6 # rbbicst Compile the RBBI rule paser state table data into initialized C data.
26 $num_states = 1; # Always the state number for the line being compiled.
29 $states{"pop"} = 255; # Add the "pop" to the list of defined state names.
30 # This prevents any state from being labelled with "pop",
31 # and resolves references to "pop" in the next state field.
54 # Does the first token end with a ":"? If so, it's the name of a state.
55 # Put in a hash, together with the current state number,
60 $state_name =~ s/://; # strip off the colon from the state name.
63 print " rbbicst: at line $line-num duplicate definition of state $state_name\n";
69 # otherwise assume that a state definitio
[all...]
/external/libdrm/
H A Dxf86drmRandom.c106 extern int drmRandomDestroy(void *state);
107 extern unsigned long drmRandom(void *state);
108 extern double drmRandomDouble(void *state);
113 RandomState *state; local
115 state = RANDOM_ALLOC(sizeof(*state));
116 if (!state) return NULL;
117 state->magic = RANDOM_MAGIC;
120 state->a = 16807;
121 state
141 drmRandomDestroy(void *state) argument
147 drmRandom(void *state) argument
161 drmRandomDouble(void *state) argument
173 void *state; local
188 RandomState *state; local
[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.c48 /* internal lzma file state data structure */
87 xz_error(xz_statep state, int err, const char *msg) argument
90 if (state->msg != NULL) {
91 if (state->err != LZMA_MEM_ERROR)
92 xmlFree(state->msg);
93 state->msg = NULL;
97 state->err = err;
103 state->msg = (char *) msg;
108 if ((state->msg =
109 xmlMalloc(strlen(state
121 xz_reset(xz_statep state) argument
139 xz_statep state; local
187 xz_statep state; local
231 xz_load(xz_statep state, unsigned char *buf, unsigned int len, unsigned int *have) argument
253 xz_avail(xz_statep state) argument
275 xz_avail_zstrm(xz_statep state) argument
288 is_format_xz(xz_statep state) argument
296 is_format_lzma(xz_statep state) argument
364 gz_next4(xz_statep state, unsigned long *ret) argument
383 xz_head(xz_statep state) argument
528 xz_decomp(xz_statep state) argument
628 xz_make(xz_statep state) argument
653 xz_skip(xz_statep state, uint64_t len) argument
686 xz_statep state; local
775 xz_statep state; local
[all...]
/external/elfutils/src/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/src/common_audio/signal_processing/
H A Dresample_48khz.c28 WebRtcSpl_State48khzTo16khz* state, WebRtc_Word32* 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(WebRtc_Word32));
42 memcpy(state->S_48_32, tmpmem + 488, 8 * sizeof(WebRtc_Word32));
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(WebRtc_Word32));
56 memset(state
27 WebRtcSpl_Resample48khzTo16khz(const WebRtc_Word16* in, WebRtc_Word16* out, WebRtcSpl_State48khzTo16khz* state, WebRtc_Word32* tmpmem) argument
65 WebRtcSpl_Resample16khzTo48khz(const WebRtc_Word16* in, WebRtc_Word16* out, WebRtcSpl_State16khzTo48khz* state, WebRtc_Word32* tmpmem) argument
91 WebRtcSpl_ResetResample16khzTo48khz(WebRtcSpl_State16khzTo48khz* state) argument
103 WebRtcSpl_Resample48khzTo8khz(const WebRtc_Word16* in, WebRtc_Word16* out, WebRtcSpl_State48khzTo8khz* state, WebRtc_Word32* tmpmem) argument
135 WebRtcSpl_ResetResample48khzTo8khz(WebRtcSpl_State48khzTo8khz* state) argument
148 WebRtcSpl_Resample8khzTo48khz(const WebRtc_Word16* in, WebRtc_Word16* out, WebRtcSpl_State8khzTo48khz* state, WebRtc_Word32* tmpmem) argument
180 WebRtcSpl_ResetResample8khzTo48khz(WebRtcSpl_State8khzTo48khz* state) argument
[all...]
H A Dresample_by_2_internal.c29 // state: filter state array; length = 8
32 WebRtc_Word32 *state)
43 diff = tmp0 - state[1];
46 tmp1 = state[0] + diff * kResampleAllpass[1][0];
47 state[0] = tmp0;
48 diff = tmp1 - state[2];
53 tmp0 = state[1] + diff * kResampleAllpass[1][1];
54 state[1] = tmp1;
55 diff = tmp0 - state[
31 WebRtcSpl_DownBy2IntToShort(WebRtc_Word32 *in, WebRtc_Word32 len, WebRtc_Word16 *out, WebRtc_Word32 *state) argument
124 WebRtcSpl_DownBy2ShortToInt(const WebRtc_Word16 *in, WebRtc_Word32 len, WebRtc_Word32 *out, WebRtc_Word32 *state) argument
200 WebRtcSpl_UpBy2ShortToInt(const WebRtc_Word16 *in, WebRtc_Word32 len, WebRtc_Word32 *out, WebRtc_Word32 *state) argument
270 WebRtcSpl_UpBy2IntToInt(const WebRtc_Word32 *in, WebRtc_Word32 len, WebRtc_Word32 *out, WebRtc_Word32 *state) argument
340 WebRtcSpl_UpBy2IntToShort(const WebRtc_Word32 *in, WebRtc_Word32 len, WebRtc_Word16 *out, WebRtc_Word32 *state) argument
419 WebRtcSpl_LPBy2ShortToInt(const WebRtc_Word16* in, WebRtc_Word32 len, WebRtc_Word32* out, WebRtc_Word32* state) argument
552 WebRtcSpl_LPBy2IntToInt(const WebRtc_Word32* in, WebRtc_Word32 len, WebRtc_Word32* out, WebRtc_Word32* state) argument
[all...]
/external/boringssl/src/crypto/poly1305/
H A 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]);
71 /* poly1305_blocks updates |state| given some amount of input data. This
74 static void poly1305_update(struct poly1305_state_st *state, const uint8_t *in, argument
96 state->h0 += t0 & 0x3ffffff;
97 state->h1 += ((((uint64_t)t1 << 32) | t0) >> 26) & 0x3ffffff;
98 state->h2 += ((((uint64_t)t2 << 32) | t1) >> 20) & 0x3ffffff;
99 state->h3 += ((((uint64_t)t3 << 32) | t2) >> 14) & 0x3ffffff;
100 state
169 struct poly1305_state_st *state = (struct poly1305_state_st *)statep; local
217 struct poly1305_state_st *state = (struct poly1305_state_st *)statep; local
260 struct poly1305_state_st *state = (struct poly1305_state_st *)statep; local
[all...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DRecognizerSharedState.java32 * and recover from errors etc... As a separate state object, it can be
35 * These fields are publically visible but the actual state pointer per
83 // LEXER FIELDS (must be in same state object to avoid casting
122 public RecognizerSharedState(RecognizerSharedState state) { argument
123 if ( this.following.length < state.following.length ) {
124 this.following = new BitSet[state.following.length];
126 System.arraycopy(state.following, 0, this.following, 0, state.following.length);
127 this._fsp = state._fsp;
128 this.errorRecovery = state
[all...]
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dradeonsi_pm4.c35 void si_pm4_cmd_begin(struct si_pm4_state *state, unsigned opcode) argument
37 state->last_opcode = opcode;
38 state->last_pm4 = state->ndw++;
41 void si_pm4_cmd_add(struct si_pm4_state *state, uint32_t dw) argument
43 state->pm4[state->ndw++] = dw;
46 void si_pm4_cmd_end(struct si_pm4_state *state, bool predicate) argument
49 count = state->ndw - state
56 si_pm4_set_reg(struct si_pm4_state *state, unsigned reg, uint32_t val) argument
88 si_pm4_add_bo(struct si_pm4_state *state, struct si_resource *bo, enum radeon_bo_usage usage) argument
99 si_pm4_sh_data_begin(struct si_pm4_state *state) argument
104 si_pm4_sh_data_add(struct si_pm4_state *state, uint32_t dw) argument
109 si_pm4_sh_data_end(struct si_pm4_state *state, unsigned reg) argument
129 si_pm4_inval_shader_cache(struct si_pm4_state *state) argument
135 si_pm4_inval_texture_cache(struct si_pm4_state *state) argument
140 si_pm4_inval_vertex_cache(struct si_pm4_state *state) argument
146 si_pm4_inval_fb_cache(struct si_pm4_state *state, unsigned nr_cbufs) argument
152 si_pm4_inval_zsbuf_cache(struct si_pm4_state *state) argument
157 si_pm4_free_state(struct r600_context *rctx, struct si_pm4_state *state, unsigned idx) argument
179 struct si_pm4_state *state = rctx->queued.array[i]; local
194 struct si_pm4_state *state = rctx->queued.array[i]; local
205 si_pm4_emit(struct r600_context *rctx, struct si_pm4_state *state) argument
225 struct si_pm4_state *state = rctx->queued.array[i]; local
[all...]
/external/boringssl/src/crypto/rand/
H A Drand.c34 * the process or moving a VM, so we can keep thread-local RNG state and XOR
41 /* rand_thread_state contains the per-thread state for the RNG. This is only
63 static void rand_thread_state_free(void *state) { argument
64 if (state == NULL) {
68 OPENSSL_cleanse(state, sizeof(struct rand_thread_state));
69 OPENSSL_free(state);
88 struct rand_thread_state *state = local
90 if (state == NULL) {
91 state = OPENSSL_malloc(sizeof(struct rand_thread_state));
92 if (state
[all...]

Completed in 3588 milliseconds

1234567891011>>