/external/python/cpython2/Modules/zlib/ |
gzwrite.c | 13 /* Initialize state for writing a gzip file. Mark initialization by setting 14 state->size to non-zero. Return -1 on failure or 0 on success. */ 15 local int gz_init(state) 16 gz_statep state; 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"); 28 /* only need output buffer and deflate state if compressing * 171 gz_statep state; local 251 gz_statep state; local 313 gz_statep state; local 394 gz_statep state; local 469 gz_statep state; local 502 gz_statep state; local 543 gz_statep state; local [all...] |
infback.c | 19 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 257 struct inflate_state FAR *state; local [all...] |
/external/python/cpython3/Modules/zlib/ |
infback.c | 19 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 = (uInt)windowBits; 65 state->wsize = 1U << windowBits; 66 state->window = window 257 struct inflate_state FAR *state; local [all...] |
/external/syslinux/com32/lib/zlib/ |
infback.c | 19 local void fixedtables OF((struct inflate_state FAR *state)); 35 struct inflate_state FAR *state; local 49 state = (struct inflate_state FAR *)ZALLOC(strm, 1, 51 if (state == Z_NULL) return Z_MEM_ERROR; 53 strm->state = (struct internal_state FAR *)state; 54 state->dmax = 32768U; 55 state->wbits = windowBits; 56 state->wsize = 1U << windowBits; 57 state->window = window 248 struct inflate_state FAR *state; local [all...] |
/external/zlib/src/ |
infback.c | 19 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 = (uInt)windowBits; 65 state->wsize = 1U << windowBits; 66 state->window = window 257 struct inflate_state FAR *state; local [all...] |
/toolchain/binutils/binutils-2.27/zlib/ |
gzwrite.c | 13 /* Initialize state for writing a gzip file. Mark initialization by setting 14 state->size to non-zero. Return -1 on failure or 0 on success. */ 15 local int gz_init(state) 16 gz_statep state; 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"); 28 /* only need output buffer and deflate state if compressing * 171 gz_statep state; local 251 gz_statep state; local 313 gz_statep state; local 394 gz_statep state; local 469 gz_statep state; local 502 gz_statep state; local 543 gz_statep state; local [all...] |
infback.c | 19 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 257 struct inflate_state FAR *state; local [all...] |
/device/google/contexthub/firmware/os/core/ |
spi.c | 53 static void spiMasterNext(struct SpiDeviceState *state); 54 static void spiMasterStop(struct SpiDeviceState *state); 55 static void spiMasterDone(struct SpiDeviceState *state, int err); 57 static void spiSlaveNext(struct SpiDeviceState *state); 58 static void spiSlaveIdle(struct SpiDeviceState *state, int err); 59 static void spiSlaveDone(struct SpiDeviceState *state); 61 static int spiMasterStart(struct SpiDeviceState *state, 64 struct SpiDevice *dev = &state->dev; 75 return dev->ops->masterRxTx(dev, state->packets[0].rxBuf, 76 state->packets[0].txBuf, state->packets[0].size, mode) 81 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); local 115 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); local 150 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); local 183 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); local 193 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); local 205 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); local 260 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); local 291 struct SpiDeviceState *state = heapAlloc(sizeof(*state)); local 321 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); local 338 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); local 355 struct SpiDeviceState *state = heapAlloc(sizeof(*state)); local 391 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); local 410 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); local 451 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); local [all...] |
/external/autotest/client/cros/cellular/wardmodem/ |
global_state_unittest.py | 23 state = global_state.GlobalStateSkeleton() 24 state._add_state_component('common_name', ['THIS_IS_FINE']) 26 state._add_state_component, 37 state = global_state.GlobalStateSkeleton() 39 state._add_state_component, 43 state._add_state_component, 47 state._add_state_component, 51 state._add_state_component, 55 state._add_state_component, 59 state._add_state_component [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/test/ |
basic_test.cc | 6 void BM_empty(benchmark::State& state) { 7 while (state.KeepRunning()) { 8 benchmark::DoNotOptimize(state.iterations()); 14 void BM_spin_empty(benchmark::State& state) { 15 while (state.KeepRunning()) { 16 for (int x = 0; x < state.range(0); ++x) { 24 void BM_spin_pause_before(benchmark::State& state) { [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
infback.c | 19 local void fixedtables OF((struct inflate_state FAR *state));
35 struct inflate_state FAR *state;
local 49 state = (struct inflate_state FAR *)ZALLOC(strm, 1,
51 if (state == Z_NULL) return Z_MEM_ERROR;
53 strm->state = (struct internal_state FAR *)state;
54 state->dmax = 32768U;
55 state->wbits = windowBits;
56 state->wsize = 1U << windowBits;
57 state->window = window; 248 struct inflate_state FAR *state; local [all...] |
/external/elfutils/libdwfl/ |
dwfl_frame_regs.c | 1 /* Get Dwarf Frame state from modules present in DWFL. 35 Dwfl_Frame *state = thread->unwound; local 36 assert (state && state->unwound == NULL); 37 assert (state->initial_frame); 39 if (! __libdwfl_frame_reg_set (state, regno, regs[regno - firstreg])) 51 Dwfl_Frame *state = thread->unwound; local 52 assert (state && state->unwound == NULL); 53 assert (state->initial_frame) [all...] |
dwfl_module_addrsym.c | 61 same_section (struct search_state *state, 66 return value == state->addr; 70 if (! state->adjust_st_value) 73 if (state->addr_shndx == SHN_UNDEF) 75 v = state->addr; 76 state->addr_shndx = __libdwfl_find_section_ndx (state->mod, &v); 80 return state->addr_shndx == __libdwfl_find_section_ndx (state->mod, &v); 84 if (state->addr_shndx == SHN_UNDEF || state->addr_symelf != symelf 245 struct search_state state = local [all...] |
/external/libopus/silk/float/ |
warped_autocorrelation_FLP.c | 45 double state[ MAX_SHAPE_LPC_ORDER + 1 ] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }; local 57 tmp2 = state[ i ] + warping * ( state[ i + 1 ] - tmp1 ); 58 state[ i ] = tmp1; 59 C[ i ] += state[ 0 ] * tmp1; 61 tmp1 = state[ i + 1 ] + warping * ( state[ i + 2 ] - tmp2 ); 62 state[ i + 1 ] = tmp2; 63 C[ i + 1 ] += state[ 0 ] * tmp2; 65 state[ order ] = tmp1 [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
RecognizerSharedState.cs | 40 * and recover from errors etc... As a separate state object, it can be 45 * These fields are publically visible but the actual state pointer per 108 // LEXER FIELDS (must be in same state object to avoid casting 159 public RecognizerSharedState(RecognizerSharedState state) { 160 if (state == null) 161 throw new ArgumentNullException("state"); 163 following = (BitSet[])state.following.Clone(); 164 _fsp = state._fsp; 165 errorRecovery = state.errorRecovery; 166 lastErrorIndex = state.lastErrorIndex [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
RecognizerSharedState.cs | 41 * and recover from errors etc... As a separate state object, it can be 46 * These fields are publically visible but the actual state pointer per 110 // LEXER FIELDS (must be in same state object to avoid casting 162 public RecognizerSharedState( RecognizerSharedState state ) 164 if (state == null) 165 throw new ArgumentNullException("state"); 167 following = (BitSet[])state.following.Clone(); 168 _fsp = state._fsp; 169 errorRecovery = state.errorRecovery; 170 lastErrorIndex = state.lastErrorIndex [all...] |
/external/vboot_reference/futility/ |
traversal.h | 70 * Traverse the buffer using the provided state, which should be initialized 74 struct futil_traverse_state_s *state, 78 int futil_cb_show_begin(struct futil_traverse_state_s *state); 79 int futil_cb_show_pubkey(struct futil_traverse_state_s *state); 80 int futil_cb_show_gbb(struct futil_traverse_state_s *state); 81 int futil_cb_show_keyblock(struct futil_traverse_state_s *state); 82 int futil_cb_show_fw_main(struct futil_traverse_state_s *state); 83 int futil_cb_show_fw_preamble(struct futil_traverse_state_s *state); 84 int futil_cb_show_kernel_preamble(struct futil_traverse_state_s *state); 85 int futil_cb_show_privkey(struct futil_traverse_state_s *state); [all...] |
/external/xz-embedded/linux/lib/xz/ |
xz_lzma2.h | 23 * Maximum number of position states. A position state is the lowest pb 60 /* The lowest 7 states indicate that the previous state was a literal. */ 64 static inline void lzma_state_literal(enum lzma_state *state) 66 if (*state <= STATE_SHORTREP_LIT_LIT) 67 *state = STATE_LIT_LIT; 68 else if (*state <= STATE_LIT_SHORTREP) 69 *state -= 3; 71 *state -= 6; 75 static inline void lzma_state_match(enum lzma_state *state) 77 *state = *state < LIT_STATES ? STATE_LIT_MATCH : STATE_NONLIT_MATCH [all...] |
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
BasicPipeline.java | 40 public void initBuffers(VrState state) { 45 public void setupTriangles(VrState state) { 46 Matrix m = state.mTransform.getMatrix(Transform.VOLUME_SPACE, Transform.SCREEN_SPACE); 47 state.mCubeVolume.transform(m, state.mCubeScreen); 51 public void rasterizeTriangles(VrState state) { 53 scriptC_rasterize = new ScriptC_rasterize(state.mRs); 55 scriptC_rasterize.set_index(state.mCubeScreen.mIndex); 56 scriptC_rasterize.set_vert(state.mCubeScreen.mVert); 58 scriptC_rasterize.invoke_setup_triangles(state.mImgWidth, state.mImgHeight) [all...] |
/bionic/benchmarks/ |
math_benchmark.cpp | 27 static void SetLabel(benchmark::State& state) { 28 state.SetLabel(names[state.range(0)]); 35 static void BM_math_sqrt(benchmark::State& state) { 38 while (state.KeepRunning()) { 44 static void BM_math_log10(benchmark::State& state) { 47 while (state.KeepRunning()) [all...] |
inttypes_benchmark.cpp | 22 void BM_inttypes_strtoimax(benchmark::State& state) { 23 while (state.KeepRunning()) { 29 void BM_inttypes_strtoumax(benchmark::State& state) { 30 while (state.KeepRunning()) {
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_pm4.c | 34 void si_pm4_cmd_begin(struct si_pm4_state *state, unsigned opcode) 36 state->last_opcode = opcode; 37 state->last_pm4 = state->ndw++; 40 void si_pm4_cmd_add(struct si_pm4_state *state, uint32_t dw) 42 state->pm4[state->ndw++] = dw; 45 void si_pm4_cmd_end(struct si_pm4_state *state, bool predicate) 48 count = state->ndw - state->last_pm4 - 2 163 struct si_pm4_state *state = sctx->queued.array[i]; local [all...] |
/external/adhd/cras/src/server/ |
cras_system_state.c | 31 /* The system state. 33 * exp_state - The exported system state shared with clients. 34 * shm_name - Name of posix shm region for exported state. 64 } state; variable in typeref:struct:__anon14115 75 state.shm_size = sizeof(*exp_state); 77 snprintf(state.shm_name, sizeof(state.shm_name), "/cras-%d", getpid()); 78 state.shm_fd = cras_shm_open_rw(state.shm_name, state.shm_size) [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/parser/ |
State.java | 7 final class State 9 int state; field in class:State 12 State(@SuppressWarnings("hiding") int state, @SuppressWarnings("hiding") ArrayList nodes) 14 this.state = state;
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
d_plsf.cpp | 114 state = pointer to structure of type D_plsf_reset 117 fields of the structure pointed to by state is initialized to zero 131 Resets state memory 146 int D_plsf_reset (D_plsfState *state) 150 if (state == (D_plsfState *) NULL){ 156 state->past_r_q[i] = 0; // Past quantized prediction error 160 Copy(mean_lsf, &state->past_lsf_q[0], M); 182 [State any special notes, constraints or cautions for users of this function] 187 Word16 D_plsf_reset(D_plsfState *state) 191 if (state == (D_plsfState *) NULL [all...] |