Home
last modified time | relevance | path

Searched refs:avail (Results 1 – 25 of 202) sorted by relevance

123456789

/external/elfutils/libcpu/
Di386_data.h401 size_t avail = d->bufsize - *bufcntp; in FCT_MOD$R_M() local
404 needed = snprintf (buf, avail, "%%%s", dregs[byte]); in FCT_MOD$R_M()
406 needed = snprintf (buf, avail, "%%mm%" PRIxFAST8, byte); in FCT_MOD$R_M()
407 if ((size_t) needed > avail) in FCT_MOD$R_M()
408 return needed - avail; in FCT_MOD$R_M()
430 size_t avail = d->bufsize - *bufcntp; in FCT_Mod$R_m() local
431 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%xmm%" PRIxFAST8, in FCT_Mod$R_m()
433 if ((size_t) needed > avail) in FCT_Mod$R_m()
434 return needed - avail; in FCT_Mod$R_m()
472 size_t avail = d->bufsize - *bufcntp; in generic_abs() local
[all …]
/external/pdfium/core/fpdfapi/parser/
Dcpdf_object_avail_unittest.cpp135 CPDF_ObjectAvail avail(holder.GetValidator().Get(), &holder, 1); in TEST() local
137 avail.CheckAvail()); in TEST()
139 EXPECT_EQ(CPDF_DataAvail::DocAvailStatus::DataAvailable, avail.CheckAvail()); in TEST()
148 CPDF_ObjectAvail avail(holder.GetValidator().Get(), &holder, 1); in TEST() local
150 avail.CheckAvail()); in TEST()
154 avail.CheckAvail()); in TEST()
157 EXPECT_EQ(CPDF_DataAvail::DocAvailStatus::DataAvailable, avail.CheckAvail()); in TEST()
169 CPDF_ObjectAvail avail(holder.GetValidator().Get(), &holder, 1); in TEST() local
171 avail.CheckAvail()); in TEST()
175 avail.CheckAvail()); in TEST()
[all …]
/external/skia/src/compute/skc/
Dsuballocator.c31 suballocator->rem.avail, \
40 suballocator->rem.avail, \
82 suballocator->rem.avail = 1; in skc_suballocator_create()
143 skc_uint avail_rem = suballocator->rem.avail; in skc_suballocator_subbuf_alloc()
149 struct skc_subbuf * const avail = suballocator->subbufs + avail_id; in skc_suballocator_subbuf_alloc() local
151 assert(avail->inuse == 0); in skc_suballocator_subbuf_alloc()
153 if (avail->size == size_ru) // size matches exactly in skc_suballocator_subbuf_alloc()
163 avail->inuse += 1; in skc_suballocator_subbuf_alloc()
165 assert(avail->inuse == 1); in skc_suballocator_subbuf_alloc()
168 suballocator->rem.avail = --avail_rem; in skc_suballocator_subbuf_alloc()
[all …]
/external/skqp/src/compute/skc/
Dsuballocator.c31 suballocator->rem.avail, \
40 suballocator->rem.avail, \
82 suballocator->rem.avail = 1; in skc_suballocator_create()
143 skc_uint avail_rem = suballocator->rem.avail; in skc_suballocator_subbuf_alloc()
149 struct skc_subbuf * const avail = suballocator->subbufs + avail_id; in skc_suballocator_subbuf_alloc() local
151 assert(avail->inuse == 0); in skc_suballocator_subbuf_alloc()
153 if (avail->size == size_ru) // size matches exactly in skc_suballocator_subbuf_alloc()
163 avail->inuse += 1; in skc_suballocator_subbuf_alloc()
165 assert(avail->inuse == 1); in skc_suballocator_subbuf_alloc()
168 suballocator->rem.avail = --avail_rem; in skc_suballocator_subbuf_alloc()
[all …]
/external/clang/www/
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 + avail_suffix, avail_style)
[all …]
/external/pdfium/fpdfsdk/
Dfpdf_dataavail.cpp115 FPDF_AvailContext* FPDFAvailContextFromFPDFAvail(FPDF_AVAIL avail) { in FPDFAvailContextFromFPDFAvail() argument
116 return static_cast<FPDF_AvailContext*>(avail); in FPDFAvailContextFromFPDFAvail()
131 FPDF_EXPORT void FPDF_CALLCONV FPDFAvail_Destroy(FPDF_AVAIL avail) { in FPDFAvail_Destroy() argument
133 std::unique_ptr<FPDF_AvailContext>(FPDFAvailContextFromFPDFAvail(avail)); in FPDFAvail_Destroy()
136 FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsDocAvail(FPDF_AVAIL avail, in FPDFAvail_IsDocAvail() argument
138 if (!avail) in FPDFAvail_IsDocAvail()
141 return FPDFAvailContextFromFPDFAvail(avail)->m_pDataAvail->IsDocAvail( in FPDFAvail_IsDocAvail()
146 FPDFAvail_GetDocument(FPDF_AVAIL avail, FPDF_BYTESTRING password) { in FPDFAvail_GetDocument() argument
147 auto* pDataAvail = FPDFAvailContextFromFPDFAvail(avail); in FPDFAvail_GetDocument()
166 FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsPageAvail(FPDF_AVAIL avail, in FPDFAvail_IsPageAvail() argument
[all …]
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DPipeByteBuffer.java81 int avail = availableToRead(rear, mFront); in read() local
82 if (avail <= 0) { //return -2 for overrun in read()
83 return avail; in read()
87 if (requiredSamples > avail) { in read()
88 requiredSamples = avail; in read()
129 int avail = rear - front; in availableToRead() local
130 if (avail > mMaxValues) { in availableToRead()
139 return avail; in availableToRead()
146 int avail; in availableToRead() local
151 avail = availableToRead(rear, mFront); in availableToRead()
[all …]
DPipeShort.java77 int avail = availableToRead(); in read() local
78 if (avail <= 0) { in read()
79 return avail; in read()
84 if (count > avail) { in read()
85 count = avail; in read()
119 int avail = rear - mFront; in availableToRead() local
120 if (avail > mMaxValues) { in availableToRead()
129 return avail; in availableToRead()
/external/mesa3d/src/compiler/glsl/
Dbuiltin_functions.h50 udiv64(void *mem_ctx, builtin_available_predicate avail);
53 idiv64(void *mem_ctx, builtin_available_predicate avail);
56 umod64(void *mem_ctx, builtin_available_predicate avail);
59 imod64(void *mem_ctx, builtin_available_predicate avail);
62 umul64(void *mem_ctx, builtin_available_predicate avail);
65 sign64(void *mem_ctx, builtin_available_predicate avail);
68 udivmod64(void *mem_ctx, builtin_available_predicate avail);
Dbuiltin_functions.cpp732 builtin_available_predicate avail,
739 ir_function_signature *unop(builtin_available_predicate avail,
743 ir_function_signature *binop(builtin_available_predicate avail,
792 ir_function_signature *_mix_sel(builtin_available_predicate avail,
809 ir_function_signature *_packUnorm2x16(builtin_available_predicate avail);
810 ir_function_signature *_packSnorm2x16(builtin_available_predicate avail);
811 ir_function_signature *_packUnorm4x8(builtin_available_predicate avail);
812 ir_function_signature *_packSnorm4x8(builtin_available_predicate avail);
813 ir_function_signature *_unpackUnorm2x16(builtin_available_predicate avail);
814 ir_function_signature *_unpackSnorm2x16(builtin_available_predicate avail);
[all …]
/external/xz-java/src/org/tukaani/xz/lz/
DBT4.java56 int avail = movePos(niceLen, 4); in movePos() local
58 if (avail != 0) { in movePos()
70 return avail; in movePos()
78 int avail = movePos(); in getMatches() local
80 if (avail < matchLenLimit) { in getMatches()
81 if (avail == 0) in getMatches()
84 matchLenLimit = avail; in getMatches()
85 if (niceLenLimit > avail) in getMatches()
86 niceLenLimit = avail; in getMatches()
249 int avail = movePos(); in skip() local
[all …]
DHC4.java73 int avail = movePos(4, 4); in movePos() local
75 if (avail != 0) { in movePos()
87 return avail; in movePos()
94 int avail = movePos(); in getMatches() local
96 if (avail < matchLenLimit) { in getMatches()
97 if (avail == 0) in getMatches()
100 matchLenLimit = avail; in getMatches()
101 if (niceLenLimit > avail) in getMatches()
102 niceLenLimit = avail; in getMatches()
/external/sl4a/Utils/src/com/trilead/ssh2/
DStreamGobbler.java60 int avail = is.read(buffer, write_pos, buffer.length - write_pos); in run() local
63 if (avail <= 0) { in run()
68 write_pos += avail; in run()
233 int avail = write_pos - read_pos; in read() local
235 avail = (avail > len) ? len : avail; in read()
237 System.arraycopy(buffer, read_pos, b, off, avail); in read()
239 read_pos += avail; in read()
241 return avail; in read()
/external/tinycompress/
Dcompress.c315 unsigned int *avail, struct timespec *tstamp) in compress_get_hpointer() argument
327 *avail = (unsigned int)kavail.avail; in compress_get_hpointer()
353 struct snd_compr_avail avail; in compress_write() local
369 if (ioctl(compress->fd, SNDRV_COMPRESS_AVAIL, &avail)) in compress_write()
375 if ((avail.avail < frag_size) && (avail.avail < size)) { in compress_write()
395 if (size > avail.avail) in compress_write()
396 to_write = avail.avail; in compress_write()
415 struct snd_compr_avail avail; in compress_read() local
430 if (ioctl(compress->fd, SNDRV_COMPRESS_AVAIL, &avail)) in compress_read()
433 if ( (avail.avail < frag_size) && (avail.avail < size) ) { in compress_read()
[all …]
/external/u-boot/cmd/
Dtrace.c33 size_t buff_size, avail, buff_ptr, used; in create_func_list() local
41 avail = buff_size - buff_ptr; in create_func_list()
42 err = trace_list_functions(buff + buff_ptr, avail, &needed); in create_func_list()
45 used = min(avail, (size_t)needed); in create_func_list()
57 size_t buff_size, avail, buff_ptr, used; in create_call_list() local
65 avail = buff_size - buff_ptr; in create_call_list()
66 err = trace_list_calls(buff + buff_ptr, avail, &needed); in create_call_list()
69 used = min(avail, (size_t)needed); in create_call_list()
/external/icu/icu4c/source/i18n/
Dbasictz.cpp147 UBool avail; in getSimpleRulesNear() local
150 avail = getNextTransition(date, FALSE, tr); in getSimpleRulesNear()
151 if (avail) { in getSimpleRulesNear()
185 avail = getNextTransition(nextTransitionTime, FALSE, tr); in getSimpleRulesNear()
186 if (avail) { in getSimpleRulesNear()
204avail = ar2->getPreviousStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), T… in getSimpleRulesNear()
205 if (!avail || d > date in getSimpleRulesNear()
217 avail = getPreviousTransition(date, TRUE, tr); in getSimpleRulesNear()
218 if (avail) { in getSimpleRulesNear()
237avail = ar2->getNextStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), FALSE… in getSimpleRulesNear()
[all …]
/external/pdfium/public/
Dfpdf_dataavail.h69 FPDF_EXPORT void FPDF_CALLCONV FPDFAvail_Destroy(FPDF_AVAIL avail);
110 FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsDocAvail(FPDF_AVAIL avail,
123 FPDFAvail_GetDocument(FPDF_AVAIL avail, FPDF_BYTESTRING password);
156 FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsPageAvail(FPDF_AVAIL avail,
181 FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsFormAvail(FPDF_AVAIL avail,
197 FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsLinearized(FPDF_AVAIL avail);
/external/syzkaller/sys/fuchsia/
Dobjects.txt14 …DLE_VALID], buffer const[0], buffer_size const[0], actual ptr[out, intptr], avail ptr[out, intptr])
15 …_info_handle_basic], buffer_size bytesize[buffer], actual ptr[out, intptr], avail ptr[out, intptr])
16 …t, zx_info_process], buffer_size bytesize[buffer], actual ptr[out, intptr], avail ptr[out, intptr])
17 …r[out, array[koid]], buffer_size bytesize[buffer], actual ptr[out, intptr], avail ptr[out, intptr])
18 …[out, zx_info_vmar], buffer_size bytesize[buffer], actual ptr[out, intptr], avail ptr[out, intptr])
19 …r[out, array[koid]], buffer_size bytesize[buffer], actual ptr[out, intptr], avail ptr[out, intptr])
20 …ut, zx_info_thread], buffer_size bytesize[buffer], actual ptr[out, intptr], avail ptr[out, intptr])
21 …x_exception_report], buffer_size bytesize[buffer], actual ptr[out, intptr], avail ptr[out, intptr])
22 …zx_info_task_stats], buffer_size bytesize[buffer], actual ptr[out, intptr], avail ptr[out, intptr])
23 …rray[zx_info_maps]], buffer_size bytesize[buffer], actual ptr[out, intptr], avail ptr[out, intptr])
[all …]
/external/squashfs-tools/kernel/fs/squashfs/
Dblock.c89 int bytes, compressed, b = 0, k = 0, page = 0, avail; in squashfs_read_data() local
170 avail = min(bytes, msblk->devblksize - offset); in squashfs_read_data()
171 bytes -= avail; in squashfs_read_data()
176 if (avail == 0) { in squashfs_read_data()
183 msblk->stream.avail_in = avail; in squashfs_read_data()
247 avail = min_t(int, in, PAGE_CACHE_SIZE - in squashfs_read_data()
250 bh[k]->b_data + offset, avail); in squashfs_read_data()
251 in -= avail; in squashfs_read_data()
252 pg_offset += avail; in squashfs_read_data()
253 offset += avail; in squashfs_read_data()
/external/xz-java/src/org/tukaani/xz/lzma/
DLZMAEncoderNormal.java123 int avail = Math.min(lz.getAvail(), MATCH_LEN_MAX); in getNextSymbol() local
124 if (avail < MATCH_LEN_MIN) in getNextSymbol()
130 repLens[rep] = lz.getMatchLen(reps[rep], avail); in getNextSymbol()
269 avail = Math.min(lz.getAvail(), OPTS - 1); in getNextSymbol()
280 --avail; in getNextSymbol()
289 calc1BytePrices(pos, posState, avail, anyRepPrice); in getNextSymbol()
291 if (avail >= MATCH_LEN_MIN) { in getNextSymbol()
293 avail, anyRepPrice); in getNextSymbol()
295 calcNormalMatchPrices(pos, posState, avail, in getNextSymbol()
374 int avail, int anyRepPrice) {
[all …]
/external/tinyalsa/
Dpcm.c450 int pcm_get_htimestamp(struct pcm *pcm, unsigned int *avail, in pcm_get_htimestamp() argument
483 *avail = (unsigned int)frames; in pcm_get_htimestamp()
1088 int avail; in pcm_mmap_playback_avail() local
1090 avail = pcm->mmap_status->hw_ptr + pcm->buffer_size - pcm->mmap_control->appl_ptr; in pcm_mmap_playback_avail()
1092 if (avail < 0) in pcm_mmap_playback_avail()
1093 avail += pcm->boundary; in pcm_mmap_playback_avail()
1094 else if (avail > (int)pcm->boundary) in pcm_mmap_playback_avail()
1095 avail -= pcm->boundary; in pcm_mmap_playback_avail()
1097 return avail; in pcm_mmap_playback_avail()
1102 int avail = pcm->mmap_status->hw_ptr - pcm->mmap_control->appl_ptr; in pcm_mmap_capture_avail() local
[all …]
/external/toybox/toys/posix/
Ddf.c100 unsigned long long size, used, avail, percent, block; in show_mt() local
124 avail = getuid() ? mt->statvfs.f_favail : mt->statvfs.f_ffree; in show_mt()
129 avail= (block*(getuid()?mt->statvfs.f_bavail:mt->statvfs.f_bfree))/TT.units; in show_mt()
131 if (!(used+avail)) percent = 0; in show_mt()
133 percent = (used*100)/(used+avail); in show_mt()
134 if (used*100 != percent*(used+avail)) percent++; in show_mt()
144 measure_numeric_column(3, avail); in show_mt()
155 human_readable(avail_str, avail, hr_flags); in show_mt()
163 TT.column_widths[3], avail, in show_mt()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTextUtils.java18 CharSequence text, TextPaint p, float avail, TruncateAt where) { in ellipsize() argument
21 if (avail <= 0) { in ellipsize()
23 } else if (text.length() < (int) (avail)) { in ellipsize()
26 return text.subSequence(0, (int) avail); in ellipsize()
/external/adhd/cras/src/server/
Dtest_iodev.c125 unsigned int avail; in get_buffer_fd_read() local
132 write_ptr = buf_write_pointer_size(testio->audbuff, &avail); in get_buffer_fd_read()
133 avail = MIN(avail, *frames * testio->fmt_bytes); in get_buffer_fd_read()
134 nread = read(testio->fd, write_ptr, avail); in get_buffer_fd_read()
244 unsigned int avail; in test_iodev_add_samples() local
247 write_ptr = buf_write_pointer_size(testio->audbuff, &avail); in test_iodev_add_samples()
248 count = MIN(count, avail); in test_iodev_add_samples()
/external/jemalloc_new/src/
Dtcache.c121 item_extent[i] = iealloc(tsd_tsdn(tsd), *(tbin->avail - 1 - i)); in tcache_bin_flush_small()
150 void *ptr = *(tbin->avail - 1 - i); in tcache_bin_flush_small()
164 *(tbin->avail - 1 - ndeferred) = ptr; in tcache_bin_flush_small()
188 memmove(tbin->avail - rem, tbin->avail - tbin->ncached, rem * in tcache_bin_flush_small()
212 item_extent[i] = iealloc(tsd_tsdn(tsd), *(tbin->avail - 1 - i)); in tcache_bin_flush_large()
227 void *ptr = *(tbin->avail - 1 - i); in tcache_bin_flush_large()
255 void *ptr = *(tbin->avail - 1 - i); in tcache_bin_flush_large()
268 *(tbin->avail - 1 - ndeferred) = ptr; in tcache_bin_flush_large()
292 memmove(tbin->avail - rem, tbin->avail - tbin->ncached, rem * in tcache_bin_flush_large()
391 tcache_small_bin_get(tcache, i)->avail = in tcache_init()
[all …]

123456789