/frameworks/support/app-toolkit/core-testing/src/test/java/androidx/arch/core/executor/testing/ |
InstantTaskExecutorRuleTest.java | 41 final Thread current = Thread.currentThread(); local 45 assertTrue(Thread.currentThread() == current); 55 final Thread current = Thread.currentThread(); local 59 assertTrue(Thread.currentThread() == current);
|
/hardware/nxp/secure_element/libese-spi/p73/lib/ |
phNxpEseDataMgr.cpp | 25 static phNxpEse_sCoreRecvBuff_List_t *head = NULL, *current = NULL; variable 69 current = NULL; 95 current = newNode; 97 current->pNext = newNode; 98 current = newNode; 141 phNxpEse_sCoreRecvBuff_List_t *current, *next; local 142 current = head; 148 while (current != NULL) { 149 next = current->pNext; 150 phNxpEse_free(current); [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
ThreadTest.java | 38 Thread current = Thread.currentThread(); local 39 ThreadGroup tg = current.getThreadGroup(); 41 assertSame(tg, current.getUncaughtExceptionHandler()); 42 current.setUncaughtExceptionHandler(eh); 44 assertSame(eh, current.getUncaughtExceptionHandler()); 46 current.setUncaughtExceptionHandler(null); 48 assertSame(tg, current.getUncaughtExceptionHandler());
|
/libcore/luni/src/test/java/libcore/java/text/ |
DateFormatTest.java | 52 final Date current = new Date(1468250177000L); // 20160711 15:16:17 GMT local 54 String actualDateString = format.format(current); 56 String expectedDateString = sdf.format(current);
|
/libcore/ojluni/src/main/java/java/text/ |
CharacterIterator.java | 50 * Iterators maintain a current character index, whose valid range is from 53 * The current index can be retrieved by calling getIndex() and set directly 59 * also returned by other methods to indicate that the current index is 132 * Gets the character at the current position (as returned by getIndex()). 133 * @return the character at the current position or DONE if the current 137 public char current(); method in interface:CharacterIterator 142 * to getEndIndex(), the current index is reset to getEndIndex() and 151 * at the new index. If the current index is getBeginIndex(), the index 153 * @return the character at the new position or DONE if the current [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SuggestionCursorWrapper.java | 76 protected SuggestionCursor current() { method in class:SuggestionCursorWrapper
|
/packages/apps/Settings/src/com/android/settings/display/ |
VrDisplayPreferenceController.java | 49 int current = Settings.Secure.getIntForUser(mContext.getContentResolver(), local 52 if (current == 0) {
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
dictionary_utils.cpp | 33 std::vector<DicNode> current; local 41 current.emplace_back(); 42 DicNodeUtils::initAsRoot(dictionaryStructurePolicy, prevWordIds, ¤t.front()); 46 for (const DicNode &dicNode : current) { 54 current.clear(); 55 current.swap(next); 59 for (const DicNode &dicNode : current) {
|
/prebuilts/go/darwin-x86/src/os/user/ |
lookup_windows.go | 102 func current() (*User, error) { func
|
/prebuilts/go/linux-x86/src/os/user/ |
lookup_windows.go | 102 func current() (*User, error) { func
|
/prebuilts/ndk/r16/sources/third_party/vulkan/src/layers/ |
parameter_name.h | 111 std::string::size_type current = 0; local 116 current = source_.find(IndexFormatSpecifier, last); 117 if (current == std::string::npos) { 120 format << source_.substr(last, (current - last)) << index; 121 last = current + IndexFormatSpecifier.length();
|
/system/core/init/parser/ |
tokenizer.cpp | 33 const Tokenizer::Token& Tokenizer::current() { function in class:init::Tokenizer
|
/system/core/libunwindstack/ |
DwarfEhFrameWithHdr.cpp | 125 size_t current = (first + last) / 2; local 126 const FdeInfo* info = GetFdeInfoFromIndex(current); 135 last = current; 137 first = current + 1; 180 for (size_t current = fde_info_.size(); 181 current < fde_count_ && memory_.cur_offset() < entries_end_; current++) { 190 FdeInfo* info = &fde_info_[current]; 192 fde_info_.erase(current);
|
/tools/loganalysis/src/com/android/loganalysis/util/config/ |
OptionUpdateRule.java | 32 Object update(String optionName, Object current, Object update) 34 if (current == null) return update; 35 return current; 42 Object update(String optionName, Object current, Object update) 51 Object update(String optionName, Object current, Object update) 53 if (current == null) return update; 54 if (compare(optionName, current, update) < 0) { 55 // current < update; so use the update 58 // current >= update; so keep current 101 Object current; local [all...] |
/tools/tradefederation/core/src/com/android/tradefed/config/ |
OptionUpdateRule.java | 31 boolean shouldUpdate(String optionName, Object current, Object update) 33 return current == null; 40 boolean shouldUpdate(String optionName, Object current, Object update) 49 boolean shouldUpdate(String optionName, Object current, Object update) 51 return current == null || compare(optionName, current, update) < 0; 58 boolean shouldUpdate(String optionName, Object current, Object update) 60 return current == null || compare(optionName, current, update) > 0; 67 boolean shouldUpdate(String optionName, Object current, Object update 88 Object current; local [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
AbstractMessageParser.java | 119 CharArrayBuffer current = null; local 122 if (current == null) { 123 current = new CharArrayBuffer(64); 125 current.clear(); 127 int l = inbuffer.readLine(current); 128 if (l == -1 || current.length() < 1) { 135 if ((current.charAt(0) == ' ' || current.charAt(0) == '\t') && previous != null) { 139 while (i < current.length()) { 140 char ch = current.charAt(i) [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/ |
BitmapPreFiller.java | 26 private BitmapPreFillRunner current; field in class:BitmapPreFiller 35 if (current != null) { 36 current.cancel(); 50 current = new BitmapPreFillRunner(bitmapPool, memoryCache, allocationOrder); 51 handler.post(current);
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ |
TextElementIteratorsFactory.java | 36 private Iterator<E> current; field in class:TextElementIteratorsFactory.CascadingIterator 41 public CascadingIterator(Iterator<E> current, Provider<E> nextProvider) { 43 this.current = current; 49 if (current.hasNext()) { 60 if (current.hasNext()) { 63 return current.next(); 76 current.remove();
|
/art/compiler/optimizing/ |
linear_order.cc | 45 HBasicBlock* current = *insert_pos; local 46 HLoopInformation* current_loop = current->GetLoopInformation(); 94 // current reverse post order in the graph, but it would require making 115 HBasicBlock* current = worklist.back(); local 117 linear_order[num_added] = current; 119 for (HBasicBlock* successor : current->GetSuccessors()) {
|
live_interval_test.cc | 169 LiveRange* current = interval->GetFirstRange(); local 173 i < number_of_expected_ranges && current != nullptr; 174 ++i, current = current->GetNext()) { 175 if (expected[i][0] != current->GetStart()) { 178 if (expected[i][1] != current->GetEnd()) { 183 if (current != nullptr || i != number_of_expected_ranges) {
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
DiffedFieldValue.java | 37 * The value of the field in the current heap dump. 39 public final Value current; field in class:DiffedFieldValue 58 * The field exists in the current heap dump but not the baseline. 63 * The field exists in both the current and baseline heap dumps. 68 * The field exists in the baseline heap dump but not the current. 74 * Constructs a DiffedFieldValue where there are both current and baseline 77 * @param current the current field 81 public static DiffedFieldValue matched(FieldValue current, FieldValue baseline) { 82 return new DiffedFieldValue(current.name [all...] |
/cts/tests/openglperf2/jni/primitive/shaderperf/ |
ShaderPerfRenderer.cpp | 84 char current; local 86 current = source[srcAddr]; 87 dest[destAddr] = current; 90 } while (current != '\0');
|
/cts/tests/tests/net/jni/ |
NativeDnsJni.c | 43 struct addrinfo *current = answer; local 44 while (current != NULL) { 46 if (current->ai_addr->sa_family == AF_INET) { 47 inet_ntop(current->ai_family, &((struct sockaddr_in *)current->ai_addr)->sin_addr, 51 } else if (current->ai_addr->sa_family == AF_INET6) { 52 inet_ntop(current->ai_family, &((struct sockaddr_in6 *)current->ai_addr)->sin6_addr, 57 current = current->ai_next 76 struct addrinfo *current = answer; local 152 char **current = my_hostent->h_addr_list; local [all...] |
/device/generic/goldfish/wifi/ipv6proxy/ |
packet.cpp | 117 char* current = reinterpret_cast<char*>(currentHeader); local 118 if (currentHeader < mFirstOpt || current >= end) { 122 char* next = current + currentHeader->nd_opt_len * 8u;
|
/external/android-clat/ |
checksum.c | 30 * current - the current checksum (or 0 to start a new checksum) 34 uint32_t ip_checksum_add(uint32_t current, const void *data, int len) { 35 uint32_t checksum = current; 95 uint32_t current = 0; local 96 current = ip_checksum_add(current, &(ip6->ip6_src), sizeof(struct in6_addr)); 97 current = ip_checksum_add(current, &(ip6->ip6_dst), sizeof(struct in6_addr)); 98 current = ip_checksum_add(current, &checksum_len, sizeof(checksum_len)) 115 uint32_t current = 0; local [all...] |