/third_party/libwebsockets/lib/core-net/ |
H A D | sequencer.c | 101 lws_seq_t *seq = lws_zalloc(sizeof(*seq) + i->user_size, __func__); in lws_seq_create() local 103 if (!seq) in lws_seq_create() 106 seq->cb = i->cb; in lws_seq_create() 107 seq->pt = pt; in lws_seq_create() 108 seq->name = i->name; in lws_seq_create() 109 seq->retry = i->retry; in lws_seq_create() 110 seq->wakesuspend = i->wakesuspend; in lws_seq_create() 112 *i->puser = (void *)&seq[1]; in lws_seq_create() 118 lws_dll2_add_tail(&seq in lws_seq_create() 151 lws_seq_t *seq = *pseq; lws_seq_destroy() local 188 lws_seq_t *seq = lws_container_of(sul, lws_seq_t, sul_pending); lws_seq_sul_pending_cb() local 220 lws_seq_queue_event(lws_seq_t *seq, lws_seq_events_t e, void *data, void *aux) lws_seq_queue_event() argument 268 lws_seq_check_wsi(lws_seq_t *seq, struct lws *wsi) lws_seq_check_wsi() argument 302 lws_seq_timeout_us(lws_seq_t *seq, lws_usec_t us) lws_seq_timeout_us() argument 319 lws_seq_name(lws_seq_t *seq) lws_seq_name() argument 325 lws_seq_us_since_creation(lws_seq_t *seq) lws_seq_us_since_creation() argument 331 lws_seq_get_context(lws_seq_t *seq) lws_seq_get_context() argument [all...] |
/third_party/alsa-lib/src/seq/ |
H A D | seq.c | 2 * \file seq/seq.c 9 * See \ref seq page for more details. 31 /*! \page seq Sequencer interface 615 void capture_keyboard(snd_seq_t *seq) 629 snd_seq_subscribe_port(seq, subs); 638 void subscribe_output(snd_seq_t *seq) 649 snd_seq_subscribe_port(seq, subs); 654 void subscribe_output(snd_seq_t *seq) 656 snd_seq_connect_to(seq, 800 snd_seq_name(snd_seq_t *seq) snd_seq_name() argument 815 snd_seq_type(snd_seq_t *seq) snd_seq_type() argument 1043 snd_seq_close(snd_seq_t *seq) snd_seq_close() argument 1070 snd_seq_poll_descriptors_count(snd_seq_t *seq, short events) snd_seq_poll_descriptors_count() argument 1103 snd_seq_poll_descriptors(snd_seq_t *seq, struct pollfd *pfds, unsigned int space, short events) snd_seq_poll_descriptors() argument 1133 snd_seq_poll_descriptors_revents(snd_seq_t *seq, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) snd_seq_poll_descriptors_revents() argument 1156 snd_seq_nonblock(snd_seq_t *seq, int nonblock) snd_seq_nonblock() argument 1182 snd_seq_client_id(snd_seq_t *seq) snd_seq_client_id() argument 1199 snd_seq_get_output_buffer_size(snd_seq_t *seq) snd_seq_get_output_buffer_size() argument 1207 get_packet_size(snd_seq_t *seq) get_packet_size() argument 1222 snd_seq_get_input_buffer_size(snd_seq_t *seq) snd_seq_get_input_buffer_size() argument 1240 snd_seq_set_output_buffer_size(snd_seq_t *seq, size_t size) snd_seq_set_output_buffer_size() argument 1267 snd_seq_set_input_buffer_size(snd_seq_t *seq, size_t size) snd_seq_set_input_buffer_size() argument 1422 snd_seq_system_info(snd_seq_t *seq, snd_seq_system_info_t * info) snd_seq_system_info() argument 1958 snd_seq_get_any_client_info(snd_seq_t *seq, int client, snd_seq_client_info_t *info) snd_seq_get_any_client_info() argument 1978 snd_seq_get_client_info(snd_seq_t *seq, snd_seq_client_info_t *info) snd_seq_get_client_info() argument 1994 snd_seq_set_client_info(snd_seq_t *seq, snd_seq_client_info_t *info) snd_seq_set_client_info() argument 2016 snd_seq_query_next_client(snd_seq_t *seq, snd_seq_client_info_t *info) snd_seq_query_next_client() argument 2029 snd_seq_get_ump_endpoint_info(snd_seq_t *seq, int client, void *info) snd_seq_get_ump_endpoint_info() argument 2045 snd_seq_get_ump_block_info(snd_seq_t *seq, int client, int blk, void *info) snd_seq_get_ump_block_info() argument 2059 snd_seq_set_ump_endpoint_info(snd_seq_t *seq, const void *info) snd_seq_set_ump_endpoint_info() argument 2074 snd_seq_set_ump_block_info(snd_seq_t *seq, int blk, const void *info) snd_seq_set_ump_block_info() argument 2603 snd_seq_create_port(snd_seq_t *seq, snd_seq_port_info_t * port) snd_seq_create_port() argument 2620 snd_seq_delete_port(snd_seq_t *seq, int port) snd_seq_delete_port() argument 2640 snd_seq_get_any_port_info(snd_seq_t *seq, int client, int port, snd_seq_port_info_t * info) snd_seq_get_any_port_info() argument 2659 snd_seq_get_port_info(snd_seq_t *seq, int port, snd_seq_port_info_t * info) snd_seq_get_port_info() argument 2673 snd_seq_set_port_info(snd_seq_t *seq, int port, snd_seq_port_info_t * info) snd_seq_set_port_info() argument 2698 snd_seq_query_next_port(snd_seq_t *seq, snd_seq_port_info_t *info) snd_seq_query_next_port() argument 2928 snd_seq_get_port_subscription(snd_seq_t *seq, snd_seq_port_subscribe_t * sub) snd_seq_get_port_subscription() argument 2946 snd_seq_subscribe_port(snd_seq_t *seq, snd_seq_port_subscribe_t * sub) snd_seq_subscribe_port() argument 2963 snd_seq_unsubscribe_port(snd_seq_t *seq, snd_seq_port_subscribe_t * sub) snd_seq_unsubscribe_port() argument 3242 snd_seq_query_port_subscribers(snd_seq_t *seq, snd_seq_query_subscribe_t * subs) snd_seq_query_port_subscribers() argument 3424 snd_seq_create_queue(snd_seq_t *seq, snd_seq_queue_info_t *info) snd_seq_create_queue() argument 3443 snd_seq_alloc_named_queue(snd_seq_t *seq, const char *name) snd_seq_alloc_named_queue() argument 3461 snd_seq_alloc_queue(snd_seq_t *seq) snd_seq_alloc_queue() argument 3474 snd_seq_free_queue(snd_seq_t *seq, int q) snd_seq_free_queue() argument 3492 snd_seq_get_queue_info(snd_seq_t *seq, int q, snd_seq_queue_info_t *info) snd_seq_get_queue_info() argument 3508 snd_seq_set_queue_info(snd_seq_t *seq, int q, snd_seq_queue_info_t *info) snd_seq_set_queue_info() argument 3525 snd_seq_query_named_queue(snd_seq_t *seq, const char *name) snd_seq_query_named_queue() argument 3546 snd_seq_get_queue_usage(snd_seq_t *seq, int q) snd_seq_get_queue_usage() argument 3568 snd_seq_set_queue_usage(snd_seq_t *seq, int q, int used) snd_seq_set_queue_usage() argument 3698 snd_seq_get_queue_status(snd_seq_t *seq, int q, snd_seq_queue_status_t * status) snd_seq_get_queue_status() argument 3880 snd_seq_get_queue_tempo(snd_seq_t *seq, int q, snd_seq_queue_tempo_t * tempo) snd_seq_get_queue_tempo() argument 3897 snd_seq_set_queue_tempo(snd_seq_t *seq, int q, snd_seq_queue_tempo_t * tempo) snd_seq_set_queue_tempo() argument 4052 snd_seq_get_queue_timer(snd_seq_t *seq, int q, snd_seq_queue_timer_t * timer) snd_seq_get_queue_timer() argument 4069 snd_seq_set_queue_timer(snd_seq_t *seq, int q, snd_seq_queue_timer_t * timer) snd_seq_set_queue_timer() argument 4150 snd_seq_event_output(snd_seq_t *seq, snd_seq_event_t *ev) snd_seq_event_output() argument 4165 clear_ump_for_legacy_apps(snd_seq_t *seq, snd_seq_event_t *ev) clear_ump_for_legacy_apps() argument 4184 snd_seq_event_output_buffer(snd_seq_t *seq, snd_seq_event_t *ev) snd_seq_event_output_buffer() argument 4211 alloc_tmpbuf(snd_seq_t *seq, size_t len) alloc_tmpbuf() argument 4244 snd_seq_event_output_direct(snd_seq_t *seq, snd_seq_event_t *ev) snd_seq_event_output_direct() argument 4272 snd_seq_event_output_pending(snd_seq_t *seq) snd_seq_event_output_pending() argument 4293 snd_seq_drain_output(snd_seq_t *seq) snd_seq_drain_output() argument 4322 snd_seq_extract_output(snd_seq_t *seq, snd_seq_event_t **ev_res) snd_seq_extract_output() argument 4354 snd_seq_event_read_buffer(snd_seq_t *seq) snd_seq_event_read_buffer() argument 4367 snd_seq_event_retrieve_buffer(snd_seq_t *seq, snd_seq_event_t **retp) snd_seq_event_retrieve_buffer() argument 4421 snd_seq_event_input(snd_seq_t *seq, snd_seq_event_t **ev) snd_seq_event_input() argument 4437 snd_seq_event_input_feed(snd_seq_t *seq, int timeout) snd_seq_event_input_feed() argument 4468 snd_seq_event_input_pending(snd_seq_t *seq, int fetch_sequencer) snd_seq_event_input_pending() argument 4500 snd_seq_ump_event_output(snd_seq_t *seq, snd_seq_ump_event_t *ev) snd_seq_ump_event_output() argument 4517 snd_seq_ump_event_output_buffer(snd_seq_t *seq, snd_seq_ump_event_t *ev) snd_seq_ump_event_output_buffer() argument 4534 snd_seq_ump_extract_output(snd_seq_t *seq, snd_seq_ump_event_t **ev_res) snd_seq_ump_extract_output() argument 4551 snd_seq_ump_event_output_direct(snd_seq_t *seq, snd_seq_ump_event_t *ev) snd_seq_ump_event_output_direct() argument 4574 snd_seq_ump_event_input(snd_seq_t *seq, snd_seq_ump_event_t **ev) snd_seq_ump_event_input() argument 4597 snd_seq_drop_output_buffer(snd_seq_t *seq) snd_seq_drop_output_buffer() argument 4610 snd_seq_drop_input_buffer(snd_seq_t *seq) snd_seq_drop_input_buffer() argument 4627 snd_seq_drop_output(snd_seq_t *seq) snd_seq_drop_output() argument 4644 snd_seq_drop_input(snd_seq_t *seq) snd_seq_drop_input() argument 4967 snd_seq_remove_events(snd_seq_t *seq, snd_seq_remove_events_t *rmp) snd_seq_remove_events() argument 5165 snd_seq_get_client_pool(snd_seq_t *seq, snd_seq_client_pool_t *info) snd_seq_get_client_pool() argument 5180 snd_seq_set_client_pool(snd_seq_t *seq, snd_seq_client_pool_t *info) snd_seq_set_client_pool() argument [all...] |
H A D | seq_hw.c | 33 #define SNDRV_FILE_SEQ ALSA_DEVICE_DIRECTORY "seq" 42 static int snd_seq_hw_close(snd_seq_t *seq) in snd_seq_hw_close() argument 44 snd_seq_hw_t *hw = seq->private_data; in snd_seq_hw_close() 55 static int snd_seq_hw_nonblock(snd_seq_t *seq, int nonblock) in snd_seq_hw_nonblock() argument 57 snd_seq_hw_t *hw = seq->private_data; in snd_seq_hw_nonblock() 75 static int snd_seq_hw_client_id(snd_seq_t *seq) in snd_seq_hw_client_id() argument 77 snd_seq_hw_t *hw = seq->private_data; in snd_seq_hw_client_id() 86 static int snd_seq_hw_system_info(snd_seq_t *seq, snd_seq_system_info_t * info) in snd_seq_hw_system_info() argument 88 snd_seq_hw_t *hw = seq->private_data; in snd_seq_hw_system_info() 96 static void update_midi_version(snd_seq_t *seq, snd_seq_client_info_ argument 110 snd_seq_hw_get_client_info(snd_seq_t *seq, snd_seq_client_info_t * info) snd_seq_hw_get_client_info() argument 124 snd_seq_hw_set_client_info(snd_seq_t *seq, snd_seq_client_info_t * info) snd_seq_hw_set_client_info() argument 136 snd_seq_hw_get_ump_info(snd_seq_t *seq, int client, int type, void *info) snd_seq_hw_get_ump_info() argument 158 snd_seq_hw_set_ump_info(snd_seq_t *seq, int type, const void *info) snd_seq_hw_set_ump_info() argument 181 snd_seq_hw_create_port(snd_seq_t *seq, snd_seq_port_info_t * port) snd_seq_hw_create_port() argument 191 snd_seq_hw_delete_port(snd_seq_t *seq, snd_seq_port_info_t * port) snd_seq_hw_delete_port() argument 201 snd_seq_hw_get_port_info(snd_seq_t *seq, snd_seq_port_info_t * info) snd_seq_hw_get_port_info() argument 211 snd_seq_hw_set_port_info(snd_seq_t *seq, snd_seq_port_info_t * info) snd_seq_hw_set_port_info() argument 221 snd_seq_hw_get_port_subscription(snd_seq_t *seq, snd_seq_port_subscribe_t * sub) snd_seq_hw_get_port_subscription() argument 231 snd_seq_hw_subscribe_port(snd_seq_t *seq, snd_seq_port_subscribe_t * sub) snd_seq_hw_subscribe_port() argument 241 snd_seq_hw_unsubscribe_port(snd_seq_t *seq, snd_seq_port_subscribe_t * sub) snd_seq_hw_unsubscribe_port() argument 251 snd_seq_hw_query_port_subscribers(snd_seq_t *seq, snd_seq_query_subscribe_t * subs) snd_seq_hw_query_port_subscribers() argument 261 snd_seq_hw_get_queue_status(snd_seq_t *seq, snd_seq_queue_status_t * status) snd_seq_hw_get_queue_status() argument 271 snd_seq_hw_get_queue_tempo(snd_seq_t *seq, snd_seq_queue_tempo_t * tempo) snd_seq_hw_get_queue_tempo() argument 281 snd_seq_hw_set_queue_tempo(snd_seq_t *seq, snd_seq_queue_tempo_t * tempo) snd_seq_hw_set_queue_tempo() argument 291 snd_seq_hw_get_queue_timer(snd_seq_t *seq, snd_seq_queue_timer_t * timer) snd_seq_hw_get_queue_timer() argument 301 snd_seq_hw_set_queue_timer(snd_seq_t *seq, snd_seq_queue_timer_t * timer) snd_seq_hw_set_queue_timer() argument 311 snd_seq_hw_get_queue_client(snd_seq_t *seq, snd_seq_queue_client_t * info) snd_seq_hw_get_queue_client() argument 321 snd_seq_hw_set_queue_client(snd_seq_t *seq, snd_seq_queue_client_t * info) snd_seq_hw_set_queue_client() argument 331 snd_seq_hw_create_queue(snd_seq_t *seq, snd_seq_queue_info_t *info) snd_seq_hw_create_queue() argument 341 snd_seq_hw_delete_queue(snd_seq_t *seq, snd_seq_queue_info_t *info) snd_seq_hw_delete_queue() argument 351 snd_seq_hw_get_queue_info(snd_seq_t *seq, snd_seq_queue_info_t *info) snd_seq_hw_get_queue_info() argument 361 snd_seq_hw_set_queue_info(snd_seq_t *seq, snd_seq_queue_info_t *info) snd_seq_hw_set_queue_info() argument 371 snd_seq_hw_get_named_queue(snd_seq_t *seq, snd_seq_queue_info_t *info) snd_seq_hw_get_named_queue() argument 381 snd_seq_hw_write(snd_seq_t *seq, void *buf, size_t len) snd_seq_hw_write() argument 390 snd_seq_hw_read(snd_seq_t *seq, void *buf, size_t len) snd_seq_hw_read() argument 399 snd_seq_hw_remove_events(snd_seq_t *seq, snd_seq_remove_events_t *rmp) snd_seq_hw_remove_events() argument 409 snd_seq_hw_get_client_pool(snd_seq_t *seq, snd_seq_client_pool_t *info) snd_seq_hw_get_client_pool() argument 419 snd_seq_hw_set_client_pool(snd_seq_t *seq, snd_seq_client_pool_t *info) snd_seq_hw_set_client_pool() argument 429 snd_seq_hw_query_next_client(snd_seq_t *seq, snd_seq_client_info_t *info) snd_seq_hw_query_next_client() argument 443 snd_seq_hw_query_next_port(snd_seq_t *seq, snd_seq_port_info_t *info) snd_seq_hw_query_next_port() argument 494 snd_seq_t *seq; snd_seq_hw_open() local [all...] |
H A D | seqmid.c | 32 * \param seq sequencer handle 46 int snd_seq_control_queue(snd_seq_t *seq, int q, int type, int value, snd_seq_event_t *ev) in snd_seq_control_queue() argument 55 return snd_seq_event_output(seq, ev); in snd_seq_control_queue() 61 * \param seq sequencer handle 71 int snd_seq_create_simple_port(snd_seq_t *seq, const char *name, in snd_seq_create_simple_port() argument 86 result = snd_seq_create_port(seq, &pinfo); in snd_seq_create_simple_port() 95 * \param seq sequencer handle 101 int snd_seq_delete_simple_port(snd_seq_t *seq, int port) in snd_seq_delete_simple_port() argument 103 return snd_seq_delete_port(seq, port); in snd_seq_delete_simple_port() 108 * \param seq sequence 119 snd_seq_connect_from(snd_seq_t *seq, int myport, int src_client, int src_port) snd_seq_connect_from() argument 146 snd_seq_connect_to(snd_seq_t *seq, int myport, int dest_client, int dest_port) snd_seq_connect_to() argument 173 snd_seq_disconnect_from(snd_seq_t *seq, int myport, int src_client, int src_port) snd_seq_disconnect_from() argument 200 snd_seq_disconnect_to(snd_seq_t *seq, int myport, int dest_client, int dest_port) snd_seq_disconnect_to() argument 226 snd_seq_set_client_name(snd_seq_t *seq, const char *name) snd_seq_set_client_name() argument 245 snd_seq_set_client_event_filter(snd_seq_t *seq, int event_type) snd_seq_set_client_event_filter() argument 264 snd_seq_set_client_midi_version(snd_seq_t *seq, int midi_version) snd_seq_set_client_midi_version() argument 283 snd_seq_set_client_ump_conversion(snd_seq_t *seq, int enable) snd_seq_set_client_ump_conversion() argument 302 snd_seq_set_client_pool_output(snd_seq_t *seq, size_t size) snd_seq_set_client_pool_output() argument 321 snd_seq_set_client_pool_output_room(snd_seq_t *seq, size_t size) snd_seq_set_client_pool_output_room() argument 340 snd_seq_set_client_pool_input(snd_seq_t *seq, size_t size) snd_seq_set_client_pool_input() argument 358 snd_seq_reset_pool_output(snd_seq_t *seq) snd_seq_reset_pool_output() argument 370 snd_seq_reset_pool_input(snd_seq_t *seq) snd_seq_reset_pool_input() argument 384 snd_seq_sync_output_queue(snd_seq_t *seq) snd_seq_sync_output_queue() argument 425 snd_seq_parse_address(snd_seq_t *seq, snd_seq_addr_t *addr, const char *arg) snd_seq_parse_address() argument [all...] |
H A D | seq_local.h | 39 int (*close)(snd_seq_t *seq); 40 int (*nonblock)(snd_seq_t *seq, int nonblock); 41 int (*system_info)(snd_seq_t *seq, snd_seq_system_info_t * info); 42 int (*get_client_info)(snd_seq_t *seq, snd_seq_client_info_t * info); 43 int (*set_client_info)(snd_seq_t *seq, snd_seq_client_info_t * info); 44 int (*get_ump_info)(snd_seq_t *seq, int client, int type, void *info); 45 int (*set_ump_info)(snd_seq_t *seq, int type, const void *info); 46 int (*create_port)(snd_seq_t *seq, snd_seq_port_info_t * port); 47 int (*delete_port)(snd_seq_t *seq, snd_seq_port_info_t * port); 48 int (*get_port_info)(snd_seq_t *seq, snd_seq_port_info_ [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | tiertexseq.c | 70 /* there's no real header in a .seq file, the only thing they have in common */ in seq_probe() 83 static int seq_init_frame_buffers(SeqDemuxContext *seq, AVIOContext *pb) in seq_init_frame_buffers() argument 95 seq_buffer = &seq->frame_buffers[i]; in seq_init_frame_buffers() 103 seq->frame_buffers_count = i; in seq_init_frame_buffers() 107 static int seq_fill_buffer(SeqDemuxContext *seq, AVIOContext *pb, int buffer_num, unsigned int data_offs, int data_size) in seq_fill_buffer() argument 114 seq_buffer = &seq->frame_buffers[buffer_num]; in seq_fill_buffer() 118 avio_seek(pb, seq->current_frame_offs + data_offs, SEEK_SET); in seq_fill_buffer() 126 static int seq_parse_frame_data(SeqDemuxContext *seq, AVIOContext *pb) in seq_parse_frame_data() argument 132 seq->current_frame_offs += SEQ_FRAME_SIZE; in seq_parse_frame_data() 133 avio_seek(pb, seq in seq_parse_frame_data() 188 SeqDemuxContext *seq = s->priv_data; seq_read_close() local 199 SeqDemuxContext *seq = s->priv_data; seq_read_header() local 257 SeqDemuxContext *seq = s->priv_data; seq_read_packet() local [all...] |
/third_party/alsa-utils/seq/aconnect/ |
H A D | aconnect.c | 122 static void list_each_subs(snd_seq_t *seq, snd_seq_query_subscribe_t *subs, int type, const char *msg) in list_each_subs() argument 127 while (snd_seq_query_port_subscribers(seq, subs) >= 0) { in list_each_subs() 150 static void list_subscribers(snd_seq_t *seq, const snd_seq_addr_t *addr) in list_subscribers() argument 155 list_each_subs(seq, subs, SND_SEQ_QUERY_SUBS_READ, _("Connecting To")); in list_subscribers() 156 list_each_subs(seq, subs, SND_SEQ_QUERY_SUBS_WRITE, _("Connected From")); in list_subscribers() 162 typedef void (*action_func_t)(snd_seq_t *seq, snd_seq_client_info_t *cinfo, snd_seq_port_info_t *pinfo, int count); 164 static void do_search_port(snd_seq_t *seq, int perm, action_func_t do_action) in do_search_port() argument 173 while (snd_seq_query_next_client(seq, cinfo) >= 0) { in do_search_port() 182 while (snd_seq_query_next_port(seq, pinfo) >= 0) { in do_search_port() 184 do_action(seq, cinf in do_search_port() 240 print_port_and_subs(snd_seq_t *seq, snd_seq_client_info_t *cinfo, snd_seq_port_info_t *pinfo, int count) print_port_and_subs() argument 251 remove_connection(snd_seq_t *seq, snd_seq_client_info_t *info ATTRIBUTE_UNUSED, snd_seq_port_info_t *pinfo, int count ATTRIBUTE_UNUSED) remove_connection() argument 287 remove_all_connections(snd_seq_t *seq) remove_all_connections() argument 325 snd_seq_t *seq; main() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_index.py | 105 self.assertEqual(self.seq[self.n], self.seq[2]) 106 self.assertEqual(self.seq[self.o], self.seq[-2]) 113 self.assertEqual(self.seq[self.o:self.o2], self.seq[1:3]) 114 self.assertEqual(self.seq[self.n:self.n2], self.seq[2:4]) 117 seqlen = len(self.seq) 120 self.assertEqual(self.seq[sel 164 seq = [0,10,20,30,40,50] global() variable in ListTestCase 220 seq = (0,10,20,30,40,50) global() variable in TupleTestCase 223 seq = bytearray(b"this is a test") global() variable in ByteArrayTestCase 226 seq = b"this is a test" global() variable in BytesTestCase 229 seq = "this is a test" global() variable in StringTestCase 232 seq = NewSeq((0,10,20,30,40,50)) global() variable in NewSeqTestCase [all...] |
H A D | test_enumerate.py | 69 def check_pickle(self, itorg, seq): 74 self.assertEqual(list(it), seq) 80 self.assertFalse(seq[1:]) 84 self.assertEqual(list(it), seq[1:]) 89 seq, res = 'abc', [(0,'a'), (1,'b'), (2,'c')] 92 self.assertEqual(type(self.enum(self.seq)), self.enum) 93 e = self.enum(self.seq) 95 self.assertEqual(list(self.enum(self.seq)), self.res) 99 self.check_pickle(self.enum(self.seq), self.res) 102 self.assertEqual(list(self.enum(G(self.seq))), sel 175 seq = range(10,20000,2) global() variable in TestBig [all...] |
/third_party/pulseaudio/src/modules/raop/ |
H A D | raop-packet-buffer.c | 45 uint16_t seq; member 59 pb->seq = pb->pos = 0; in pa_raop_packet_buffer_new() 80 void pa_raop_packet_buffer_reset(pa_raop_packet_buffer *pb, uint16_t seq) { in pa_raop_packet_buffer_reset() argument 88 pb->seq = (!seq) ? UINT16_MAX : seq - 1; in pa_raop_packet_buffer_reset() 96 pa_memchunk *pa_raop_packet_buffer_prepare(pa_raop_packet_buffer *pb, uint16_t seq, const size_t size) { in pa_raop_packet_buffer_prepare() argument 103 if (seq == 0) { in pa_raop_packet_buffer_prepare() 104 /* 0 means seq reached UINT16_MAX and has been wrapped... */ in pa_raop_packet_buffer_prepare() 105 pa_assert(pb->seq in pa_raop_packet_buffer_prepare() 132 pa_raop_packet_buffer_retrieve(pa_raop_packet_buffer *pb, uint16_t seq) pa_raop_packet_buffer_retrieve() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | tiertexseqv.c | 78 static const unsigned char *seq_decode_op1(SeqVideoContext *seq, in seq_decode_op1() argument 97 dst += seq->frame->linesize[0]; in seq_decode_op1() 104 dst[b * seq->frame->linesize[0]] = block[i * 8 + b]; in seq_decode_op1() 121 dst += seq->frame->linesize[0]; in seq_decode_op1() 128 static const unsigned char *seq_decode_op2(SeqVideoContext *seq, in seq_decode_op2() argument 141 dst += seq->frame->linesize[0]; in seq_decode_op2() 147 static const unsigned char *seq_decode_op3(SeqVideoContext *seq, in seq_decode_op3() argument 158 offset = ((pos >> 3) & 7) * seq->frame->linesize[0] + (pos & 7); in seq_decode_op3() 165 static int seqvideo_decode(SeqVideoContext *seq, const unsigned char *data, int data_size) in seqvideo_decode() argument 177 palette = (uint32_t *)seq in seqvideo_decode() 216 SeqVideoContext *seq = avctx->priv_data; seqvideo_decode_init() local 240 SeqVideoContext *seq = avctx->priv_data; seqvideo_decode_frame() local 257 SeqVideoContext *seq = avctx->priv_data; seqvideo_decode_end() local [all...] |
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | FCDUTF16CollationIterator.java | 53 if (checkDir == 0 && (seq == rawSeq) != (o.seq == o.rawSeq)) { in equals() 56 if (checkDir != 0 || seq == rawSeq) { in equals() 74 seq = rawSeq; in resetToOffset() 82 if(checkDir != 0 || seq == rawSeq) { in getOffset() 108 c = seq.charAt(pos++); in nextCodePoint() 111 (pos != limit && CollationFCD.hasLccc(seq.charAt(pos)))) { in nextCodePoint() 114 c = seq.charAt(pos++); in nextCodePoint() 119 c = seq.charAt(pos++); in nextCodePoint() 127 Character.isLowSurrogate(trail = seq in nextCodePoint() [all...] |
H A D | UTF16CollationIterator.java | 31 seq = s; in UTF16CollationIterator() 64 seq = s; in setText() 75 char c = seq.charAt(pos++); in nextCodePoint() 78 Character.isLowSurrogate(trail = seq.charAt(pos))) { in nextCodePoint() 91 char c = seq.charAt(--pos); in previousCodePoint() 94 Character.isHighSurrogate(lead = seq.charAt(pos - 1))) { in previousCodePoint() 107 char c = seq.charAt(pos++); in handleNextCE32() 115 if(Character.isLowSurrogate(trail = seq.charAt(pos))) { ++pos; } in handleGetTrailSurrogate() 124 char c = seq.charAt(pos++); in forwardNumCodePoints() 127 Character.isLowSurrogate(seq in forwardNumCodePoints() 145 protected CharSequence seq; global() field in UTF16CollationIterator [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
H A D | FCDUTF16CollationIterator.java | 55 if (checkDir == 0 && (seq == rawSeq) != (o.seq == o.rawSeq)) { in equals() 58 if (checkDir != 0 || seq == rawSeq) { in equals() 76 seq = rawSeq; in resetToOffset() 84 if(checkDir != 0 || seq == rawSeq) { in getOffset() 110 c = seq.charAt(pos++); in nextCodePoint() 113 (pos != limit && CollationFCD.hasLccc(seq.charAt(pos)))) { in nextCodePoint() 116 c = seq.charAt(pos++); in nextCodePoint() 121 c = seq.charAt(pos++); in nextCodePoint() 129 Character.isLowSurrogate(trail = seq in nextCodePoint() [all...] |
H A D | UTF16CollationIterator.java | 33 seq = s; in UTF16CollationIterator() 66 seq = s; in setText() 77 char c = seq.charAt(pos++); in nextCodePoint() 80 Character.isLowSurrogate(trail = seq.charAt(pos))) { in nextCodePoint() 93 char c = seq.charAt(--pos); in previousCodePoint() 96 Character.isHighSurrogate(lead = seq.charAt(pos - 1))) { in previousCodePoint() 109 char c = seq.charAt(pos++); in handleNextCE32() 117 if(Character.isLowSurrogate(trail = seq.charAt(pos))) { ++pos; } in handleGetTrailSurrogate() 126 char c = seq.charAt(pos++); in forwardNumCodePoints() 129 Character.isLowSurrogate(seq in forwardNumCodePoints() 147 protected CharSequence seq; global() field in UTF16CollationIterator [all...] |
/third_party/rust/crates/regex/examples/ |
H A D | shootout-regex-dna.rs | 19 let mut seq = String::with_capacity(51 * (1 << 20)); in main() variables 20 io::stdin().read_to_string(&mut seq).unwrap(); in main() 21 let ilen = seq.len(); in main() 23 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main() 24 let clen = seq.len(); in main() 25 let seq_arc = Arc::new(seq.clone()); in main() 40 let seq = seq_arc.clone(); in main() 42 let future = thread::spawn(move || variant.find_iter(&seq).count()); in main() 59 let mut seq in main() variables [all...] |
H A D | shootout-regex-dna-single.rs | 17 let mut seq = String::with_capacity(50 * (1 << 20)); in main() variables 18 io::stdin().read_to_string(&mut seq).unwrap(); in main() 19 let ilen = seq.len(); in main() 21 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main() 22 let clen = seq.len(); in main() 36 println!("{} {}", re.to_string(), re.find_iter(&seq).count()); in main() 52 let mut seq = seq; in main() variables 54 seq in main() [all...] |
H A D | shootout-regex-dna-bytes.rs | 19 let mut seq = Vec::with_capacity(51 * (1 << 20)); in main() variables 20 io::stdin().read_to_end(&mut seq).unwrap(); in main() 21 let ilen = seq.len(); in main() 23 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, &b""[..]).into_owned(); in main() 24 let clen = seq.len(); in main() 25 let seq_arc = Arc::new(seq.clone()); in main() 40 let seq = seq_arc.clone(); in main() 42 let future = thread::spawn(move || variant.find_iter(&seq).count()); in main() 59 let mut seq in main() variables [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | salted_seed_seq_test.cc | 47 Sseq seq(std::begin(init_array), std::end(init_array)); in ConformsToInterface() 48 EXPECT_EQ(seq.size(), ABSL_ARRAYSIZE(init_array)); in ConformsToInterface() 51 seq.param(std::back_inserter(state_vector)); in ConformsToInterface() 60 Sseq seq; in ConformsToInterface() local 63 seq.generate(std::begin(seeds), std::end(seeds)); in ConformsToInterface() 77 std::seed_seq seq(seed_values.begin(), seed_values.end()); in TEST() 78 auto salted_seq = MakeSaltedSeedSeq(std::move(seq)); in TEST() 80 EXPECT_EQ(seq.size(), salted_seq.size()); in TEST() 83 seq.param(std::back_inserter(param_result)); in TEST() 91 std::seed_seq seq(st in TEST() [all...] |
/third_party/alsa-lib/include/ |
H A D | seqmid.h | 326 int snd_seq_control_queue(snd_seq_t *seq, int q, int type, int value, snd_seq_event_t *ev); 330 * \param seq sequencer handle 334 #define snd_seq_start_queue(seq, q, ev) \ 335 snd_seq_control_queue(seq, q, SND_SEQ_EVENT_START, 0, ev) 339 * \param seq sequencer handle 343 #define snd_seq_stop_queue(seq, q, ev) \ 344 snd_seq_control_queue(seq, q, SND_SEQ_EVENT_STOP, 0, ev) 348 * \param seq sequencer handle 352 #define snd_seq_continue_queue(seq, q, ev) \ 353 snd_seq_control_queue(seq, [all...] |
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/ |
H A D | vid_dec_av1.c | 146 struct av1_sequence_header_obu *seq = &(priv->codec_data.av1.seq); in sequence_header_obu() local 159 seq->seq_profile = av1_f(vlc, 3); in sequence_header_obu() 160 assert(seq->seq_profile < 3); in sequence_header_obu() 163 seq->reduced_still_picture_header = av1_f(vlc, 1); in sequence_header_obu() 164 if (seq->reduced_still_picture_header) { in sequence_header_obu() 166 seq->decoder_model_info_present_flag = 0; in sequence_header_obu() 168 seq->operating_points_cnt_minus_1 = 0; in sequence_header_obu() 169 seq->operating_point_idc[0] = 0; in sequence_header_obu() 171 seq in sequence_header_obu() 382 struct av1_sequence_header_obu *seq = &(priv->codec_data.av1.seq); superres_params() local 413 struct av1_sequence_header_obu *seq = &(priv->codec_data.av1.seq); frame_size() local 453 struct av1_sequence_header_obu *seq = &(priv->codec_data.av1.seq); get_relative_dist() local 529 struct av1_sequence_header_obu *seq = &(priv->codec_data.av1.seq); set_frame_refs() local 642 struct av1_sequence_header_obu *seq = &(priv->codec_data.av1.seq); tile_info() local 781 struct av1_sequence_header_obu *seq = &(priv->codec_data.av1.seq); quantization_params() local 941 struct av1_sequence_header_obu *seq = &(priv->codec_data.av1.seq); loop_filter_params() local 1012 struct av1_sequence_header_obu *seq = &(priv->codec_data.av1.seq); cdef_params() local 1035 struct av1_sequence_header_obu *seq = &(priv->codec_data.av1.seq); lr_params() local 1111 struct av1_sequence_header_obu *seq = &(priv->codec_data.av1.seq); skip_mode_params() local 1321 struct av1_sequence_header_obu *seq = &(priv->codec_data.av1.seq); film_grain_params() local 1428 struct av1_sequence_header_obu *seq = &(priv->codec_data.av1.seq); frame_header_obu() local [all...] |
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/regex/ |
H A D | EdgeWriterTest.java | 53 assertThat(regex(seq(e("0"), e("1"), e("2")))).isEqualTo("012"); in testSequences() 64 seq( in testGroups() 75 seq( in testNesting() 79 seq( in testNesting() 89 assertThat(regex(seq(e("0"), e("1"), X))).isEqualTo("01\\d"); in testAnyDigitSequences() 91 assertThat(regex(seq(X, X))).isEqualTo("\\d\\d"); in testAnyDigitSequences() 92 assertThat(regex(seq(X, X, X))).isEqualTo("\\d{3}"); in testAnyDigitSequences() 94 assertThat(regex(opt(seq(X, X)))).isEqualTo("(?:\\d{2})?"); in testAnyDigitSequences() 97 seq( in testAnyDigitSequences() 98 opt(seq( in testAnyDigitSequences() 130 private static Edge seq(Edge first, Edge second, Edge... rest) { seq() method in EdgeWriterTest [all...] |
/third_party/node/deps/openssl/openssl/apps/ |
H A D | nseq.c | 42 NETSCAPE_CERT_SEQUENCE *seq = NULL; in nseq_main() local 88 seq = NETSCAPE_CERT_SEQUENCE_new(); in nseq_main() 89 if (seq == NULL) in nseq_main() 91 seq->certs = sk_X509_new_null(); in nseq_main() 92 if (seq->certs == NULL) in nseq_main() 95 if (!sk_X509_push(seq->certs, x509)) in nseq_main() 99 if (!sk_X509_num(seq->certs)) { in nseq_main() 105 PEM_write_bio_NETSCAPE_CERT_SEQUENCE(out, seq); in nseq_main() 110 seq = PEM_read_bio_NETSCAPE_CERT_SEQUENCE(in, NULL, NULL, NULL); in nseq_main() 111 if (seq in nseq_main() [all...] |
/third_party/openssl/apps/ |
H A D | nseq.c | 42 NETSCAPE_CERT_SEQUENCE *seq = NULL; in nseq_main() local 88 seq = NETSCAPE_CERT_SEQUENCE_new(); in nseq_main() 89 if (seq == NULL) in nseq_main() 91 seq->certs = sk_X509_new_null(); in nseq_main() 92 if (seq->certs == NULL) in nseq_main() 95 if (!sk_X509_push(seq->certs, x509)) in nseq_main() 99 if (!sk_X509_num(seq->certs)) { in nseq_main() 105 PEM_write_bio_NETSCAPE_CERT_SEQUENCE(out, seq); in nseq_main() 110 seq = PEM_read_bio_NETSCAPE_CERT_SEQUENCE(in, NULL, NULL, NULL); in nseq_main() 111 if (seq in nseq_main() [all...] |
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | picture_hevc_enc.c | 139 context->desc.h265enc.seq.general_profile_idc = h265->general_profile_idc; in vlVaHandleVAEncSequenceParameterBufferTypeHEVC() 140 context->desc.h265enc.seq.general_level_idc = h265->general_level_idc; in vlVaHandleVAEncSequenceParameterBufferTypeHEVC() 141 context->desc.h265enc.seq.general_tier_flag = h265->general_tier_flag; in vlVaHandleVAEncSequenceParameterBufferTypeHEVC() 142 context->desc.h265enc.seq.intra_period = h265->intra_period; in vlVaHandleVAEncSequenceParameterBufferTypeHEVC() 143 context->desc.h265enc.seq.pic_width_in_luma_samples = h265->pic_width_in_luma_samples; in vlVaHandleVAEncSequenceParameterBufferTypeHEVC() 144 context->desc.h265enc.seq.pic_height_in_luma_samples = h265->pic_height_in_luma_samples; in vlVaHandleVAEncSequenceParameterBufferTypeHEVC() 145 context->desc.h265enc.seq.chroma_format_idc = h265->seq_fields.bits.chroma_format_idc; in vlVaHandleVAEncSequenceParameterBufferTypeHEVC() 146 context->desc.h265enc.seq.bit_depth_luma_minus8 = h265->seq_fields.bits.bit_depth_luma_minus8; in vlVaHandleVAEncSequenceParameterBufferTypeHEVC() 147 context->desc.h265enc.seq.bit_depth_chroma_minus8 = h265->seq_fields.bits.bit_depth_chroma_minus8; in vlVaHandleVAEncSequenceParameterBufferTypeHEVC() 148 context->desc.h265enc.seq in vlVaHandleVAEncSequenceParameterBufferTypeHEVC() [all...] |