/titanic_41/usr/src/lib/libtecla/common/ |
H A D | ioutil.c | 42 static int _io_pad_line(GlWriteFn *write_fn, void *data, int c, int n); 101 int _io_display_text(GlWriteFn *write_fn, void *data, int indentation, in _io_display_text() argument 117 if(!string || !write_fn) { in _io_display_text() 156 if(_io_pad_line(write_fn, data, fill_char, indentation - last)) in _io_display_text() 167 if(write_fn(data, prefix+pstart, plen) != plen) in _io_display_text() 207 if(write_fn(data, string+ndone, nnew) != nnew) in _io_display_text() 224 if(npad > 0 && _io_pad_line(write_fn, data, fill_char, npad)) in _io_display_text() 227 if(write_fn(data, suffix, suffix_len) != suffix_len) in _io_display_text() 234 if(write_fn(data, "\n", 1) != 1) in _io_display_text() 271 static int _io_pad_line(GlWriteFn *write_fn, void *data, int c, int n) in _io_pad_line() argument [all …]
|
H A D | cplmatch.c | 159 GlWriteFn *write_fn, void *data); 645 int _cpl_output_completions(CplMatches *result, GlWriteFn *write_fn, void *data, in _cpl_output_completions() argument 658 if(write_fn && result && result->nmatch>0) { in _cpl_output_completions() 667 if(cpl_format_line(result, &fmt, lnum, write_fn, data)) in _cpl_output_completions() 1104 GlWriteFn *write_fn, void *data) in cpl_format_line() argument 1116 if(!write_fn) in cpl_format_line() 1139 if(write_fn(data, match->completion, clen) != clen) in cpl_format_line() 1144 if(tlen > 0 && write_fn(data, match->type_suffix, tlen) != tlen) in cpl_format_line() 1162 if(write_fn(data, spaces + nspace - n, n) != n) in cpl_format_line() 1175 if(write_fn(data, s, n) != n) in cpl_format_line()
|
H A D | chrqueue.c | 164 GlWriteFn *write_fn, void *data) in _glq_append_chars() argument 201 switch(_glq_flush_queue(cq, write_fn, data)) { in _glq_append_chars() 323 GlqFlushState _glq_flush_queue(GlCharQueue *cq, GlWriteFn *write_fn, in _glq_flush_queue() argument 364 int nnew = write_fn(data, cq->buffers.head->bytes + in _glq_flush_queue()
|
H A D | chrqueue.h | 60 GlWriteFn *write_fn, void *data); 99 GlqFlushState _glq_flush_queue(GlCharQueue *cq, GlWriteFn *write_fn,
|
H A D | expand.c | 154 GlWriteFn *write_fn, void *data); 1266 int _ef_output_expansions(FileExpansion *result, GlWriteFn *write_fn, in _ef_output_expansions() argument 1279 if(write_fn && result && result->nfile>0) { in _ef_output_expansions() 1288 if(ef_format_line(result, &fmt, lnum, write_fn, data)) in _ef_output_expansions() 1379 GlWriteFn *write_fn, void *data) in ef_format_line() argument 1391 if(!write_fn) in ef_format_line() 1413 if(write_fn(data, file, flen) != flen) in ef_format_line() 1431 if(write_fn(data, spaces + nspace - n, n) != n) in ef_format_line() 1444 if(write_fn(data, s, n) != n) in ef_format_line()
|
H A D | cplmatch.h | 46 int _cpl_output_completions(CplMatches *result, GlWriteFn *write_fn, void *data,
|
H A D | expand.h | 46 int _ef_output_expansions(FileExpansion *result, GlWriteFn *write_fn,
|
H A D | ioutil.h | 71 int _io_display_text(GlWriteFn *write_fn, void *data, int indentation,
|
H A D | history.c | 1458 int _glh_show_history(GlHistory *glh, GlWriteFn *write_fn, void *data, in _glh_show_history() argument 1473 if(!glh || !write_fn || !fmt) { in _glh_show_history() 1555 if(write_fn(data, start, len) != len) in _glh_show_history() 1569 if(write_fn(data, buffer, len) != len) in _glh_show_history() 1576 if(write_fn(data, buffer, len) != len) in _glh_show_history() 1583 if(write_fn(data, buffer, len) != len) in _glh_show_history() 1589 if(write_fn(data, buffer, len) != len) in _glh_show_history() 1595 if(write_fn(data, seg->s, len) != len) in _glh_show_history() 1600 if(write_fn(data, "%", 1) != 1) in _glh_show_history()
|
H A D | history.h | 111 int _glh_show_history(GlHistory *glh, GlWriteFn *write_fn, void *data,
|
H A D | getline.c | 3876 GlWriteFn *write_fn = buffered ? gl_write_fn : gl->flush_fn; in gl_print_raw_string() local 3897 if(write_fn(gl, string + ndone, n-ndone) != n) in gl_print_raw_string()
|
/titanic_41/usr/src/uts/common/io/audio/impl/ |
H A D | audio_ctrl.c | 84 audio_ctrl_rd_t read_fn, audio_ctrl_wr_t write_fn, void *arg) in audio_dev_add_control() argument 194 ASSERT(write_fn); in audio_dev_add_control() 195 ctrl->ctrl_write_fn = write_fn; in audio_dev_add_control()
|