Home
last modified time | relevance | path

Searched refs:cntr (Results 1 - 25 of 27) sorted by relevance

12

/third_party/alsa-utils/axfer/
H A Dcontainer.c42 int container_recursive_read(struct container_context *cntr, void *buf, in container_recursive_read() argument
49 while (consumed < byte_count && !cntr->interrupted) { in container_recursive_read()
50 result = read(cntr->fd, dst + consumed, byte_count - consumed); in container_recursive_read()
54 if (cntr->interrupted) in container_recursive_read()
62 cntr->eof = true; in container_recursive_read()
72 int container_recursive_write(struct container_context *cntr, void *buf, in container_recursive_write() argument
79 while (consumed < byte_count && !cntr->interrupted) { in container_recursive_write()
80 result = write(cntr->fd, src + consumed, byte_count - consumed); in container_recursive_write()
84 if (cntr->interrupted) in container_recursive_write()
116 int container_seek_offset(struct container_context *cntr, off_ argument
146 container_parser_init(struct container_context *cntr, int fd, unsigned int verbose) container_parser_init() argument
224 container_builder_init(struct container_context *cntr, int fd, enum container_format format, unsigned int verbose) container_builder_init() argument
282 container_context_pre_process(struct container_context *cntr, snd_pcm_format_t *format, unsigned int *samples_per_frame, unsigned int *frames_per_second, uint64_t *frame_count) container_context_pre_process() argument
359 container_context_process_frames(struct container_context *cntr, void *frame_buffer, unsigned int *frame_count) container_context_process_frames() argument
410 container_context_post_process(struct container_context *cntr, uint64_t *frame_count) container_context_post_process() argument
450 container_context_destroy(struct container_context *cntr) container_context_destroy() argument
[all...]
H A Dcontainer-voc.c431 static int detect_container_version(struct container_context *cntr) in detect_container_version() argument
433 struct parser_state *state = cntr->private_data; in detect_container_version()
438 memcpy(&header.magic, cntr->magic, sizeof(cntr->magic)); in detect_container_version()
439 err = container_recursive_read(cntr, in detect_container_version()
440 (char *)&header + sizeof(cntr->magic), in detect_container_version()
441 sizeof(header) - sizeof(cntr->magic)); in detect_container_version()
444 if (cntr->eof) in detect_container_version()
450 static int allocate_for_block_cache(struct container_context *cntr, in allocate_for_block_cache() argument
474 err = container_recursive_read(cntr, cach in allocate_for_block_cache()
490 cache_data_block(struct container_context *cntr, struct block_header *header, void **buf) cache_data_block() argument
519 detect_format_block(struct container_context *cntr) detect_format_block() argument
556 voc_parser_pre_process(struct container_context *cntr, snd_pcm_format_t *format, unsigned int *samples_per_frame, unsigned int *frames_per_second, uint64_t *byte_count) voc_parser_pre_process() argument
600 write_container_header(struct container_context *cntr, struct container_header *header) write_container_header() argument
614 write_v120_format_block(struct container_context *cntr, struct block_v120_format *block, unsigned int frames_per_second, uint64_t byte_count) write_v120_format_block() argument
632 write_extended_v110_format_block(struct container_context *cntr, unsigned int frames_per_second, struct block_extended_v110_format *block) write_extended_v110_format_block() argument
659 write_v110_format_block(struct container_context *cntr, struct block_v110_data *block, unsigned int frames_per_second, uint64_t byte_count) write_v110_format_block() argument
680 write_data_blocks(struct container_context *cntr, unsigned int frames_per_second, uint64_t byte_count) write_data_blocks() argument
715 voc_builder_pre_process(struct container_context *cntr, snd_pcm_format_t *format, unsigned int *samples_per_frame, unsigned int *frames_per_second, uint64_t *byte_count) voc_builder_pre_process() argument
767 write_block_terminator(struct container_context *cntr) write_block_terminator() argument
775 write_data_size(struct container_context *cntr, uint64_t byte_count) write_data_size() argument
803 voc_builder_post_process(struct container_context *cntr, uint64_t handled_byte_count) voc_builder_post_process() argument
[all...]
H A Dcontainer-riff-wave.c147 static int parse_riff_chunk(struct container_context *cntr, in parse_riff_chunk() argument
150 struct parser_state *state = cntr->private_data; in parse_riff_chunk()
158 memcpy(buf.chunk.id, cntr->magic, sizeof(cntr->magic)); in parse_riff_chunk()
159 err = container_recursive_read(cntr, in parse_riff_chunk()
160 (char *)&buf.chunk + sizeof(cntr->magic), in parse_riff_chunk()
161 sizeof(buf.chunk) - sizeof(cntr->magic)); in parse_riff_chunk()
164 if (cntr->eof) in parse_riff_chunk()
172 err = container_recursive_read(cntr, &buf, sizeof(buf.chunk_data)); in parse_riff_chunk()
175 if (cntr in parse_riff_chunk()
226 parse_wave_subchunk(struct container_context *cntr) parse_wave_subchunk() argument
327 parse_riff_wave_format(struct container_context *cntr) parse_riff_wave_format() argument
343 wave_parser_pre_process(struct container_context *cntr, snd_pcm_format_t *format, unsigned int *samples_per_frame, unsigned int *frames_per_second, uint64_t *byte_count) wave_parser_pre_process() argument
467 write_riff_chunk_for_wave(struct container_context *cntr, uint64_t byte_count) write_riff_chunk_for_wave() argument
510 wave_builder_pre_process(struct container_context *cntr, snd_pcm_format_t *format, unsigned int *samples_per_frame, unsigned int *frames_per_second, uint64_t *byte_count) wave_builder_pre_process() argument
538 wave_builder_post_process(struct container_context *cntr, uint64_t handled_byte_count) wave_builder_post_process() argument
[all...]
H A Dcontainer-au.c70 static int au_parser_pre_process(struct container_context *cntr, in au_parser_pre_process() argument
76 struct parser_state *state = cntr->private_data; in au_parser_pre_process()
83 memcpy(&header.magic, cntr->magic, sizeof(cntr->magic)); in au_parser_pre_process()
84 err = container_recursive_read(cntr, in au_parser_pre_process()
85 (char *)&header + sizeof(cntr->magic), in au_parser_pre_process()
86 sizeof(header) - sizeof(cntr->magic)); in au_parser_pre_process()
89 if (cntr->eof) in au_parser_pre_process()
137 static int write_container_header(struct container_context *cntr, in write_container_header() argument
140 struct builder_state *state = cntr in write_container_header()
149 au_builder_pre_process(struct container_context *cntr, snd_pcm_format_t *format, unsigned int *samples_per_frame, unsigned int *frames_per_second, uint64_t *byte_count) au_builder_pre_process() argument
173 au_builder_post_process(struct container_context *cntr, uint64_t handled_byte_count) au_builder_post_process() argument
[all...]
H A Dcontainer.h43 int (*process_bytes)(struct container_context *cntr,
67 int container_parser_init(struct container_context *cntr, int fd,
69 int container_builder_init(struct container_context *cntr, int fd,
71 void container_context_destroy(struct container_context *cntr);
72 int container_context_pre_process(struct container_context *cntr,
77 int container_context_process_frames(struct container_context *cntr,
80 int container_context_post_process(struct container_context *cntr,
86 int (*pre_process)(struct container_context *cntr,
91 int (*post_process)(struct container_context *cntr,
110 int container_recursive_read(struct container_context *cntr, voi
[all...]
H A Dmapper-multiple.c29 struct container_context *cntr; in align_to_i() local
36 cntr = cntrs + i; in align_to_i()
40 src_pos = bytes_per_sample * cntr->samples_per_frame * j; in align_to_i()
57 struct container_context *cntr; in align_from_i() local
62 cntr = cntrs + i; in align_from_i()
67 dst_pos = bytes_per_sample * cntr->samples_per_frame * j; in align_from_i()
79 struct container_context *cntr; in multiple_pre_process() local
85 cntr = cntrs + i; in multiple_pre_process()
86 if (mapper->bytes_per_sample != cntr->bytes_per_sample) in multiple_pre_process()
117 cntr in multiple_pre_process()
152 struct container_context *cntr; process_containers() local
[all...]
H A Dcontainer-raw.c16 static int raw_builder_pre_process(struct container_context *cntr ATTRIBUTE_UNUSED, in raw_builder_pre_process()
27 static int raw_parser_pre_process(struct container_context *cntr, in raw_parser_pre_process() argument
36 if (cntr->stdio) { in raw_parser_pre_process()
41 err = fstat(cntr->fd, &buf); in raw_parser_pre_process()
H A Dsubcmd-transfer.c397 struct container_context *cntr; in context_process_frames() local
413 cntr = &ctx->cntrs[i]; in context_process_frames()
414 if (cntr->eof) in context_process_frames()
/third_party/skia/third_party/externals/brotli/scripts/dictionary/
H A Dstep-04-generate-java-literals.py27 cntr = skip_flip_offset variable
33 cntr += 1
36 hi.append(unichr(cntr))
37 cntr = skip_flip_offset + 1 variable
40 cntr += 1
43 hi.append(unichr(cntr))
44 cntr = skip_flip_offset + 1 variable
45 hi.append(unichr(cntr))
/third_party/node/benchmark/fs/
H A Dbench-realpath.js24 (function r(cntr) {
25 if (cntr-- <= 0)
28 r(cntr);
34 (function r(cntr) {
35 if (cntr-- <= 0)
38 r(cntr);
H A Dbench-readdir.js17 (function r(cntr) {
18 if (cntr-- <= 0)
21 r(cntr);
H A Dbench-mkdirp.js15 (function r(cntr) {
16 if (cntr-- <= 0)
20 r(cntr);
H A Dbench-stat.js20 (function r(cntr, fn) {
21 if (cntr-- <= 0) {
28 r(cntr, fn);
/third_party/alsa-utils/axfer/test/
H A Dcontainer-test.c32 struct container_context cntr; member
36 static void test_builder(struct container_context *cntr, int fd, in test_builder() argument
53 err = container_builder_init(cntr, fd, format, verbose); in test_builder()
60 err = container_context_pre_process(cntr, &sample, &channels, &rate, in test_builder()
69 err = container_context_process_frames(cntr, frame_buffer, in test_builder()
76 err = container_context_post_process(cntr, &total_frame_count); in test_builder()
80 container_context_destroy(cntr); in test_builder()
83 static void test_parser(struct container_context *cntr, int fd, in test_parser() argument
98 err = container_parser_init(cntr, fd, verbose); in test_parser()
105 err = container_context_pre_process(cntr, in test_parser()
[all...]
/third_party/node/test/parallel/
H A Dtest-buffer-inheritance.js16 let cntr = 0;
18 cntr += this[i];
19 return cntr;
32 let cntr = 0;
34 cntr += t[i];
35 assert.strictEqual(cntr, t.length * 5);
/third_party/ltp/testcases/kernel/syscalls/eventfd2/
H A Deventfd2_03.c22 u_int64_t cntr; in xsem_wait() local
24 SAFE_READ(0, fd, &cntr, sizeof(cntr)); in xsem_wait()
29 u_int64_t cntr = count; in xsem_post() local
31 SAFE_WRITE(0, fd, &cntr, sizeof(cntr)); in xsem_post()
/third_party/libuv/test/
H A Dtest-metrics.c57 int cntr; in TEST_IMPL() local
59 cntr = 0; in TEST_IMPL()
60 timer.data = &cntr; in TEST_IMPL()
67 ASSERT_GT(cntr, 0); in TEST_IMPL()
85 int cntr; in metrics_routine_cb() local
87 cntr = 0; in metrics_routine_cb()
88 timer.data = &cntr; in metrics_routine_cb()
96 ASSERT_GT(cntr, 0); in metrics_routine_cb()
135 int cntr; in TEST_IMPL() local
137 cntr in TEST_IMPL()
[all...]
/third_party/backends/backend/
H A Dplustek-pp_p48xx.c114 ULong adder, ul, cntr; in p48xxDoTest() local
134 for (cntr = _BankAndSizeForTest; in p48xxDoTest()
135 cntr < _BankAndSizeForTest + _MemBanks; cntr++) { in p48xxDoTest()
139 p48xxSetMemoryBankForProgram( ps, cntr ); in p48xxDoTest()
174 p48xxSetMemoryBankForProgram( ps, cntr ); in p48xxDoTest()
199 _TEST_SZ * (cntr - _BankAndSizeForTest)); in p48xxDoTest()
201 if( cntr == _BankAndSizeForTest ) { in p48xxDoTest()
212 DBG( DBG_LOW, "tmpByte = 0x%02x, cntr = %u, AsicId = 0x%02x\n", in p48xxDoTest()
213 tmpByte, cntr, p in p48xxDoTest()
[all...]
H A Du12-if.c418 int cntr; in u12if_getCaps() local
456 for( cntr = _DEF_DPI; cntr <= (res_x*16); cntr += 25 ) { in u12if_getCaps()
458 dev->res_list[dev->res_list_size - 1] = (SANE_Int)cntr; in u12if_getCaps()
H A Dplustek_pp.c974 int cntr; in attach() local
1088 for( cntr = _DEF_DPI; cntr <= lens.rDpiX.wMax; cntr += 25 ) { in attach()
1090 dev->res_list[dev->res_list_size - 1] = (SANE_Int)cntr; in attach()
/third_party/mesa3d/src/mesa/main/
H A Dperformance_monitor.c116 struct gl_perf_counter_object *cntr = in init_perf_monitor() local
119 cntr->id = cid; in init_perf_monitor()
120 cntr->group_id = gid; in init_perf_monitor()
122 cntr->batch_index = num_batch_counters; in init_perf_monitor()
125 cntr->query = pipe->create_query(pipe, c->query_type, 0); in init_perf_monitor()
126 if (!cntr->query) in init_perf_monitor()
296 struct gl_perf_counter_object *cntr = &m->active_counters[i]; in get_perf_monitor_result() local
301 cid = cntr->id; in get_perf_monitor_result()
302 gid = cntr->group_id; in get_perf_monitor_result()
305 if (cntr in get_perf_monitor_result()
[all...]
/third_party/node/test/async-hooks/
H A Dinit-hooks.js11 (function exity(cntr) {
14 if (cntr < 4) setImmediate(() => exity(cntr + 1));
/third_party/ffmpeg/libavcodec/x86/
H A Dpngdsp.asm93 cglobal add_png_paeth_prediction, 5, 7, %1, dst, src, top, w, bpp, end, cntr
H A Dh264_idct.asm322 cglobal h264_idct8_add4_8, 5, 8 + npicregs, 10, dst1, block_offset, block, stride, nnzc, cntr, coeff, dst2, picreg
398 cglobal h264_idct_add8_422_8, 5, 8 + npicregs, 0, dst1, block_offset, block, stride, nnzc, cntr, coeff, dst2, picreg
399 ; dst1, block_offset, block, stride, nnzc, cntr, coeff, dst2, picreg
/third_party/ffmpeg/libavcodec/
H A Dwmavoice.c303 int cntr[8] = { 0 }, n, res; in decode_vbmtree() local
308 if (cntr[res] > 3) // should be >= 3 + (res == 7)) in decode_vbmtree()
310 vbm_tree[res * 3 + cntr[res]++] = n; in decode_vbmtree()

Completed in 15 milliseconds

12