/external/mdnsresponder/mDNSShared/ |
GenLinkedList.c | 37 void InitLinkedList( GenLinkedList *pList, size_t linkOffset) 38 /* Initialize the block of memory pointed to by pList as a linked list. */ 40 pList->Head = NULL; 41 pList->Tail = NULL; 42 pList->LinkOffset = linkOffset; 46 void AddToTail( GenLinkedList *pList, void *elem) 49 if ( pList->Tail) { 50 ASSIGNLINK( pList->Tail, elem, pList->LinkOffset); 52 pList->Head = elem [all...] |
GenLinkedList.h | 34 void InitLinkedList( GenLinkedList *pList, size_t linkOffset); 36 void AddToHead( GenLinkedList *pList, void *elem); 37 void AddToTail( GenLinkedList *pList, void *elem); 39 int RemoveFromList( GenLinkedList *pList, void *elem); 41 int ReplaceElem( GenLinkedList *pList, void *elemInList, void *newElem); 55 void InitDoubleLinkedList( GenDoubleLinkedList *pList, size_t fwdLinkOffset, 58 void DLLAddToHead( GenDoubleLinkedList *pList, void *elem); 60 void DLLRemoveFromList( GenDoubleLinkedList *pList, void *elem); 76 void InitLinkedOffsetList( GenLinkedOffsetList *pList, size_t linkOffset); 78 void *GetHeadPtr( GenLinkedOffsetList *pList); [all...] |
/packages/apps/Nfc/nxp/jni/ |
com_android_nfc_list.h | 38 bool listInit(listHead* pList); 39 bool listDestroy(listHead* pList); 40 bool listAdd(listHead* pList, void* pData); 41 bool listRemove(listHead* pList, void* pData); 42 bool listGetAndRemoveNext(listHead* pList, void** ppData); 43 void listDump(listHead* pList);
|
com_android_nfc_list.cpp | 26 bool listInit(listHead* pList) 28 pList->pFirst = NULL; 29 if(pthread_mutex_init(&pList->mutex, NULL) == -1) 38 bool listDestroy(listHead* pList) 42 bListNotEmpty = listGetAndRemoveNext(pList, NULL); 45 if(pthread_mutex_destroy(&pList->mutex) == -1) 54 bool listAdd(listHead* pList, void* pData) 72 pthread_mutex_lock(&pList->mutex); 75 if (pList->pFirst == NULL) 78 pList->pFirst = pNode [all...] |
/hardware/ti/omap4xxx/security/tf_daemon/ |
smc_properties_parser.c | 116 static NODE* static_listFindNodeElement(NODE* pList,char* pName,bool bIsCaseSensitive) 122 while (pList!=NULL) 126 nCmp=strcmp(pName,pList->pName); 130 nCmp=STRICMP(pName,pList->pName); 134 pList=pList->pRight; 138 pList=pList->pLeft; 145 return pList; 149 static S_RESULT static_listSortedAddNode(NODE* pList,NODE* pNode [all...] |
/hardware/ti/omap3/dspbridge/inc/ |
list.h | 108 * pList: Pointer to list control structure of list to be deleted 113 * - pList != NULL. 120 extern VOID LST_Delete(IN struct LST_LIST* pList); 142 * pList: Pointer to list control structure. 147 * - pList != NULL. 150 extern struct LST_ELEM* LST_First(IN struct LST_LIST* pList); 166 * pList: Pointer to list control structure of list whose head 174 * - pList != NULL. 181 extern struct LST_ELEM* LST_GetHead(IN struct LST_LIST* pList); 219 * pList: Pointer to list control structure [all...] |
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
list.h | 108 * pList: Pointer to list control structure of list to be deleted 113 * - pList != NULL. 120 extern VOID LST_Delete(IN struct LST_LIST* pList); 142 * pList: Pointer to list control structure. 147 * - pList != NULL. 150 extern struct LST_ELEM* LST_First(IN struct LST_LIST* pList); 166 * pList: Pointer to list control structure of list whose head 174 * - pList != NULL. 181 extern struct LST_ELEM* LST_GetHead(IN struct LST_LIST* pList); 219 * pList: Pointer to list control structure [all...] |
/bionic/libc/bionic/ |
pthread_debug.cpp | 230 static void growingListAdd(GrowingList* pList, size_t objSize) { 231 if (pList->count == pList->alloc) { 232 size_t oldsize = pList->alloc * objSize; 233 pList->alloc += PAGESIZE / objSize; 234 size_t size = pList->alloc * objSize; 235 pList->data = debug_realloc(pList->data, size, oldsize); 237 pList->count++; 303 static void historyListAdd(MutexInfoList* pList, MutexInfo* obj) [all...] |
/external/zlib/src/ |
zlib2ansi | 58 my %pList = map { $_ => $i++ } 60 my $pMatch = '(\b' . join('|', keys %pList) . '\b)\W*$' ; 84 my %tmp = map { /$pMatch/; $_ => $pList{$1} }
|
/external/chromium_org/third_party/sqlite/src/src/ |
test_thread.c | 111 Tcl_Obj *pList; 132 pList = Tcl_NewObj(); 133 Tcl_IncrRefCount(pList); 137 Tcl_ListObjAppendElement(interp, pList, Tcl_NewStringObj("error", -1)); 138 Tcl_ListObjAppendElement(interp, pList, pRes); 139 postToParent(p, pList); 140 Tcl_DecrRefCount(pList); 141 pList = Tcl_NewObj(); 144 Tcl_ListObjAppendElement(interp, pList, Tcl_NewStringObj("set", -1)); 145 Tcl_ListObjAppendElement(interp, pList, Tcl_NewStringObj(p->zVarname, -1)) [all...] |
rowset.c | 338 static struct RowSetEntry *rowSetListToTree(struct RowSetEntry *pList){ 343 assert( pList!=0 ); 344 p = pList; 345 pList = p->pRight; 347 for(iDepth=1; pList; iDepth++){ 349 p = pList; 350 pList = p->pRight; 352 p->pRight = rowSetNDeepTree(&pList, iDepth);
|
attach.c | 444 SrcList *pList /* The Source list to check and modify */ 450 if( NEVER(pList==0) ) return 0; 452 for(i=0, pItem=pList->a; i<pList->nSrc; i++, pItem++){ 499 if( sqlite3FixExprList(pFix, pExpr->x.pList) ) return 1; 510 ExprList *pList /* The expression to be fixed to one database */ 514 if( pList==0 ) return 0; 515 for(i=0, pItem=pList->a; i<pList->nExpr; i++, pItem++){
|
build.c | [all...] |
test_syscall.c | 581 Tcl_Obj *pList; 589 pList = Tcl_NewObj(); 590 Tcl_IncrRefCount(pList); 595 Tcl_ListObjAppendElement(interp, pList, Tcl_NewStringObj(zSys, -1)); 598 Tcl_SetObjResult(interp, pList); 599 Tcl_DecrRefCount(pList);
|
expr.c | 318 ** argument. An expression with no children, Expr.pList or 330 heightOfExprList(p->x.pList, &nHeight); 514 Expr *sqlite3ExprFunction(Parse *pParse, ExprList *pList, Token *pToken){ 520 sqlite3ExprListDelete(db, pList); /* Avoid memory leak when malloc fails */ 523 pNew->x.pList = pList; 627 sqlite3ExprListDelete(db, p->x.pList); 690 if( p->pLeft || p->pRight || p->pColl || p->x.pList ){ 723 ** descended from the Expr.x.pList or Expr.x.pSelect variables). 799 /* Fill in the pNew->x.pSelect or pNew->x.pList member. * [all...] |
trigger.c | 49 Trigger *pList = 0; /* List of triggers to return */ 63 pTrig->pNext = (pList ? pList : pTab->pTrigger); 64 pList = pTrig; 69 return (pList ? pList : pTab->pTrigger); 639 Trigger *pList = 0; 643 pList = sqlite3TriggerList(pParse, pTab); 645 assert( pList==0 || IsVirtual(pTab)==0 ); 646 for(p=pList; p; p=p->pNext) [all...] |
where.c | 452 mask |= exprListTableUsage(pMaskSet, p->x.pList); 456 static Bitmask exprListTableUsage(WhereMaskSet *pMaskSet, ExprList *pList){ 459 if( pList ){ 460 for(i=0; i<pList->nExpr; i++){ 461 mask |= exprTableUsage(pMaskSet, pList->a[i].pExpr); 649 ExprList *pList; /* List of operands to the LIKE operator */ 663 pList = pExpr->x.pList; 664 pLeft = pList->a[1].pExpr; 672 pRight = pList->a[0].pExpr [all...] |
select.c | 384 IdList *pList = pRight->pUsing; 385 for(j=0; j<pList->nId; j++){ 391 zName = pList->a[j].zName; 747 static KeyInfo *keyInfoFromExprList(Parse *pParse, ExprList *pList){ 754 nExpr = pList->nExpr; 761 for(i=0, pItem=pList->a; i<nExpr; i++, pItem++){ [all...] |
pager.c | [all...] |
walker.c | 52 if( sqlite3WalkExprList(pWalker, pExpr->x.pList) ) return WRC_Abort;
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
fts3_write.c | 65 PendingList *pList; /* Doclist is assembled here */ 555 PendingList *pList; 567 pList = (PendingList *)fts3HashFind(&p->pendingTerms, zToken, nToken); 568 if( pList ){ 569 p->nPendingData -= (pList->nData + nToken + sizeof(Fts3HashElem)); 571 if( fts3PendingListAppend(&pList, p->iPrevDocid, iCol, iPos, &rc) ){ 572 if( pList==fts3HashInsert(&p->pendingTerms, zToken, nToken, pList) ){ 577 sqlite3_free(pList); 582 p->nPendingData += (pList->nData + nToken + sizeof(Fts3HashElem)) [all...] |
fts3_snippet.c | 67 char *pList; /* Pointer to start of phrase position list */ 421 pPhrase->pList = pCsr; 428 assert( pPhrase->pList==0 && pPhrase->pHead==0 && pPhrase->pTail==0 ); [all...] |
/dalvik/libdex/ |
DexFile.h | 710 DEX_INLINE const DexTypeItem* dexGetTypeItem(const DexTypeList* pList, 713 assert(idx < pList->size); 714 return &pList->list[idx]; 717 DEX_INLINE u4 dexTypeListGetIdx(const DexTypeList* pList, u4 idx) { 718 const DexTypeItem* pItem = dexGetTypeItem(pList, idx); 925 const DexAnnotationSetRefList* pList, u4 idx) 927 assert(idx < pList->size); 928 return &pList->list[idx];
|
/frameworks/compile/libbcc/lib/Renderscript/ |
RSInfoWriter.cpp | 142 ItemContainer &pList) { 145 for (typename ItemContainer::const_iterator item_iter = pList.begin(), 146 item_end = pList.end(); item_iter != item_end; item_iter++) { 147 // Convert each entry in the pList to ItemType.
|
/hardware/ti/omap4xxx/domx/test/sample_proxy/ |
test_sample_proxy.c | 580 BufferList *pList; 585 pList = pContext->pInBufferList; 586 while (pList && pList->pBufHdr) 588 BUFFERLIST_CLEAR_ENTRY(pList, pBufHeader); 643 BufferList *pList; 646 pList = pContext->pOutBufferList; 647 while (pList && pList->pBufHdr) 651 BUFFERLIST_CLEAR_ENTRY(pList, pBufHeader) [all...] |