/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ |
D | sostream.cpp | 125 size_t rv, space; in vformat() local 129 rv = vsnprintf (ipos(), space, fmt, args2); in vformat() 130 if (ssize_t(rv) < 0) in vformat() 131 rv = space; in vformat() 132 } while (rv >= space && rv < overflow(rv + 1)); in vformat() 133 SetPos (pos() + min (rv, space)); in vformat() 134 return (rv); in vformat() 142 const int rv = vformat (fmt, args); in format() local 144 return (rv); in format()
|
D | ustring.cpp | 140 int rv = memcmp (first1, first2, min (len1, len2)); in compare() local 141 return (rv ? rv : rvbylen); in compare() 224 string::iterator rv = memblock::erase (memblock::iterator(ep), n); in erase() local 226 return (rv); in erase() 357 size_t rv = size(); in vformat() local 359 reserve (rv); in vformat() 361 rv = vsnprintf (data(), memblock::capacity(), fmt, args2); in vformat() 362 rv = min (rv, memblock::capacity()); in vformat() 363 } while (rv > capacity()); in vformat() 364 resize (min (rv, capacity())); in vformat() [all …]
|
D | fstream.cpp | 233 int rv = ::ioctl (m_fd, request, argument); in ioctl() local 234 if (rv < 0) in ioctl() 236 return (rv); in ioctl() 242 int rv = ::fcntl (m_fd, request, argument); in fcntl() local 243 if (rv < 0) in fcntl() 245 return (rv); in fcntl()
|
D | ubitset.h | 59 inline bitset operator~ (void) const { bitset rv (*this); rv.flip(); return (rv); } 95 string rv (Size, '0'); in to_string() 96 convert_to_bitstring (m_Bits, s_nWords, rv); in to_string() 97 return (rv); in to_string()
|
D | uutility.h | 294 bool rv; in TestAndSet() local 299 : "=a" (rv), "=m" (*pm), "=r" (oldVal) in TestAndSet() 302 return (rv); in TestAndSet() 308 int rv; in TestAndSet() 309 asm volatile ("ldstub %1, %0" : "=r"(rv), "=m"(*pm) : "m"(pm)); in TestAndSet() 310 return (!rv); in TestAndSet()
|
D | upredalgo.h | 265 pair<ForwardIterator,ForwardIterator> rv; in equal_range() local 266 rv.second = rv.first = lower_bound (first, last, value, comp); in equal_range() 267 while (rv.second != last && !comp(value, *(rv.second))) in equal_range() 268 ++ rv.second; in equal_range() 269 return (rv); in equal_range()
|
D | ualgo.h | 427 pair<ForwardIterator,ForwardIterator> rv; in equal_range() local 428 rv.second = rv.first = lower_bound (first, last, value); in equal_range() 429 while (rv.second != last && !(value < *(rv.second))) in equal_range() 430 ++ rv.second; in equal_range() 431 return (rv); in equal_range()
|
D | ufunction.h | 55 #define STD_BINARY_FUNCTOR(name, rv, func) \ argument 56 template <class T> struct name : public binary_function<T,T,rv> \ 57 { inline rv operator()(const T& a, const T& b) const { return func; } }; 58 #define STD_UNARY_FUNCTOR(name, rv, func) \ argument 59 template <class T> struct name : public unary_function<T,rv> \ 60 { inline rv operator()(const T& a) const { return func; } };
|
D | simd.h | 435 register int32_t rv; in operator() local 438 : "=r"(rv) : "m"(a) : "xmm0" ); in operator() 439 return (rv); in operator() 442 register uint32_t rv; in operator() local 445 : "=r"(rv) : "m"(a) : "xmm0" ); in operator() 446 return (rv); in operator()
|
D | umemory.h | 49 inline pointer release (void) { pointer rv (m_p); m_p = NULL; return (rv); } in release()
|
/frameworks/base/libs/ui/ |
D | KeyCharacterMap.cpp | 159 KeyCharacterMap* rv = NULL; in load() local 176 rv = try_file(path); in load() 177 if (rv != NULL) { in load() 178 return rv; in load() 186 rv = try_file(path); in load() 187 if (rv == NULL) { in load() 193 return rv; in load() 199 KeyCharacterMap* rv = NULL; in try_file() local 254 rv = new KeyCharacterMap; in try_file() 255 rv->m_keyCount = header.keycount; in try_file() [all …]
|
/frameworks/base/core/jni/ |
D | android_text_KeyCharacterMap.cpp | 52 jchar rv; in getMatch() local 56 rv = reinterpret_cast<KeyCharacterMap*>(ptr)->getMatch(keycode, ch, chsize, modifiers); in getMatch() 59 return rv; in getMatch() 75 jboolean rv; in getKeyData() local 84 rv = kmap->getKeyData(keycode, &displayLabel, &number, ch); in getKeyData() 90 return rv; in getKeyData() 116 jlongArray rv = env->NewLongArray(N); in getEvents() local 117 uint64_t* results = (uint64_t*)env->GetLongArrayElements(rv, NULL); in getEvents() 126 env->ReleaseLongArrayElements(rv, (jlong*)results, 0); in getEvents() 127 return rv; in getEvents()
|
/frameworks/base/core/java/android/view/ |
D | KeyCharacterMap.java | 264 KeyEvent[] rv = new KeyEvent[len]; in getEvents() local 274 rv[index] = new KeyEvent(now, now, KeyEvent.ACTION_DOWN, in getEvents() 280 rv[index] = new KeyEvent(now, now, KeyEvent.ACTION_DOWN, in getEvents() 286 rv[index] = new KeyEvent(now, now, KeyEvent.ACTION_DOWN, in getEvents() 292 rv[index] = new KeyEvent(now, now, KeyEvent.ACTION_DOWN, in getEvents() 295 rv[index] = new KeyEvent(now, now, KeyEvent.ACTION_UP, in getEvents() 301 rv[index] = new KeyEvent(now, now, KeyEvent.ACTION_UP, in getEvents() 307 rv[index] = new KeyEvent(now, now, KeyEvent.ACTION_UP, in getEvents() 313 rv[index] = new KeyEvent(now, now, KeyEvent.ACTION_UP, in getEvents() 319 return rv; in getEvents()
|
/frameworks/base/tools/aidl/ |
D | aidl_language_l.l | 193 int rv = yyparse(); in parse_aidl() local 195 rv = g_error; in parse_aidl() 204 return rv; in parse_aidl()
|
D | aidl.cpp | 139 char* rv = (char*)malloc(len+1); in parse_import_statement() local 140 memcpy(rv, text, len); in parse_import_statement() 141 rv[len] = '\0'; in parse_import_statement() 143 return rv; in parse_import_statement()
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | AsmGenerator.java | 292 ClassVisitor rv = cw; 294 rv = new RenameClassAdapter(cw, className, newName); 299 newName, rv,
|
/frameworks/base/awt/java/awt/ |
D | Component.java | 1626 public Point getLocation(Point rv) { in getLocation() argument 1629 if (rv == null) { in getLocation() 1630 rv = new Point(); in getLocation() 1632 rv.setLocation(getX(), getY()); in getLocation() 1633 return rv; in getLocation() 1676 public Dimension getSize(Dimension rv) { in getSize() argument 1679 if (rv == null) { in getSize() 1680 rv = new Dimension(); in getSize() 1682 rv.setSize(getWidth(), getHeight()); in getSize() 1683 return rv; in getSize() [all …]
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetHostView.java | 289 boolean rv = super.drawChild(canvas, child, drawingTime); in drawChild() 300 return rv; in drawChild()
|
/frameworks/base/test-runner/android/test/ |
D | TestRunner.java | 693 int rv = 0; in countTests() local 695 rv += countTests(c, child); in countTests() 697 return rv; in countTests()
|