/external/mesa3d/src/gallium/state_trackers/vega/ |
vg_state.c | 31 void vg_init_state(struct vg_state *state) 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->scissor_rects_num = 0 [all...] |
/external/vboot_reference/firmware/lib/ |
stateful_util.c | 13 void StatefulInit(MemcpyState *state, void *buf, uint64_t len) 15 state->remaining_buf = buf; 16 state->remaining_len = len; 17 state->overrun = 0; 20 void *StatefulSkip(MemcpyState *state, uint64_t len) 22 if (state->overrun) 24 if (len > state->remaining_len) { 25 state->overrun = 1; 28 state->remaining_buf += len; 29 state->remaining_len -= len [all...] |
/external/mesa3d/src/glsl/ |
builtin_stubs.cpp | 36 _mesa_glsl_initialize_functions(_mesa_glsl_parse_state *state) 38 (void) state;
|
/external/zlib/src/ |
gzread.c | 17 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...] |
inflate.c | 26 * - 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->wrap) /* to support ill-conceived Java test suite * 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...] |
gzlib.c | 74 /* 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_OK, NULL); /* clear error * 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/ |
tr_dump_state.h | 42 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/ |
gzread.c | 17 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->strm) 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...] |
fx_zlib_inflate.c | 26 * - 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->wrap) /* to support ill-conceived Java test suite * 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...] |
gzlib.c | 74 /* 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->x.pos = 0; /* no uncompressed data yet * 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/libvterm/src/ |
pen.c | 36 static void lookup_colour_ansi(const VTermState *state, long index, VTermColor *col) 39 *col = state->colors[index]; 43 static void lookup_colour_palette(const VTermState *state, long index, VTermColor *col) 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) 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) 105 if(state->callbacks && state->callbacks->setpenattr) 106 (*state->callbacks->setpenattr)(attr, val, state->cbdata) [all...] |
state.c | 20 static void putglyph(VTermState *state, const uint32_t chars[], int width, VTermPos pos) 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) 39 if(state->pos.col == oldpos->col && state->pos.row == oldpos->row 59 VTermState *state = vterm_allocator_malloc(vt, sizeof(VTermState)); local 203 VTermState *state = user; local 351 VTermState *state = user; local 486 VTermState *state = data; local 574 VTermState *state = user; local 901 VTermState *state = user; local 1432 VTermState *state = user; local 1505 VTermState *state = user; local 1517 VTermState *state = user; local [all...] |
/external/skia/src/core/ |
SkVertState.cpp | 10 bool VertState::Triangles(VertState* state) { 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) { 23 const uint16_t* indices = state->fIndices; 24 int index = state->fCurrIndex [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
q_plsf.cpp | 74 * Purpose : Allocates memory and initializes state variables 78 Word16 Q_plsf_init(Q_plsfState **state) 82 if (state == (Q_plsfState **) NULL) 87 *state = NULL; 92 /* fprintf(stderr, "Q_plsf_init: can not malloc state structure\n"); */ 97 *state = s; 106 * Purpose : Resets state memory 110 Word16 Q_plsf_reset(Q_plsfState *state) 114 if (state == (Q_plsfState *) NULL) 121 state->past_rq[i] = 0 [all...] |
/external/libdrm/ |
xf86drmRandom.c | 106 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->m = 2147483647 173 void *state; local 188 RandomState *state; local [all...] |
/external/jmdns/src/javax/jmdns/impl/tasks/state/ |
package-info.java | 1 package javax.jmdns.impl.tasks.state;
|
/external/toybox/toys/android/ |
setenforce.c | 23 int state, ret; local 26 else if (!strcmp(new, "1") || !strcasecmp(new, "enforcing")) state = 1; 27 else if (!strcmp(new, "0") || !strcasecmp(new, "permissive")) state = 0; 28 else error_exit("Invalid state: %s", new); 30 ret = security_setenforce(state);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
PackageVerificationStateTest.java | 32 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); local 35 state.isVerificationComplete()); 37 state.setVerifierResponse(REQUIRED_UID, PackageManager.VERIFICATION_ALLOW); 40 state.isVerificationComplete()); 43 state.isInstallAllowed()); 47 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); local 50 state.isVerificationComplete()); 52 state.setVerifierResponse(REQUIRED_UID, PackageManager.VERIFICATION_REJECT); 55 state.isVerificationComplete()); 58 state.isInstallAllowed()) 62 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); local 87 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); local 112 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); local 138 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); local 169 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); local [all...] |
/external/libxml2/ |
xzlib.c | 48 /* internal lzma file state data structure */ 87 xz_error(xz_statep state, int err, const char *msg) 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->path) + strlen(msg) + 3)) == NULL) 139 xz_statep state; local 187 xz_statep state; local 686 xz_statep state; local 775 xz_statep state; local [all...] |
/external/elfutils/src/libdwfl/ |
dwfl_frame_pc.c | 36 dwfl_frame_pc (Dwfl_Frame *state, Dwarf_Addr *pc, bool *isactivation) 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->unwound->pc_state != DWFL_FRAME_STATE_PC_SET [all...] |
/external/icu/icu4c/source/i18n/ |
regexcst.pl | 9 # 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. 54 # State Label: handling. 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" [all...] |
/external/webrtc/src/common_audio/signal_processing/ |
resample_48khz.c | 28 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) 55 memset(state->S_48_48, 0, 16 * sizeof(WebRtc_Word32)); 56 memset(state->S_48_32, 0, 8 * sizeof(WebRtc_Word32)) [all...] |
/external/boringssl/src/crypto/poly1305/ |
poly1305.c | 52 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, 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->h4 += (t3 >> 8) | (1 << 24) 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/icu/icu4c/source/common/ |
rbbicst.pl | 6 # 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. 53 # State Label: handling. 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" [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
RecognizerSharedState.java | 32 * 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) { 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.errorRecovery [all...] |