Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 96) sorted by relevance

1234

/packages/modules/StatsD/statsd/src/logd/
DLogEvent.cpp109 void LogEvent::parseInt32(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseInt32() argument
111 addToValues(pos, depth, value, last); in parseInt32()
115 void LogEvent::parseInt64(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseInt64() argument
117 addToValues(pos, depth, value, last); in parseInt64()
121 void LogEvent::parseString(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseString() argument
131 addToValues(pos, depth, value, last); in parseString()
135 void LogEvent::parseFloat(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseFloat() argument
137 addToValues(pos, depth, value, last); in parseFloat()
141 void LogEvent::parseBool(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseBool() argument
144 addToValues(pos, depth, value, last); in parseBool()
[all …]
DLogEvent.h221 void parseInt32(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations);
222 void parseInt64(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations);
223 void parseString(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations);
224 void parseFloat(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations);
225 void parseBool(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations);
226 void parseByteArray(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations);
227 void parseKeyValuePairs(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations);
228 void parseAttributionChain(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations);
281 void addToValues(int32_t* pos, int32_t depth, T& value, bool* last) { in addToValues() argument
285 if (last[i]) f.decorateLastPos(i); in addToValues()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DContentLimitingAdapterTest.java62 RecyclerView.ViewHolder last = getItemAtPosition(49); in setMaxItem_toLowerThanTotalItems() local
63 isTestViewHolderWithText(last, "Item 49"); in setMaxItem_toLowerThanTotalItems()
72 last = getItemAtPosition(20); in setMaxItem_toLowerThanTotalItems()
73 assertThat(last).isInstanceOf(ScrollingLimitedViewHolder.class); in setMaxItem_toLowerThanTotalItems()
79 last = getItemAtPosition(49); in setMaxItem_toLowerThanTotalItems()
80 isTestViewHolderWithText(last, "Item 49"); in setMaxItem_toLowerThanTotalItems()
86 RecyclerView.ViewHolder last = getItemAtPosition(49); in setMaxItem_toOne() local
87 isTestViewHolderWithText(last, "Item 49"); in setMaxItem_toOne()
95 last = getItemAtPosition(1); in setMaxItem_toOne()
96 assertThat(last).isInstanceOf(ScrollingLimitedViewHolder.class); in setMaxItem_toOne()
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_indexing.cpp36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,lo… in db_LeanPartitionOnPivot() argument
45 s_top=source+last; in db_LeanPartitionOnPivot()
47 d_top=dest+last; in db_LeanPartitionOnPivot()
62 long last=nr_elements-1; in db_LeanQuickSelect() local
76 for(;last-first>2;) in db_LeanQuickSelect()
78 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); in db_LeanQuickSelect()
79 db_LeanPartitionOnPivot(pivot,dest,source,first,last,&first_equal,&last_equal); in db_LeanQuickSelect()
81 if(first_equal>pos) last=first_equal-1; in db_LeanQuickSelect()
95 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); in db_LeanQuickSelect()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderUtils.java335 PtNodeInfo last = null; in getWordAtPositionWithoutParentAddress() local
346 if (null == last) continue; in getWordAtPositionWithoutParentAddress()
347 builder.append(new String(last.mCharacters, 0, last.mCharacters.length)); in getWordAtPositionWithoutParentAddress()
348 dictDecoder.setPosition(last.mChildrenAddress); in getWordAtPositionWithoutParentAddress()
350 groupPos = last.mChildrenAddress + BinaryDictIOUtils.getPtNodeCountSize(i); in getWordAtPositionWithoutParentAddress()
351 last = null; in getWordAtPositionWithoutParentAddress()
354 last = info; in getWordAtPositionWithoutParentAddress()
356 if (0 == i && BinaryDictIOUtils.hasChildrenAddress(last.mChildrenAddress)) { in getWordAtPositionWithoutParentAddress()
357 builder.append(new String(last.mCharacters, 0, last.mCharacters.length)); in getWordAtPositionWithoutParentAddress()
358 dictDecoder.setPosition(last.mChildrenAddress); in getWordAtPositionWithoutParentAddress()
[all …]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DBlend.cpp1196 MosaicFrame *last = frames[frames_size-1]; in SelectRelevantFrames() local
1201 double midX = last->width / 2.0; in SelectRelevantFrames()
1202 double midY = last->height / 2.0; in SelectRelevantFrames()
1234 relevant_frames[relevant_frames_size] = last; in SelectRelevantFrames()
1249 MosaicFrame *last = frames[frames_size-1]; in ComputeBlendParameters() local
1252 double lxpos = last->trs[0][2], lypos = last->trs[1][2]; in ComputeBlendParameters()
1257 double midX = last->width / 2.0; in ComputeBlendParameters()
1258 double midY = last->height / 2.0; in ComputeBlendParameters()
1298 if (is360) m_wb.theta = asin(last->trs[1][0]); in ComputeBlendParameters()
1335 z = ProjZ(last->trs, 0.0, midY, 1.0); in ComputeBlendParameters()
[all …]
DDelaunay.cpp590 int CDelaunay::constructList(EdgePointer last, int width, int height) argument
596 c = (int) ((curr = (EdgePointer) ((last & ~3))) >> 1);
598 for (last -= 4; last >= 0; last -= 4) {
599 src = orig(last);
600 nex = dest(last);
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DEchoingTextWatcher.java75 final String last = s.subSequence(len - 1, len).toString(); in onTextChanged() local
76 final char lastChar = last.charAt(0); in onTextChanged()
78 final String lowerCase = last.toLowerCase(Locale.getDefault()); in onTextChanged()
81 final String upperCase = last.toUpperCase(Locale.getDefault()); in onTextChanged()
/packages/services/Car/car-lib/
DAndroid.bp133 name: "android-car-last-released-api",
137 …cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -n | tail -1) $(genDir)/last-released-api.txt",
139 "last-released-api.txt",
144 name: "android-car-last-released-system-api",
148 …cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -n | tail -1) $(genDir)/last-released-system-a…
150 "last-released-system-api.txt",
162 api_file: ":android-car-last-released-api",
192 api_file: ":android-car-last-released-system-api",
261 previous_api: ":android-car-last-released-api",
/packages/modules/DnsResolver/
Dres_stats.cpp55 time_t last = 0; in android_net_res_stats_aggregate() local
100 last = stats->samples[stats->sample_next - 1].at; in android_net_res_stats_aggregate()
102 last = stats->samples[stats->sample_count - 1].at; in android_net_res_stats_aggregate()
105 *last_sample_time = last; in android_net_res_stats_aggregate()
/packages/apps/Dialer/java/com/android/contacts/common/util/
DStopWatch.java65 long last = start; in stopAndLog() local
70 sb.append((current - last)); in stopAndLog()
72 last = current; in stopAndLog()
/packages/apps/Contacts/src/com/android/contacts/util/
DStopWatch.java74 long last = start; in stopAndLog() local
79 sb.append((current - last)); in stopAndLog()
81 last = current; in stopAndLog()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Ddocument.h1192 MemberIterator last(data_.o.members + (data_.o.size - 1));
1193 if (data_.o.size > 1 && m != last) {
1195 *m = *last;
1227 MemberIterator EraseMember(ConstMemberIterator first, ConstMemberIterator last) {
1232 RAPIDJSON_ASSERT(first <= last);
1233 RAPIDJSON_ASSERT(last <= MemberEnd());
1236 for (MemberIterator itr = pos; itr != last; ++itr)
1238 std::memmove(&*pos, &*last, (MemberEnd() - last) * sizeof(Member));
1239 data_.o.size -= (last - first);
1428 ValueIterator Erase(ConstValueIterator first, ConstValueIterator last) {
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DNinePatchTexture.java303 int last = 0; in stretch() local
305 if ((x[i] - x[last]) < 1f) continue; in stretch()
306 x[++last] = x[i]; in stretch()
307 u[last] = u[i]; in stretch()
309 return last + 1; in stretch()
/packages/modules/adb/
DSYNC.TXT20 represented by four utf-8 characters. The last four bytes are a Little-Endian
43 4. A four-byte integer representing last modified time.
51 The remote file name is split into two parts separated by the last
67 to the last modified time for the file. The server responds to this last
Dsocket_test.cpp52 int last[2]; in TEST_F() local
60 ASSERT_EQ(0, adb_socketpair(last)) << strerror(errno); in TEST_F()
83 asocket* end = create_local_socket(unique_fd(last[0])); in TEST_F()
93 ASSERT_TRUE(ReadFdExactly(last[1], &write_buffer[0], write_buffer.size())); in TEST_F()
98 ASSERT_EQ(0, adb_close(last[1])); in TEST_F()
/packages/modules/NeuralNetworks/common/include/nnapi/
DSharedMemory.h73 GeneralResult<std::vector<base::unique_fd>> dupFds(ForwardFdIt first, ForwardFdIt last) { in dupFds() argument
75 fds.reserve(std::distance(first, last)); in dupFds()
76 for (; first != last; ++first) { in dupFds()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DFocusManager.java333 int last = mScope.layout.findLastVisibleItemPosition(); in findPagedTargetPosition() local
335 int pageSize = last - first + 1; in findPagedTargetPosition()
349 if (current < last) { in findPagedTargetPosition()
351 return last; in findPagedTargetPosition()
612 long last = mLastEvent.getEventTime(); in run() local
614 if ((now - last) > SEARCH_TIMEOUT) { in run()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Ditoatest.cpp78 T i = 1, last; in Verify() local
86 last = i; in Verify()
88 } while (last < i); in Verify()
Dvaluetest.cpp866 for (unsigned last = first; last <= n; last++) { in TEST() local
871 itr = x.Erase(x.Begin() + first, x.Begin() + last); in TEST()
872 if (last == n) in TEST()
877 size_t removeCount = last - first; in TEST()
1160 for (unsigned last = first; last <= n; last++) { in TEST() local
1165 itr = x.EraseMember(x.MemberBegin() + first, x.MemberBegin() + last); in TEST()
1166 if (last == n) in TEST()
1171 size_t removeCount = last - first; in TEST()
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DEventLogArray.java64 int last = (nextIndex + logs.length - 1) % logs.length; in addLog() local
66 if (isEntrySame(logs[last], type, event) && isEntrySame(logs[secondLast], type, event)) { in addLog()
67 logs[last].update(type, event, extras, mLogId); in addLog()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
DHistogramView.java113 float last = 0; in drawHistogram() local
125 last = x; in drawHistogram()
128 mHistoPath.lineTo(last, h); in drawHistogram()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DSplineMath.java32 int last = curve.length - 1; in calculatetCurve() local
33 curve[last][0] = (float) (points[points.length - 1][0]); in calculatetCurve()
34 curve[last][1] = (float) (points[points.length - 1][1]); in calculatetCurve()
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto1487 // RSSI from the last rssi poll (Only valid for active connections)
1490 // Link speed from the last rssi poll (Only valid for active connections)
1493 // Frequency from the last rssi poll (Only valid for active connections)
1526 // Bit mask of all supplicant state changes that occurred since the last event
1992 // Time passed since last boot in milliseconds
2392 // between the last two WifiLinkLayerStats.
2396 // between the last two WifiLinkLayerStats.
2400 // between the last two WifiLinkLayerStats.
2404 // between the last two WifiLinkLayerStats.
2407 // Time in millisecond between the last two WifiLinkLayerStats.
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionController.java1077 int first, last; in moveBox() local
1081 for (last = BOX_MAX; last >= -BOX_MAX; last--) { in moveBox()
1082 if (from.get(last) != Integer.MAX_VALUE) break; in moveBox()
1088 first = last = 0; in moveBox()
1096 for (int i = Math.max(0, first + 1); i < last; i++) { in moveBox()
1112 for (int i = Math.min(-1, last - 1); i > first; i--) { in moveBox()
1139 if (i >= first && i < last) { in moveBox()
1158 for (int i = last + 1; i <= BOX_MAX; i++) { in moveBox()

1234