/external/vboot_reference/firmware/lib/ |
H A D | stateful_util.c | 13 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 D | xf86drmRandom.c | 84 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/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/ |
H A D | State.java | 31 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/python/cpython2/Modules/zlib/ |
H A D | 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...] |
H A D | 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 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 D | 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_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/zlib/src/ |
H A D | 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...] |
H A D | 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 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 D | 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_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/pdfium/third_party/zlib_v128/ |
H A D | 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 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 D | 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 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 D | 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 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 D | regexcst.pl | 11 # 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 D | pen.c | 36 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 D | state.c | 20 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 D | SkVertState.cpp | 10 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 D | rbbicst.pl | 10 # 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/google-benchmark/test/ |
H A D | cxx03_test.cc | 11 void BM_empty(benchmark::State& state) { argument 12 while (state.KeepRunning()) { 13 volatile std::size_t x = state.iterations(); 21 void BM_old_arg_range_interface(benchmark::State& state) { argument 22 assert((state.range(0) == 1 && state.range(1) == 2) || 23 (state.range(0) == 5 && state.range(1) == 6)); 24 while (state.KeepRunning()) { 30 void BM_template2(benchmark::State& state) { argument 36 BM_template1(benchmark::State& state) argument 42 BM_counters(benchmark::State& state) argument [all...] |
/external/jmdns/src/javax/jmdns/impl/tasks/state/ |
H A D | package-info.java | 1 package javax.jmdns.impl.tasks.state;
|
/external/libxml2/ |
H A D | xzlib.c | 50 /* 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 D | random.c | 84 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 D | 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)); 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/brotli/java/org/brotli/dec/ |
H A D | Decode.java | 76 private static void decodeMetaBlockLength(BitReader br, State state) { argument 77 state.inputEnd = BitReader.readBits(br, 1) == 1; 78 state.metaBlockLength = 0; 79 state.isUncompressed = false; 80 state.isMetadata = false; 81 if (state.inputEnd && BitReader.readBits(br, 1) != 0) { 86 state.isMetadata = true; 99 state.metaBlockLength |= bits << (i * 8); 107 state.metaBlockLength |= bits << (i * 4); 110 state 347 decodeBlockTypeAndLength(State state, int treeType) argument 371 decodeLiteralBlockSwitch(State state) argument 382 decodeCommandBlockSwitch(State state) argument 387 decodeDistanceBlockSwitch(State state) argument 392 maybeReallocateRingBuffer(State state) argument 434 readMetablockInfo(State state) argument 473 readMetablockHuffmanCodesAndContextMaps(State state) argument 543 copyUncompressedData(State state) argument 570 writeRingBuffer(State state) argument 588 setCustomDictionary(State state, byte[] data) argument 595 decompress(State state) argument [all...] |
/external/elfutils/libdwfl/ |
H A D | dwfl_frame_pc.c | 36 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 D | resample_48khz.c | 28 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...] |