Searched refs:item (Results 1 - 20 of 20) sorted by relevance

/system/wlan/ti/lib/
H A Dshlist.c19 SHLIST *item; local
21 for(item=head->next;( item != head );item=item->next)
23 if( func( val, item->data ) ) {
24 return( item );
28 if( item->data == val ) {
29 return( item );
51 SHLIST *item; local
78 shListDelItem( SHLIST *head, SHLIST *item, shListFree func ) argument
96 SHLIST *item; local
114 SHLIST *item; local
133 SHLIST *item, *iptr; local
158 SHLIST *item; local
170 SHLIST *item; local
[all...]
H A Dscanmerge.c126 Routine Description: copies scan result structure to scan merge list item
149 Return Value: Pointer to scan merge item
170 Routine Description: Looks for scan merge item in scan results array
172 scan_ptr - pointer to scan merge item
175 Return Value: 1 - if item was found, 0 - otherwise
194 res_ptr - pointer to scan result item
195 Return Value: pointer to new scan result item, or NULL
237 SHLIST *item, *del_item; local
243 item = shListGetFirstItem(head);
244 while( item !
325 SHLIST *item; local
[all...]
H A Dshlist.h23 SHLIST *shListGetNextItem( SHLIST *head, SHLIST *item );
24 SHLIST *shListGetPrevItem( SHLIST *head, SHLIST *item );
25 void shListDelItem( SHLIST *head, SHLIST *item, shListFree func );
/system/core/libdiskconfig/
H A Dwrite_lst.c32 struct write_list *item; local
34 if (!(item = malloc(sizeof(struct write_list) + data_len))) {
39 item->len = data_len;
40 return item;
44 free_wl(struct write_list *item) argument
46 if (item)
47 free(item);
51 wlist_add(struct write_list **lst, struct write_list *item) argument
53 item->next = (*lst);
54 *lst = item;
[all...]
H A Dconfig_mbr.c74 struct write_list *item; local
82 if (!(item = alloc_wl(sizeof(struct pc_partition)))) {
91 item->offset = (loff_t)((uint32_t)((uint8_t *)(&mbr->ptable[pnum])));
94 pentry = (struct pc_partition *) &item->data;
129 return item;
144 struct write_list *item; local
148 if (!(item = alloc_wl(sizeof(struct pc_boot_record)))) {
155 item->offset = (*lba) * dinfo->sect_size;
158 ebr = (struct pc_boot_record *) &item->data;
203 return item;
[all...]
/system/core/libpixelflinger/tinyutils/
H A DVectorImpl.h66 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1);
69 void push(const void* item);
71 ssize_t add(const void* item);
73 ssize_t replaceAt(const void* item, size_t index);
89 virtual void do_splat(void* dest, const void* item, size_t num) const = 0;
110 inline void _do_splat(void* dest, const void* item, size_t num) const;
134 //! finds the index of an item
135 ssize_t indexOf(const void* item) const;
137 //! finds where this item should be inserted
138 size_t orderOf(const void* item) cons
[all...]
H A DVectorImpl.cpp131 ssize_t VectorImpl::insertAt(const void* item, size_t index, size_t numItems) argument
137 if (item) {
138 _do_splat(where, item, numItems);
157 void VectorImpl::push(const void* item) argument
159 insertAt(item, size());
167 ssize_t VectorImpl::add(const void* item) argument
169 return insertAt(item, size());
182 void* item = editItemLocation(index);
183 if (item == 0)
185 _do_destroy(item,
[all...]
H A DSortedVector.h80 //! finds the index of an item
81 ssize_t indexOf(const TYPE& item) const;
83 //! finds where this item should be inserted
84 size_t orderOf(const TYPE& item) const;
91 //! read-only access to an item at a given index
104 //! add an item in the right place (and replace the one that is there)
105 ssize_t add(const TYPE& item);
107 //! editItemAt() MUST NOT change the order of this item
116 //! removes an item
121 //! remove one item
[all...]
H A DVector.h82 //! read-only access to an item at a given index
95 //! copy-on write support, grants write access to an item
117 //! insert on onr several items initialized from a prototype item
121 //! pushes an item initialized with its default constructor
123 //! pushes an item on the top of the stack
124 void push(const TYPE& item);
125 //! same as push() but returns the index the item was added at (or an error)
127 //! same as push() but returns the index the item was added at (or an error)
128 ssize_t add(const TYPE& item);
129 //! replace an item wit
257 insertAt(const TYPE& item, size_t index, size_t numItems) argument
262 push(const TYPE& item) argument
267 add(const TYPE& item) argument
272 replaceAt(const TYPE& item, size_t index) argument
324 do_splat(void* dest, const void* item, size_t num) const argument
[all...]
H A DKeyedVector.h71 ssize_t add(const KEY& key, const VALUE& item);
72 ssize_t replaceValueFor(const KEY& key, const VALUE& item);
73 ssize_t replaceValueAt(size_t index, const VALUE& item);
157 ssize_t KeyedVector<KEY,VALUE>::replaceValueAt(size_t index, const VALUE& item) { argument
159 mVector.editValueAt(index).value = item;
/system/core/init/
H A Dlist.h42 void list_add_tail(struct listnode *list, struct listnode *item);
43 void list_remove(struct listnode *item);
H A Dutil.c201 void list_add_tail(struct listnode *head, struct listnode *item) argument
203 item->next = head;
204 item->prev = head->prev;
205 head->prev->next = item;
206 head->prev = item;
209 void list_remove(struct listnode *item) argument
211 item->next->prev = item->prev;
212 item->prev->next = item
[all...]
/system/core/libacc/tests/data/
H A Dtypedef.c25 typedef int item; typedef
26 item x = 3;
/system/core/libacc/tests/
H A Daccarm26 def which(item):
27 return runCmd(["which", item])
H A Dtest.py51 def which(item):
52 return runCmd(["which", item])
54 def fileType(item):
55 return runCmd(["file", item])
/system/core/adb/
H A Dfdevent.h53 void fdevent_remove(fdevent *item);
H A Dsysdeps.h187 void fdevent_remove(fdevent *item);
/system/core/include/diskconfig/
H A Ddiskconfig.h107 void free_wl(struct write_list *item);
108 struct write_list *wlist_add(struct write_list **lst, struct write_list *item);
/system/core/fastboot/
H A Dfastboot.c75 char *find_item(const char *item, const char *product) argument
81 if(!strcmp(item,"boot")) {
83 } else if(!strcmp(item,"recovery")) {
85 } else if(!strcmp(item,"system")) {
87 } else if(!strcmp(item,"userdata")) {
89 } else if(!strcmp(item,"info")) {
92 fprintf(stderr,"unknown partition '%s'\n", item);
/system/core/libacc/
H A Dacc.cpp108 void push_back(const E& item) { argument
109 * ensure(1) = item;
3639 String(const char* item, int len, bool adopt) { argument
3641 len = strlen(item);
3644 mpBase = (char*) item;
3651 appendBytes(item, len);

Completed in 116 milliseconds