Home
last modified time | relevance | path

Searched defs:cur (Results 1 – 25 of 181) sorted by relevance

12345678

/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DCollectionUtils.java120 public static @NonNull <I, O> List<O> map(@Nullable List<I> cur, in map()
133 public static @NonNull <I, O> Set<O> map(@Nullable Set<I> cur, in map()
193 public static @NonNull <T> Set<T> emptyIfNull(@Nullable Set<T> cur) { in emptyIfNull()
211 public static int size(@Nullable Collection<?> cur) { in size()
218 public static int size(@Nullable Map<?, ?> cur) { in size()
225 public static boolean isEmpty(@Nullable Collection<?> cur) { in isEmpty()
280 public static @Nullable <T> T find(@Nullable Set<T> cur, in find()
349 public static @NonNull <T> Set<T> add(@Nullable Set<T> cur, T val) { in add()
394 public static @NonNull <T> List<T> copyOf(@Nullable List<T> cur) { in copyOf()
401 public static @NonNull <T> Set<T> copyOf(@Nullable Set<T> cur) { in copyOf()
[all …]
H A DArrayUtils.java452 public static @NonNull int[] appendInt(@Nullable int[] cur, int val, in appendInt()
476 public static @NonNull int[] appendInt(@Nullable int[] cur, int val) { in appendInt()
483 public static @Nullable int[] removeInt(@Nullable int[] cur, int val) { in removeInt()
530 public static @NonNull long[] appendLong(@Nullable long[] cur, long val, in appendLong()
553 public static @NonNull long[] appendLong(@Nullable long[] cur, long val) { in appendLong()
560 public static @Nullable long[] removeLong(@Nullable long[] cur, long val) { in removeLong()
595 public static @NonNull <T> ArraySet<T> add(@Nullable ArraySet<T> cur, T val) { in add()
606 public static @NonNull <T> ArraySet<T> addAll(@Nullable ArraySet<T> cur, in addAll()
629 public static @NonNull <T> ArrayList<T> add(@Nullable ArrayList<T> cur, T val) { in add()
657 public static <T> boolean contains(@Nullable Collection<T> cur, T val) { in contains()
[all …]
/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/util/
H A DContactUtilTest.java123 final Cursor cur = in deleteTestContacts() local
142 final Cursor cur = ContactUtil.getPhones(getContext()) in ingoredTestGetPhones() local
159 final Cursor cur = ContactUtil.filterPhones(getContext(), TEST_NAME_PREFIX) in ingoredTestFilterPhonesByName() local
181 final Cursor cur = ContactUtil.filterPhones(getContext(), filter) in ingoredTestFilterPhonesByPartialNumber() local
203 final Cursor cur = ContactUtil.filterPhones(getContext(), filter) in ingoredTestFilterPhonesByFullNumber() local
223 final Cursor cur = ContactUtil.lookupPhone(getContext(), filter) in ingoredTestLookupPhoneWithAreaCode() local
243 final Cursor cur = ContactUtil.lookupPhone(getContext(), filter) in ingoredTestLookupPhoneWithoutAreaCode() local
256 final Cursor cur = ContactUtil.getFrequentContacts(getContext()) in ingoredTestGetFrequentPhones() local
270 final Cursor cur = ContactUtil.filterEmails(getContext(), "john@") in ingoredTestFilterEmails() local
283 final Cursor cur = ContactUtil.lookupEmail(getContext(), "john@gmail.com") in ingoredTestLookupEmail() local
/aosp12/art/libartbase/base/
H A Dleb128.h37 int cur = *(ptr++); in DecodeUnsignedLeb128() local
74 int cur = *(ptr++); in DecodeUnsignedLeb128Checked() local
122 int cur = *(ptr++); in DecodeSignedLeb128() local
163 int cur = *(ptr++); in DecodeSignedLeb128Checked() local
330 void InsertBackUnsigned(It cur, It end) { in InsertBackUnsigned()
341 void InsertBackSigned(It cur, It end) { in InsertBackSigned()
H A Dsafe_copy.cc51 const char* cur = static_cast<const char*>(src); in SafeCopy() local
/aosp12/frameworks/compile/mclinker/lib/MC/
H A DAttributeSet.cpp26 iterator cur = m_AttrSet.begin(); in ~AttributeSet() local
39 const_iterator cur = m_AttrSet.begin(); in exists() local
/aosp12/frameworks/av/media/codecs/m4v_h263/enc/src/
H A Ddct.cpp38 Void BlockDCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) in BlockDCT_AANwSub()
267 Void Block4x4DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) in Block4x4DCT_AANwSub()
473 Void Block2x2DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) in Block2x2DCT_AANwSub()
652 Void BlockDCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) in BlockDCT_AANIntra()
863 Void Block4x4DCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) in Block4x4DCT_AANIntra()
1050 Void Block2x2DCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) in Block2x2DCT_AANIntra()
1210 void Block1x1DCTwSub(Short *out, UChar *cur, UChar *pred, Int width) in Block1x1DCTwSub()
1247 void Block1x1DCTIntra(Short *out, UChar *cur, UChar *dummy2, Int width) in Block1x1DCTIntra()
/aosp12/frameworks/av/media/libstagefright/
H A DAHierarchicalStateMachine.cpp57 sp<AState> cur = mState; in handleMessage() local
81 sp<AState> cur = mState; in changeState() local
/aosp12/art/runtime/gc/accounting/
H A Dcard_table_test.cc125 for (uint8_t* cur = start - CardTable::kCardSize; cur >= HeapBegin(); in TEST_F() local
130 for (uint8_t* cur = end + CardTable::kCardSize; cur < HeapLimit(); in TEST_F() local
136 for (uint8_t* cur = start; cur < AlignUp(end, CardTable::kCardSize); in TEST_F() local
/aosp12/packages/modules/DnsResolver/
H A DResolverStats.h67 int32_t* cur = &(*out)[ofs]; in encode() local
82 const int32_t* cur = &in[ofs]; in decode() local
/aosp12/frameworks/av/services/audiopolicy/engine/config/src/
H A DEngineConfig.cpp157 std::string getXmlAttribute(const xmlNode *cur, const char *attribute) in getXmlAttribute()
172 for (xmlNode *cur = root->xmlChildrenNode; cur != NULL; cur = cur->next) { in getReference() local
187 static status_t deserializeCollection(_xmlDoc *doc, const _xmlNode *cur, in deserializeCollection()
217 static status_t parseAttributes(const _xmlNode *cur, audio_attributes_t &attributes) in parseAttributes()
260 static status_t deserializeAttributes(_xmlDoc *doc, const _xmlNode *cur, in deserializeAttributes()
287 static status_t deserializeAttributesCollection(_xmlDoc *doc, const _xmlNode *cur, in deserializeAttributesCollection()
537 status_t deserializeLegacyVolume(_xmlDoc *doc, const _xmlNode *cur, in deserializeLegacyVolume()
585 static status_t deserializeLegacyVolumeCollection(_xmlDoc *doc, const _xmlNode *cur, in deserializeLegacyVolumeCollection()
665 xmlNodePtr cur = xmlDocGetRootElement(doc.get()); in parse() local
701 xmlNodePtr cur = xmlDocGetRootElement(doc.get()); in parseLegacyVolumeFile() local
/aosp12/art/runtime/
H A Dhandle_scope-inl.h243 const LocalScopeType* cur = current_scope_; in NumberOfReferences() local
253 const LocalScopeType* cur = current_scope_; in Contains() local
265 LocalScopeType* cur = current_scope_; in VisitRoots() local
/aosp12/system/memory/libmeminfo/tools/
H A Dwsstop.cpp78 static bool same_vma(const Vma& cur, const Vma& last) { in same_vma()
83 static Vma diff_vma_params(const Vma& cur, const Vma& last) { in diff_vma_params()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DLaunchWarningWindow.java30 public LaunchWarningWindow(Context context, ActivityRecord cur, ActivityRecord next) { in LaunchWarningWindow()
/aosp12/art/runtime/gc/
H A Dreference_queue.cc105 ObjPtr<mirror::Reference> cur = list_; in Dump() local
123 ObjPtr<mirror::Reference> cur = list_; in GetLength() local
/aosp12/art/test/1908-suspend-native-resume-self/src/art/
H A DTest1908.java66 public static native int nativeSpinAndResume(Thread cur); in nativeSpinAndResume()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DPreferredIntentResolver.java62 PreferredActivity cur = pal.get(i); in shouldAddPreferredActivity() local
/aosp12/art/test/984-obsolete-invoke/
H A Dobsolete_invoke.cc34 jthread cur; in Java_art_Test984_getFirstObsoleteMethod984() local
/aosp12/frameworks/base/core/java/android/os/
H A DPooledStringWriter.java59 final Integer cur = mPool.get(str); in writeString() local
/aosp12/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseGeneralTest.java637 Cursor cur = mDatabase.rawQuery("PRAGMA table_info(pragma_test)", null); in testTableInfoPragma() local
678 Cursor cur; in testInsertHelper() local
764 Cursor cur = mDatabase.rawQuery("PRAGMA database_list;", null); in testSemicolonsInStatements() local
871 Cursor cur = mDatabase.rawQuery( in testCollateLocalizedForJapanese() local
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
H A DArrayUtils.java61 public static String[] appendString(String[] cur, String val) { in appendString()
/aosp12/art/compiler/utils/
H A Dassembler.h141 SlowPath* cur = slow_path_; in EnqueueSlowPath() local
148 SlowPath* cur = slow_path_; in EmitSlowPaths() local
154 delete cur; in EmitSlowPaths() local
/aosp12/packages/modules/DnsResolver/tests/dns_responder/
H A Ddns_responder.cpp187 const char* cur = buffer; in read() local
235 const char* cur = buffer + sizeof(uint8_t); in parseField() local
258 const char* cur = qname.read(buffer, buffer_end); in read() local
292 const char* cur = name.read(buffer, buffer_end); in read() local
361 const char* cur = readHeader(buffer, buffer_end, &qdcount, &ancount, &nscount, &arcount); in read() local
735 const char* cur = header.read(buffer, buffer_end); in handleDNSRequest() local
1187 const char* cur = header.read(response, response_end); in handleQuery() local
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DBatteryStatsBackgroundStatsTest.java43 long cur = 0; // realtime in us in testBgTimeBase() local
111 long cur = 0; // realtime in us in testScreenOffBgTimeBase() local
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DSplineMath.java38 double[] cur = null; in calculatetCurve() local
78 double[] cur = null; in getValue() local

12345678