HomeSort by relevance Sort by last modified time
    Searched full:nmemb (Results 51 - 75 of 322) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/curl/docs/examples/
sftpget.c 42 static size_t my_fwrite(void *buffer, size_t size, size_t nmemb,
52 return fwrite(buffer, size, nmemb, out->stream);
  /external/curl/tests/libtest/
lib1525.c 35 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream)
37 size_t amount = nmemb * size; /* Total bytes curl wants */
lib1526.c 34 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream)
36 size_t amount = nmemb * size; /* Total bytes curl wants */
lib1527.c 34 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream)
36 size_t amount = nmemb * size; /* Total bytes curl wants */
lib508.c 33 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp)
37 if(size*nmemb < 1)
lib510.c 39 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp)
44 if(size*nmemb < 1)
lib553.c 33 static size_t myreadfunc(void *ptr, size_t size, size_t nmemb, void *stream)
41 size *= nmemb;
lib571.c 53 static size_t rtp_write(void *ptr, size_t size, size_t nmemb, void *stream) {
58 size_t failure = (size * nmemb) ? 0 : 1;
62 message_size = curlx_uztosi(size * nmemb) - 4;
90 return size * nmemb;
  /external/libmicrohttpd/src/testcurl/
test_termination.c 84 write_data (void *ptr, size_t size, size_t nmemb, void *stream)
86 return size * nmemb;
test_large_put.c 69 putBuffer (void *stream, size_t size, size_t nmemb, void *ptr)
74 wrt = size * nmemb;
83 copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx)
87 if (cbc->pos + size * nmemb > cbc->size)
89 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
90 cbc->pos += size * nmemb;
91 return size * nmemb;
test_put.c 56 putBuffer (void *stream, size_t size, size_t nmemb, void *ptr)
61 wrt = size * nmemb;
70 copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx)
74 if (cbc->pos + size * nmemb > cbc->size)
76 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
77 cbc->pos += size * nmemb;
78 return size * nmemb;
test_put_chunked.c 55 putBuffer (void *stream, size_t size, size_t nmemb, void *ptr)
60 wrt = size * nmemb;
71 copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx)
75 if (cbc->pos + size * nmemb > cbc->size)
77 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
78 cbc->pos += size * nmemb;
79 return size * nmemb;
test_post.c 80 copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx)
84 if (cbc->pos + size * nmemb > cbc->size)
86 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
87 cbc->pos += size * nmemb;
88 return size * nmemb;
500 readBuffer(void *p, size_t size, size_t nmemb, void *opaque)
503 size_t required = size * nmemb;
517 slowReadBuffer(void *p, size_t size, size_t nmemb, void *opaque)
520 return readBuffer(p, size, nmemb, opaque);
  /external/curl/lib/
ftplistparser.h 29 size_t Curl_ftp_parselist(char *buffer, size_t size, size_t nmemb,
  /external/curl/src/
tool_cb_hdr.h 51 size_t tool_header_cb(void *ptr, size_t size, size_t nmemb, void *userdata);
tool_cb_wrt.h 30 size_t tool_write_cb(void *buffer, size_t sz, size_t nmemb, void *userdata);
  /toolchain/binutils/binutils-2.25/libiberty/
bsearch.c 34 const void *@var{base}, size_t @var{nmemb}, size_t @var{size}, @
37 Performs a search over an array of @var{nmemb} elements pointed to by
73 size_t nmemb, register size_t size,
80 for (lim = nmemb; lim != 0; lim >>= 1) {
  /external/opencv3/3rdparty/libtiff/
tif_aux.c 64 tmsize_t nmemb, tmsize_t elem_size, const char* what)
67 tmsize_t bytes = nmemb * elem_size;
72 if (nmemb && elem_size && bytes / elem_size == nmemb)
79 what,(long) nmemb, (long) elem_size);
86 _TIFFCheckMalloc(TIFF* tif, tmsize_t nmemb, tmsize_t elem_size, const char* what)
88 return _TIFFCheckRealloc(tif, NULL, nmemb, elem_size, what);
  /external/pdfium/third_party/libtiff/
tif_aux.c 64 tmsize_t nmemb, tmsize_t elem_size, const char* what)
67 tmsize_t bytes = nmemb * elem_size;
72 if (nmemb && elem_size && bytes / elem_size == nmemb)
79 what,(long) nmemb, (long) elem_size);
86 _TIFFCheckMalloc(TIFF* tif, tmsize_t nmemb, tmsize_t elem_size, const char* what)
88 return _TIFFCheckRealloc(tif, NULL, nmemb, elem_size, what);
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_malloc_mac.inc 114 INTERCEPTOR(void *, calloc, size_t nmemb, size_t size) {
116 COMMON_MALLOC_CALLOC(nmemb, size);
163 void *__sanitizer_mz_calloc(malloc_zone_t *zone, size_t nmemb, size_t size) {
169 size_t size_in_words = ((nmemb * size) + kWordSize - 1) / kWordSize;
175 COMMON_MALLOC_CALLOC(nmemb, size);
  /external/libmicrohttpd/src/testzzuf/
test_get_chunked.c 49 copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx)
53 if (cbc->pos + size * nmemb > cbc->size)
55 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
56 cbc->pos += size * nmemb;
57 return size * nmemb;
test_post.c 69 copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx)
73 if (cbc->pos + size * nmemb > cbc->size)
75 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
76 cbc->pos += size * nmemb;
77 return size * nmemb;
test_post_form.c 67 copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx)
71 if (cbc->pos + size * nmemb > cbc->size)
73 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
74 cbc->pos += size * nmemb;
75 return size * nmemb;
  /toolchain/binutils/binutils-2.25/bfd/
libbfd.c 189 /* Allocate memory using malloc, nmemb * size with overflow checking. */
192 bfd_malloc2 (bfd_size_type nmemb, bfd_size_type size)
196 if ((nmemb | size) >= HALF_BFD_SIZE_TYPE
198 && nmemb > ~(bfd_size_type) 0 / size)
204 size *= nmemb;
243 /* Reallocate memory using realloc, nmemb * size with overflow checking. */
246 bfd_realloc2 (void *ptr, bfd_size_type nmemb, bfd_size_type size)
250 if ((nmemb | size) >= HALF_BFD_SIZE_TYPE
252 && nmemb > ~(bfd_size_type) 0 / size)
258 size *= nmemb;
    [all...]
  /external/aac/libSYS/src/
genericStds.cpp 397 UINT FDKfwrite(void *ptrf, INT size, UINT nmemb, FDKFILE *fp) { return fwrite(ptrf, size, nmemb, (FILE*)fp); }
400 UINT FDKfread(void *dst, INT size, UINT nmemb, FDKFILE *fp) { return fread(dst, size, nmemb, (FILE*)fp); }
410 UINT FDKfwrite_EL(void *ptrf, INT size, UINT nmemb, FDKFILE *fp) {
413 FDKfwrite(ptrf, size, nmemb, fp);
420 for (n=0; n<nmemb; n++) {
428 return nmemb;
432 UINT FDKfread_EL(void *dst, INT size, UINT nmemb, FDKFILE *fp) {
441 for (n=0; n<nmemb; n++)
    [all...]

Completed in 503 milliseconds

1 23 4 5 6 7 8 91011>>