Home
last modified time | relevance | path

Searched refs:read_callback (Results 1 – 25 of 65) sorted by relevance

123

/external/flac/src/libFLAC/
Dogg_helper.c45 …er, FLAC__byte *buffer, size_t bytes, FLAC__StreamEncoderReadCallback read_callback, void *client_… in full_read_() argument
49 switch(read_callback(encoder, buffer, &bytes_read, client_data)) { in full_read_()
95 …eamEncoderSeekCallback seek_callback, FLAC__StreamEncoderReadCallback read_callback, void *client_… in simple_ogg_page__get_at() argument
124 if(!full_read_(encoder, page->header, OGG_HEADER_FIXED_PORTION_LEN, read_callback, client_data)) in simple_ogg_page__get_at()
141 …ncoder, page->header + OGG_HEADER_FIXED_PORTION_LEN, page->header[26], read_callback, client_data)) in simple_ogg_page__get_at()
165 if(!full_read_(encoder, page->body, page->body_len, read_callback, client_data)) in simple_ogg_page__get_at()
/external/perfetto/src/profiling/symbolizer/
Dlocal_symbolizer_unittest.cc33 auto read_callback = [&stream](char* buffer, size_t size) { in RunAndValidateParseLines() local
37 std::vector<std::string> lines = GetLines(read_callback); in RunAndValidateParseLines()
85 auto read_callback = [&stream](char* buffer, size_t) { in TEST() local
89 std::vector<std::string> lines = GetLines(read_callback); in TEST()
/external/flac/src/test_libFLAC/
Dbitreader.c62 FLAC__BitReaderReadCallback read_callback; member
66 static FLAC__bool read_callback(FLAC__byte buffer[], size_t *bytes, void *data);
113 if(!FLAC__bitreader_init(br, read_callback, data)) { in test_bitreader()
135 if(!FLAC__bitreader_init(br, read_callback, data)) { in test_bitreader()
164 if(!FLAC__bitreader_init(br, read_callback, data)) { in test_bitreader()
314 static FLAC__bool read_callback(FLAC__byte buffer[], size_t *bytes, void *data) in read_callback() function
/external/curl/tests/libtest/
Dlib668.c39 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() function
95 read_callback, NULL, NULL, &pooh1); in test()
100 curl_mime_data_cb(part, (curl_off_t) -1, read_callback, NULL, NULL, &pooh2); in test()
Dlib643.c39 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() function
125 res = curl_mime_data_cb(part, datasize, read_callback, in once()
134 res = curl_mime_data_cb(part, datasize, read_callback, in once()
163 res = curl_mime_data_cb(part, datasize, read_callback, in once()
Dlib513.c26 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) in read_callback() function
62 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
Dlib1514.c38 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) in read_callback() function
69 easy_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
Dlib508.c33 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) in read_callback() function
87 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
Dlib1520.c50 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) in read_callback() function
98 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
Dlib1517.c33 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) in read_callback() function
91 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
Dlib1525.c35 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream) in read_callback() function
83 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
Dlib667.c39 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() function
100 curl_mime_data_cb(part, (curl_off_t) -1, read_callback, NULL, NULL, &pooh); in test()
Dlib1591.c35 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream) in read_callback() function
103 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
Dlib510.c39 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) in read_callback() function
102 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
Dlib1527.c34 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream) in read_callback() function
84 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
Dlib1526.c34 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream) in read_callback() function
86 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
Dlib670.c41 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() function
144 res = curl_mime_data_cb(part, (curl_off_t) 2, read_callback, in test()
170 test_setopt(pooh.easy, CURLOPT_READFUNCTION, read_callback); in test()
Dlib579.c67 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) in read_callback() function
126 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
/external/nanopb-c/examples/network_server/
Dcommon.c17 static bool read_callback(pb_istream_t *stream, uint8_t *buf, size_t count) in read_callback() function
38 pb_istream_t stream = {&read_callback, (void*)(intptr_t)fd, SIZE_MAX}; in pb_istream_from_socket()
/external/grpc-grpc/third_party/nanopb/examples/network_server/
Dcommon.c17 static bool read_callback(pb_istream_t *stream, uint8_t *buf, size_t count) in read_callback() function
38 pb_istream_t stream = {&read_callback, (void*)(intptr_t)fd, SIZE_MAX}; in pb_istream_from_socket()
/external/curl/docs/examples/
Dhttpput.c41 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream) in read_callback() function
90 curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback); in main()
Dftpuploadfrommem.c46 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) in read_callback() function
100 curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback); in main()
Dftpupload.c51 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream) in read_callback() function
101 curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback); in main()
Dpost-callback.c44 static size_t read_callback(void *dest, size_t size, size_t nmemb, void *userp) in read_callback() function
93 curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback); in main()
Danyauthput.c81 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream) in read_callback() function
126 curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback); in main()

123