Home
last modified time | relevance | path

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

/device/linaro/dragonboard/qcom/qrtr/src/
Dlist.h22 struct list_item *tail; member
36 list->tail = 0; in list_init()
42 item->prev = list->tail; in list_append()
43 if (list->tail != 0) in list_append()
44 list->tail->next = item; in list_append()
47 list->tail = item; in list_append()
55 list->tail = item; in list_prepend()
70 if (list->tail == after) in list_insert()
71 list->tail = item; in list_insert()
81 list->tail = 0; in list_remove()
[all …]
/device/generic/car/emulator/audio/driver/
Daudio_vbuffer.c43 audio_vbuffer->tail = 0; in audio_vbuffer_init()
85 if (audio_vbuffer->live == 0 || audio_vbuffer->head > audio_vbuffer->tail) { in audio_vbuffer_write()
88 } else if (audio_vbuffer->head < audio_vbuffer->tail) { in audio_vbuffer_write()
89 frames = MIN(frame_count, audio_vbuffer->tail - (audio_vbuffer->head)); in audio_vbuffer_write()
117 audio_vbuffer->tail > audio_vbuffer->head) { in audio_vbuffer_read()
119 MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->tail); in audio_vbuffer_read()
120 } else if (audio_vbuffer->tail < audio_vbuffer->head) { in audio_vbuffer_read()
121 frames = MIN(frame_count, audio_vbuffer->head - audio_vbuffer->tail); in audio_vbuffer_read()
127 &audio_vbuffer->data[audio_vbuffer->tail * audio_vbuffer->frame_size], in audio_vbuffer_read()
132 audio_vbuffer->tail = in audio_vbuffer_read()
[all …]
Daudio_vbuffer.h28 size_t tail; member
/device/google/contexthub/firmware/os/core/
DsimpleQ.c32 uint32_t head, tail, num, freeHead, entrySz; member
65 sq->tail = SIMPLE_QUEUE_IDX_NONE; in simpleQueueAlloc()
105 if (sq->tail == head) in simpleQueueDequeue()
106 sq->tail = SIMPLE_QUEUE_IDX_NONE; in simpleQueueDequeue()
136 if (sq->tail == idx) in simpleQueueAllocWithDiscard()
137 sq->tail = prev; in simpleQueueAllocWithDiscard()
172 simpleQueueGetNth(sq, sq->tail)->nextIdx = simpleQueueGetIdx(sq, e); in simpleQueueEnqueue()
173 sq->tail = simpleQueueGetIdx(sq, e); in simpleQueueEnqueue()
/device/google/sunfish/json-c/
Dlinkhash.c475 t->tail = new_t->tail; in lh_table_resize()
514 t->head = t->tail = &t->table[n]; in lh_table_insert()
517 t->tail->next = &t->table[n]; in lh_table_insert()
518 t->table[n].prev = t->tail; in lh_table_insert()
520 t->tail = &t->table[n]; in lh_table_insert()
575 if(t->tail == &t->table[n] && t->head == &t->table[n]) { in lh_table_delete_entry()
576 t->head = t->tail = NULL; in lh_table_delete_entry()
580 } else if (t->tail == &t->table[n]) { in lh_table_delete_entry()
581 t->tail->prev->next = NULL; in lh_table_delete_entry()
582 t->tail = t->tail->prev; in lh_table_delete_entry()
Dlinkhash.h133 struct lh_entry *tail; member
/device/google/redbull/json-c/
Dlinkhash.c475 t->tail = new_t->tail; in lh_table_resize()
514 t->head = t->tail = &t->table[n]; in lh_table_insert()
517 t->tail->next = &t->table[n]; in lh_table_insert()
518 t->table[n].prev = t->tail; in lh_table_insert()
520 t->tail = &t->table[n]; in lh_table_insert()
575 if(t->tail == &t->table[n] && t->head == &t->table[n]) { in lh_table_delete_entry()
576 t->head = t->tail = NULL; in lh_table_delete_entry()
580 } else if (t->tail == &t->table[n]) { in lh_table_delete_entry()
581 t->tail->prev->next = NULL; in lh_table_delete_entry()
582 t->tail = t->tail->prev; in lh_table_delete_entry()
Dlinkhash.h133 struct lh_entry *tail; member
/device/google/coral/json-c/
Dlinkhash.c475 t->tail = new_t->tail; in lh_table_resize()
514 t->head = t->tail = &t->table[n]; in lh_table_insert()
517 t->tail->next = &t->table[n]; in lh_table_insert()
518 t->table[n].prev = t->tail; in lh_table_insert()
520 t->tail = &t->table[n]; in lh_table_insert()
575 if(t->tail == &t->table[n] && t->head == &t->table[n]) { in lh_table_delete_entry()
576 t->head = t->tail = NULL; in lh_table_delete_entry()
580 } else if (t->tail == &t->table[n]) { in lh_table_delete_entry()
581 t->tail->prev->next = NULL; in lh_table_delete_entry()
582 t->tail = t->tail->prev; in lh_table_delete_entry()
Dlinkhash.h133 struct lh_entry *tail; member
/device/google/cuttlefish_prebuilts/scripts/
Dextract-ikconfig22 tail -c+$(($pos+8)) "$1" | zcat > $tmp1 2> /dev/null
36 tail -c+$pos "$img" | $3 > $tmp2 2> /dev/null
Dextract-vmlinux41 tail -c+$pos "$img" | $3 > $tmp 2> /dev/null
/device/google/cuttlefish/tools/
Dflash-blk-dev.sh102 parts=`sudo gdisk -l /dev/${blk_dev} | grep "^Number" -A999 | tail -n +2 | wc -l`
103 FIRST_SECTOR=`sudo gdisk -l /dev/${blk_dev} 2>/dev/null | tail -1 | tr -s ' ' | cut -d" " -f3`
Dcreate_base_image_arm.sh63 …ID_BUILD_TOP}"/device/google/cuttlefish_prebuilts/kernel -name '*-arm64-rockpi' | sort | tail -n 1)
/device/generic/vulkan-cereal/fake-android-guest/androidImpl/
DString8.cpp335 size_t tail = index; in removeAll() local
341 memmove(buf + tail, buf + index + skip, next - index - skip); in removeAll()
342 tail += next - index - skip; in removeAll()
345 unlockBuffer(tail); in removeAll()
/device/generic/vulkan-cereal/fake-android-guest/log/
Dlog_read.h254 struct logger_list* android_logger_list_alloc(int mode, unsigned int tail,
268 unsigned int tail, pid_t pid);
/device/common/
Dgenerate-packages.sh55 …TO_EXTRACT=`sed -n -e '/'" $COMPANY"'/,/;;/ p' $EXTRACT_LIST_FILENAME | tail -n+3 | head -n-2 | s…
175 …echo tail -n +$(expr 2 + $(cat PROLOGUE $COMPANY/COPYRIGHT PART1 $COMPANY/LICENSE PART2 PART3 | wc…
/device/google/cuttlefish/tools/copyright_bot/
Dcopyright_fixer.sh30 creation_date=`git log --follow --format=%as --date default $file_name | tail -1`
/device/generic/goldfish-opengl/system/vulkan/
Dvk_icd_gen.py39 return name.tail.strip()
/device/google/felix/vibrator/cs40l26/tests/
Dtest-vibrator.cpp186 auto tail = Queue(second, rest...); in Queue() local
187 auto string = std::get<0>(head) + "," + std::get<0>(tail); in Queue()
188 auto duration = std::get<1>(head) + std::get<1>(tail); in Queue()
/device/generic/vulkan-cereal/stream-servers/apigen-codec-common/X11/
DXlibint.h91 struct _XSQEvent *head, *tail; /* Input event queue. */ member
/device/google/trout/tools/tracing/proto/
Dperfetto_trace.proto3757 optional uint32 tail = 19; field
/device/generic/goldfish-opengl/system/profiler/
Dperfetto.h60734 uint32_t tail() const { return at<19>().as_uint32(); }