Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 9310) sorted by relevance

12345678910>>...373

/external/zlib/src/
Ddeflate.c73 typedef block_state (*compress_func) OF((deflate_state *s, int flush));
76 local void fill_window OF((deflate_state *s));
77 local block_state deflate_stored OF((deflate_state *s, int flush));
78 local block_state deflate_fast OF((deflate_state *s, int flush));
80 local block_state deflate_slow OF((deflate_state *s, int flush));
82 local block_state deflate_rle OF((deflate_state *s, int flush));
83 local block_state deflate_huff OF((deflate_state *s, int flush));
84 local void lm_init OF((deflate_state *s));
85 local void putShortMSB OF((deflate_state *s, uInt b));
90 uInt longest_match OF((deflate_state *s, IPos cur_match));
[all …]
/external/chromium_org/third_party/mesa/src/src/glsl/
Dir_hv_accept.cpp56 ir_visitor_status s = ir->accept(v); in visit_list_elements() local
58 if (s != visit_continue) in visit_list_elements()
59 return s; in visit_list_elements()
85 ir_visitor_status s = v->visit_enter(this); in accept() local
87 if (s != visit_continue) in accept()
88 return (s == visit_continue_with_parent) ? visit_continue : s; in accept()
90 s = visit_list_elements(v, &this->body_instructions); in accept()
91 if (s == visit_stop) in accept()
92 return s; in accept()
94 if (s != visit_continue_with_parent) { in accept()
[all …]
/external/mesa3d/src/glsl/
Dir_hv_accept.cpp56 ir_visitor_status s = ir->accept(v); in visit_list_elements() local
58 if (s != visit_continue) in visit_list_elements()
59 return s; in visit_list_elements()
85 ir_visitor_status s = v->visit_enter(this); in accept() local
87 if (s != visit_continue) in accept()
88 return (s == visit_continue_with_parent) ? visit_continue : s; in accept()
90 s = visit_list_elements(v, &this->body_instructions); in accept()
91 if (s == visit_stop) in accept()
92 return s; in accept()
94 if (s != visit_continue_with_parent) { in accept()
[all …]
/external/chromium_org/third_party/zlib/
Ddeflate.c73 typedef block_state (*compress_func) OF((deflate_state *s, int flush,
77 local void fill_window OF((deflate_state *s));
78 local block_state deflate_stored OF((deflate_state *s, int flush, int clas));
79 local block_state deflate_fast OF((deflate_state *s, int flush, int clas));
81 local block_state deflate_slow OF((deflate_state *s, int flush, int clas));
83 local block_state deflate_rle OF((deflate_state *s, int flush));
84 local block_state deflate_huff OF((deflate_state *s, int flush));
85 local void lm_init OF((deflate_state *s));
86 local void putShortMSB OF((deflate_state *s, uInt b));
91 uInt longest_match OF((deflate_state *s, IPos cur_match, int clas));
[all …]
/external/qemu/distrib/zlib-1.2.3/
Ddeflate.c73 typedef block_state (*compress_func) OF((deflate_state *s, int flush));
76 local void fill_window OF((deflate_state *s));
77 local block_state deflate_stored OF((deflate_state *s, int flush));
78 local block_state deflate_fast OF((deflate_state *s, int flush));
80 local block_state deflate_slow OF((deflate_state *s, int flush));
82 local void lm_init OF((deflate_state *s));
83 local void putShortMSB OF((deflate_state *s, uInt b));
89 uInt longest_match OF((deflate_state *s, IPos cur_match));
91 local uInt longest_match OF((deflate_state *s, IPos cur_match));
94 local uInt longest_match_fast OF((deflate_state *s, IPos cur_match));
[all …]
Dgzio.c78 local int get_byte OF((gz_stream *s));
79 local void check_header OF((gz_stream *s));
80 local int destroy OF((gz_stream *s));
82 local uLong getLong OF((gz_stream *s));
102 gz_stream *s; local
108 s = (gz_stream *)ALLOC(sizeof(gz_stream));
109 if (!s) return Z_NULL;
111 s->stream.zalloc = (alloc_func)0;
112 s->stream.zfree = (free_func)0;
113 s->stream.opaque = (voidpf)0;
[all …]
/external/qemu/hw/
Dmc146818rtc.c101 static void rtc_set_time(RTCState *s);
102 static void rtc_copy_date(RTCState *s);
105 static void rtc_coalesced_timer_update(RTCState *s) in rtc_coalesced_timer_update() argument
107 if (s->irq_coalesced == 0) { in rtc_coalesced_timer_update()
108 qemu_del_timer(s->coalesced_timer); in rtc_coalesced_timer_update()
111 int c = MIN(s->irq_coalesced, 7) + 1; in rtc_coalesced_timer_update()
113 muldiv64(s->period / c, get_ticks_per_sec(), 32768); in rtc_coalesced_timer_update()
114 qemu_mod_timer(s->coalesced_timer, next_clock); in rtc_coalesced_timer_update()
120 RTCState *s = opaque; in rtc_coalesced_timer() local
122 if (s->irq_coalesced != 0) { in rtc_coalesced_timer()
[all …]
Dps2.c125 PS2State *s = (PS2State *)opaque; in ps2_queue() local
126 PS2Queue *q = &s->queue; in ps2_queue()
134 s->update_irq(s->update_arg, 1); in ps2_queue()
144 PS2KbdState *s = opaque; in ps2_put_keycode() local
147 if (!s->translate && keycode < 0xe0 && s->scancode_set == 2) in ps2_put_keycode()
150 ps2_queue(&s->common, 0xf0); in ps2_put_keycode()
153 ps2_queue(&s->common, keycode); in ps2_put_keycode()
158 PS2State *s = (PS2State *)opaque; in ps2_read_data() local
162 q = &s->queue; in ps2_read_data()
177 s->update_irq(s->update_arg, 0); in ps2_read_data()
[all …]
Dsmc91c111.c55 smc91c111_state *s = opaque; in smc91c111_save() local
62 qemu_put_be16(f, s->tcr); in smc91c111_save()
63 qemu_put_be16(f, s->rcr); in smc91c111_save()
64 qemu_put_be16(f, s->cr); in smc91c111_save()
65 qemu_put_be16(f, s->ctr); in smc91c111_save()
66 qemu_put_be16(f, s->gpr); in smc91c111_save()
67 qemu_put_be16(f, s->ptr); in smc91c111_save()
68 qemu_put_be16(f, s->ercv); in smc91c111_save()
70 qemu_put_be32(f, s->bank); in smc91c111_save()
71 qemu_put_be32(f, s->packet_num); in smc91c111_save()
[all …]
Di8259.c76 static inline void pic_set_irq1(PicState *s, int irq, int level) in pic_set_irq1() argument
80 if (s->elcr & mask) { in pic_set_irq1()
83 s->irr |= mask; in pic_set_irq1()
84 s->last_irr |= mask; in pic_set_irq1()
86 s->irr &= ~mask; in pic_set_irq1()
87 s->last_irr &= ~mask; in pic_set_irq1()
92 if ((s->last_irr & mask) == 0) in pic_set_irq1()
93 s->irr |= mask; in pic_set_irq1()
94 s->last_irr |= mask; in pic_set_irq1()
96 s->last_irr &= ~mask; in pic_set_irq1()
[all …]
Di8254.c62 static void pit_irq_timer_update(PITChannelState *s, int64_t current_time);
64 static int pit_get_count(PITChannelState *s) in pit_get_count() argument
69 d = muldiv64(qemu_get_clock_ns(vm_clock) - s->count_load_time, PIT_FREQ, get_ticks_per_sec()); in pit_get_count()
70 switch(s->mode) { in pit_get_count()
75 counter = (s->count - d) & 0xffff; in pit_get_count()
79 counter = s->count - ((2 * d) % s->count); in pit_get_count()
82 counter = s->count - (d % s->count); in pit_get_count()
89 static int pit_get_out1(PITChannelState *s, int64_t current_time) in pit_get_out1() argument
94 d = muldiv64(current_time - s->count_load_time, PIT_FREQ, get_ticks_per_sec()); in pit_get_out1()
95 switch(s->mode) { in pit_get_out1()
[all …]
Dbt-hci-csr.c73 static inline void csrhci_fifo_wake(struct csrhci_s *s) in csrhci_fifo_wake() argument
75 if (!s->enable || !s->out_len) in csrhci_fifo_wake()
79 if (s->chr.chr_can_read && s->chr.chr_can_read(s->chr.handler_opaque) && in csrhci_fifo_wake()
80 s->chr.chr_read) { in csrhci_fifo_wake()
81 s->chr.chr_read(s->chr.handler_opaque, in csrhci_fifo_wake()
82 s->outfifo + s->out_start ++, 1); in csrhci_fifo_wake()
83 s->out_len --; in csrhci_fifo_wake()
84 if (s->out_start >= s->out_size) { in csrhci_fifo_wake()
85 s->out_start = 0; in csrhci_fifo_wake()
86 s->out_size = FIFO_LEN; in csrhci_fifo_wake()
[all …]
/external/valgrind/main/none/tests/mips32/
DFPUarithmetic.stdout.exp-mips322 abs.s 0.000000 0.000000
3 abs.s 456.248962 456.248962
4 abs.s 3.000000 3.000000
5 abs.s 1.000000 -1.000000
6 abs.s 1384.599976 1384.599976
7 abs.s 7.294568 -7.294568
8 abs.s 1000000000.000000 1000000000.000000
9 abs.s 5786.470215 -5786.470215
10 abs.s 1752.000000 1752.000000
11 abs.s 0.002457 0.002457
[all …]
/external/openssl/ssl/
Ds2_pkt.c118 static int read_n(SSL *s,unsigned int n,unsigned int max,unsigned int extend);
119 static int n_do_ssl_write(SSL *s, const unsigned char *buf, unsigned int len);
120 static int write_pending(SSL *s, const unsigned char *buf, unsigned int len);
127 static int ssl2_read_internal(SSL *s, void *buf, int len, int peek) in ssl2_read_internal() argument
136 if (SSL_in_init(s) && !s->in_handshake) in ssl2_read_internal()
138 n=s->handshake_func(s); in ssl2_read_internal()
148 s->rwstate=SSL_NOTHING; in ssl2_read_internal()
151 if (s->s2->ract_data_length != 0) /* read from buffer */ in ssl2_read_internal()
153 if (len > s->s2->ract_data_length) in ssl2_read_internal()
154 n=s->s2->ract_data_length; in ssl2_read_internal()
[all …]
Ds2_srvr.c121 static int get_client_master_key(SSL *s);
122 static int get_client_hello(SSL *s);
123 static int server_hello(SSL *s);
124 static int get_client_finished(SSL *s);
125 static int server_verify(SSL *s);
126 static int server_finish(SSL *s);
127 static int request_certificate(SSL *s);
145 int ssl2_accept(SSL *s) in IMPLEMENT_ssl2_meth_func()
158 if (s->info_callback != NULL) in IMPLEMENT_ssl2_meth_func()
159 cb=s->info_callback; in IMPLEMENT_ssl2_meth_func()
[all …]
Dd1_clnt.c132 static int dtls1_get_hello_verify(SSL *s);
147 int dtls1_connect(SSL *s) in IMPLEMENT_dtls1_meth_func()
163 if (s->info_callback != NULL) in IMPLEMENT_dtls1_meth_func()
164 cb=s->info_callback; in IMPLEMENT_dtls1_meth_func()
165 else if (s->ctx->info_callback != NULL) in IMPLEMENT_dtls1_meth_func()
166 cb=s->ctx->info_callback; in IMPLEMENT_dtls1_meth_func()
168 s->in_handshake++; in IMPLEMENT_dtls1_meth_func()
169 if (!SSL_in_init(s) || SSL_in_before(s)) SSL_clear(s); in IMPLEMENT_dtls1_meth_func()
176 BIO_ctrl(SSL_get_wbio(s), BIO_CTRL_DGRAM_SCTP_SET_IN_HANDSHAKE, s->in_handshake, NULL); in IMPLEMENT_dtls1_meth_func()
184 if (s->tlsext_hb_pending) in IMPLEMENT_dtls1_meth_func()
[all …]
Ds2_clnt.c121 static int get_server_finished(SSL *s);
122 static int get_server_verify(SSL *s);
123 static int get_server_hello(SSL *s);
124 static int client_hello(SSL *s);
125 static int client_master_key(SSL *s);
126 static int client_finished(SSL *s);
127 static int client_certificate(SSL *s);
145 int ssl2_connect(SSL *s) in IMPLEMENT_ssl2_meth_func()
157 if (s->info_callback != NULL) in IMPLEMENT_ssl2_meth_func()
158 cb=s->info_callback; in IMPLEMENT_ssl2_meth_func()
[all …]
/external/chromium_org/third_party/openssl/openssl/ssl/
Ds2_pkt.c118 static int read_n(SSL *s,unsigned int n,unsigned int max,unsigned int extend);
119 static int n_do_ssl_write(SSL *s, const unsigned char *buf, unsigned int len);
120 static int write_pending(SSL *s, const unsigned char *buf, unsigned int len);
127 static int ssl2_read_internal(SSL *s, void *buf, int len, int peek) in ssl2_read_internal() argument
136 if (SSL_in_init(s) && !s->in_handshake) in ssl2_read_internal()
138 n=s->handshake_func(s); in ssl2_read_internal()
148 s->rwstate=SSL_NOTHING; in ssl2_read_internal()
151 if (s->s2->ract_data_length != 0) /* read from buffer */ in ssl2_read_internal()
153 if (len > s->s2->ract_data_length) in ssl2_read_internal()
154 n=s->s2->ract_data_length; in ssl2_read_internal()
[all …]
Ds2_srvr.c121 static int get_client_master_key(SSL *s);
122 static int get_client_hello(SSL *s);
123 static int server_hello(SSL *s);
124 static int get_client_finished(SSL *s);
125 static int server_verify(SSL *s);
126 static int server_finish(SSL *s);
127 static int request_certificate(SSL *s);
145 int ssl2_accept(SSL *s) in IMPLEMENT_ssl2_meth_func()
158 if (s->info_callback != NULL) in IMPLEMENT_ssl2_meth_func()
159 cb=s->info_callback; in IMPLEMENT_ssl2_meth_func()
[all …]
Dd1_clnt.c132 static int dtls1_get_hello_verify(SSL *s);
147 int dtls1_connect(SSL *s) in IMPLEMENT_dtls1_meth_func()
163 if (s->info_callback != NULL) in IMPLEMENT_dtls1_meth_func()
164 cb=s->info_callback; in IMPLEMENT_dtls1_meth_func()
165 else if (s->ctx->info_callback != NULL) in IMPLEMENT_dtls1_meth_func()
166 cb=s->ctx->info_callback; in IMPLEMENT_dtls1_meth_func()
168 s->in_handshake++; in IMPLEMENT_dtls1_meth_func()
169 if (!SSL_in_init(s) || SSL_in_before(s)) SSL_clear(s); in IMPLEMENT_dtls1_meth_func()
176 BIO_ctrl(SSL_get_wbio(s), BIO_CTRL_DGRAM_SCTP_SET_IN_HANDSHAKE, s->in_handshake, NULL); in IMPLEMENT_dtls1_meth_func()
184 if (s->tlsext_hb_pending) in IMPLEMENT_dtls1_meth_func()
[all …]
Ds2_clnt.c121 static int get_server_finished(SSL *s);
122 static int get_server_verify(SSL *s);
123 static int get_server_hello(SSL *s);
124 static int client_hello(SSL *s);
125 static int client_master_key(SSL *s);
126 static int client_finished(SSL *s);
127 static int client_certificate(SSL *s);
145 int ssl2_connect(SSL *s) in IMPLEMENT_ssl2_meth_func()
157 if (s->info_callback != NULL) in IMPLEMENT_ssl2_meth_func()
158 cb=s->info_callback; in IMPLEMENT_ssl2_meth_func()
[all …]
/external/qemu/android/utils/
Dstralloc.c54 stralloc_reset( stralloc_t* s ) in stralloc_reset() argument
56 free(s->s); in stralloc_reset()
57 s->s = NULL; in stralloc_reset()
58 s->n = 0; in stralloc_reset()
59 s->a = 0; in stralloc_reset()
63 stralloc_ready( stralloc_t* s, unsigned int len ) in stralloc_ready() argument
65 unsigned old_max = s->a; in stralloc_ready()
75 s->s = realloc( s->s, new_max ); in stralloc_ready()
76 if (s->s == NULL) { in stralloc_ready()
81 s->a = new_max; in stralloc_ready()
[all …]
/external/bzip2/
Ddecompress.c27 void makeMaps_d ( DState* s ) in makeMaps_d() argument
30 s->nInUse = 0; in makeMaps_d()
32 if (s->inUse[i]) { in makeMaps_d()
33 s->seqToUnseq[s->nInUse] = i; in makeMaps_d()
34 s->nInUse++; in makeMaps_d()
44 case lll: s->state = lll; \
46 if (s->bsLive >= nnn) { \
48 v = (s->bsBuff >> \
49 (s->bsLive-nnn)) & ((1 << nnn)-1); \
50 s->bsLive -= nnn; \
[all …]
/external/chromium_org/third_party/re2/benchlog/
Dbenchlog.c239 Search_Easy0_CachedPCRE/8 10000000 127 ns/op 62.57 MB/s
40 Search_Easy0_CachedPCRE/16 10000000 156 ns/op 102.26 MB/s
41 Search_Easy0_CachedPCRE/32 5000000 213 ns/op 150.12 MB/s
42 Search_Easy0_CachedPCRE/64 5000000 326 ns/op 195.76 MB/s
43 Search_Easy0_CachedPCRE/128 5000000 427 ns/op 299.08 MB/s
44 Search_Easy0_CachedPCRE/256 1000000 1080 ns/op 236.95 MB/s
45 Search_Easy0_CachedPCRE/512 1000000 1741 ns/op 294.04 MB/s
46 Search_Easy0_CachedPCRE/1K 500000 3395 ns/op 301.54 MB/s
47 Search_Easy0_CachedPCRE/2K 200000 5680 ns/op 360.53 MB/s
48 Search_Easy0_CachedPCRE/4K 100000 10664 ns/op 384.07 MB/s
[all …]
/external/regex-re2/benchlog/
Dbenchlog.c239 Search_Easy0_CachedPCRE/8 10000000 127 ns/op 62.57 MB/s
40 Search_Easy0_CachedPCRE/16 10000000 156 ns/op 102.26 MB/s
41 Search_Easy0_CachedPCRE/32 5000000 213 ns/op 150.12 MB/s
42 Search_Easy0_CachedPCRE/64 5000000 326 ns/op 195.76 MB/s
43 Search_Easy0_CachedPCRE/128 5000000 427 ns/op 299.08 MB/s
44 Search_Easy0_CachedPCRE/256 1000000 1080 ns/op 236.95 MB/s
45 Search_Easy0_CachedPCRE/512 1000000 1741 ns/op 294.04 MB/s
46 Search_Easy0_CachedPCRE/1K 500000 3395 ns/op 301.54 MB/s
47 Search_Easy0_CachedPCRE/2K 200000 5680 ns/op 360.53 MB/s
48 Search_Easy0_CachedPCRE/4K 100000 10664 ns/op 384.07 MB/s
[all …]

12345678910>>...373