/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
D | regress-209067.js | 58 function S(s) argument 60 return s.replace(/</g,'<').replace(/>/g,'>'); 71 function(s,p) argument 73 if(s.match(/!doctype/i)) 78 function(s,p1,p2) argument 87 … return'<<span class=' + (s.match(/<\s*\//)?'end-tag':'start-tag') + '>' + p + '</span>>'; 98 function(s,p) argument 162 var s = ''; 164 s += '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'; 165 s += '<html lang="en">'; [all …]
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | ScannerTest.java | 55 private Scanner s; field in ScannerTest 84 s = new Scanner(tmpFile); in test_ConstructorLjava_io_File() 85 assertNotNull(s); in test_ConstructorLjava_io_File() 86 s.close(); in test_ConstructorLjava_io_File() 90 s = new Scanner(tmpFile); in test_ConstructorLjava_io_File() 100 s = new Scanner(tmpFile); in test_ConstructorLjava_io_File() 105 s = new Scanner((File) null); in test_ConstructorLjava_io_File() 120 s = new Scanner(tmpFile, Charset.defaultCharset().name()); in test_ConstructorLjava_io_FileLjava_lang_String() 121 assertNotNull(s); in test_ConstructorLjava_io_FileLjava_lang_String() 122 s.close(); in test_ConstructorLjava_io_FileLjava_lang_String() [all …]
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
D | Initialize.cpp | 24 TString s; in BuiltInFunctionsCommon() local 29 s.append(TString("float radians(float degrees);")); in BuiltInFunctionsCommon() 30 s.append(TString("vec2 radians(vec2 degrees);")); in BuiltInFunctionsCommon() 31 s.append(TString("vec3 radians(vec3 degrees);")); in BuiltInFunctionsCommon() 32 s.append(TString("vec4 radians(vec4 degrees);")); in BuiltInFunctionsCommon() 34 s.append(TString("float degrees(float radians);")); in BuiltInFunctionsCommon() 35 s.append(TString("vec2 degrees(vec2 radians);")); in BuiltInFunctionsCommon() 36 s.append(TString("vec3 degrees(vec3 radians);")); in BuiltInFunctionsCommon() 37 s.append(TString("vec4 degrees(vec4 radians);")); in BuiltInFunctionsCommon() 39 s.append(TString("float sin(float angle);")); in BuiltInFunctionsCommon() [all …]
|
/external/mesa3d/src/glsl/ |
D | ir_hv_accept.cpp | 48 ir_visitor_status s = ir->accept(v); in visit_list_elements() local 50 if (s != visit_continue) in visit_list_elements() 51 return s; in visit_list_elements() 69 ir_visitor_status s = v->visit_enter(this); in accept() local 71 if (s != visit_continue) in accept() 72 return (s == visit_continue_with_parent) ? visit_continue : s; in accept() 74 s = visit_list_elements(v, &this->body_instructions); in accept() 75 if (s == visit_stop) in accept() 76 return s; in accept() 78 if (s != visit_continue_with_parent) { in accept() [all …]
|
/external/zlib/src/ |
D | deflate.c | 73 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/qemu/distrib/zlib-1.2.3/ |
D | deflate.c | 73 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 …]
|
D | gzio.c | 78 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/ |
D | mc146818rtc.c | 101 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 …]
|
D | ps2.c | 125 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 …]
|
D | smc91c111.c | 55 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 …]
|
D | i8259.c | 76 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 …]
|
D | i8254.c | 62 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 …]
|
D | bt-hci-csr.c | 73 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 …]
|
D | ne2000.c | 150 static void ne2000_reset(NE2000State *s) in ne2000_reset() argument 154 s->isr = ENISR_RESET; in ne2000_reset() 155 memcpy(s->mem, s->macaddr, 6); in ne2000_reset() 156 s->mem[14] = 0x57; in ne2000_reset() 157 s->mem[15] = 0x57; in ne2000_reset() 161 s->mem[2 * i] = s->mem[i]; in ne2000_reset() 162 s->mem[2 * i + 1] = s->mem[i]; in ne2000_reset() 166 static void ne2000_update_irq(NE2000State *s) in ne2000_update_irq() argument 169 isr = (s->isr & s->imr) & 0x7f; in ne2000_update_irq() 172 isr ? 1 : 0, s->isr, s->imr); in ne2000_update_irq() [all …]
|
/external/openssl/ssl/ |
D | s2_srvr.c | 121 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 …]
|
D | s2_pkt.c | 118 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 …]
|
D | d1_clnt.c | 132 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 …]
|
D | s2_clnt.c | 121 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 …]
|
D | d1_pkt.c | 169 static int have_handshake_fragment(SSL *s, int type, unsigned char *buf, 171 static int dtls1_record_replay_check(SSL *s, DTLS1_BITMAP *bitmap); 172 static void dtls1_record_bitmap_update(SSL *s, DTLS1_BITMAP *bitmap); 173 static DTLS1_BITMAP *dtls1_get_bitmap(SSL *s, SSL3_RECORD *rr, 176 static int dtls1_record_needs_buffering(SSL *s, SSL3_RECORD *rr, 179 static int dtls1_buffer_record(SSL *s, record_pqueue *q, 181 static int dtls1_process_record(SSL *s); 185 dtls1_copy_record(SSL *s, pitem *item) in dtls1_copy_record() argument 191 if (s->s3->rbuf.buf != NULL) in dtls1_copy_record() 192 OPENSSL_free(s->s3->rbuf.buf); in dtls1_copy_record() [all …]
|
D | d1_srvr.c | 130 static int dtls1_send_hello_verify_request(SSL *s); 145 int dtls1_accept(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 listen = s->d1->listen; in IMPLEMENT_dtls1_meth_func() 171 s->in_handshake++; in IMPLEMENT_dtls1_meth_func() 172 if (!SSL_in_init(s) || SSL_in_before(s)) SSL_clear(s); in IMPLEMENT_dtls1_meth_func() 174 s->d1->listen = listen; in IMPLEMENT_dtls1_meth_func() [all …]
|
/external/qemu/android/utils/ |
D | stralloc.c | 54 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/ |
D | decompress.c | 27 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/regex-re2/benchlog/ |
D | benchlog.c2 | 39 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 …]
|
D | benchlog.r70 | 62 Search_Easy0_CachedPCRE/8 10000000 149 ns/op 53.57 MB/s 63 Search_Easy0_CachedPCRE/16 10000000 194 ns/op 82.16 MB/s 64 Search_Easy0_CachedPCRE/32 5000000 291 ns/op 109.70 MB/s 65 Search_Easy0_CachedPCRE/64 5000000 452 ns/op 141.37 MB/s 66 Search_Easy0_CachedPCRE/128 2000000 773 ns/op 165.41 MB/s 67 Search_Easy0_CachedPCRE/256 500000 2135 ns/op 119.88 MB/s 68 Search_Easy0_CachedPCRE/512 500000 3674 ns/op 139.33 MB/s 69 Search_Easy0_CachedPCRE/1K 200000 7051 ns/op 145.21 MB/s 70 Search_Easy0_CachedPCRE/2K 100000 12536 ns/op 163.37 MB/s 71 Search_Easy0_CachedPCRE/4K 50000 24447 ns/op 167.54 MB/s [all …]
|
D | benchlog.wreck | 113 Search_Easy0_CachedPCRE/8 10000000 142 ns/op 56.08 MB/s 114 Search_Easy0_CachedPCRE/16 10000000 184 ns/op 86.70 MB/s 115 Search_Easy0_CachedPCRE/32 5000000 266 ns/op 120.15 MB/s 116 Search_Easy0_CachedPCRE/64 5000000 433 ns/op 147.54 MB/s 117 Search_Easy0_CachedPCRE/128 2000000 782 ns/op 163.61 MB/s 118 Search_Easy0_CachedPCRE/256 1000000 1435 ns/op 178.37 MB/s 119 Search_Easy0_CachedPCRE/512 500000 3151 ns/op 162.46 MB/s 120 Search_Easy0_CachedPCRE/1K 200000 6522 ns/op 156.99 MB/s 121 Search_Easy0_CachedPCRE/2K 100000 12024 ns/op 170.32 MB/s 122 Search_Easy0_CachedPCRE/4K 50000 24372 ns/op 168.06 MB/s [all …]
|