Home
last modified time | relevance | path

Searched refs:readptr (Results 1 – 12 of 12) sorted by relevance

/external/curl/tests/libtest/
Dlib667.c35 char *readptr; member
42 int eof = !*pooh->readptr; in read_callback()
52 *ptr = *pooh->readptr; /* copy one single byte */ in read_callback()
53 pooh->readptr++; /* advance pointer */ in read_callback()
91 pooh.readptr = data; in test()
Dlib668.c35 char *readptr; member
42 size_t len = strlen(pooh->readptr); in read_callback()
49 memcpy(ptr, pooh->readptr, len); in read_callback()
50 pooh->readptr += len; in read_callback()
85 pooh1.readptr = data; in test()
Dlib508.c29 char *readptr; member
41 *(char *)ptr = pooh->readptr[0]; /* copy one single byte */ in read_callback()
42 pooh->readptr++; /* advance pointer */ in read_callback()
57 pooh.readptr = data; in test()
Dlib654.c35 char *readptr; member
50 int eof = !*pooh->readptr; in read_callback()
60 *ptr = *pooh->readptr; /* copy one single byte */ in read_callback()
61 pooh->readptr++; /* advance pointer */ in read_callback()
101 pooh.readptr = data; in test()
Dlib1517.c29 char *readptr; member
48 memcpy(ptr, pooh->readptr, tocopy);/* copy requested data */ in read_callback()
49 pooh->readptr += tocopy; /* advance pointer */ in read_callback()
61 pooh.readptr = data; in test()
Dlib554.c37 char *readptr; member
57 *(char *)ptr = pooh->readptr[0]; /* copy one single byte */ in read_callback()
58 pooh->readptr++; /* advance pointer */ in read_callback()
78 pooh.readptr = data; in once()
108 pooh2.readptr = data; in once()
Dlib643.c35 char *readptr; member
59 int eof = !*pooh->readptr; in read_callback()
71 *ptr = *pooh->readptr; /* copy one single byte */ in read_callback()
72 pooh->readptr++; /* advance pointer */ in read_callback()
91 pooh.readptr = data; in once()
146 pooh2.readptr = data; in once()
Dlib1514.c34 char *readptr; member
46 *(char *)ptr = pooh->readptr[0]; /* copy one single byte */ in read_callback()
47 pooh->readptr++; /* advance pointer */ in read_callback()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/esp/
Dringbuf.c54 r->base = r->readptr = r->writeptr = buf; in rb_init()
121 if ((rb->readptr + read_size) > (rb->base + rb->size)) { in rb_read()
122 int rlen1 = rb->base + rb->size - rb->readptr; in rb_read()
125 memcpy(buf, rb->readptr, rlen1); in rb_read()
128 rb->readptr = rb->base + rlen2; in rb_read()
131 memcpy(buf, rb->readptr, read_size); in rb_read()
133 rb->readptr = rb->readptr + read_size; in rb_read()
253 rb->readptr = rb->writeptr = rb->base; in _rb_reset()
331 rb->fill_cnt, rb->base, rb->readptr, rb->writeptr, rb->size); in rb_stat()
Dringbuf.h36 uint8_t* volatile readptr; /**< Read pointer */ member
/external/curl/docs/examples/
Dftpuploadfrommem.c42 const char *readptr; member
58 memcpy(ptr, upload->readptr, copylen); in read_callback()
59 upload->readptr += copylen; in read_callback()
74 upload.readptr = data; in main()
Dpost-callback.c40 const char *readptr; member
54 memcpy(dest, wt->readptr, copy_this_much); in read_callback()
56 wt->readptr += copy_this_much; in read_callback()
71 wt.readptr = data; in main()