Home
last modified time | relevance | path

Searched refs:write_callback (Results 1 – 25 of 47) sorted by relevance

12

/external/flac/src/libFLAC/
Dogg_encoder_aspect.c112 …, FLAC__bool is_last_block, FLAC__OggEncoderAspectWriteCallbackProxy write_callback, void *encoder… in FLAC__ogg_encoder_aspect_write_callback_wrapper() argument
198 …if(write_callback(encoder, aspect->page.header, aspect->page.header_len, 0, current_frame, client_… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
200 …if(write_callback(encoder, aspect->page.body, aspect->page.body_len, 0, current_frame, client_data… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
206 …if(write_callback(encoder, aspect->page.header, aspect->page.header_len, 0, current_frame, client_… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
208 …if(write_callback(encoder, aspect->page.body, aspect->page.body_len, 0, current_frame, client_data… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
Dogg_helper.c179 …mEncoderSeekCallback seek_callback, FLAC__StreamEncoderWriteCallback write_callback, void *client_… in simple_ogg_page__set_at() argument
200 …if(write_callback((FLAC__StreamEncoder*)encoder, page->header, page->header_len, 0, 0, client_data… in simple_ogg_page__set_at()
204 …if(write_callback((FLAC__StreamEncoder*)encoder, page->body, page->body_len, 0, 0, client_data) !=… in simple_ogg_page__set_at()
Dstream_decoder.c128 FLAC__StreamDecoderWriteCallback write_callback; member
343 FLAC__StreamDecoderWriteCallback write_callback, in init_stream_internal_() argument
360 0 == write_callback || in init_stream_internal_()
426 decoder->private_->write_callback = write_callback; in init_stream_internal_()
454 FLAC__StreamDecoderWriteCallback write_callback, in FLAC__stream_decoder_init_stream() argument
467 write_callback, in FLAC__stream_decoder_init_stream()
482 FLAC__StreamDecoderWriteCallback write_callback, in FLAC__stream_decoder_init_ogg_stream() argument
495 write_callback, in FLAC__stream_decoder_init_ogg_stream()
506 FLAC__StreamDecoderWriteCallback write_callback, in init_FILE_internal_() argument
519 if(0 == write_callback || 0 == error_callback) in init_FILE_internal_()
[all …]
/external/flac/include/FLAC/
Dstream_decoder.h1080 FLAC__StreamDecoderWriteCallback write_callback,
1161 FLAC__StreamDecoderWriteCallback write_callback,
1207 FLAC__StreamDecoderWriteCallback write_callback,
1257 FLAC__StreamDecoderWriteCallback write_callback,
1299 FLAC__StreamDecoderWriteCallback write_callback,
1345 FLAC__StreamDecoderWriteCallback write_callback,
/external/llvm-project/compiler-rt/test/dfsan/
Dwrite_callback.c28 static void write_callback(int fd, const void *buf, size_t count) { in write_callback() function
60 dfsan_set_write_callback(write_callback); in test_can_write_with_callback()
88 dfsan_set_write_callback(write_callback); in test_failing_write_runs_callback()
/external/compiler-rt/test/dfsan/
Dwrite_callback.c27 static void write_callback(int fd, const void *buf, size_t count) { in write_callback() function
59 dfsan_set_write_callback(write_callback); in test_can_write_with_callback()
87 dfsan_set_write_callback(write_callback); in test_failing_write_runs_callback()
/external/adhd/cras/src/tests/
Da2dp_iodev_unittest.cc48 static thread_callback write_callback; variable
87 write_callback = NULL; in ResetStubData()
198 ASSERT_NE(write_callback, (void*)NULL); in TEST_F()
275 ASSERT_NE(write_callback, (void*)NULL); in TEST_F()
303 write_callback(write_callback_data, POLLOUT); in TEST_F()
338 ASSERT_NE(write_callback, (void*)NULL); in TEST_F()
413 write_callback(write_callback_data, POLLOUT); in TEST_F()
441 ASSERT_NE(write_callback, (void*)NULL); in TEST_F()
489 ASSERT_NE(write_callback, (void*)NULL); in TEST_F()
574 ASSERT_NE(write_callback, (void*)NULL); in TEST_F()
[all …]
/external/nanopb-c/examples/network_server/
Dcommon.c11 static bool write_callback(pb_ostream_t *stream, const uint8_t *buf, size_t count) in write_callback() function
32 pb_ostream_t stream = {&write_callback, (void*)(intptr_t)fd, SIZE_MAX, 0}; in pb_ostream_from_socket()
/external/grpc-grpc/third_party/nanopb/examples/network_server/
Dcommon.c11 static bool write_callback(pb_ostream_t *stream, const uint8_t *buf, size_t count) in write_callback() function
32 pb_ostream_t stream = {&write_callback, (void*)(intptr_t)fd, SIZE_MAX, 0}; in pb_ostream_from_socket()
/external/curl/docs/examples/
Dhref_extractor.c37 static size_t write_callback(void *buffer, size_t size, size_t nmemb, in write_callback() function
75 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback); in main()
/external/flac/examples/c/decode/file/
Dmain.c37 static FLAC__StreamDecoderWriteStatus write_callback(const FLAC__StreamDecoder *decoder, const FLAC…
94 …init_status = FLAC__stream_decoder_init_file(decoder, argv[1], write_callback, metadata_callback, … in main()
112 FLAC__StreamDecoderWriteStatus write_callback(const FLAC__StreamDecoder *decoder, const FLAC__Frame… in write_callback() function
/external/curl/tests/libtest/
Dlib1540.c66 static size_t write_callback(void *ptr, size_t size, size_t nmemb, void *userp) in write_callback() function
99 easy_setopt(curls, CURLOPT_WRITEFUNCTION, write_callback); in test()
Dlib1533.c77 static size_t write_callback(char *ptr, size_t size, size_t nmemb, in write_callback() function
155 test_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback); in test()
Dlib552.c143 static size_t write_callback(void *ptr, size_t size, size_t nmemb, in write_callback() function
203 test_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback); in test()
/external/nanopb-c/tests/io_errors/
Dio_errors.c31 bool write_callback(pb_ostream_t *stream, const uint8_t *buf, size_t count) in write_callback() function
99 pb_ostream_t stream = {&write_callback, NULL, SIZE_MAX, 0}; in main()
/external/grpc-grpc/third_party/nanopb/tests/io_errors/
Dio_errors.c31 bool write_callback(pb_ostream_t *stream, const uint8_t *buf, size_t count) in write_callback() function
99 pb_ostream_t stream = {&write_callback, NULL, SIZE_MAX, 0}; in main()
/external/flac/fuzzer/
Dflac_dec_fuzzer.cpp62 static auto write_callback = [](const FLAC__StreamDecoder *, const FLAC__Frame *frame, in initDecoder() local
81 mDecoder, read_callback, nullptr, nullptr, nullptr, nullptr, write_callback, in initDecoder()
/external/flac/examples/cpp/decode/file/
Dmain.cpp72 …virtual ::FLAC__StreamDecoderWriteStatus write_callback(const ::FLAC__Frame *frame, const FLAC__in…
122 ::FLAC__StreamDecoderWriteStatus OurDecoder::write_callback(const ::FLAC__Frame *frame, const FLAC_… in write_callback() function in OurDecoder
/external/crosvm/disk/src/qcow/
Dvec_cache.rs117 pub fn insert<F>(&mut self, index: usize, block: T, write_callback: F) -> io::Result<()> in insert()
126 write_callback(to_evict, evicted)?; in insert()
/external/flac/src/libFLAC/include/private/
Dogg_helper.h42 …mEncoderSeekCallback seek_callback, FLAC__StreamEncoderWriteCallback write_callback, void *client_…
Dogg_encoder_aspect.h62 …, FLAC__bool is_last_block, FLAC__OggEncoderAspectWriteCallbackProxy write_callback, void *encoder…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.lite.experimental.pbtxt9 …argspec: "args=[\'session\', \'graph_def\', \'write_callback\'], varargs=None, keywords=None, defa…
/external/libbrillo/brillo/http/
Dhttp_connection_curl_test.cc57 ReadWriteCallback* write_callback{nullptr}; member in brillo::http::curl::__anon02444abb0111::CurlPerformer
100 return WriteString(write_callback, response_body); in DoPerform()
273 DoAll(SaveCallback<2>(&performer_, &CurlPerformer::write_callback), in TEST_F()
Dhttp_connection_curl.cc145 curl_handle_, CURLOPT_WRITEFUNCTION, &Connection::write_callback); in PrepareRequest()
206 size_t Connection::write_callback(char* ptr, in write_callback() function in brillo::http::curl::Connection
/external/flac/include/FLAC++/
Dencoder.h185 …virtual ::FLAC__StreamEncoderWriteStatus write_callback(const FLAC__byte buffer[], size_t bytes, u…
251 …virtual ::FLAC__StreamEncoderWriteStatus write_callback(const FLAC__byte buffer[], size_t bytes, u…

12