Lines Matching refs:state

131     state = pointer to an array of pointer to structures of type
135 Structure pointed to by the pointer pointed to by state is
137 state points to the allocated memory
152 Allocates state memory and initializes state memory.
167 int Pre_Process_init (Pre_ProcessState **state)
171 if (state == (Pre_ProcessState **) NULL){
175 *state = NULL;
179 fprintf(stderr, "Pre_Process_init: can not malloc state structure\n");
184 *state = s;
212 Word16 Pre_Process_init(Pre_ProcessState **state)
216 if (state == (Pre_ProcessState **) NULL)
221 *state = NULL;
227 can not malloc state structure\n"); */
232 *state = s;
247 state = pointer to structure of type Pre_ProcessState
250 Structure pointed to by state is initialized to zero.
265 Initializes state memory to zero.
280 int Pre_Process_reset (Pre_ProcessState *state)
282 if (state == (Pre_ProcessState *) NULL){
287 state->y2_hi = 0;
288 state->y2_lo = 0;
289 state->y1_hi = 0;
290 state->y1_lo = 0;
291 state->x0 = 0;
292 state->x1 = 0;
320 Word16 Pre_Process_reset(Pre_ProcessState *state)
322 if (state == (Pre_ProcessState *) NULL)
328 state->y2_hi = 0;
329 state->y2_lo = 0;
330 state->y1_hi = 0;
331 state->y1_lo = 0;
332 state->x0 = 0;
333 state->x1 = 0;
348 state = a pointer to an array of pointers to structures of
352 state points to a NULL address
366 The memory used for state memory is freed.
381 void Pre_Process_exit (Pre_ProcessState **state)
383 if (state == NULL || *state == NULL)
387 free(*state);
388 *state = NULL;
416 void Pre_Process_exit(Pre_ProcessState **state)
418 if (state == NULL || *state == NULL)
424 free(*state);
425 *state = NULL;