Home
last modified time | relevance | path

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

12345678910

/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(), &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(), &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(), &holder, 1); in TEST() local
171 avail.CheckAvail()); in TEST()
175 avail.CheckAvail()); in TEST()
[all …]
/external/llvm-project/clang/www/
Dmake_cxx_dr_status111 avail = 'Unknown'
114 avail = 'Clang %s' % status
120 avail = 'Yes'
123 avail = 'Partial'
126 avail = 'No'
129 avail = 'N/A'
132 avail = 'N/A (Library DR)'
135 avail = 'N/A (ABI constraint)'
139 avail = 'Superseded by <a href="#%s">%s</a>' % (dup, dup)
147 avail = 'Duplicate of <a href="#%s">%s</a>' % (dup, dup)
[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.cpp55 explicit FPDF_FileAvailContext(FX_FILEAVAIL* avail) : avail_(avail) {} in FPDF_FileAvailContext() argument
134 FPDF_AvailContext* FPDFAvailContextFromFPDFAvail(FPDF_AVAIL avail) { in FPDFAvailContextFromFPDFAvail() argument
135 return static_cast<FPDF_AvailContext*>(avail); in FPDFAvailContextFromFPDFAvail()
146 FPDF_EXPORT void FPDF_CALLCONV FPDFAvail_Destroy(FPDF_AVAIL avail) { in FPDFAvail_Destroy() argument
148 std::unique_ptr<FPDF_AvailContext>(FPDFAvailContextFromFPDFAvail(avail)); in FPDFAvail_Destroy()
151 FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsDocAvail(FPDF_AVAIL avail, in FPDFAvail_IsDocAvail() argument
153 auto* avail_context = FPDFAvailContextFromFPDFAvail(avail); in FPDFAvail_IsDocAvail()
161 FPDFAvail_GetDocument(FPDF_AVAIL avail, FPDF_BYTESTRING password) { in FPDFAvail_GetDocument() argument
162 auto* avail_context = FPDFAvailContextFromFPDFAvail(avail); in FPDFAvail_GetDocument()
188 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.h60 udiv64(void *mem_ctx, builtin_available_predicate avail);
63 idiv64(void *mem_ctx, builtin_available_predicate avail);
66 umod64(void *mem_ctx, builtin_available_predicate avail);
69 imod64(void *mem_ctx, builtin_available_predicate avail);
72 umul64(void *mem_ctx, builtin_available_predicate avail);
75 sign64(void *mem_ctx, builtin_available_predicate avail);
78 udivmod64(void *mem_ctx, builtin_available_predicate avail);
/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/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/llvm-project/mlir/tools/mlir-tblgen/
DSPIRVUtilsGen.cpp158 for (const Record *avail : availDefs) in getAvailabilities() local
159 availabilities.emplace_back(avail); in getAvailabilities()
273 Availability avail(def); in emitInterfaceDecls() local
274 emitInterfaceDecl(avail, os); in emitInterfaceDecls()
318 for (const Availability &avail : getAvailabilities(enumerant.getDef())) in emitAvailabilityQueryForIntEnum() local
319 classCaseMap[avail.getClass()].push_back({enumerant, avail}); in emitAvailabilityQueryForIntEnum()
322 Availability avail = classCasePair.getValue().front().second; in emitAvailabilityQueryForIntEnum() local
325 avail.getMergeInstanceType(), avail.getQueryFnName(), in emitAvailabilityQueryForIntEnum()
331 Availability avail = caseSpecPair.second; in emitAvailabilityQueryForIntEnum() local
333 enumerant.getSymbol(), avail.getMergeInstancePreparation(), in emitAvailabilityQueryForIntEnum()
[all …]
/external/tinycompress/
Dcompress.c286 unsigned int *avail, struct timespec *tstamp) in compress_get_hpointer() argument
298 *avail = (unsigned int)kavail.avail; in compress_get_hpointer()
324 struct snd_compr_avail avail; in compress_write() local
339 if (compress->ops->ioctl(compress->data, SNDRV_COMPRESS_AVAIL, &avail)) in compress_write()
345 if ((avail.avail < frag_size) && (avail.avail < size)) { in compress_write()
366 if (size > avail.avail) in compress_write()
367 to_write = avail.avail; in compress_write()
387 struct snd_compr_avail avail; in compress_read() local
401 if (compress->ops->ioctl(compress->data, SNDRV_COMPRESS_AVAIL, &avail)) in compress_read()
404 if ( (avail.avail < frag_size) && (avail.avail < size) ) { in compress_read()
[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,
125 FPDFAvail_GetDocument(FPDF_AVAIL avail, FPDF_BYTESTRING password);
158 FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsPageAvail(FPDF_AVAIL avail,
183 FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsFormAvail(FPDF_AVAIL avail,
199 FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsLinearized(FPDF_AVAIL avail);
/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/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/libwebsockets/lib/roles/ws/
Dserver-ws.c731 unsigned int avail = (unsigned int)len; in lws_ws_frame_rest_is_payload() local
751 avail = (int)wsi->protocol->rx_buffer_size; in lws_ws_frame_rest_is_payload()
753 avail = wsi->context->pt_serv_buf_size; in lws_ws_frame_rest_is_payload()
757 if (avail > wsi->ws->rx_packet_length) in lws_ws_frame_rest_is_payload()
758 avail = (unsigned int)wsi->ws->rx_packet_length; in lws_ws_frame_rest_is_payload()
761 if (avail > len) in lws_ws_frame_rest_is_payload()
762 avail = (unsigned int)len; in lws_ws_frame_rest_is_payload()
764 if (!avail) in lws_ws_frame_rest_is_payload()
768 pmdrx.eb_in.len = avail; in lws_ws_frame_rest_is_payload()
770 pmdrx.eb_out.len = avail; in lws_ws_frame_rest_is_payload()
[all …]
/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/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/tinyalsa/
Dpcm.c465 int pcm_get_htimestamp(struct pcm *pcm, unsigned int *avail, in pcm_get_htimestamp() argument
498 *avail = (unsigned int)frames; in pcm_get_htimestamp()
1119 int avail; in pcm_mmap_playback_avail() local
1121 avail = pcm->mmap_status->hw_ptr + pcm->buffer_size - pcm->mmap_control->appl_ptr; in pcm_mmap_playback_avail()
1123 if (avail < 0) in pcm_mmap_playback_avail()
1124 avail += pcm->boundary; in pcm_mmap_playback_avail()
1125 else if (avail > (int)pcm->boundary) in pcm_mmap_playback_avail()
1126 avail -= pcm->boundary; in pcm_mmap_playback_avail()
1128 return avail; in pcm_mmap_playback_avail()
1133 int avail = pcm->mmap_status->hw_ptr - pcm->mmap_control->appl_ptr; in pcm_mmap_capture_avail() local
[all …]
/external/skia/src/gpu/
DGrTBlockList.h103 int avail = fAllocator->currentBlock()->template avail<alignof(T)>() / sizeof(T); in reserve() local
104 if (n > avail) { in reserve()
105 int reserved = n - avail; in reserve()
315 int avail = fAllocator->currentBlock()->template avail<alignof(T)>() / sizeof(T); in concat() local
316 if (headItemCount > avail) { in concat()
320 fAllocator->template reserve<alignof(T)>((headItemCount - avail) * sizeof(T), in concat()
334 if (avail > 0) { in concat()
336 copy(headBlock, headStart, fAllocator.allocator(), std::min(headItemCount, avail)); in concat()
338 if (headItemCount > avail) { in concat()
340 copy(headBlock, headStart + avail * sizeof(T), in concat()
[all …]
/external/adhd/cras/src/server/
Dtest_iodev.c117 unsigned int avail; in get_buffer_fd_read() local
124 write_ptr = buf_write_pointer_size(testio->audbuff, &avail); in get_buffer_fd_read()
125 avail = MIN(avail, *frames * testio->fmt_bytes); in get_buffer_fd_read()
126 nread = read(testio->fd, write_ptr, avail); in get_buffer_fd_read()
240 unsigned int avail; in test_iodev_add_samples() local
243 write_ptr = buf_write_pointer_size(testio->audbuff, &avail); in test_iodev_add_samples()
244 count = MIN(count, avail); in test_iodev_add_samples()
/external/skia/third_party/libgifcodec/
DSkGifImageReader.cpp235 avail = clearCode + 2; in doLZW()
249 if (code > avail) { in doLZW()
256 if (code == avail) { in doLZW()
297 if (tempCode == avail) { in doLZW()
303 if (avail < SK_MAX_DICTIONARY_ENTRIES && oldcode != -1) { in doLZW()
310 prefix[avail] = (l == 0) ? oldcode : prefix[oldcode]; in doLZW()
311 suffix[avail] = suffix[oldcode]; in doLZW()
312 suffix[avail][l] = firstchar; in doLZW()
313 suffixLength[avail] = codeLength; in doLZW()
314 ++avail; in doLZW()
[all …]
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/
DCMakeLists.txt11 mlir_tablegen(SPIRVEnumAvailability.h.inc -gen-spirv-enum-avail-decls)
12 mlir_tablegen(SPIRVEnumAvailability.cpp.inc -gen-spirv-enum-avail-defs)
18 mlir_tablegen(SPIRVAvailability.h.inc -gen-avail-interface-decls)
19 mlir_tablegen(SPIRVAvailability.cpp.inc -gen-avail-interface-defs)
20 mlir_tablegen(SPIRVOpAvailabilityImpl.inc -gen-spirv-avail-impls)

12345678910