Searched defs:state (Results 1 - 25 of 194) sorted by relevance

12345678

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
H A Dgzclose.c15 gz_statep state; local
19 state = (gz_statep)file;
21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
H A Dgzwrite.c13 /* 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 i
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...]
H A Dinffast.c42 state->mode == LEN
46 state->bits < 8
48 On return, state->mode is one of:
71 struct inflate_state FAR *state; local
97 /* copy state to local variables */
98 state = (struct inflate_state FAR *)strm->state;
105 dmax = state->dmax;
107 wsize = state->wsize;
108 whave = state
[all...]
/device/google/contexthub/firmware/os/cpu/x86/
H A Dcpu.c39 void cpuIntsRestore(uint64_t state) argument
/device/google/contexthub/firmware/os/inc/algos/
H A Dap_hub_sync.h47 uint8_t state; // internal state of the sync member in struct:ApHubSync
/device/google/cuttlefish_common/guest/hals/lights/
H A Dlights_vsoc.c31 struct light_state_t const* state) {
32 ALOGI("%s: dev %p state %p", __FUNCTION__, dev, state);
33 if (state) {
34 ALOGI("%s: state value %d\n", __FUNCTION__, state->color);
30 set_light(struct light_device_t* dev, struct light_state_t const* state) argument
/device/google/cuttlefish_common/guest/hals/power/
H A Dpower.c40 int __unused state) {
48 int __unused state) {
38 vsoc_power_set_feature(struct power_module __unused *module, feature_t __unused hint, int __unused state) argument
46 vsoc_power_set_feature(struct power_module __unused *module, power_hint_t __unused hint, int __unused state) argument
/device/google/marlin/power/
H A Dmetadata-defs.h41 int state; member in struct:video_encode_metadata_t
46 int state; member in struct:video_decode_metadata_t
51 int state; member in struct:cam_preview_metadata_t
H A DPower.cpp72 struct PowerStatePlatformSleepState *state; local
84 state = &states[platform_mode_id::RPM_MODE_XO];
85 state->name = "XO_shutdown";
87 state->residencyInMsecSinceBoot = stats[platform_param_id::ACCUMULATED_VLOW_TIME];
88 state->totalTransitions = stats[platform_param_id::VLOW_COUNT];
89 state->supportedOnlyInSuspend = false;
90 state->voters.resize(XO_VOTERS);
93 state->voters[0].name = "APSS";
94 state->voters[0].totalTimeInMsecVotedForSinceBoot =
96 state
138 struct PowerStateSubsystemSleepState *state; local
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
H A DBra86.c10 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding) argument
13 UInt32 mask = *state & 7;
32 *state = (d > 2 ? 0 : mask >> (unsigned)d);
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
H A DDLexer.h39 #define ZZNEWSTATE (newstate = dfa[state][cl])
68 register int state, newstate; local
83 state = newstate = dfa_base[automaton];
90 state = newstate;
97 if ((state != dfa_base[automaton]) && (newstate == DfaStates)){
102 state = newstate;
105 /* Able to transition out of start state to some non err state?*/
106 if ( state == dfa_base[automaton] ){
116 state
[all...]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
H A DDLexer.cpp34 #define ZZNEWSTATE (newstate = dfa[state][cl])
63 register int state, newstate; local
78 state = newstate = dfa_base[automaton];
85 state = newstate;
92 if ((state != dfa_base[automaton]) && (newstate == DfaStates)){
97 state = newstate;
100 /* Able to transition out of start state to some non err state?*/
101 if ( state == dfa_base[automaton] ){
111 state
[all...]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
H A DBra86.c10 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding) argument
13 UInt32 mask = *state & 7;
32 *state = (d > 2 ? 0 : mask >> (unsigned)d);
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
H A DBra86.c10 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding) argument
13 UInt32 mask = *state & 7;
32 *state = (d > 2 ? 0 : mask >> (unsigned)d);
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
H A Dbase64.c241 int tarindex, state, ch; local
244 state = 0;
258 switch (state) {
265 state = 1;
276 state = 2;
287 state = 3;
296 state = 0;
310 switch (state) {
350 if (state != 0)
/device/google/cuttlefish_common/guest/hals/gps/
H A Dgps_thread.cpp108 // GPS state threads which communicates with control and data sockets.
110 GpsState* state = (GpsState*)arg; local
114 int gps_fd = state->fd;
115 int control_fd = state->control[1];
167 reader.callback = state->callbacks.location_cb;
/device/google/cuttlefish_common/host/frontend/vnc_server/
H A Dblackboard.cpp55 clients_[conn]; // constructs new state in place
81 auto& state = GetStateForClient(conn); local
83 while (!state.closed &&
84 (!state.ready_to_receive || NoNewStripesFor(state.stripe_seq_nums))) {
85 state.new_frame_cv.wait(guard);
88 state.ready_to_receive = false;
90 state.orientation, state.stripe_seq_nums);
92 state
107 auto& state = GetStateForClient(conn); local
128 auto& state = GetStateForClient(conn); local
135 auto& state = GetStateForClient(conn); local
[all...]
/device/linaro/bootloader/arm-trusted-firmware/plat/common/
H A Dplat_psci_common.c56 * Capture timestamp before entering a low power state.
69 * Capture timestamp after exiting a low power state.
82 * Calculate the residency for the given level and power state
89 plat_local_state_t state; local
105 state = state_info->pwr_domain_state[PSCI_CPU_PWR_LVL];
106 if (is_local_state_off(state)) {
109 assert(is_local_state_retn(state));
130 * The PSCI generic code uses this API to let the platform participate in state
133 * and returns the coordinated target power state that the domain should
134 * enter. A platform assigns a number to a local power state
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
H A Dinffast.c42 state->mode == LEN
46 state->bits < 8
48 On return, state->mode is one of:
71 struct inflate_state FAR *state; local
97 /* copy state to local variables */
98 state = (struct inflate_state FAR *)strm->state;
105 dmax = state->dmax;
107 wsize = state->wsize;
108 whave = state
[all...]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/h/
H A DSTreeParser.h56 _gv = setjmp(startofguess.state);}
57 #define _GUESS_FAIL longjmp(startofguess.state, 1)
82 jmp_buf state; member in struct:_Sjmp_buf
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/ZLib/
H A Dinffast.c25 state->mode == LEN
29 state->bits < 8
31 On return, state->mode is one of:
54 struct inflate_state FAR *state; local
80 /* copy state to local variables */
81 state = (struct inflate_state FAR *)strm->state;
88 dmax = state->dmax;
90 wsize = state->wsize;
91 whave = state
[all...]
/device/google/contexthub/firmware/os/algos/calibration/sphere_fit/
H A Dsphere_fit_calibration.c30 // Utility for converting solver state to a calibration data structure.
66 // Set state to default (diagonal scale matrix and zero offset).
116 void sphereFitResidAndJacobianFunc(const float *state, const void *f_data, argument
118 ASSERT_NOT_NULL(state);
133 convertStateToCalStruct(state, &calstruct);
/device/google/contexthub/firmware/os/algos/common/math/
H A Dlevenberg_marquardt.c13 static bool checkRelativeStepSize(const float *step, const float *state,
17 const float *state, const void *f_data,
54 float *state) {
68 ASSERT_NOT_NULL(state);
75 // state = initial_state, num_iter = 0
76 memcpy(state, initial_state, sizeof(float) * state_dim);
81 if (computeResidualAndGradients(solver->func, state, f_data, data->temp,
105 if (checkRelativeStepSize(data->step, state, state_dim,
110 // state_new = state + step.
111 vecAdd(state_new, state, dat
52 lmSolverSolve(struct LmSolver *solver, const float *initial_state, void *f_data, size_t state_dim, size_t meas_dim, float *state) argument
185 checkRelativeStepSize(const float *step, const float *state, size_t dim, float relative_error_threshold) argument
215 computeResidualAndGradients(ResidualAndJacobianFunction func, const float *state, const void *f_data, float *jacobian, float gradient_threshold, size_t state_dim, size_t meas_dim, float *residual, float *gradient, float *hessian) argument
[all...]
/device/google/contexthub/lib/nanohub/
H A Drsa.c152 * memcpy(state->tmpB, a, RSA_BYTES);
154 * biMul(state->tmpA, state->tmpB, state->tmpB);
155 * biMod(state->tmpA, c, state->tmpB);
156 * memcpy(state->tmpB, state->tmpA, RSA_BYTES);
159 * //calculate a ^ 65537 mod c into state->tmpA [ at this point this means do state
168 rsaPubOpIterative(struct RsaState* state, const uint32_t *a, const uint32_t *c, uint32_t *state1, uint32_t *state2, uint32_t *stepP) argument
214 rsaPubOp(struct RsaState* state, const uint32_t *a, const uint32_t *c) argument
244 rsaPrivOp(struct RsaState* state, const uint32_t *a, const uint32_t *b, const uint32_t *c) argument
[all...]
H A Dsha2.c21 void sha2init(struct Sha2state *state) argument
23 state->h[0] = 0x6a09e667;
24 state->h[1] = 0xbb67ae85;
25 state->h[2] = 0x3c6ef372;
26 state->h[3] = 0xa54ff53a;
27 state->h[4] = 0x510e527f;
28 state->h[5] = 0x9b05688c;
29 state->h[6] = 0x1f83d9ab;
30 state->h[7] = 0x5be0cd19;
31 state
56 sha2processBlock(struct Sha2state *state) argument
121 sha2processBytes(struct Sha2state *state, const void *bytes, uint32_t numBytes) argument
146 sha2finish(struct Sha2state *state) argument
[all...]

Completed in 366 milliseconds

12345678