Searched refs:state (Results 501 - 525 of 11292) sorted by relevance

<<21222324252627282930>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/networking/
H A Disrv.c31 int (*new_peer)(isrv_state_t *state, int fd);
40 #define FD2PEER (state->fd2peer)
41 #define PARAM_TBL (state->param_tbl)
42 #define TIMEO_TBL (state->timeo_tbl)
43 #define CURTIME (state->curtime)
44 #define TIMEOUT (state->timeout)
45 #define FD_COUNT (state->fd_count)
46 #define PEER_COUNT (state->peer_count)
47 #define WR_COUNT (state->wr_count)
50 void isrv_want_rd(isrv_state_t *state, in argument
56 isrv_want_wr(isrv_state_t *state, int fd) argument
65 isrv_dont_want_rd(isrv_state_t *state, int fd) argument
71 isrv_dont_want_wr(isrv_state_t *state, int fd) argument
80 isrv_register_fd(isrv_state_t *state, int peer, int fd) argument
104 isrv_close_fd(isrv_state_t *state, int fd) argument
124 isrv_register_peer(isrv_state_t *state, void *param) argument
142 remove_peer(isrv_state_t *state, int peer) argument
175 handle_accept(isrv_state_t *state, int fd) argument
198 handle_fd_set(isrv_state_t *state, fd_set *fds, int (*h)(int, void **)) argument
252 handle_timeout(isrv_state_t *state, int (*do_timeout)(void **)) argument
271 isrv_run( int listen_fd, int (*new_peer)(isrv_state_t *state, int fd), int (*do_rd)(int fd, void **), int (*do_wr)(int fd, void **), int (*do_timeout)(void **), int timeout, int linger_timeout) argument
280 isrv_state_t *state = xzalloc(sizeof(*state)); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/ffmpeg/libavcodec/
H A Dh263_parser.c32 uint32_t state; local
35 state= pc->state;
40 state= (state<<8) | buf[i];
41 if(state>>(32-22) == 0x20){
51 state= (state<<8) | buf[i];
52 if(state>>(32-22) == 0x20){
54 pc->state
[all...]
H A Dmjpeg_parser.c38 uint16_t state; local
41 state= pc->state;
46 state= (state<<8) | buf[i];
47 if(state == 0xFFD8){
60 state= (state<<8) | buf[i];
61 if(state == 0xFFD8){
63 pc->state
[all...]
H A Ddca_parser.c36 #define IS_MARKER(state, i, buf, buf_size) \
37 ((state == DCA_MARKER_14B_LE && (i < buf_size-2) && (buf[i+1] & 0xF0) == 0xF0 && buf[i+2] == 0x07) \
38 || (state == DCA_MARKER_14B_BE && (i < buf_size-2) && buf[i+1] == 0x07 && (buf[i+2] & 0xF0) == 0xF0) \
39 || state == DCA_MARKER_RAW_LE || state == DCA_MARKER_RAW_BE)
49 uint32_t state; local
53 state = pc->state;
58 state = (state <<
[all...]
H A Djpegls.c30 void ff_jpegls_init_state(JLSState *state){ argument
33 state->twonear = state->near * 2 + 1;
34 state->range = ((state->maxval + state->twonear - 1) / state->twonear) + 1;
37 for(state->qbpp = 0; (1 << state->qbpp) < state
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/lib/util/
H A Dtevent_unix.c29 enum tevent_req_state state; local
32 if (!tevent_req_is_error(req, &state, &err)) {
35 switch (state) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/ffmpeg/libavcodec/
H A Dh263_parser.c32 uint32_t state; local
35 state= pc->state;
40 state= (state<<8) | buf[i];
41 if(state>>(32-22) == 0x20){
51 state= (state<<8) | buf[i];
52 if(state>>(32-22) == 0x20){
54 pc->state
[all...]
H A Dmjpeg_parser.c38 uint16_t state; local
41 state= pc->state;
46 state= (state<<8) | buf[i];
47 if(state == 0xFFD8){
60 state= (state<<8) | buf[i];
61 if(state == 0xFFD8){
63 pc->state
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/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);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/lltdc/src/
H A Devent.h29 /* Add a new event to the list, calling "function(state)" at "firetime". */
30 extern event_t *event_add(struct timeval *firetime, event_fn_t function, void *state);
38 typedef void (*event_io_fn_t)(int fd, void *state);
39 extern void event_add_io(int fd, event_io_fn_t function, void *state);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/lib/tsocket/
H A Dtsocket_helpers.c54 struct tdgram_sendto_queue_state *state; local
57 req = tevent_req_create(mem_ctx, &state,
63 state->caller.ev = ev;
64 state->caller.dgram = dgram;
65 state->caller.buf = buf;
66 state->caller.len = len;
67 state->caller.dst = dst;
68 state->ret = -1;
90 struct tdgram_sendto_queue_state *state = tevent_req_data(req, local
94 subreq = tdgram_sendto_send(state,
110 struct tdgram_sendto_queue_state *state = tevent_req_data(req, local
128 struct tdgram_sendto_queue_state *state = tevent_req_data(req, local
179 struct tstream_readv_pdu_state *state; local
209 struct tstream_readv_pdu_state *state = tevent_req_data(req, local
273 struct tstream_readv_pdu_state *state = tevent_req_data(req, local
292 struct tstream_readv_pdu_state *state = tevent_req_data(req, local
328 struct tstream_readv_pdu_queue_state *state; local
362 struct tstream_readv_pdu_queue_state *state = tevent_req_data(req, local
381 struct tstream_readv_pdu_queue_state *state = tevent_req_data(req, local
399 struct tstream_readv_pdu_queue_state *state = tevent_req_data(req, local
435 struct tstream_writev_queue_state *state; local
469 struct tstream_writev_queue_state *state = tevent_req_data(req, local
488 struct tstream_writev_queue_state *state = tevent_req_data(req, local
506 struct tstream_writev_queue_state *state = tevent_req_data(req, local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/media/dvb/frontends/
H A Dsp8870.c66 static int sp8870_writereg (struct sp8870_state* state, u16 reg, u16 data) argument
69 struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf, .len = 4 };
72 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) {
80 static int sp8870_readreg (struct sp8870_state* state, u16 reg) argument
85 struct i2c_msg msg [] = { { .addr = state->config->demod_address, .flags = 0, .buf = b0, .len = 2 },
86 { .addr = state->config->demod_address, .flags = I2C_M_RD, .buf = b1, .len = 2 } };
88 ret = i2c_transfer (state->i2c, msg, 2);
98 static int sp8870_firmware_upload (struct sp8870_state* state, const struct firmware *fw) argument
113 sp8870_writereg(state, 0x0F00, 0x0000);
116 sp8870_writereg(state,
145 sp8870_microcontroller_stop(struct sp8870_state* state) argument
154 sp8870_microcontroller_start(struct sp8870_state* state) argument
166 sp8870_read_data_valid_signal(struct sp8870_state* state) argument
242 sp8870_wake_up(struct sp8870_state* state) argument
251 struct sp8870_state* state = fe->demodulator_priv; local
306 struct sp8870_state* state = fe->demodulator_priv; local
355 struct sp8870_state* state = fe->demodulator_priv; local
381 struct sp8870_state* state = fe->demodulator_priv; local
409 struct sp8870_state* state = fe->demodulator_priv; local
435 struct sp8870_state* state = fe->demodulator_priv; local
464 struct sp8870_state* state = fe->demodulator_priv; local
521 struct sp8870_state* state = fe->demodulator_priv; local
537 struct sp8870_state* state = fe->demodulator_priv; local
548 struct sp8870_state* state = fe->demodulator_priv; local
557 struct sp8870_state* state = NULL; local
[all...]
H A Dor51211.c72 static int i2c_writebytes (struct or51211_state* state, u8 reg, const u8 *buf, argument
82 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) {
91 static int i2c_readbytes(struct or51211_state *state, u8 reg, u8 *buf, int len) argument
100 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) {
112 struct or51211_state* state = fe->demodulator_priv; local
120 if (i2c_writebytes(state,0x50,tudata,1)) {
124 if (i2c_readbytes(state,0x50,&tudata[145],192)) {
136 state->config->reset(fe);
138 if (i2c_writebytes(state,state
170 struct or51211_state* state = fe->demodulator_priv; local
224 struct or51211_state* state = fe->demodulator_priv; local
244 struct or51211_state* state = fe->demodulator_priv; local
299 struct or51211_state* state = fe->demodulator_priv; local
333 struct or51211_state* state = (struct or51211_state*)fe->demodulator_priv; local
369 struct or51211_state* state = fe->demodulator_priv; local
517 struct or51211_state* state = fe->demodulator_priv; local
527 struct or51211_state* state = NULL; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/media/dvb/frontends/
H A Dsp8870.c66 static int sp8870_writereg (struct sp8870_state* state, u16 reg, u16 data) argument
69 struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf, .len = 4 };
72 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) {
80 static int sp8870_readreg (struct sp8870_state* state, u16 reg) argument
85 struct i2c_msg msg [] = { { .addr = state->config->demod_address, .flags = 0, .buf = b0, .len = 2 },
86 { .addr = state->config->demod_address, .flags = I2C_M_RD, .buf = b1, .len = 2 } };
88 ret = i2c_transfer (state->i2c, msg, 2);
98 static int sp8870_firmware_upload (struct sp8870_state* state, const struct firmware *fw) argument
113 sp8870_writereg(state, 0x0F00, 0x0000);
116 sp8870_writereg(state,
145 sp8870_microcontroller_stop(struct sp8870_state* state) argument
154 sp8870_microcontroller_start(struct sp8870_state* state) argument
166 sp8870_read_data_valid_signal(struct sp8870_state* state) argument
242 sp8870_wake_up(struct sp8870_state* state) argument
251 struct sp8870_state* state = fe->demodulator_priv; local
306 struct sp8870_state* state = fe->demodulator_priv; local
355 struct sp8870_state* state = fe->demodulator_priv; local
381 struct sp8870_state* state = fe->demodulator_priv; local
409 struct sp8870_state* state = fe->demodulator_priv; local
435 struct sp8870_state* state = fe->demodulator_priv; local
464 struct sp8870_state* state = fe->demodulator_priv; local
521 struct sp8870_state* state = fe->demodulator_priv; local
537 struct sp8870_state* state = fe->demodulator_priv; local
548 struct sp8870_state* state = fe->demodulator_priv; local
557 struct sp8870_state* state = NULL; local
[all...]
H A Dor51211.c72 static int i2c_writebytes (struct or51211_state* state, u8 reg, const u8 *buf, argument
82 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) {
91 static int i2c_readbytes(struct or51211_state *state, u8 reg, u8 *buf, int len) argument
100 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) {
112 struct or51211_state* state = fe->demodulator_priv; local
120 if (i2c_writebytes(state,0x50,tudata,1)) {
124 if (i2c_readbytes(state,0x50,&tudata[145],192)) {
136 state->config->reset(fe);
138 if (i2c_writebytes(state,state
170 struct or51211_state* state = fe->demodulator_priv; local
224 struct or51211_state* state = fe->demodulator_priv; local
244 struct or51211_state* state = fe->demodulator_priv; local
299 struct or51211_state* state = fe->demodulator_priv; local
333 struct or51211_state* state = (struct or51211_state*)fe->demodulator_priv; local
369 struct or51211_state* state = fe->demodulator_priv; local
517 struct or51211_state* state = fe->demodulator_priv; local
527 struct or51211_state* state = NULL; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/lib/tsocket/
H A Dtsocket_helpers.c54 struct tdgram_sendto_queue_state *state; local
57 req = tevent_req_create(mem_ctx, &state,
63 state->caller.ev = ev;
64 state->caller.dgram = dgram;
65 state->caller.buf = buf;
66 state->caller.len = len;
67 state->caller.dst = dst;
68 state->ret = -1;
90 struct tdgram_sendto_queue_state *state = tevent_req_data(req, local
94 subreq = tdgram_sendto_send(state,
110 struct tdgram_sendto_queue_state *state = tevent_req_data(req, local
128 struct tdgram_sendto_queue_state *state = tevent_req_data(req, local
179 struct tstream_readv_pdu_state *state; local
209 struct tstream_readv_pdu_state *state = tevent_req_data(req, local
273 struct tstream_readv_pdu_state *state = tevent_req_data(req, local
292 struct tstream_readv_pdu_state *state = tevent_req_data(req, local
328 struct tstream_readv_pdu_queue_state *state; local
362 struct tstream_readv_pdu_queue_state *state = tevent_req_data(req, local
381 struct tstream_readv_pdu_queue_state *state = tevent_req_data(req, local
399 struct tstream_readv_pdu_queue_state *state = tevent_req_data(req, local
435 struct tstream_writev_queue_state *state; local
469 struct tstream_writev_queue_state *state = tevent_req_data(req, local
488 struct tstream_writev_queue_state *state = tevent_req_data(req, local
506 struct tstream_writev_queue_state *state = tevent_req_data(req, local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/lib/tsocket/
H A Dtsocket_helpers.c54 struct tdgram_sendto_queue_state *state; local
57 req = tevent_req_create(mem_ctx, &state,
63 state->caller.ev = ev;
64 state->caller.dgram = dgram;
65 state->caller.buf = buf;
66 state->caller.len = len;
67 state->caller.dst = dst;
68 state->ret = -1;
90 struct tdgram_sendto_queue_state *state = tevent_req_data(req, local
94 subreq = tdgram_sendto_send(state,
110 struct tdgram_sendto_queue_state *state = tevent_req_data(req, local
128 struct tdgram_sendto_queue_state *state = tevent_req_data(req, local
179 struct tstream_readv_pdu_state *state; local
209 struct tstream_readv_pdu_state *state = tevent_req_data(req, local
273 struct tstream_readv_pdu_state *state = tevent_req_data(req, local
292 struct tstream_readv_pdu_state *state = tevent_req_data(req, local
328 struct tstream_readv_pdu_queue_state *state; local
362 struct tstream_readv_pdu_queue_state *state = tevent_req_data(req, local
381 struct tstream_readv_pdu_queue_state *state = tevent_req_data(req, local
399 struct tstream_readv_pdu_queue_state *state = tevent_req_data(req, local
435 struct tstream_writev_queue_state *state; local
469 struct tstream_writev_queue_state *state = tevent_req_data(req, local
488 struct tstream_writev_queue_state *state = tevent_req_data(req, local
506 struct tstream_writev_queue_state *state = tevent_req_data(req, local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/ffmpeg/libavcodec/
H A Djpegls.c30 void ff_jpegls_init_state(JLSState *state){ argument
33 state->twonear = state->near * 2 + 1;
34 state->range = ((state->maxval + state->twonear - 1) / state->twonear) + 1;
37 for(state->qbpp = 0; (1 << state->qbpp) < state
[all...]
H A Ddca_parser.c36 #define IS_MARKER(state, i, buf, buf_size) \
37 ((state == DCA_MARKER_14B_LE && (i < buf_size-2) && (buf[i+1] & 0xF0) == 0xF0 && buf[i+2] == 0x07) \
38 || (state == DCA_MARKER_14B_BE && (i < buf_size-2) && buf[i+1] == 0x07 && (buf[i+2] & 0xF0) == 0xF0) \
39 || state == DCA_MARKER_RAW_LE || state == DCA_MARKER_RAW_BE)
49 uint32_t state; local
53 state = pc->state;
58 state = (state <<
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/winbindd/
H A Dwinbindd_getgrgid.c41 struct winbindd_getgrgid_state *state; local
43 req = tevent_req_create(mem_ctx, &state,
48 state->ev = ev;
52 subreq = wb_gid2sid_send(state, ev, request->data.gid);
65 struct winbindd_getgrgid_state *state = tevent_req_data( local
69 status = wb_gid2sid_recv(subreq, &state->sid);
76 subreq = wb_getgrsid_send(state, state->ev, &state->sid,
88 struct winbindd_getgrgid_state *state local
105 struct winbindd_getgrgid_state *state = tevent_req_data( local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/lib/socket/
H A Dconnect.c47 struct connect_state *state = talloc_get_type(result->private_data, local
50 result->status = socket_connect(state->sock,
51 state->my_address,
52 state->server_address,
53 state->flags);
62 socket_get_fd(state->sock),
79 struct connect_state *state; local
84 state = talloc_zero(result, struct connect_state);
85 if (composite_nomem(state, result)) return result;
86 result->private_data = state;
125 struct connect_state *state = talloc_get_type(result->private_data, local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/libiconv-1.14/lib/
H A Dhz.h27 * The state is 1 in GB mode, 0 in ASCII mode.
33 state_t state = conv->istate; local
42 if (state == 0) {
45 conv->istate = state;
49 state = 1;
63 state = 0;
74 if (state == 0) {
76 conv->istate = state;
86 conv->istate = state;
91 conv->istate = state;
102 state_t state = conv->ostate; local
153 state_t state = conv->ostate; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/libiconv-1.14/lib/
H A Dhz.h27 * The state is 1 in GB mode, 0 in ASCII mode.
33 state_t state = conv->istate; local
42 if (state == 0) {
45 conv->istate = state;
49 state = 1;
63 state = 0;
74 if (state == 0) {
76 conv->istate = state;
86 conv->istate = state;
91 conv->istate = state;
102 state_t state = conv->ostate; local
153 state_t state = conv->ostate; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/winbindd/
H A Dwinbindd_getgrgid.c41 struct winbindd_getgrgid_state *state; local
43 req = tevent_req_create(mem_ctx, &state,
48 state->ev = ev;
52 subreq = wb_gid2sid_send(state, ev, request->data.gid);
65 struct winbindd_getgrgid_state *state = tevent_req_data( local
69 status = wb_gid2sid_recv(subreq, &state->sid);
76 subreq = wb_getgrsid_send(state, state->ev, &state->sid,
88 struct winbindd_getgrgid_state *state local
105 struct winbindd_getgrgid_state *state = tevent_req_data( local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/lib/socket/
H A Dconnect.c47 struct connect_state *state = talloc_get_type(result->private_data, local
50 result->status = socket_connect(state->sock,
51 state->my_address,
52 state->server_address,
53 state->flags);
62 socket_get_fd(state->sock),
79 struct connect_state *state; local
84 state = talloc_zero(result, struct connect_state);
85 if (composite_nomem(state, result)) return result;
86 result->private_data = state;
125 struct connect_state *state = talloc_get_type(result->private_data, local
[all...]

Completed in 530 milliseconds

<<21222324252627282930>>