Searched defs:needed (Results 1 - 25 of 33) sorted by relevance

12

/external/icu/icu4c/source/samples/numfmt/
H A Dcapi.c25 int32_t needed; local
58 in the US locale. The return value is the buffer size needed.
64 needed = unum_formatDouble(fmt, a, buf, 256, NULL, &status);
/external/bison/lib/
H A Dgetdelim.c99 size_t needed = 2 * *n + 1; /* Be generous. */ local
102 if (needed_max < needed)
103 needed = needed_max;
104 if (cur_len + 1 >= needed)
111 new_lineptr = (char *) realloc (*lineptr, needed);
119 *n = needed;
/external/wpa_supplicant_8/hs20/server/www/
H A Dspp.php27 $needed = array('nonce'=>1, 'nc'=>1, 'cnonce'=>1, 'qop'=>1, 'username'=>1, variable
30 $keys = implode('|', array_keys($needed));
35 unset($needed[$m[1]]);
37 if ($needed) {
38 error_log("spp.php - Authentication failed - missing: " . print_r($needed));
H A Dest.php14 $needed = array('nonce'=>1, 'nc'=>1, 'cnonce'=>1, 'qop'=>1, 'username'=>1, variable
17 $keys = implode('|', array_keys($needed));
22 unset($needed[$m[1]]);
24 if ($needed) {
/external/skia/src/gpu/
H A DGrPlotMgr.h18 size_t needed = width * height; local
19 if (needed <= sizeof(fStorage)) {
22 fBusy = SkNEW_ARRAY(char, needed);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
H A DDSASigner.java162 protected SecureRandom initSecureRandom(boolean needed, SecureRandom provided) argument
164 return !needed ? null : (provided != null) ? provided : new SecureRandom();
H A DECDSASigner.java193 protected SecureRandom initSecureRandom(boolean needed, SecureRandom provided) argument
195 return !needed ? null : (provided != null) ? provided : new SecureRandom();
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_libbacktrace.cc51 uptr needed = data->size + l + 1; local
52 if (needed > data->allocated) {
54 if (needed > data->allocated)
55 data->allocated = needed;
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
H A DICUCurrencyMetaInfo.java77 int needed = collector.collects();
79 needed |= Region;
82 needed |= Currency;
85 needed |= Date;
88 needed |= Tender;
91 if (needed != 0) {
95 collectRegion(collector, filter, needed, b);
99 collectRegion(collector, filter, needed, regionInfo.at(i));
108 int needed, ICUResourceBundle b) {
111 if (needed
107 collectRegion(Collector<T> collector, CurrencyFilter filter, int needed, ICUResourceBundle b) argument
[all...]
/external/iproute2/tc/
H A Dem_meta.c169 struct tcf_meta_val *needed)
180 if (map_type(*p) == TCF_META_TYPE(needed->kind))
168 is_compatible(struct tcf_meta_val *what, struct tcf_meta_val *needed) argument
/external/libedit/examples/
H A Dwtc1.c44 int needed = wcstombs(0, wstr, 0) + 1; local
45 if (needed > buf.len) {
46 buf.str = malloc(needed);
47 buf.len = needed;
49 wcstombs(buf.str, wstr, needed);
50 buf.str[needed - 1] = 0;
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/
H A Dnfc_hal_nci.c59 UINT16 size, needed; local
105 needed = (NFC_HDR_SIZE + nfc_hal_cb.ncit_cb.p_frag_msg->len + nfc_hal_cb.ncit_cb.p_frag_msg->offset + p_msg->len);
106 if (size >= needed)
/external/libvpx/libvpx/
H A Dtools_common.c112 size_t needed = w * bytespp; local
116 const size_t more = (left < needed) ? left : needed;
119 needed -= more;
122 if (needed > 0) {
123 shortread |= (fread(ptr + buf_position, 1, needed, f) < needed);
/external/openssh/
H A Droaming_common.c199 size_t available, needed; local
205 needed = write_bytes - *offset;
207 (unsigned long)needed, (unsigned long long)*offset);
208 if (needed > available)
210 if (out_last < needed) {
211 int chunkend = needed - out_last;
216 atomicio(vwrite, fd, out_buf + (out_last - needed), needed);
/external/elfutils/src/libcpu/
H A Di386_data.h402 int needed; local
404 needed = snprintf (buf, avail, "%%%s", dregs[byte]);
406 needed = snprintf (buf, avail, "%%mm%" PRIxFAST8, byte);
407 if ((size_t) needed > avail)
408 return needed - avail;
409 *bufcntp += needed;
431 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%xmm%" PRIxFAST8, local
433 if ((size_t) needed > avail)
434 return needed - avail;
435 *d->bufcntp += needed;
473 int needed = snprintf (&d->bufp[*bufcntp], avail, "%s0x%" ABSPRIFMT, local
562 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%%s%" PRIx32, local
595 int needed = snprintf (&d->bufp[*bufcntp], avail, "0x%" PRIx32, local
626 int needed = snprintf (&d->bufp[*bufcntp], avail, "(%%%s%s)", local
675 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%es:(%%%sdi)", local
695 int needed; local
734 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIxFAST8, word); local
752 int needed; local
784 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64, local
787 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, local
812 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64, local
815 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, word); local
826 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, word); local
843 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, word); local
859 int needed; local
883 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, local
901 int needed = snprintf (&d->bufp[*bufcntp], avail, "0x%" PRIx64, local
905 int needed = snprintf (&d->bufp[*bufcntp], avail, "0x%" PRIx32, local
924 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%mm%" PRIxFAST8, byte); local
1312 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%st(%" PRIx32 ")", local
1346 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, absval); local
1413 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%xmm%" PRIxFAST8, byte); local
[all...]
/external/libnfc-nci/src/nfa/ee/
H A Dnfa_ee_act.c2112 BOOLEAN needed = FALSE; local
2123 needed = TRUE;
2134 needed = TRUE;
2143 return needed;
/external/libogg/src/
H A Dframing.c239 static int _os_body_expand(ogg_stream_state *os,int needed){ argument
240 if(os->body_storage<=os->body_fill+needed){
242 ret=_ogg_realloc(os->body_data,(os->body_storage+needed+1024)*
248 os->body_storage+=(needed+1024);
254 static int _os_lacing_expand(ogg_stream_state *os,int needed){ argument
255 if(os->lacing_storage<=os->lacing_fill+needed){
257 ret=_ogg_realloc(os->lacing_vals,(os->lacing_storage+needed+32)*
264 ret=_ogg_realloc(os->granule_vals,(os->lacing_storage+needed+32)*
271 os->lacing_storage+=(needed+32);
285 /* safety; needed fo
[all...]
/external/owasp/sanitizer/src/main/org/owasp/html/
H A DCssTokens.java1397 private static int[] expandIfNecessary(int[] arr, int limit, int needed) { argument
1398 int neededLength = limit + needed;
/external/webp/src/dec/
H A Dframe.c26 // kFilterExtraRows[] = How many extra lines are needed on the MB boundary
82 // Filter the decoded macroblock row (if needed)
328 // rotate top samples if needed
554 const uint64_t needed = (uint64_t)intra_pred_mode_size local
560 if (needed != (size_t)needed) return 0; // check for overflow
561 if (needed > dec->mem_size_) {
564 dec->mem_ = WebPSafeMalloc(needed, sizeof(uint8_t));
570 dec->mem_size_ = (size_t)needed;
/external/skia/src/pipe/
H A DSkGPipeWrite.cpp480 bool SkGPipeCanvas::needOpBytes(size_t needed) { argument
485 needed += 4; // size of DrawOp atom
486 needed = SkAlign4(needed);
487 if (fWriter.bytesWritten() + needed > fBlockSize) {
492 needed = SkTMax<size_t>(MIN_BLOCK_SIZE, needed);
494 void* block = fController->requestBlock(needed, &fBlockSize);
/external/valgrind/coregrind/
H A Dm_errormgr.c1130 vg_assert(lineno); // lineno needed to correctly track line numbers.
1503 needed to match an error with the suppression patterns.
1506 First time the fun or obj name is needed for an IP member
1546 // (fun|obj)_offsets are reallocated if more space is needed
1622 static HChar* grow_names(IPtoFunOrObjCompleter* ip2fo, SizeT needed) argument
1625 < ip2fo->names_free + needed) {
1626 if (needed < ERRTXT_LEN) needed = ERRTXT_LEN;
1631 ip2fo->names_szB + needed);
1632 ip2fo->names_szB += needed;
[all...]
/external/elfutils/src/src/
H A Dld.h193 XXX Maybe support for more than one symbol table is needed. */
212 /* The needed versions. */
234 was already closed. This can happen if we needed file descriptors
317 segment boundaries and the needed alignment. The mode of the
431 /* Description where the symbol is found/needed. */
755 struct usedfiles *needed; member in struct:ld_state
807 needed. */
1009 /* Number of entries needed in the .dynamic section. */
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.contenttype_3.4.100.v20100505-1235.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/libxml2/
H A Dxmlschemas.c3430 #if 0 /* enable if ever needed */
6513 xmlSchemaParseAnnotation(xmlSchemaParserCtxtPtr ctxt, xmlNodePtr node, int needed) argument
6530 if (needed)
10671 * Return the bucket explicitely; this is needed for the
12388 #if 0 /* Will be enabled if it is clear what options are needed. */
12911 * epsilon needed to block previous trans from
12964 * epsilon needed to block previous trans from
15162 * to have all the needed information; this acts as an self test.
16225 * MAYBE TODO: Enable if ever needed. But this will be needed onl
[all...]
/external/v8/tools/profviz/
H A Dgnuplot-4.6.3-emscripten.js412 var needed = 0; variable
415 if (needed) {
417 needed--;
423 needed = 1;
425 needed = 2;
429 if (needed > 0) return '';
562 // makeSetValue is done at compile-time and generates the needed
845 var half = bits <= 32 ? Math.abs(1 << (bits-1)) // abs is needed if bits == 32
1765 // Add sign if needed
1846 // Capitalize 'E' if needed
[all...]

Completed in 2607 milliseconds

12