/illumos-gate/usr/src/lib/libtecla/common/ |
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 | chrqueue.h | 60 GlWriteFn *write_fn, void *data); 97 * write_fn() callback says that it can't currently write anymore. 99 GlqFlushState _glq_flush_queue(GlCharQueue *cq, GlWriteFn *write_fn,
|
H A D | ioutil.c | 42 static int _io_pad_line(GlWriteFn *write_fn, void *data, int c, int n); 62 * write_fn GlWriteFn * The callback function to use to write the 65 * write_fn() whenever it is called. 101 int _io_display_text(GlWriteFn *write_fn, void *data, int indentation, argument 117 if(!string || !write_fn) { 156 if(_io_pad_line(write_fn, data, fill_char, indentation - last)) 167 if(write_fn(data, prefix+pstart, plen) != plen) 207 if(write_fn(data, string+ndone, nnew) != nnew) 224 if(npad > 0 && _io_pad_line(write_fn, data, fill_char, npad)) 227 if(write_fn(dat 271 _io_pad_line(GlWriteFn *write_fn, void *data, int c, int n) argument [all...] |
H A D | ioutil.h | 71 int _io_display_text(GlWriteFn *write_fn, void *data, int indentation,
|
H A D | chrqueue.c | 153 * write_fn GL_WRITE_FN * The function to call to output characters, 158 * data void * Anonymous data to pass to write_fn(). 164 GlWriteFn *write_fn, void *data) 196 * write_fn() uses blocking I/O, this stops the buffer size ever getting 201 switch(_glq_flush_queue(cq, write_fn, data)) { 307 * write_fn GL_WRITE_FN * The function to call to output characters, 310 * data void * Anonymous data to pass to write_fn(). 323 GlqFlushState _glq_flush_queue(GlCharQueue *cq, GlWriteFn *write_fn, argument 364 int nnew = write_fn(data, cq->buffers.head->bytes + 163 _glq_append_chars(GlCharQueue *cq, const char *chars, int n, GlWriteFn *write_fn, void *data) argument
|
H A D | cplmatch.c | 159 GlWriteFn *write_fn, void *data); 637 * write_fn GlWriteFn * The function to call to write the completions, 639 * data void * Anonymous data to pass to write_fn(). 645 int _cpl_output_completions(CplMatches *result, GlWriteFn *write_fn, void *data, argument 658 if(write_fn && result && result->nmatch>0) { 667 if(cpl_format_line(result, &fmt, lnum, write_fn, data)) 1096 * write_fn GlWriteFn * The function to call to write the line, or 1098 * data void * Anonymous data to pass to write_fn(). 1104 GlWriteFn *write_fn, void *data) 1116 if(!write_fn) 1103 cpl_format_line(CplMatches *result, CplListFormat *fmt, int lnum, GlWriteFn *write_fn, void *data) argument [all...] |
H A D | expand.c | 154 GlWriteFn *write_fn, void *data); 1258 * write_fn GlWriteFn * The function to call to write the 1260 * data void * Anonymous data to pass to write_fn(). 1266 int _ef_output_expansions(FileExpansion *result, GlWriteFn *write_fn, argument 1279 if(write_fn && result && result->nfile>0) { 1288 if(ef_format_line(result, &fmt, lnum, write_fn, data)) 1371 * write_fn GlWriteFn * The function to call to write the line, or 1373 * data void * Anonymous data to pass to write_fn(). 1379 GlWriteFn *write_fn, void *data) 1391 if(!write_fn) 1378 ef_format_line(FileExpansion *result, EfListFormat *fmt, int lnum, GlWriteFn *write_fn, void *data) argument [all...] |
H A D | history.h | 111 int _glh_show_history(GlHistory *glh, GlWriteFn *write_fn, void *data,
|
H A D | history.c | 1435 * write_fn GlWriteFn * The function to call to write the line, or 1437 * data void * Anonymous data to pass to write_fn(). 1458 int _glh_show_history(GlHistory *glh, GlWriteFn *write_fn, void *data, argument 1473 if(!glh || !write_fn || !fmt) { 1555 if(write_fn(data, start, len) != len) 1569 if(write_fn(data, buffer, len) != len) 1576 if(write_fn(data, buffer, len) != len) 1583 if(write_fn(data, buffer, len) != len) 1589 if(write_fn(data, buffer, len) != len) 1595 if(write_fn(dat [all...] |
H A D | getline.c | 3876 GlWriteFn *write_fn = buffered ? gl_write_fn : gl->flush_fn; local 3897 if(write_fn(gl, string + ndone, n-ndone) != n) 10547 * function remain async-signal safe when write_fn is signal safe, we
|
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_ctrl.c | 67 * write_fn - Callback function in driver to write control. 68 * arg - driver private context passed to read_fn/write_fn 84 audio_ctrl_rd_t read_fn, audio_ctrl_wr_t write_fn, void *arg) 194 ASSERT(write_fn); 195 ctrl->ctrl_write_fn = write_fn; 83 audio_dev_add_control(audio_dev_t *d, audio_ctrl_desc_t *desc, audio_ctrl_rd_t read_fn, audio_ctrl_wr_t write_fn, void *arg) argument
|