HomeSort by relevance Sort by last modified time
    Searched refs:needed (Results 1 - 25 of 282) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
BufferPool.java 38 public ByteBuffer acquire(int needed) {
43 return grow(mBuffers[mAvailable], needed);
48 return ByteBuffer.allocate(chooseCapacity(mInitialBufferSize, needed));
67 public ByteBuffer grow(ByteBuffer buffer, int needed) {
69 if (capacity < needed) {
71 capacity = chooseCapacity(capacity, needed);
79 private int chooseCapacity(int capacity, int needed) {
80 while (capacity < needed) {
84 if (needed > mMaxBufferSize) {
85 throw new IllegalArgumentException("Requested size " + needed
    [all...]
  /frameworks/native/services/surfaceflinger/EventLog/
EventLog.cpp 71 const size_t needed = 1 + sizeof(count); local
72 if (mPos + needed > STORAGE_MAX_SIZE) {
78 mPos += needed;
83 const size_t needed = 1; local
84 if (mPos + needed > STORAGE_MAX_SIZE) {
89 mPos += needed;
94 const size_t needed = 1 + sizeof(value); local
95 if (mPos + needed > STORAGE_MAX_SIZE) {
101 mPos += needed;
106 const size_t needed = 1 + sizeof(value) local
119 const size_t needed = 1 + sizeof(int32_t) + stringLen; local
    [all...]
  /art/test/062-character-encodings/src/
Main.java 18 Set<String> needed = new HashSet<String>(standardCharsets); local
21 needed.remove(canonicalName);
23 System.out.println("Missing: " + needed);
  /external/bison/lib/
getdelim.c 99 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/elfutils/src/libcpu/
i386_data.h 402 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/valgrind/exp-bbv/tests/amd64-linux/
million.S 7 xor %rcx,%rcx # not needed, pads total to 1M
8 xor %rax,%rax # not needed, pads total to 1M
  /external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
ICUCurrencyMetaInfo.java 77 int needed = collector.collects(); local
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 == Region)
    [all...]
  /external/llvm/autoconf/m4/
need_dev_zero_for_mmap.m4 6 [AC_CACHE_CHECK([if /dev/zero is needed for mmap],
  /external/skia/src/gpu/
GrPlotMgr.h 18 size_t needed = width * height; local
19 if (needed <= sizeof(fStorage)) {
22 fBusy = SkNEW_ARRAY(char, needed);
  /bionic/libc/kernel/tools/
kernel.py 147 """return the set of all needed kernel headers"""
213 self.needed = {}
241 needed = {}
244 if not path in needed:
245 needed[path] = set()
256 if not path in needed:
257 needed[path] = set()
260 needed[path].add(user)
263 for header in needed.keys():
264 users = needed[header
    [all...]
  /external/icu/icu4c/source/samples/numfmt/
capi.c 25 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/llvm/tools/bugpoint-passes/
Android.mk 17 LOCAL_MODULE_CLASS := SHARED_LIBRARIES # needed for tblgen
  /external/openssh/
roaming_common.c 199 size_t available, needed; local
205 needed = write_bytes - *offset;
207 (unsigned long)needed, (unsigned long long)*offset);
208 if (needed > available)
209 fatal("Needed to resend more data than in the cache");
210 if (out_last < needed) {
211 int chunkend = needed - out_last;
216 atomicio(vwrite, fd, out_buf + (out_last - needed), needed);
  /ndk/tests/build/issue42841-LOCAL_PATH/jni/
Android.mk 4 # make: *** No rule to make target /issue42841-LOCAL_PATH.c', needed by
  /external/libvpx/libvpx/
tools_common.c 112 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);
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
tools_common.c 111 size_t needed = w; local
115 const size_t more = (left < needed) ? left : needed;
118 needed -= more;
121 if (needed > 0) {
122 shortread |= (fread(ptr + buf_position, 1, needed, f) < needed);
  /external/llvm/test/MC/ARM/AlignedBundling/
pad-align-to-bundle-end.s 24 # A 4-byte padding is needed here
35 # A 12-byte padding is needed here to push the group to the end of the next
  /frameworks/native/opengl/tools/glgen/stubs/gles11/
common.cpp 248 int needed = 1; local
254 needed = 2;
262 needed = 4;
266 glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &needed);
270 glGetIntegerv(GL_NUM_SHADER_BINARY_FORMATS, &needed);
283 needed = 2;
288 needed = 3;
299 needed = 4;
305 needed = 16;
309 glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &needed);
    [all...]
  /external/v8/test/mjsunit/
regress-3456.js 10 // of code needed to validate that IsValidReferenceExpression() works
  /external/wpa_supplicant_8/hs20/server/www/
spp.php 27 $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));
  /ndk/tests/device/whole-static-libs/jni/
Android.mk 8 # The GNU linker will strip un-needed object files from executables even whe
  /external/libedit/examples/
wtc1.c 44 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;
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
FrameworkActionBar.java 171 boolean needed = mActionBar.isOverflowPopupNeeded();
172 if (!needed) {
185 needed = !menus.get(0).isActionViewExpanded();
187 needed = count > 0;
190 return needed;
  /external/mesa3d/src/mapi/glapi/gen/
mesadef.py 65 print '; needed to force the Mesa OPENGL32.DLL to export the'
68 print '; be needed (for the gl* functions) since the entry'
71 print '; However, this file is still needed to export "internal"'
  /external/llvm/tools/llvm-ar/
Android.mk 36 # the additional dependency is needed when you run mm/mmm.

Completed in 1070 milliseconds

1 2 3 4 5 6 7 8 91011>>