/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | GenLinkedList.c | 37 void InitLinkedList( GenLinkedList *pList, size_t linkOffset) in InitLinkedList() argument 40 pList->Head = NULL; in InitLinkedList() 41 pList->Tail = NULL; in InitLinkedList() 42 pList->LinkOffset = linkOffset; in InitLinkedList() 46 void AddToTail( GenLinkedList *pList, void *elem) in AddToTail() argument 49 if ( pList->Tail) { in AddToTail() 50 ASSIGNLINK( pList->Tail, elem, pList->LinkOffset); in AddToTail() 52 pList->Head = elem; in AddToTail() 53 ASSIGNLINK( elem, NULL, pList->LinkOffset); in AddToTail() 55 pList->Tail = elem; in AddToTail() [all …]
|
H A D | 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 …]
|
/titanic_50/usr/src/lib/libsqlite/src/ |
H A D | expr.c | 77 Expr *sqliteExprFunction(ExprList *pList, Token *pToken){ in sqliteExprFunction() argument 85 pNew->pList = pList; in sqliteExprFunction() 105 sqliteExprListDelete(p->pList); in sqliteExprDelete() 138 pNew->pList = sqliteExprListDup(p->pList); in sqliteExprDup() 251 ExprList *sqliteExprListAppend(ExprList *pList, Expr *pExpr, Token *pName){ in sqliteExprListAppend() argument 252 if( pList==0 ){ in sqliteExprListAppend() 253 pList = sqliteMalloc( sizeof(ExprList) ); in sqliteExprListAppend() 254 if( pList==0 ){ in sqliteExprListAppend() 258 assert( pList->nAlloc==0 ); in sqliteExprListAppend() 260 if( pList->nAlloc<=pList->nExpr ){ in sqliteExprListAppend() [all …]
|
H A D | build.c | 683 void sqliteAddPrimaryKey(Parse *pParse, IdList *pList, int onError){ in sqliteAddPrimaryKey() argument 694 if( pList==0 ){ in sqliteAddPrimaryKey() 698 for(i=0; i<pList->nId; i++){ in sqliteAddPrimaryKey() 700 if( sqliteStrICmp(pList->a[i].zName, pTab->aCol[iCol].zName)==0 ) break; in sqliteAddPrimaryKey() 704 if( pList->nId>1 ) iCol = -1; in sqliteAddPrimaryKey() 714 sqliteCreateIndex(pParse, 0, 0, pList, onError, 0, 0); in sqliteAddPrimaryKey() 715 pList = 0; in sqliteAddPrimaryKey() 719 sqliteIdListDelete(pList); in sqliteAddPrimaryKey() 1479 IdList *pList, /* A list of columns to be indexed */ in sqliteCreateIndex() argument 1588 if( pList==0 ){ in sqliteCreateIndex() [all …]
|
H A D | attach.c | 223 SrcList *pList /* The Source list to check and modify */ in sqliteFixSrcList() argument 228 if( pList==0 ) return 0; in sqliteFixSrcList() 230 for(i=0; i<pList->nSrc; i++){ in sqliteFixSrcList() 231 if( pList->a[i].zDatabase==0 ){ in sqliteFixSrcList() 232 pList->a[i].zDatabase = sqliteStrDup(zDb); in sqliteFixSrcList() 233 }else if( sqliteStrICmp(pList->a[i].zDatabase,zDb)!=0 ){ in sqliteFixSrcList() 237 pList->a[i].zDatabase); in sqliteFixSrcList() 240 if( sqliteFixSelect(pFix, pList->a[i].pSelect) ) return 1; in sqliteFixSrcList() 241 if( sqliteFixExpr(pFix, pList->a[i].pOn) ) return 1; in sqliteFixSrcList() 274 if( sqliteFixExprList(pFix, pExpr->pList) ){ in sqliteFixExpr() [all …]
|
H A D | btree_rb.c | 1320 static void execute_rollback_list(Rbtree *pRbtree, BtRollbackOp *pList) in execute_rollback_list() argument 1328 while( pList ){ in execute_rollback_list() 1329 switch( pList->eOp ){ in execute_rollback_list() 1331 cur.pTree = sqliteHashFind( &pRbtree->tblHash, 0, pList->iTab ); in execute_rollback_list() 1333 cur.iTree = pList->iTab; in execute_rollback_list() 1335 memRbtreeInsert( &cur, pList->pKey, in execute_rollback_list() 1336 pList->nKey, pList->pData, pList->nData ); in execute_rollback_list() 1339 cur.pTree = sqliteHashFind( &pRbtree->tblHash, 0, pList->iTab ); in execute_rollback_list() 1341 cur.iTree = pList->iTab; in execute_rollback_list() 1343 memRbtreeMoveto(&cur, pList->pKey, pList->nKey, &res); in execute_rollback_list() [all …]
|
H A D | insert.c | 92 ExprList *pList, /* List of values to be inserted */ in sqliteInsert() argument 243 assert( pList!=0 ); in sqliteInsert() 246 assert( pList ); in sqliteInsert() 247 nColumn = pList->nExpr; in sqliteInsert() 250 if( sqliteExprResolveIds(pParse, &dummy, 0, pList->a[i].pExpr) ){ in sqliteInsert() 253 if( sqliteExprCheck(pParse, pList->a[i].pExpr, 0, 0) ){ in sqliteInsert() 372 sqliteExprCode(pParse, pList->a[keyColumn].pExpr); in sqliteInsert() 396 sqliteExprCode(pParse, pList->a[j].pExpr); in sqliteInsert() 430 sqliteExprCode(pParse, pList->a[keyColumn].pExpr); in sqliteInsert() 469 sqliteExprCode(pParse, pList->a[j].pExpr); in sqliteInsert() [all …]
|
H A D | select.c | 269 IdList *pList; in sqliteProcessJoin() local 272 pList = pTerm->pUsing; in sqliteProcessJoin() 273 for(j=0; j<pList->nId; j++){ in sqliteProcessJoin() 274 if( columnIndex(pTerm->pTab, pList->a[j].zName)<0 || in sqliteProcessJoin() 275 columnIndex(pOther->pTab, pList->a[j].zName)<0 ){ in sqliteProcessJoin() 277 "not present in both tables", pList->a[j].zName); in sqliteProcessJoin() 280 addWhereTerm(pList->a[j].zName, pTerm->pTab, pOther->pTab, &p->pWhere); in sqliteProcessJoin() 1537 assert( pExpr->pLeft==0 && pExpr->pRight==0 && pExpr->pList==0 ); in substExpr() 1546 assert( pExpr->pList==0 ); in substExpr() 1547 pExpr->pList = sqliteExprListDup(pNew->pList); in substExpr() [all …]
|
H A D | pager.c | 1260 static int pager_write_pagelist(PgHdr *pList){ in pager_write_pagelist() argument 1264 if( pList==0 ) return SQLITE_OK; in pager_write_pagelist() 1265 pPager = pList->pPager; in pager_write_pagelist() 1266 while( pList ){ in pager_write_pagelist() 1267 assert( pList->dirty ); in pager_write_pagelist() 1268 sqliteOsSeek(&pPager->fd, (pList->pgno-1)*(off_t)SQLITE_PAGE_SIZE); in pager_write_pagelist() 1269 CODEC(pPager, PGHDR_TO_DATA(pList), pList->pgno, 6); in pager_write_pagelist() 1270 TRACE2("STORE %d\n", pList->pgno); in pager_write_pagelist() 1271 rc = sqliteOsWrite(&pPager->fd, PGHDR_TO_DATA(pList), SQLITE_PAGE_SIZE); in pager_write_pagelist() 1272 CODEC(pPager, PGHDR_TO_DATA(pList), pList->pgno, 0); in pager_write_pagelist() [all …]
|
H A D | parse.y | 582 ExprList *pList = sqliteExprListAppend(0, Y, 0); 583 pList = sqliteExprListAppend(pList, X, 0); 584 A = sqliteExprFunction(pList, 0); 589 ExprList *pList = sqliteExprListAppend(0, Y, 0); 590 pList = sqliteExprListAppend(pList, X, 0); 591 A = sqliteExprFunction(pList, 0); 647 ExprList *pList = sqliteExprListAppend(0, X, 0); 648 pList = sqliteExprListAppend(pList, Y, 0); 650 if( A ) A->pList = pList; 654 ExprList *pList = sqliteExprListAppend(0, X, 0); [all …]
|
H A D | test1.c | 694 Tcl_Obj *pList, *pElem; in rememberDataTypes() local 698 pList = Tcl_NewObj(); in rememberDataTypes() 701 Tcl_ListObjAppendElement(interp, pList, pElem); in rememberDataTypes() 703 Tcl_SetObjResult(interp, pList); in rememberDataTypes()
|
H A D | tclsqlite.c | 233 Tcl_Obj *pList = (Tcl_Obj*)clientData; in DbEvalCallback2() local 251 Tcl_ListObjAppendElement(0, pList, pElem); in DbEvalCallback2() 810 Tcl_Obj *pList = Tcl_NewObj(); in DbObjCmd() local 812 rc = sqlite_exec(pDb->db, zSql, DbEvalCallback2, pList, &zErrMsg); in DbObjCmd() 813 Tcl_SetObjResult(interp, pList); in DbObjCmd()
|
H A D | vdbe.c | 3772 pKeylist = p->pList; in sqliteVdbeExec() 3779 pKeylist->pNext = p->pList; in sqliteVdbeExec() 3780 p->pList = pKeylist; in sqliteVdbeExec() 3799 while( p->pList ){ in sqliteVdbeExec() 3800 pTop = p->pList; in sqliteVdbeExec() 3801 p->pList = pTop->pNext; in sqliteVdbeExec() 3805 p->pList = pRev; in sqliteVdbeExec() 3818 pKeylist = p->pList; in sqliteVdbeExec() 3827 p->pList = pKeylist->pNext; in sqliteVdbeExec() 3841 if( p->pList ){ in sqliteVdbeExec() [all …]
|
H A D | vdbeInt.h | 266 Keylist *pList; /* A list of ROWIDs */ member
|
H A D | where.c | 139 if( p->pList ){ in exprTableUsage() 141 for(i=0; i<p->pList->nExpr; i++){ in exprTableUsage() 142 mask |= exprTableUsage(pMaskSet, p->pList->a[i].pExpr); in exprTableUsage() 757 }else if( pX->pList ){ in sqliteWhereBegin() 801 if( pX->pList ){ in sqliteWhereBegin()
|
H A D | vdbeaux.c | 787 if( p->pList ){ in Cleanup() 788 sqliteVdbeKeylistFree(p->pList); in Cleanup() 789 p->pList = 0; in Cleanup()
|
H A D | sqliteInt.h | 690 ExprList *pList; /* A list of expressions used as function arguments member
|
/titanic_50/usr/src/lib/libsun_ima/common/ |
H A D | ima.c | 2045 SUN_IMA_DISC_ADDRESS_KEY_PROPERTIES *pList; in IMA_GetAddressKeys() local 2062 &pList); in IMA_GetAddressKeys() 2063 for (j = 0; j < pList->keyCount; j++) { in IMA_GetAddressKeys() 2064 if (wcsncmp(pList->keys[j].name, targetProps.name, in IMA_GetAddressKeys() 2065 wslen(pList->keys[j].name)) == 0) { in IMA_GetAddressKeys() 2069 (void) IMA_FreeMemory(pList); in IMA_GetAddressKeys() 2082 &pList); in IMA_GetAddressKeys() 2083 for (j = 0; j < pList->keyCount; j++) { in IMA_GetAddressKeys() 2084 if (wcsncmp(pList->keys[j].name, targetProps.name, in IMA_GetAddressKeys() 2085 wslen(pList->keys[j].name)) != 0) { in IMA_GetAddressKeys() [all …]
|
/titanic_50/usr/src/cmd/iscsiadm/ |
H A D | iscsiadm_main.c | 711 printSendTargets(SUN_IMA_DISC_ADDRESS_KEY_PROPERTIES *pList) in printSendTargets() argument 718 for (i = 0; i < pList->keyCount; i++) { in printSendTargets() 719 if (pList->keys[i].address.ipAddress.ipv4Address == IMA_TRUE) { in printSendTargets() 727 pList->keys[i].name); in printSendTargets() 729 inet_ntop(af, &(pList->keys[i].address.ipAddress.ipAddress), in printSendTargets() 730 outBuf, inetSize), pList->keys[i].address.portNumber); in printSendTargets() 731 (void) fprintf(stdout, ", %d", pList->keys[i].tpgt); in printSendTargets() 1769 SUN_IMA_DISC_ADDRESS_KEY_PROPERTIES *pList; in listDiscoveryAddress() local 1908 discAddrProps.discoveryAddress, &pList); in listDiscoveryAddress() 1916 printSendTargets(pList); in listDiscoveryAddress() [all …]
|
/titanic_50/usr/src/uts/common/io/arn/ |
H A D | arn_eeprom.c | 102 ath9k_hw_get_lower_upper_index(uint8_t target, uint8_t *pList, in ath9k_hw_get_lower_upper_index() argument 107 if (target <= pList[0]) { in ath9k_hw_get_lower_upper_index() 111 if (target >= pList[listSize - 1]) { in ath9k_hw_get_lower_upper_index() 117 if (pList[i] == target) { in ath9k_hw_get_lower_upper_index() 121 if (target < pList[i + 1]) { in ath9k_hw_get_lower_upper_index()
|