Searched refs:avail (Results 1 - 25 of 117) sorted by relevance

12345

/external/qemu/android/
H A Dcbuffer.c55 int avail = cb->size - cb->count; local
62 if (wpos + avail > cb->size)
63 avail = cb->size - wpos;
66 return avail;
88 int avail = cb->size - cb->count; local
91 ASSERT(avail >= 0, "avail is negative: %d", avail);
93 if (avail == 0)
101 if (wpos + avail > c
124 int avail = cb->count; local
155 int avail = cb->count; local
206 int avail = len; local
[all...]
H A Daudio-test.c37 int avail = SAMPLE_SIZE - ta->pos; local
38 if (avail > free)
39 avail = free;
41 AUD_write(ta->voice, ta->sample + ta->pos, avail);
42 ta->pos += avail;
46 free -= avail;
H A Dcharpipe.c167 int avail; local
191 avail = cbuffer_read_peek( bip->cb, &base );
192 if (avail > size)
193 avail = size;
195 avail, ph, quote_bytes( base, avail ));
197 qemu_chr_read( peer->cs, base, avail );
198 cbuffer_read_step( bip->cb, avail );
356 int avail; local
362 avail
[all...]
/external/pdfium/fpdfsdk/src/
H A Dfpdf_dataavail.cpp107 DLLEXPORT void STDCALL FPDFAvail_Destroy(FPDF_AVAIL avail) argument
109 if (avail == NULL) return;
110 delete (CFPDF_DataAvail*)avail;
113 DLLEXPORT int STDCALL FPDFAvail_IsDocAvail(FPDF_AVAIL avail, FX_DOWNLOADHINTS* hints) argument
115 if (avail == NULL || hints == NULL) return 0;
117 return ((CFPDF_DataAvail*)avail)->m_pDataAvail->IsDocAvail(&hints_wrap);
122 DLLEXPORT FPDF_DOCUMENT STDCALL FPDFAvail_GetDocument(FPDF_AVAIL avail, FPDF_BYTESTRING password) argument
124 if (avail == NULL) return NULL;
128 FX_DWORD err_code = pParser->StartAsynParse(((CFPDF_DataAvail*)avail)->m_pDataAvail->GetFileRead());
134 ((CFPDF_DataAvail*)avail)
146 FPDFAvail_IsPageAvail(FPDF_AVAIL avail, int page_index, FX_DOWNLOADHINTS* hints) argument
153 FPDFAvail_IsFormAvail(FPDF_AVAIL avail, FX_DOWNLOADHINTS* hints) argument
160 FPDFAvail_IsLinearized(FPDF_AVAIL avail) argument
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Draw_printer.cc54 int avail = limit_ - ptr_; local
55 // We pass avail+1 to vsnprintf() since that routine needs room
57 const int r = perftools_vsnprintf(ptr_, avail+1, format, ap);
62 } else if (r > avail) {
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Draw_printer.cc54 int avail = limit_ - ptr_; local
55 // We pass avail+1 to vsnprintf() since that routine needs room
57 const int r = perftools_vsnprintf(ptr_, avail+1, format, ap);
62 } else if (r > avail) {
/external/clang/www/
H A Dmake_cxx_dr_status103 avail = 'Unknown'
106 avail = 'SVN'
109 avail = 'Clang %s' % status
112 avail = 'Yes'
115 avail = 'Partial'
118 avail = 'No'
121 avail = 'N/A'
125 avail = 'Superseded by <a href="#%s">%s</a>' % (dup, dup)
133 avail = 'Duplicate of <a href="#%s">%s</a>' % (dup, dup)
137 return (avail
147 avail = 'Not resolved' variable
[all...]
/external/clang/test/CodeGen/
H A D2002-12-15-StructParameters.c7 unsigned avail; member in struct:__anon18523
/external/pdfium/fpdfsdk/include/
H A Dfpdf_dataavail.h75 * avail - Handle to document availability provider returned by FPDFAvail_Create
79 DLLEXPORT void STDCALL FPDFAvail_Destroy(FPDF_AVAIL avail);
117 * avail - Handle to document availability provider returned by FPDFAvail_Create
126 DLLEXPORT int STDCALL FPDFAvail_IsDocAvail(FPDF_AVAIL avail, FX_DOWNLOADHINTS* hints);
133 * avail - Handle to document availability provider returned by FPDFAvail_Create
141 DLLEXPORT FPDF_DOCUMENT STDCALL FPDFAvail_GetDocument(FPDF_AVAIL avail,
164 * avail - Handle to document availability provider returned by FPDFAvail_Create
175 DLLEXPORT int STDCALL FPDFAvail_IsPageAvail(FPDF_AVAIL avail, int page_index, FX_DOWNLOADHINTS* hints);
182 * avail - Handle to document availability provider returned by FPDFAvail_Create
197 DLLEXPORT int STDCALL FPDFAvail_IsFormAvail(FPDF_AVAIL avail, FX_DOWNLOADHINT
[all...]
/external/elfutils/0.153/libcpu/
H A Di386_data.h398 size_t avail = d->bufsize - *bufcntp; local
401 needed = snprintf (buf, avail, "%%%s", dregs[byte]);
403 needed = snprintf (buf, avail, "%%mm%" PRIxFAST8, byte);
404 if ((size_t) needed > avail)
405 return needed - avail;
427 size_t avail = d->bufsize - *bufcntp; local
428 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%xmm%" PRIxFAST8,
430 if ((size_t) needed > avail)
431 return needed - avail;
469 size_t avail local
558 size_t avail = d->bufsize - *bufcntp; local
591 size_t avail = d->bufsize - *bufcntp; local
622 size_t avail = d->bufsize - *bufcntp; local
671 size_t avail = d->bufsize - *bufcntp; local
691 size_t avail = d->bufsize - *bufcntp; local
727 size_t avail = d->bufsize - *bufcntp; local
748 size_t avail = d->bufsize - *bufcntp; local
776 size_t avail = d->bufsize - *bufcntp; local
799 size_t avail = d->bufsize - *bufcntp; local
839 size_t avail = d->bufsize - *bufcntp; local
852 size_t avail = d->bufsize - *bufcntp; local
876 size_t avail = d->bufsize - *bufcntp; local
893 size_t avail = d->bufsize - *bufcntp; local
920 size_t avail = d->bufsize - *bufcntp; local
1308 size_t avail = d->bufsize - *bufcntp; local
1342 size_t avail = d->bufsize - *bufcntp; local
1409 size_t avail = d->bufsize - *bufcntp; local
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dvirtio_ring.h47 /* The Guest uses this in avail->flags to advise the Host: don't interrupt me
56 * at the end of the avail ring. Host should ignore the avail->flags field. */
57 /* The Host publishes the avail index for which it expects a kick
98 struct vring_avail *avail; member in struct:vring
129 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num])
137 vr->avail = p + num*sizeof(struct vring_desc);
138 vr->used = (void *)(((unsigned long)&vr->avail->ring[num] + sizeof(__u16)
/external/chromium_org/third_party/libjingle/source/talk/examples/call/
H A Dmucinviterecvtask.cc88 const XmlElement* avail = local
90 if (avail) {
91 for (const XmlElement* entry = avail->FirstNamed(QN_GOOGLE_MUC_USER_ENTRY);
/external/chromium_org/third_party/leveldatabase/src/helpers/memenv/
H A Dmemenv.cc78 size_t avail = kBlockSize - block_offset; local
79 if (avail > bytes_to_copy) {
80 avail = bytes_to_copy;
82 memcpy(dst, blocks_[block] + block_offset, avail);
84 bytes_to_copy -= avail;
85 dst += avail;
99 size_t avail; local
104 avail = kBlockSize - offset;
108 avail = kBlockSize;
111 if (avail > src_le
[all...]
/external/chromium_org/third_party/npapi/npspy/extern/nspr/
H A Dplarena.h59 PRUword avail; /* points to next available byte */ member in struct:PLArena
112 PRUword _p = _a->avail; \
117 _a->avail = _q; \
126 PRUword _p = _a->avail; \
130 _a->avail = _q; \
138 #define PL_ARENA_MARK(pool) ((void *) (pool)->current->avail)
143 #define PL_CLEAR_UNUSED(a) (PR_ASSERT((a)->avail <= (a)->limit), \
144 memset((void*)(a)->avail, PL_FREE_PATTERN, \
145 (a)->limit - (a)->avail))
157 if (PR_UPTRDIFF(_m, _a->base) <= PR_UPTRDIFF(_a->avail, _
[all...]
/external/chromium_org/third_party/leveldatabase/src/db/
H A Dlog_writer.cc52 const size_t avail = kBlockSize - block_offset_ - kHeaderSize; local
53 const size_t fragment_length = (left < avail) ? left : avail;
/external/chromium_org/third_party/icu/source/i18n/
H A Dbasictz.cpp145 UBool avail; local
148 avail = getNextTransition(date, FALSE, tr);
149 if (avail) {
183 avail = getNextTransition(nextTransitionTime, FALSE, tr);
184 if (avail) {
202 avail = ar2->getPreviousStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), TRUE, d);
203 if (!avail || d > date
215 avail = getPreviousTransition(date, TRUE, tr);
216 if (avail) {
235 avail
296 UBool avail; local
[all...]
/external/icu/icu4c/source/i18n/
H A Dbasictz.cpp145 UBool avail; local
148 avail = getNextTransition(date, FALSE, tr);
149 if (avail) {
183 avail = getNextTransition(nextTransitionTime, FALSE, tr);
184 if (avail) {
202 avail = ar2->getPreviousStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), TRUE, d);
203 if (!avail || d > date
215 avail = getPreviousTransition(date, TRUE, tr);
216 if (avail) {
235 avail
296 UBool avail; local
[all...]
/external/tinycompress/
H A Dcompress.c315 unsigned int *avail, struct timespec *tstamp)
324 return oops(compress, errno, "cannot get avail");
327 *avail = (unsigned int)kavail.avail;
353 struct snd_compr_avail avail; local
369 if (ioctl(compress->fd, SNDRV_COMPRESS_AVAIL, &avail))
370 return oops(compress, errno, "cannot get avail");
375 if ((avail.avail < frag_size) && (avail
314 compress_get_hpointer(struct compress *compress, unsigned int *avail, struct timespec *tstamp) argument
415 struct snd_compr_avail avail; local
[all...]
/external/tinyalsa/
H A Dpcm.c445 int pcm_get_htimestamp(struct pcm *pcm, unsigned int *avail, argument
478 *avail = (unsigned int)frames;
1042 int avail; local
1044 avail = pcm->mmap_status->hw_ptr + pcm->buffer_size - pcm->mmap_control->appl_ptr;
1046 if (avail < 0)
1047 avail += pcm->boundary;
1048 else if (avail > (int)pcm->boundary)
1049 avail -= pcm->boundary;
1051 return avail;
1056 int avail local
1085 unsigned int continuous, copy_frames, avail; local
1185 int err = 0, frames, avail; local
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/gif/
H A DGIFImageReader.cpp225 avail = clearCode + 2;
240 if (code < avail) {
245 } else if (code == avail && oldcode != -1) {
269 if (avail < MAX_DICTIONARY_ENTRIES && oldcode != -1) {
270 prefix[avail] = oldcode;
271 suffix[avail] = firstchar;
272 suffixLength[avail] = suffixLength[oldcode] + 1;
273 ++avail;
278 if (!(avail & codemask) && avail < MAX_DICTIONARY_ENTRIE
[all...]
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_line_reader.cpp121 size_t avail = buff_capacity_ - buff_size_; local
122 int ret = fd_.Read(buff_ + buff_size_, avail);
123 LLOG("%s: READ buff_size=%d buff_capacity=%d avail=%d ret=%d\n",
127 avail,
/external/chromium_org/third_party/mach_override/libudis86/
H A Dsyn.c110 int avail; local
113 avail = u->asm_buf_size - u->asm_buf_fill - 1 /* nullchar */;
114 ret = vsnprintf((char*) u->asm_buf + u->asm_buf_fill, avail, fmt, ap);
115 if (ret < 0 || ret > avail) {
/external/qemu/android/filesystems/
H A Dramdisk_extractor.cpp109 size_t avail = len; local
110 if (avail > INT_MAX)
111 avail = INT_MAX;
113 int ret = gzread(mFile, buff, static_cast<unsigned int>(avail));
/external/qemu/telephony/
H A Dsimulator.c146 int avail; local
151 avail = sizeof(client->out_buff) - client->out_size;
152 if (len > avail)
153 len = avail;
H A Dtest2.c159 int avail; local
164 avail = sizeof(client->out_buff) - client->out_size;
165 if (len > avail)
166 len = avail;

Completed in 881 milliseconds

12345