Home
last modified time | relevance | path

Searched refs:head (Results 1 – 25 of 57) sorted by relevance

123

/packages/modules/Bluetooth/system/osi/src/
Dlist.cc15 list_node_t* head; member
74 return list->head->data; in list_front()
113 node->next = list->head; in list_prepend()
115 list->head = node; in list_prepend()
116 if (list->tail == NULL) list->tail = list->head; in list_prepend()
130 list->head = node; in list_append()
146 if (list->head->data == data) { in list_remove()
147 list_node_t* next = list_free_node_(list, list->head); in list_remove()
148 if (list->tail == list->head) list->tail = next; in list_remove()
149 list->head = next; in list_remove()
[all …]
Dringbuffer.cc32 uint8_t* head; member
41 p->head = p->tail = p->base; in ringbuffer_init()
82 rb->head += length; in ringbuffer_delete()
83 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; in ringbuffer_delete()
97 uint8_t* b = ((rb->head - rb->base + offset) % rb->total) + rb->base; in ringbuffer_peek()
115 rb->head += copied; in ringbuffer_pop()
116 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; in ringbuffer_pop()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_uid.cc38 uid_set_node_t* head; member
48 uid_set_node_t* node = set->head; in uid_set_destroy()
54 set->head = NULL; in uid_set_destroy()
61 uid_set_node_t* node = set->head; in uid_set_find_or_create_node()
69 node->next = set->head; in uid_set_find_or_create_node()
70 set->head = node; in uid_set_find_or_create_node()
96 uid_set_node_t* node = set->head; in uid_set_read_and_clear()
108 node = set->head; in uid_set_read_and_clear()
Dbtif_profile_queue.cc122 const ConnectNode& head = connect_queue.front(); in queue_int_advance() local
123 log::info("removing connection request: {}", head.ToString()); in queue_int_advance()
196 ConnectNode& head = connect_queue.front(); in btif_queue_connect_next() local
198 log::info("Executing profile connection request:{}", head.ToString()); in btif_queue_connect_next()
199 bt_status_t b_status = head.connect(); in btif_queue_connect_next()
202 head.ToString()); in btif_queue_connect_next()
Dbtif_sock_logging.cc89 const uint8_t head = logger_index.load() % SOCK_LOGGER_SIZE_MAX; in btif_sock_dump() local
91 uint8_t index = head; in btif_sock_dump()
97 } while (index != head); in btif_sock_dump()
/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()
74 asocket* head = create_local_socket(unique_fd(intermediate[0])); in TEST_F() local
75 ASSERT_NE(nullptr, head); in TEST_F()
80 connect(prev_tail, head); in TEST_F()
243 asocket* head = create_local_socket(unique_fd(head_fd[1])); in TEST_F() local
246 head->peer = tail; in TEST_F()
247 head->ready(head); in TEST_F()
249 tail->peer = head; in TEST_F()
/packages/modules/Bluetooth/system/stack/btm/
Dsco_pkt_status.h84 int head = is_full ? offset : 0; in data_to_hex_string() local
89 int j = (head + i) % size; in data_to_hex_string()
105 int head = is_full ? offset : 0; in data_to_binary_string() local
110 int j = (head + i) % size; in data_to_binary_string()
/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()
106 val head = copy(selectors = headSelector) in split() constant
108 return head to tail in split()
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DSlice.h121 inline size_t extract(const Slice src, Head& head) { in extract() argument
122 return copy(makeSlice(head), src); in extract()
129 inline size_t extract(const Slice src, Head& head, Tail&... tail) { in extract() argument
130 const auto extracted = extract(src, head); in extract()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DDnsPacketUtils.java177 final String head = labelToString(label); in parseName() local
178 if (head.length() > MAXLABELSIZE) { in parseName()
183 return TextUtils.isEmpty(tail) ? head : head + "." + tail; in parseName()
/packages/modules/Bluetooth/floss/build/rustup/
Drustup.sh152 need_cmd head
160 _current_exe_head=$(head -c 5 /proc/self/exe )
171 need_cmd head
177 _current_exe_machine=$(head -c 19 /proc/self/exe | tail -c 1)
187 need_cmd head
/packages/providers/MediaProvider/tests/res/raw/
Dtest_wpl.wpl3 <head>
10 </head>
/packages/modules/Virtualization/zipfuse/testdata/
DREADME4 $ base64 /dev/urandom | head -c 100000 > dir/file1
5 $ base64 /dev/urandom | head -c 100000 > dir/file2
/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()
998 t0 = *head; in prepImageForBacksideDuplex()
999 t1 = *(head + 1); in prepImageForBacksideDuplex()
1000 t2 = *(head + 2); in prepImageForBacksideDuplex()
1002 *head = *(tail - 2); in prepImageForBacksideDuplex()
1003 *(head + 1) = *(tail - 1); in prepImageForBacksideDuplex()
1004 *(head + 2) = *(tail - 0); in prepImageForBacksideDuplex()
1009 head += 3; in prepImageForBacksideDuplex()
1013 for (head = imagePtr, tail = imagePtr + numBytes; tail > head;) { in prepImageForBacksideDuplex()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalMergeAlbum.java123 SortedMap<Integer, int[]> head = mIndex.headMap(start + 1); in getMediaItem() local
124 int markPos = head.lastKey(); in getMediaItem()
125 int[] subPos = head.get(markPos).clone(); in getMediaItem()
/packages/modules/adb/daemon/
Djdwp_service.cpp252 char head[header_len + 1]; in process_list_msg() local
254 snprintf(head, sizeof head, "%04zx", len); in process_list_msg()
255 memcpy(buffer, head, header_len); in process_list_msg()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dokio-1.15.0.jar ... [] DIGITS static final int REPLACEMENT_CHARACTER okio.Segment head long size public void <init> () public ...
Dhttpclient-4.5.12.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...
/packages/modules/Bluetooth/system/doc/
Dstyle_guide.md285 `git log --oneline path_to_files/filename_or_* | grep clang-format | head -n 5`
339 `git log --oneline | head -n 1`
349 `git log --oneline | head -n 1`
385 `git log --oneline | head -n 5`
413 `git log --oneline | head -n 2`
/packages/modules/Virtualization/authfs/
DAndroid.bp92 " --base-dir $$(dirname $(in) | head -1) " +
/packages/modules/Bluetooth/tools/lint/
DREADME.md45 …tps://g3doc.corp.google.com/company/teams/android-sysui/general_guides/writing_a_linter.md?cl=head)
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomVariable.cpp67 auto head = lower == kInvalidValue ? mChoices.begin() 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/modules/Bluetooth/
Dbuild.py683 head = subprocess.check_output(['git', 'rev-parse', 'HEAD'], cwd=cwd).strip()
684 if head != commit:
/packages/apps/ManagedProvisioning/studio-dev/
Dstudiow436 head -n "$(("$insertionPoint"-1))" "$studioPath" > "$tmpStudioSh"
/packages/modules/Virtualization/docs/
Dcustom_vm.md86 …rp.google.com/chrome/chromeos/system_services_team/dev_instructions/g3doc/setup_checkout.md?cl=head

123