Searched refs:state (Results 1 - 25 of 787) sorted by relevance

1234567891011>>

/vbox/src/libs/zlib-1.2.6/
H A Dgzread.c17 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)
288 gz_statep state; local
381 gz_statep state; local
417 gz_statep state; local
481 gz_statep state; local
540 gz_statep state; local
561 gz_statep state; local
[all...]
H A Dinflate.c26 * - 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;
112 if (state
131 struct inflate_state FAR *state; local
146 struct inflate_state FAR *state; local
186 struct inflate_state FAR *state; local
234 struct inflate_state FAR *state; local
327 struct inflate_state state; local
382 struct inflate_state FAR *state; local
613 struct inflate_state FAR *state; local
[all...]
H A Dgzlib.c74 /* 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
252 gz_statep state; local
276 gz_statep state; local
303 gz_statep state; local
388 gz_statep state; local
416 gz_statep state; local
448 gz_statep state; local
466 gz_statep state; local
485 gz_statep state; local
[all...]
H A Dinfback.c19 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
257 struct inflate_state FAR *state; local
[all...]
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 = 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
172 gz_statep state; local
248 gz_statep state; local
306 gz_statep state; local
382 gz_statep state; local
456 gz_statep state; local
489 gz_statep state; local
530 gz_statep state; local
[all...]
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);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/
H A Dprscanf.c101 #define GET(state) ((state)->nChar++, (state)->get((state)->stream))
102 #define UNGET(state, ch) \
103 ((state)->nChar--, (state)->unget((state)->stream, ch))
111 * 'state'. Therefore, after GET_IF_WITHIN_WIDTH, the value of
115 #define GET_IF_WITHIN_WIDTH(state, c
229 GetInt(ScanfState *state, int code) argument
339 GetFloat(ScanfState *state) argument
421 Convert(ScanfState *state, const char *fmt) argument
565 DoScanf(ScanfState *state, const char *fmt) argument
660 ScanfState state; local
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/crypto/
H A Ddrbg.c48 * @v state Algorithm state to be initialised
61 int drbg_instantiate ( struct drbg_state *state, const void *personal, argument
70 DBGC ( state, "DRBG %p instantiate\n", state );
73 assert ( state != NULL );
80 DBGC ( state, "DRBG %p cannot support security strength %d\n",
81 state, DRBG_SECURITY_STRENGTH );
96 DBGC ( state, "DRBG %p personalisation string too long (%zd "
97 "bytes)\n", state, personal_le
173 drbg_reseed( struct drbg_state *state, const void *additional, size_t additional_len ) argument
266 drbg_generate( struct drbg_state *state, const void *additional, size_t additional_len, int prediction_resist, void *data, size_t len ) argument
[all...]
H A Dhmac_drbg.c50 * @v state HMAC_DRBG internal state
62 struct hmac_drbg_state *state,
68 DBGC ( state, "HMAC_DRBG_%s %p provided data :\n", hash->name, state );
69 DBGC_HDA ( state, 0, data, len );
73 assert ( state != NULL );
78 hmac_init ( hash, context, state->key, &out_len );
80 hmac_update ( hash, context, state->value, out_len );
83 hmac_final ( hash, context, state
61 hmac_drbg_update_key( struct digest_algorithm *hash, struct hmac_drbg_state *state, const void *data, size_t len, const uint8_t single ) argument
141 hmac_drbg_update( struct digest_algorithm *hash, struct hmac_drbg_state *state, const void *data, size_t len ) argument
193 hmac_drbg_instantiate( struct digest_algorithm *hash, struct hmac_drbg_state *state, const void *entropy, size_t entropy_len, const void *personal, size_t personal_len ) argument
242 hmac_drbg_reseed( struct digest_algorithm *hash, struct hmac_drbg_state *state, const void *entropy, size_t entropy_len, const void *additional, size_t additional_len ) argument
293 hmac_drbg_generate( struct digest_algorithm *hash, struct hmac_drbg_state *state, const void *additional, size_t additional_len, void *data, size_t len ) argument
[all...]
/vbox/src/libs/xpcom18a4/xpcom/typelib/xpidl/
H A Dxpidl_header.c61 header_prolog(TreeState *state) argument
63 const char *define = xpidl_basename(state->basename);
64 fprintf(state->file, "/*\n * DO NOT EDIT. THIS FILE IS GENERATED FROM"
65 " %s.idl\n */\n", state->basename);
66 fprintf(state->file,
70 if (state->base_includes != NULL) {
71 guint len = g_slist_length(state->base_includes);
74 fputc('\n', state->file);
78 ident = (char *)g_slist_nth_data(state->base_includes, i);
90 fprintf(state
117 header_epilog(TreeState *state) argument
141 interface(TreeState *state) argument
614 list(TreeState *state) argument
776 attr_dcl(TreeState *state) argument
822 do_enum(TreeState *state) argument
830 do_const_dcl(TreeState *state) argument
862 do_typedef(TreeState *state) argument
976 forward_dcl(TreeState *state) argument
1095 op_dcl(TreeState *state) argument
1123 TreeState *state = (TreeState *)user_data; local
1130 codefrag(TreeState *state) argument
[all...]
H A Dxpidl_java.c38 #define TYPEDEFS(state) (((struct java_priv_data *)state->priv)->typedefTable)
61 java_prolog(TreeState *state) argument
68 state->priv = calloc(1, sizeof(struct java_priv_data));
69 if (!state->priv)
71 TYPEDEFS(state) = 0;
72 TYPEDEFS(state) = g_hash_table_new(g_str_hash, g_str_equal);
73 if (!TYPEDEFS(state)) {
75 free(state->priv);
84 basename = xpidl_basename(state
115 java_epilog(TreeState *state) argument
134 forward_declaration(TreeState *state) argument
154 interface_declaration(TreeState *state) argument
267 process_list(TreeState *state) argument
317 interface_declaration_wrapper(TreeState *state) argument
377 xpcom_to_java_type(TreeState *state) argument
603 xpcom_to_java_param(TreeState *state, unsigned nparam) argument
682 type_declaration(TreeState *state) argument
702 method_declaration(TreeState *state) argument
858 constant_declaration(TreeState *state) argument
910 attribute_declaration(TreeState *state) argument
1010 enum_declaration(TreeState *state) argument
[all...]
H A Dxpidl_doc.c45 doc_prolog(TreeState *state) argument
47 fprintf(state->file, "<html>\n");
48 fprintf(state->file, "<head>\n");
50 fprintf(state->file,
52 state->basename);
53 fprintf(state->file, "<title>documentation for %s.idl interfaces</title>\n",
54 state->basename);
55 fprintf(state->file, "</head>\n\n");
56 fprintf(state->file, "<body>\n");
62 doc_epilog(TreeState *state) argument
72 doc_list(TreeState *state) argument
100 doc_interface(TreeState *state) argument
240 doc_attribute_declaration(TreeState *state) argument
268 doc_method_declaration(TreeState *state) argument
[all...]
H A Dxpidl_typelib.c59 #define HEADER(state) (((struct priv_data *)state->priv)->header)
60 #define IFACES(state) (((struct priv_data *)state->priv)->ifaces)
61 #define IFACE_MAP(state) (((struct priv_data *)state->priv)->interface_map)
62 #define CURRENT(state) (((struct priv_data *)state->priv)->current)
63 #define ARENA(state) (((struct priv_data *)state
131 TreeState *state = user_data; local
237 TreeState *state = user_data; local
313 sort_ide_block(TreeState *state) argument
347 typelib_list(TreeState *state) argument
359 typelib_prolog(TreeState *state) argument
379 g_hash_table_foreach_remove(IFACE_MAP(state), fill_ide_table, state); local
392 typelib_epilog(TreeState *state) argument
510 typelib_interface(TreeState *state) argument
579 find_arg_with_name(TreeState *state, const char *name, int16 *argnum) argument
608 get_size_and_length(TreeState *state, IDL_tree type, int16 *size_is_argnum, int16 *length_is_argnum, gboolean *has_size_is, gboolean *has_length_is) argument
647 fill_td_from_type(TreeState *state, XPTTypeDescriptor *td, IDL_tree type) argument
944 fill_pd_from_type(TreeState *state, XPTParamDescriptor *pd, uint8 flags, IDL_tree type) argument
952 fill_pd_from_param(TreeState *state, XPTParamDescriptor *pd, IDL_tree tree) argument
1015 typelib_attr_accessor(TreeState *state, XPTMethodDescriptor *meth, gboolean getter, gboolean hidden) argument
1047 typelib_attr_dcl(TreeState *state) argument
1074 typelib_op_dcl(TreeState *state) argument
1153 typelib_const_dcl(TreeState *state) argument
1202 typelib_enum(TreeState *state) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Pccts/h/
H A Ddlgauto.h45 int zzchar; /* character to determine next state */
93 #define ZZNEWSTATE (newstate = dfa[state][zzclass])
198 /* saves dlg state, but not what feeds dlg (such as file position) */
201 zzsave_dlg_state(struct zzdlg_state *state) argument
203 zzsave_dlg_state(state)
204 struct zzdlg_state *state;
207 state->stream = zzstream_in;
208 state->func_ptr = zzfunc_in;
209 state->str = zzstr_in;
210 state
228 zzrestore_dlg_state(struct zzdlg_state *state) argument
351 register int state, newstate; local
[all...]
H A DDLexerBase.cpp106 /* saves dlg state, but not what feeds dlg (such as file position) */
108 saveState(DLGState *state) argument
110 state->input = input;
111 state->interactive = interactive;
112 state->track_columns = track_columns;
113 state->auto_num = automaton;
114 state->add_erase = add_erase;
115 state->lookc = ch;
116 state->char_full = charfull;
117 state
132 restoreState(DLGState *state) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dstateblock.c2 * state block implementation
209 object->state.ps_consts_f = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY,
211 if (!object->state.ps_consts_f) goto fail;
217 object->state.vs_consts_f = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY,
219 if (!object->state.vs_consts_f) goto fail;
237 HeapFree(GetProcessHeap(), 0, object->state.ps_consts_f);
239 HeapFree(GetProcessHeap(), 0, object->state.vs_consts_f);
432 stateblock->contained_tss_states[stateblock->num_contained_tss_states].state = j;
446 stateblock->contained_sampler_states[stateblock->num_contained_sampler_states].state = j;
465 list_add_tail(&stateblock->state
481 struct wined3d_state *state = &stateblock->state; local
932 DWORD state = stateblock->contained_tss_states[i].state; local
959 DWORD state = stateblock->contained_sampler_states[i].state; local
981 apply_lights(struct wined3d_device *device, const struct wined3d_state *state) argument
1060 DWORD state = stateblock->contained_tss_states[i].state; local
1069 DWORD state = stateblock->contained_sampler_states[i].state; local
1167 struct wined3d_state *state = &stateblock->state; local
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/ppp/
H A Dfsm.c101 * Initialize fsm state.
106 f->state = LS_INITIAL;
123 int oldState = f->state;
127 switch( f->state ) {
129 f->state = LS_CLOSED;
134 f->state = LS_STOPPED;
138 f->state = LS_REQSENT;
143 FSMDEBUG(LOG_INFO, ("%s: Up event in state %d (%s)!\n",
144 PROTO_NAME(f), f->state, ppperr_strerr[f->state]));
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Ddrbg.h50 /** Algorithm internal state */
61 * @v state Algorithm state
70 static inline void drbg_instantiate_algorithm ( struct drbg_state *state, argument
76 &state->internal, entropy, entropy_len,
83 * @v state Algorithm state
92 static inline void drbg_reseed_algorithm ( struct drbg_state *state, argument
98 &state->internal, entropy, entropy_len,
105 * @v state Algorith
117 drbg_generate_algorithm( struct drbg_state *state, const void *additional, size_t additional_len, void *data, size_t len ) argument
[all...]
H A Drbg.h17 /** DRBG state */
18 struct drbg_state state; member in struct:random_bit_generator
39 return drbg_generate ( &rbg.state, additional, additional_len,
/vbox/src/libs/zlib-1.2.6/contrib/infback9/
H A Dinfback9.c25 struct inflate_state FAR *state; local
38 state = (struct inflate_state FAR *)ZALLOC(strm, 1,
40 if (state == Z_NULL) return Z_MEM_ERROR;
42 strm->state = (voidpf)state;
43 state->window = window;
58 struct inflate_state state; local
63 while (sym < 144) state.lens[sym++] = 8;
64 while (sym < 256) state.lens[sym++] = 9;
65 while (sym < 280) state
224 struct inflate_state FAR *state; local
[all...]
/vbox/src/VBox/HostServices/SharedOpenGL/dlm/
H A Ddlm.h13 #define SET_CURRENT_STATE(state) crSetTSD(&CRDLMTSDKey, (void *)state);
19 #define SET_CURRENT_STATE(state) CRDLMCurrentState = (state);
/vbox/src/VBox/Devices/Network/lwip/src/netif/ppp/
H A Dfsm.c108 * Initialize fsm state.
112 f->state = INITIAL;
128 int oldState = f->state;
130 switch( f->state ){
132 f->state = CLOSED;
137 f->state = STOPPED;
141 f->state = REQSENT;
146 FSMDEBUG((LOG_INFO, "%s: Up event in state %d!\n",
147 PROTO_NAME(f), f->state));
150 FSMDEBUG((LOG_INFO, "%s: lowerup state
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/os/
H A Ddtrace_subr.c185 dtrace_vtime_state_t state, nstate; local
188 state = dtrace_vtime_active;
190 switch (state) {
206 state, nstate) != state);
212 dtrace_vtime_state_t state, nstate; local
215 state = dtrace_vtime_active;
217 switch (state) {
233 state, nstate) != state);
239 dtrace_vtime_state_t state, nstate; local
266 dtrace_vtime_state_t state, nstate; local
[all...]
/vbox/src/libs/xpcom18a4/xpcom/reflect/xptinfo/src/
H A DxptiZipLoader.cpp50 XPTState *state = nsnull; local
90 if(!(state = XPT_NewXDRState(XPT_DECODE, whole, flen)))
95 if(!XPT_MakeCursor(state, XPT_HEADER, 0, &cursor))
107 if(state)
108 XPT_DestroyXDRState(state);
/vbox/src/libs/xpcom18a4/xpcom/typelib/xpt/src/
H A Dxpt_xdr.c49 ((cursor)->state->mode == XPT_ENCODE)
54 : (XPT_ASSERT((cursor)->state->data_offset), \
55 (cursor)->offset + (cursor)->state->data_offset))
62 ((cursor)->state->pool->data[CURS_POOL_OFFSET(cursor)])
70 /* XXX fail if XPT_DATA and !state->data_offset */
75 ((cursor)->state->data_offset && \
76 ((cursor)->offset - 1 + (space) > (cursor)->state->data_offset)) \
78 (space), (cursor)->state->data_offset)) && PR_FALSE) \
81 (CURS_POOL_OFFSET(cursor) + (space) > (cursor)->state->pool->allocated ? \
83 (ENCODING(cursor) ? GrowPool((cursor)->state
174 XPTState *state; local
222 XPT_DestroyXDRState(XPTState *state) argument
237 XPT_GetXDRDataLength(XPTState *state, XPTPool pool, PRUint32 *len) argument
243 XPT_GetXDRData(XPTState *state, XPTPool pool, char **data, PRUint32 *len) argument
255 XPT_DataOffset(XPTState *state, PRUint32 *data_offsetp) argument
297 XPT_SetDataOffset(XPTState *state, PRUint32 data_offset) argument
[all...]

Completed in 432 milliseconds

1234567891011>>