Home
last modified time | relevance | path

Searched refs:tail (Results 1 – 25 of 37) sorted by relevance

12

/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DNetlink.cpp28 Slice tail = buf; in forEachNetlinkMessage() local
29 while (tail.size() >= sizeof(nlmsghdr)) { in forEachNetlinkMessage()
31 extract(tail, hdr); in forEachNetlinkMessage()
33 onMsg(hdr, drop(take(tail, len), sizeof(hdr))); in forEachNetlinkMessage()
34 tail = drop(tail, align(len, 2)); in forEachNetlinkMessage()
40 Slice tail = buf; in forEachNetlinkAttribute() local
41 while (tail.size() >= sizeof(nlattr)) { in forEachNetlinkAttribute()
43 extract(tail, hdr); in forEachNetlinkAttribute()
45 onAttr(hdr, drop(take(tail, len), sizeof(hdr))); in forEachNetlinkAttribute()
46 tail = drop(tail, align(len, 2)); in forEachNetlinkAttribute()
DSlice.cpp39 Slice tail = s; in toHex() local
42 while (!tail.empty()) { in toHex()
44 extract(tail, byte); in toHex()
49 tail = drop(tail, 1); in toHex()
/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/test/
Dsequence.rs19 } $($tail:tt)*) => {{
35 sequence_body!($ctx, $($tail)*).or(Some(poll))
39 } $($tail:tt)*) => {{
55 sequence_body!($ctx, $($tail)*).or(Some(poll))
59 } $($tail:tt)*) => {{
73 sequence_body!($ctx, $($tail)*)
77 } $($tail:tt)*) => {{
91 sequence_body!($ctx, $($tail)*)
95 } $($tail:tt)*) => {{
102 sequence_body!($ctx, $($tail)*)
[all …]
/packages/modules/Bluetooth/system/osi/src/
Dlist.cc16 list_node_t* tail; member
81 return list->tail->data; in list_back()
88 return list->tail; in list_back_node()
102 if (list->tail == prev_node) list->tail = node; in list_insert_after()
116 if (list->tail == NULL) list->tail = list->head; in list_prepend()
129 if (list->tail == NULL) { in list_append()
131 list->tail = node; in list_append()
133 list->tail->next = node; in list_append()
134 list->tail = node; in list_append()
148 if (list->tail == list->head) list->tail = next; in list_remove()
[all …]
Dringbuffer.cc33 uint8_t* tail; member
41 p->head = p->tail = p->base; in ringbuffer_init()
69 *rb->tail++ = *p++; in ringbuffer_insert()
70 if (rb->tail >= (rb->base + rb->total)) rb->tail = rb->base; in ringbuffer_insert()
/packages/modules/adb/
Dsocket_test.cpp65 auto connect = [](asocket* tail, asocket* head) { in TEST_F() argument
66 tail->peer = head; in TEST_F()
67 head->peer = tail; in TEST_F()
68 tail->ready(tail); in TEST_F()
77 asocket* tail = create_local_socket(unique_fd(intermediate[1])); in TEST_F() local
78 ASSERT_NE(nullptr, tail); in TEST_F()
81 prev_tail = tail; in TEST_F()
244 asocket* tail = create_local_socket(unique_fd(tail_fd[1])); in TEST_F() local
246 head->peer = tail; in TEST_F()
249 tail->peer = head; in TEST_F()
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/optics/
DDefaultOpticsManifest.kt92 val (head, tail) = accessPath.split() in composeTraversalInner() constant
93 val result = composeTraversalInner(head, isTail = false) compose composeTraversalInner(tail) in composeTraversalInner()
107 val tail = OpticalAccessPath(headDataType.name, selectors.drop(1)) in split() constant
108 return head to tail in split()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dokio-1.15.0.jar ... ) throws java.io.IOException okio.Segment tail int maxToCopy int bytesRead java.io.InputStream in ...
Djackson-core-2.11.1.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE META-INF ...
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DDnsPacketUtils.java181 final String tail = parseName(buf, depth + 1, maxLabelCount, in parseName() local
183 return TextUtils.isEmpty(tail) ? head : head + "." + tail; in parseName()
/packages/modules/Bluetooth/system/gd/rust/topshim/
Dbuild.rs29 paths.iter().map(|tail| format!("-I{}{}", search_root, tail)).collect::<Vec<String>>(); in main()
/packages/modules/Bluetooth/system/gd/packet/
Dpacket_view_unittest.cc419 PacketView<true> Slice(size_t header, size_t tail) { in Slice() argument
420 return PacketView<true>::GetLittleEndianSubview(header, tail); in Slice()
429 auto tail = GetParam().second; in TEST_P() local
437 auto single_slice = single_view.Slice(header, tail); in TEST_P()
438 auto multi_slice = multi_view.Slice(header, tail); in TEST_P()
440 ASSERT_EQ(single_slice.size(), tail - header); in TEST_P()
470 auto tail = GetParam().second; in TEST_P() local
478 ASSERT_DEATH(auto single_slice = single_view.Slice(header, tail), ""); in TEST_P()
479 ASSERT_DEATH(auto multi_slice = multi_view.Slice(header, tail), ""); in TEST_P()
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenPCLm.cpp994 ubyte *head, *tail, t0, t1, t2; in prepImageForBacksideDuplex() local
997 for (head = imagePtr, tail = imagePtr + numBytes - 1; tail > head;) { in prepImageForBacksideDuplex()
1002 *head = *(tail - 2); in prepImageForBacksideDuplex()
1003 *(head + 1) = *(tail - 1); in prepImageForBacksideDuplex()
1004 *(head + 2) = *(tail - 0); in prepImageForBacksideDuplex()
1005 *tail = t2; in prepImageForBacksideDuplex()
1006 *(tail - 1) = t1; in prepImageForBacksideDuplex()
1007 *(tail - 2) = t0; in prepImageForBacksideDuplex()
1010 tail -= 3; in prepImageForBacksideDuplex()
1013 for (head = imagePtr, tail = imagePtr + numBytes; tail > head;) { in prepImageForBacksideDuplex()
[all …]
/packages/modules/Bluetooth/floss/build/rustup/
Drustup.sh172 need_cmd tail
177 _current_exe_machine=$(head -c 19 /proc/self/exe | tail -c 1)
188 need_cmd tail
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DSlice.h129 inline size_t extract(const Slice src, Head& head, Tail&... tail) { in extract() argument
131 return extracted + extract(drop(src, extracted), tail...); in extract()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsDetail.java393 int tail = label.lastIndexOf('.'); in getLabel() local
394 if (tail >= 0 && tail < (label.length()-1)) { in getLabel()
395 label = label.substring(tail+1); in getLabel()
DRunningState.java767 int tail = label.lastIndexOf('.'); in makeLabel() local
768 if (tail >= 0) { in makeLabel()
769 label = label.substring(tail + 1, label.length()); in makeLabel()
/packages/modules/Bluetooth/system/packet/tests/
Dpacket_test_helper.h247 auto tail = (f == 0) ? entry in fractionEntry() local
252 AddAttributeEntry(tail); in fractionEntry()
/packages/modules/Wifi/service/tests/wifitests/
Dcoverage.sh39 tail -n 3 Android.bp
/packages/modules/NeuralNetworks/tools/api/
Dgenerate_api.py271 tail = match[2]
272 match = re.search("\s(.*)$", tail)
/packages/modules/NeuralNetworks/runtime/
DModelBuilder.cpp642 const std::vector<TailSpec>& tail, in countMatchingTrailingArguments() argument
650 if (!matchesSpec(tail[i - tailStartIndex], operand, smallOperandValues)) { in countMatchingTrailingArguments()
660 auto getCount = [this, &operation](uint32_t tailStartIndex, const std::vector<TailSpec>& tail) { in getNumTrailingArgumentsToRemove() argument
661 return countMatchingTrailingArguments(tailStartIndex, tail, operation, mOperands, in getNumTrailingArgumentsToRemove()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomVariable.cpp69 auto tail = upper == kInvalidValue ? mChoices.end() in setRange() local
71 NN_FUZZER_CHECK(head <= tail) << "Invalid range!"; in setRange()
72 if (head != mChoices.begin() || tail != mChoices.end()) { in setRange()
73 mChoices = std::vector<int>(head, tail); in setRange()
/packages/apps/ManagedProvisioning/studio-dev/
Dstudiow448 tail -n +"$insertionPoint" "$studioPath" >> "$tmpStudioSh"
/packages/services/Car/tests/BugReportApp/libs/
Djackson-core-2.9.9.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/LICENSE META-INF ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12